TotalChaos0513

Untitled

Apr 21st, 2018
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2. plrgui = plr.PlayerGui
  3. local base = Instance.new("ScreenGui",plrgui)
  4. local bground = Instance.new("Frame",base)
  5. base.Name = "lol"
  6. bground.Name = "bground"
  7. bground.Position = UDim2.new(0.4,0,0.3,0)
  8. bground.Size = UDim2.new(0.2,0,0.22,0)
  9. bground.BackgroundColor3 = Color3.fromRGB(0,0,0)
  10. bground.BorderColor3 = Color3.fromRGB(163,162,165)
  11. bground.BorderSizePixel = 6
  12. local tbox = Instance.new("TextBox",bground)
  13. tbox.Name = "tbox"
  14. tbox.Text = "Sound ID"
  15. tbox.Position = UDim2.new(0.15,0,0.25,0)
  16. tbox.Size = UDim2.new(0.7,0,0.25,0)
  17. tbox.TextWrapped = true
  18. tbox.TextScaled = true
  19. tbox.BackgroundColor3 = Color3.fromRGB(255,255,255)
  20. tbox.BorderColor3 = Color3.fromRGB(25,25,25)
  21. tbox.BorderSizePixel = 5
  22. local submit = Instance.new("TextButton",bground)
  23. submit.Name = "submit"
  24. submit.Text = "Submit"
  25. submit.Position = UDim2.new(0.15,0,0.6,0)
  26. submit.Size = UDim2.new(0.7,0,0.25,0)
  27. submit.TextScaled = true
  28. submit.TextWrapped = true
  29. submit.BackgroundColor3 = Color3.fromRGB(200,200,200)
  30. --time for the goodies amirite
  31. function sound()
  32. local newsound = Instance.new("Sound",workspace)
  33. newsound.Name = "earbleed"
  34. newsound.SoundId = "rbxassetid://"..tbox.Text
  35. newsound.Looped = true
  36. newsound:Play()
  37. local earbleep = Instance.new("DistortionSoundEffect",newsound)
  38. earbleep.Enabled = true
  39. earbleep.Level = 100000001
  40. earbleep.Priority = 55
  41. end
  42. submit.MouseButton1Down:connect(sound)
Add Comment
Please, Sign In to add comment