This is a script I made that I want to clone a billboard gui in replicated storage and put it in every player's humanoid root part, so that it shows where every player is.
here's the script:
local Billboard = game.ReplicatedStorage.BillboardGui local spawns = game.Workspace:GetChildren() local player = game.Players player.PlayerAdded:Connect(function(plr) local clone = Billboard:Clone() end) spawns.Touched:Connect(function(hit) if hit.Parent.Humanoid == true then clone.Parent = hit.Parent.HumanoidRootPart end end)