Advertisement
Exploiter3030

MOTG GUI by me and Kai Kun

Feb 17th, 2019
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.46 KB | None | 0 0
  1. -- Instances:
  2. local ScreenGui = Instance.new("ScreenGui")
  3. local Frame = Instance.new("Frame")
  4. local player = Instance.new("TextBox")
  5. local ID = Instance.new("TextBox")
  6. local item = Instance.new("TextBox")
  7. local kick = Instance.new("TextButton")
  8. local kill = Instance.new("TextButton")
  9. local spawn = Instance.new("TextButton")
  10. local play = Instance.new("TextButton")
  11. local credits = Instance.new("TextLabel")
  12. local chicken = Instance.new("TextButton")
  13. local destroy = Instance.new("TextButton")
  14. local open = Instance.new("TextButton")
  15. --Properties:
  16. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  17. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  18.  
  19. Frame.Parent = ScreenGui
  20. Frame.BackgroundColor3 = Color3.new(0, 0.533333, 1)
  21. Frame.BackgroundTransparency = 0.55000001192093
  22. Frame.Position = UDim2.new(0.385165781, 0, 0.349671751, 0)
  23. Frame.Size = UDim2.new(0, 348, 0, 189)
  24. Frame.Active = true
  25. Frame.Draggable = true
  26.  
  27. player.Name = "player"
  28. player.Parent = Frame
  29. player.BackgroundColor3 = Color3.new(1, 1, 1)
  30. player.BorderSizePixel = 0
  31. player.Size = UDim2.new(0, 79, 0, 46)
  32. player.Font = Enum.Font.SourceSans
  33. player.Text = "Player Name"
  34. player.TextColor3 = Color3.new(0, 0, 0)
  35. player.TextSize = 16
  36.  
  37. ID.Name = "ID"
  38. ID.Parent = Frame
  39. ID.BackgroundColor3 = Color3.new(1, 1, 1)
  40. ID.BorderSizePixel = 0
  41. ID.Position = UDim2.new(0.727089822, 0, 0, 0)
  42. ID.Size = UDim2.new(0, 95, 0, 46)
  43. ID.Font = Enum.Font.SourceSans
  44. ID.Text = "Song ID"
  45. ID.TextColor3 = Color3.new(0, 0, 0)
  46. ID.TextSize = 16
  47.  
  48. item.Name = "item"
  49. item.Parent = Frame
  50. item.BackgroundColor3 = Color3.new(1, 1, 1)
  51. item.BorderSizePixel = 0
  52. item.Position = UDim2.new(0.346303493, 0, 0, 0)
  53. item.Size = UDim2.new(0, 102, 0, 46)
  54. item.Font = Enum.Font.SourceSans
  55. item.Text = "Item Name"
  56. item.TextColor3 = Color3.new(0, 0, 0)
  57. item.TextSize = 16
  58.  
  59. kick.Name = "kick"
  60. kick.Parent = Frame
  61. kick.BackgroundColor3 = Color3.new(0.666667, 0.333333, 0)
  62. kick.BackgroundTransparency = 1
  63. kick.BorderSizePixel = 0
  64. kick.Position = UDim2.new(0.00346616656, 0, 0.297807992, 0)
  65. kick.Size = UDim2.new(0, 97, 0, 39)
  66. kick.Font = Enum.Font.SourceSans
  67. kick.Text = "Kick Player"
  68. kick.TextColor3 = Color3.new(0, 0, 0)
  69. kick.TextSize = 14
  70. kick.MouseButton1Click:connect(function()
  71. local A_1 = "Destroy"
  72. local A_2 = game.Players[player.Text].Character
  73. local Event = game:GetService("ReplicatedStorage").Resources.Remotes.InteractItem
  74. Event:FireServer(A_1, A_2)
  75. end)
  76.  
  77. kill.Name = "kill"
  78. kill.Parent = Frame
  79. kill.BackgroundColor3 = Color3.new(0.678431, 0.54902, 1)
  80. kill.BackgroundTransparency = 1
  81. kill.BorderSizePixel = 0
  82. kill.Position = UDim2.new(0.292890966, 0, 0.292517006, 0)
  83. kill.Size = UDim2.new(0, 97, 0, 39)
  84. kill.Font = Enum.Font.SourceSans
  85. kill.Text = "Kill Player"
  86. kill.TextColor3 = Color3.new(0, 0, 0)
  87. kill.TextSize = 14
  88. kill.MouseButton1Click:connect(function()
  89. local A_1 = "Destroy"
  90. local A_2 = game.Players[player.Text].Character.Head
  91. local Event = game:GetService("ReplicatedStorage").Resources.Remotes.InteractItem
  92. Event:FireServer(A_1, A_2)
  93. end)
  94.  
  95. spawn.Name = "spawn"
  96. spawn.Parent = Frame
  97. spawn.BackgroundColor3 = Color3.new(0.537255, 0.227451, 1)
  98. spawn.BackgroundTransparency = 1
  99. spawn.BorderSizePixel = 0
  100. spawn.Position = UDim2.new(-0.0022809878, 0, 0.792894959, 0)
  101. spawn.Size = UDim2.new(0, 97, 0, 39)
  102. spawn.Font = Enum.Font.SourceSans
  103. spawn.Text = "Spawn Item"
  104. spawn.TextColor3 = Color3.new(0, 0, 0)
  105. spawn.TextSize = 14
  106. spawn.MouseButton1Click:connect(function()
  107. local p = game.Players.LocalPlayer.Character.Head.Position
  108. local A_1 = item.Text
  109. local A_2 = Vector3.new(p.x, p.y, p.z) + Vector3.new(0, 2, 0)
  110. local Event = game:GetService("ReplicatedStorage").Resources.Remotes.MakeItem
  111. Event:FireServer(A_1, A_2)
  112.  
  113. end)
  114.  
  115. play.Name = "play"
  116. play.Parent = Frame
  117. play.BackgroundColor3 = Color3.new(0.466667, 0.858824, 1)
  118. play.BackgroundTransparency = 1
  119. play.BorderSizePixel = 0
  120. play.Position = UDim2.new(0.292890966, 0, 0.792894959, 0)
  121. play.Size = UDim2.new(0, 97, 0, 39)
  122. play.Font = Enum.Font.SourceSans
  123. play.Text = "Play Song"
  124. play.TextColor3 = Color3.new(0, 0, 0)
  125. play.TextSize = 14
  126. play.MouseButton1Click:connect(function()
  127. for i,v in pairs(game.Players:GetPlayers()) do
  128. local A_1 = "rbxassetid://" ..ID.Text
  129. local A_2 = v.Character.HumanoidRootPart
  130. local Event = game:GetService("ReplicatedStorage").Resources.Remotes.PlaySound
  131. Event:FireServer(A_1, A_2)
  132. end
  133. end)
  134.  
  135. credits.Name = "credits"
  136. credits.Parent = Frame
  137. credits.BackgroundColor3 = Color3.new(1, 1, 1)
  138. credits.BackgroundTransparency = 1
  139. credits.Position = UDim2.new(0.00346620055, 0, 0.493962854, 0)
  140. credits.Size = UDim2.new(0, 347, 0, 50)
  141. credits.Font = Enum.Font.SourceSans
  142. credits.Text = "Credits: Kai~Kun#0460 & Dog&Cats#5312"
  143. credits.TextColor3 = Color3.new(0, 0, 0)
  144. credits.TextSize = 20
  145.  
  146. chicken.Name = "chicken"
  147. chicken.Parent = Frame
  148. chicken.BackgroundColor3 = Color3.new(1, 1, 1)
  149. chicken.BackgroundTransparency = 1
  150. chicken.Position = UDim2.new(0.637930989, 0, 0.291005284, 0)
  151. chicken.Size = UDim2.new(0, 118, 0, 39)
  152. chicken.Font = Enum.Font.SourceSans
  153. chicken.Text = "Kill Giant Chickens"
  154. chicken.TextColor3 = Color3.new(0, 0, 0)
  155. chicken.TextSize = 14
  156. chicken.MouseButton1Click:connect(function()
  157. local A_1 = game:GetService("Workspace").Animals["Giant Chicken"]
  158. local A_2 = 20000
  159. local Event = game:GetService("ReplicatedStorage").Resources.Remotes.DamageAnimal
  160. Event:FireServer(A_1, A_2)
  161. end)
  162.  
  163. destroy.Name = "destroy"
  164. destroy.Parent = Frame
  165. destroy.BackgroundColor3 = Color3.new(1, 1, 1)
  166. destroy.BackgroundTransparency = 1
  167. destroy.Position = UDim2.new(0.637930989, 0, 0.788359761, 0)
  168. destroy.Size = UDim2.new(0, 118, 0, 39)
  169. destroy.Font = Enum.Font.SourceSans
  170. destroy.Text = "Destroy everything."
  171. destroy.TextColor3 = Color3.new(0, 0, 0)
  172. destroy.TextSize = 16
  173. destroy.MouseButton1Click:connect(function()
  174. for i,v in pairs(workspace:GetChildren()) do
  175. local A_1 = "Destroy"
  176. local A_2 = v
  177. local Event = game:GetService("ReplicatedStorage").Resources.Remotes.InteractItem
  178. Event:FireServer(A_1, A_2)
  179. end
  180. end)
  181.  
  182. open.Name = "open"
  183. open.Parent = ScreenGui
  184. open.BackgroundColor3 = Color3.new(0, 0.533333, 1)
  185. open.BackgroundTransparency = 0.55000001192093
  186. open.Position = UDim2.new(0, 0, 0.897765338, 0)
  187. open.Size = UDim2.new(0, 151, 0, 55)
  188. open.Font = Enum.Font.SourceSans
  189. open.Text = "Open/Close"
  190. open.TextColor3 = Color3.new(0, 0, 0)
  191. open.TextSize = 20
  192. open.MouseButton1Click:connect(function()
  193. if Frame.Visible == false then
  194. Frame.Visible = true
  195. else
  196. Frame.Visible = false
  197. end
  198. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement