Advertisement
DevTJH

Overhead

Aug 23rd, 2019
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. Individual Overhead
  2. -------------------------------------------------------------------------------------------
  3. local billboardgui = game:GetService("ServerStorage"):WaitForChild("BillboardGui")
  4.  
  5. game.Players.PlayerAdded:Connect(function(player)
  6.  
  7. player.CharacterAdded:Connect(function(character)
  8.  
  9. if player.Name == "YourName"then
  10. local clonedgui = billboardgui:Clone()
  11. clonedgui.TextLabel.Text = "Player"
  12. clonedgui.TextLabel.TextColor3 = Color3.fromRGB(0, 16, 176)
  13. clonedgui.Parent = game.Workspace:WaitForChild(player.Name).Head
  14.  
  15. end
  16. end)
  17.  
  18.  
  19. end)
  20.  
  21. -----------------------------------------------------------------------------------------------------
  22. GamePass Tag
  23.  
  24.  
  25. local billboardgui = game:GetService("ServerStorage"):WaitForChild("BillboardGui")
  26.  
  27. game.Players.PlayerAdded:Connect(function(player)
  28.  
  29. player.CharacterAdded:Connect(function(character)
  30.  
  31. if game:GetService("MarketplaceService"):PlayerOwnsAsset(player,REPLACE THIS WITH GAMEPASS ID)
  32. local clonedgui = billboardgui:Clone()
  33. clonedgui.TextLabel.Text = "REPLACE THIS"
  34. clonedgui.TextLabel.TextColor3 = Color3.fromRGB(0, 16, 176)
  35. clonedgui.Parent = game.Workspace:WaitForChild(player.Name).Head
  36.  
  37. end
  38. end)
  39.  
  40.  
  41. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement