Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Made by: UltraBuilder64
- game.Players.PlayerAdded:connect(onPlayerRespawned)
- function onPlayerRespawned(newPlayer)
- wait(1)
- if newPlayer:IsInGroup(2555161) then --Replace the number here with your group ID
- gui=Instance.new("BillboardGui")
- gui.Parent=newPlayer.Character.Head
- gui.Adornee=newPlayer.Character.Head
- gui.Size=UDim2.new(4,0,6,0) --This adjusts the Size of your logo. I had to play with the numbers a little.
- gui.StudsOffset=Vector3.new(0,2,0)
- text=Instance.new("ImageLabel")
- text.Image = "http://www.roblox.com/asset/?id=98956133" -- Replace this with the texture ID of the header you want your honor troop to have.
- text.Size=UDim2.new(1.25,0,0.75,0)
- text.Position=UDim2.new(-0.125,0,-0.25,0)
- text.BackgroundTransparency = 1
- text.Parent=gui
- w = game.Lighting.WepsGroup:GetChildren()
- for i = 1,#w do
- w[i]:Clone().Parent = newPlayer.Backpack
- end
- end
- end
- function onPlayerEntered(newPlayer)
- newPlayer.Changed:connect(function (property)
- if (property == "Character") then
- onPlayerRespawned(newPlayer)
- end
- end)
- end
- game.Players.PlayerAdded:connect(onPlayerEntered)
- --Made by: UltraBuilder64
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement