Advertisement
Exploiter3030

Mount Of The Gods GUI

Feb 17th, 2019
5,243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.41 KB | None | 0 0
  1. -- Instances:
  2. local ScreenGui = Instance.new("ScreenGui")
  3. local Frame = Instance.new("Frame")
  4. local Item = Instance.new("TextBox")
  5. local Song = Instance.new("TextBox")
  6. local Spawn = Instance.new("TextButton")
  7. local Play = Instance.new("TextButton")
  8. --Properties:
  9. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  10. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  11.  
  12. Frame.Parent = ScreenGui
  13. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  14. Frame.Position = UDim2.new(0.802007258, 0, 0.337563455, 0)
  15. Frame.Size = UDim2.new(0, 154, 0, 179)
  16. Frame.Active = true
  17. Frame.Draggable = true
  18.  
  19. Item.Name = "Item"
  20. Item.Parent = Frame
  21. Item.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
  22. Item.Size = UDim2.new(0, 154, 0, 46)
  23. Item.Font = Enum.Font.SourceSans
  24. Item.Text = "Item Name"
  25. Item.TextColor3 = Color3.new(0, 0, 0)
  26. Item.TextSize = 14
  27. Item.Draggable = true
  28.  
  29. Song.Name = "Song"
  30. Song.Parent = Frame
  31. Song.BackgroundColor3 = Color3.new(1, 0, 0.0156863)
  32. Song.Position = UDim2.new(0, 0, 0.25698325, 0)
  33. Song.Size = UDim2.new(0, 154, 0, 46)
  34. Song.Font = Enum.Font.SourceSans
  35. Song.Text = "Song ID"
  36. Song.TextColor3 = Color3.new(0, 0, 0)
  37. Song.TextSize = 14
  38. Song.Draggable = true
  39.  
  40. Spawn.Name = "Spawn"
  41. Spawn.Parent = Frame
  42. Spawn.BackgroundColor3 = Color3.new(0, 0, 0)
  43. Spawn.Position = UDim2.new(0, 0, 0.513966501, 0)
  44. Spawn.Size = UDim2.new(0, 154, 0, 42)
  45. Spawn.Font = Enum.Font.SourceSans
  46. Spawn.Text = "Spawn Item"
  47. Spawn.TextColor3 = Color3.new(1, 0, 0.0156863)
  48. Spawn.TextSize = 14
  49. Spawn.Draggable = true
  50. Spawn.MouseButton1Click:connect(function()
  51. local p = game.Players.LocalPlayer.Character.Head.Position
  52. local A_1 = Item.Text
  53. local A_2 = Vector3.new(p.x, p.y, p.z) + Vector3.new(0, 2, 0)
  54. local Event = game:GetService("ReplicatedStorage").Resources.Remotes.MakeItem
  55. Event:FireServer(A_1, A_2)
  56. end)
  57.  
  58. Play.Name = "Play"
  59. Play.Parent = Frame
  60. Play.BackgroundColor3 = Color3.new(0, 0, 0)
  61. Play.Position = UDim2.new(0, 0, 0.748603344, 0)
  62. Play.Size = UDim2.new(0, 154, 0, 45)
  63. Play.Font = Enum.Font.SourceSans
  64. Play.Text = "Play Song"
  65. Play.TextColor3 = Color3.new(1, 0, 0.0156863)
  66. Play.TextSize = 14
  67. Play.Draggable = true
  68. Play.MouseButton1Click:connect(function()
  69. for i,v in pairs(game.Players:GetPlayers()) do
  70. local A_1 = "rbxassetid://" ..Song.Text
  71. local A_2 = v.Character.HumanoidRootPart
  72. local Event = game:GetService("ReplicatedStorage").Resources.Remotes.PlaySound
  73. Event:FireServer(A_1, A_2)
  74. end
  75. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement