Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function gui(player)
- 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)
- player.CharacterAdded:connect(function()
- 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)
- end)
- end
- for _,p in ipairs(game.Players:GetPlayers()) do gui(p) end
- game.Players.PlayerAdded:connect(gui)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement