Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local billboardgui = game:GetService("ServerStorage"):WaitForChild("BillboardGui") -- put this in ServerScriptService, or it wont work!
- game.Players.PlayerAdded:Connect(function(player)
- player.CharacterAdded:Connect(function(character)
- if player.Name == "you roblox naem" then
- local clonegui = billboardgui:Clone()
- clonegui.TextLabel.Text = "Owner"
- clonegui.TextLabel.TextColor3 = Color3.fromRGB(85,255,0)
- clonegui.Parent = game.Workspace:WaitForChild(player.Name).Head
- end
- if player.Name == "a friend or your name" then
- local clonegui = billboardgui:Clone()
- clonegui.TextLabel.Text = "Admin"
- clonegui.TextLabel.TextColor3 = Color3.fromRGB(255,255,0)
- clonegui.Parent = game.Workspace:WaitForChild(player.Name).Head
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement