I want to make a script where if you touch this, it puts your name on a board. It only works once.
Script:
game.Players.PlayerAdded:Connect(function(plr)
game.Workspace.NameMaker.Touched:Connect(function(hit)
local hum = hit.Parent:FindFirstChild("Humanoid")
if hum then
game.Workspace.MyFavPart.SurfaceGui.TextLabel.Text = plr.Name .. " Is cooler lol"
end
end)
end)
Please help me. Thank you!
