Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for i,plr in pairs(game.Players:GetPlayers()) do
- if plr.Character:FindFirstChild("SelectionBox") then
- plr.Character.SelectionBox:Destroy()
- end
- if plr.Character:FindFirstChild("HumanoidRootPart") then
- if plr.Character.HumanoidRootPart:FindFirstChild("BillboardGui") then
- plr.Character.HumanoidRootPart.BillboardGui:Destroy()
- end
- end
- end
- for i,plr in pairs(game.Players:GetPlayers()) do
- local selbox = Instance.new("SelectionBox")
- selbox.Adornee = plr.Character
- selbox.Parent = plr.Character
- local bill = Instance.new("BillboardGui")
- bill.Size = UDim2.new(5,0,2,0)
- bill.StudsOffset = Vector3.new(0,4,0)
- bill.LightInfluence = 0
- local lab = Instance.new("TextLabel")
- lab.Size = UDim2.new(1,0,1,0)
- lab.Text = plr.Name
- lab.TextScaled = true
- lab.Parent = bill
- bill.Parent = plr.Character.HumanoidRootPart
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement