Advertisement
hottrin

My roblox overhead script (Alvinblox)

Oct 28th, 2019
796
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. local billboardgui = game:GetService("ServerStorage"):WaitForChild("BillboardGui") -- put this in ServerScriptService, or it wont work!
  2.  
  3. game.Players.PlayerAdded:Connect(function(player)
  4.  
  5. player.CharacterAdded:Connect(function(character)
  6.  
  7. if player.Name == "you roblox naem" then
  8. local clonegui = billboardgui:Clone()
  9. clonegui.TextLabel.Text = "Owner"
  10. clonegui.TextLabel.TextColor3 = Color3.fromRGB(85,255,0)
  11. clonegui.Parent = game.Workspace:WaitForChild(player.Name).Head
  12. end
  13.  
  14. if player.Name == "a friend or your name" then
  15. local clonegui = billboardgui:Clone()
  16. clonegui.TextLabel.Text = "Admin"
  17. clonegui.TextLabel.TextColor3 = Color3.fromRGB(255,255,0)
  18. clonegui.Parent = game.Workspace:WaitForChild(player.Name).Head
  19. end
  20. end)
  21.  
  22.  
  23. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement