-- Chapter 33 example (Roblox): print what touches the coin. local Players = game:GetService("Players") local part = workspace.Coin part.Touched:Connect(function(otherPart) local player = Players:GetPlayerFromCharacter(otherPart.Parent) if player then print(player.Name .. " touched the coin.") end end)