Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Sound = Instance.new("Sound")
- Sound.SoundId = "http://www.roblox.com/asset/?id=207975774"
- Sound.Volume = 1
- Sound.Parent = game.Workspace
- player = game.Players:FindFirstChild("name") -- Enter Your Name Here
- local Gui = Instance.new("ScreenGui", player.PlayerGui)
- local Button = Instance.new("TextButton", Gui)
- Button.Size = UDim2.new(0.1,0,0,50)
- Button.Position = UDim2.new(0.9,0,0.95,0)
- Button.BorderColor3 = Color3.new(0,0,0)
- Button.BackgroundColor3 = Color3.new(0,0,0)
- Button.Font = "SourceSansLight"
- Button.TextColor3 = Color3.new(255,255,255)
- Button.FontSize = "Size24"
- Button.Text = "Noot Noot"
- Button.MouseButton1Down:connect(function()
- Sound:Play()
- end)
- function GiveGui(player)
- local plr = game.Players:FindFirstChild(player)
- local Gui = Instance.new("ScreenGui", plr.PlayerGui)
- local Button = Instance.new("TextButton", Gui)
- Button.Size = UDim2.new(0.1,0,0,50)
- Button.Position = UDim2.new(0.9,0,0.95,0)
- Button.BorderColor3 = Color3.new(0,0,0)
- Button.BackgroundColor3 = Color3.new(0,0,0)
- Button.Font = "SourceSansLight"
- Button.TextColor3 = Color3.new(255,255,255)
- Button.FontSize = "Size24"
- Button.Text = "Noot Noot"
- Button.MouseButton1Down:connect(function()
- Sound:Play()
- end)
- end
- game.Players.LordIcezen.Chatted:connect(function(msg)
- if msg:sub(1,9) == "~givegui " then
- GiveGui(msg:sub(10))
- end
- end)
Add Comment
Please, Sign In to add comment