script.Parent.Touched:connect(function(part)
gui = script.GuiNameHere:Clone()
if part.Parent:FindFirstChild("Humanoid") then
supermarioworld323 = part.Parent.Name
if game.Players:FindFirstChild(supermarioworld323) then
gui.Parent = game.Players[supermarioworld323].PlayerGui
end
end
end)
How do you make this script work for everyone?

1 comment
Edit it to put the code in the block.