Advertisement
meldrednyx

PizzaAudio

Feb 22nd, 2021 (edited)
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.13 KB | None | 0 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local Main = Instance.new("Frame")
  3. local Title = Instance.new("TextLabel")
  4. local ChangeB = Instance.new("TextButton")
  5. local IDBox = Instance.new("TextBox")
  6. local plr = game:GetService("Players").LocalPlayer
  7.  
  8. --Properties:
  9.  
  10. ScreenGui.Parent = game.CoreGui
  11. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  12.  
  13. Main.Name = "Main"
  14. Main.Parent = ScreenGui
  15. Main.Active = true
  16. Main.BackgroundColor3 = Color3.fromRGB(4, 4, 4)
  17. Main.Position = UDim2.new(0.523201942, 0, 0.503253818, 0)
  18. Main.Size = UDim2.new(0, 265, 0, 150)
  19. Main.Visible = true
  20. Main.Draggable = true
  21.  
  22. Title.Name = "Title"
  23. Title.Parent = Main
  24. Title.Active = true
  25. Title.BackgroundColor3 = Color3.fromRGB(145, 145, 145)
  26. Title.Size = UDim2.new(0, 265, 0, 35)
  27. Title.Font = Enum.Font.Michroma
  28. Title.Text = "Gui Made by: Meldrednyx"
  29. Title.TextColor3 = Color3.fromRGB(13, 13, 13)
  30. Title.TextSize = 15.000
  31.  
  32. ChangeB.Name = "ChangeB"
  33. ChangeB.Parent = Main
  34. ChangeB.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  35. ChangeB.Position = UDim2.new(0.138418287, 0, 0.622170627, 0)
  36. ChangeB.Size = UDim2.new(0, 189, 0, 35)
  37. ChangeB.Font = Enum.Font.Michroma
  38. ChangeB.Text = "Change Sound"
  39. ChangeB.TextColor3 = Color3.fromRGB(255, 255, 255)
  40. ChangeB.TextSize = 14.000
  41.  
  42. IDBox.Name = "IDBox"
  43. IDBox.Parent = Main
  44. IDBox.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
  45. IDBox.Position = UDim2.new(0.138418317, 0, 0.304341078, 0)
  46. IDBox.Size = UDim2.new(0, 190, 0, 35)
  47. IDBox.Font = Enum.Font.Michroma
  48. IDBox.Text = "Sound ID"
  49. IDBox.TextColor3 = Color3.fromRGB(254, 254, 254)
  50. IDBox.TextSize = 14.000
  51.  
  52. local function play()
  53. local id = tostring(IDBox.Text)
  54. A_1 =
  55. {
  56. ["Clap"] =
  57. {
  58. ["SoundId"] = id,
  59. ["SoundLooped"] = true,
  60. ["Priority"] = Enum.AnimationPriority.Action,
  61. ["R15"] = 868638275,
  62. ["R6"] = 868730451,
  63. ["Volume"] = 1
  64. }
  65. }
  66. plr.Character.Humanoid.Health = 0
  67. end
  68.  
  69. plr.CharacterAdded:Connect(function()
  70. local Event = game:GetService("Workspace").Main.LoadSoundsIntoHead
  71. Event:FireServer(A_1)
  72. wait(.05)
  73. print("Done!")
  74. end)
  75.  
  76. ChangeB.MouseButton1Click:Connect(function()
  77. play()
  78. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement