Advertisement
PiterMosskva_TV

aaanoot

Apr 21st, 2019
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. local Sound = Instance.new("Sound")
  2. Sound.SoundId = "http://www.roblox.com/asset/?id=207975774"
  3. Sound.Volume = 1
  4. Sound.Parent = game.Workspace
  5. player = game.Players:FindFirstChild("Feuxed") -- Enter Your Name Here
  6.  
  7. local Gui = Instance.new("ScreenGui", player.PlayerGui)
  8. local Button = Instance.new("TextButton", Gui)
  9. Button.Size = UDim2.new(0.1,0,0,50)
  10. Button.Position = UDim2.new(0.9,0,0.95,0)
  11. Button.BorderColor3 = Color3.new(0,0,0)
  12. Button.BackgroundColor3 = Color3.new(0,0,0)
  13. Button.Font = "SourceSansLight"
  14. Button.TextColor3 = Color3.new(255,255,255)
  15. Button.FontSize = "Size24"
  16. Button.Text = "Noot Noot"
  17. Button.MouseButton1Down:connect(function()
  18. Sound:Play()
  19. end)
  20.  
  21. function GiveGui(player)
  22. local plr = game.Players:FindFirstChild(player)
  23. local Gui = Instance.new("ScreenGui", plr.PlayerGui)
  24. local Button = Instance.new("TextButton", Gui)
  25. Button.Size = UDim2.new(0.1,0,0,50)
  26. Button.Position = UDim2.new(0.9,0,0.95,0)
  27. Button.BorderColor3 = Color3.new(0,0,0)
  28. Button.BackgroundColor3 = Color3.new(0,0,0)
  29. Button.Font = "SourceSansLight"
  30. Button.TextColor3 = Color3.new(255,255,255)
  31. Button.FontSize = "Size24"
  32. Button.Text = "Noot Noot"
  33. Button.MouseButton1Down:connect(function()
  34. Sound:Play()
  35. end)
  36. end
  37.  
  38. game.Players.LordIcezen.Chatted:connect(function(msg)
  39. if msg:sub(1,9) == "~givegui " then
  40. GiveGui(msg:sub(10))
  41. end
  42. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement