Advertisement
itchyzombie

gr0t's admin img

Oct 24th, 2015
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.88 KB | None | 0 0
  1. function gui(player)
  2.     local b=Instance.new("ImageButton", Instance.new("ScreenGui", player.PlayerGui));b.Size=UDim2.new(0, 50, 0, 50);b.Image="rbxassetid://313997909";b.BackgroundTransparency=1;b.BorderSizePixel=1;b.Modal=false;b.Position=UDim2.new(1, -50, 1, -50)local b=Instance.new("ImageButton", Instance.new("ScreenGui", player.PlayerGui));b.Size=UDim2.new(0, 50, 0, 50);b.Image="rbxassetid://313997909";b.BackgroundTransparency=1;b.BorderSizePixel=1;b.Modal=false;b.Position=UDim2.new(1, -50, 1, -50)
  3.     player.CharacterAdded:connect(function()
  4. local b=Instance.new("ImageButton", Instance.new("ScreenGui", player.PlayerGui));b.Size=UDim2.new(0, 50, 0, 50);b.Image="rbxassetid://313997908";b.BackgroundTransparency=1;b.BorderSizePixel=1;b.Modal=false;b.Position=UDim2.new(1, -50, 1, -50)
  5.     end)
  6. end
  7. for _,p in ipairs(game.Players:GetPlayers()) do gui(p) end
  8. game.Players.PlayerAdded:connect(gui)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement