ChaosityYT

Muscle Simulator GUI

Apr 16th, 2020
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.04 KB | None | 0 0
  1. -- Made by Draugr (https://v3rmillion.net/member.php?action=profile&uid=500361)
  2. -- Enjoy!
  3. -- For game: https://www.roblox.com/games/3589430953/Muscle-Simulator
  4.  
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Background = Instance.new("Frame")
  8. local TopBar = Instance.new("Frame")
  9. local Title = Instance.new("TextLabel")
  10. local Give_Strength = Instance.new("TextButton")
  11. local Give_All_Items = Instance.new("TextButton")
  12. local invoke_megashake = Instance.new("TextButton")
  13. local invoke_proteingum = Instance.new("TextButton")
  14. local invoke_bulkjuice = Instance.new("TextButton")
  15. local invoke_proteinbar = Instance.new("TextButton")
  16. local invoke_proteinsalad = Instance.new("TextButton")
  17. local invoke_bloxycola = Instance.new("TextButton")
  18. local unlock_allareas = Instance.new("TextButton")
  19. local TextLabel = Instance.new("TextLabel")
  20.  
  21. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  22.  
  23. Background.Name = "Background"
  24. Background.Parent = ScreenGui
  25. Background.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  26. Background.Position = UDim2.new(0.840606034, 0, 0.444717437, 0)
  27. Background.Size = UDim2.new(0, 263, 0, 206)
  28.  
  29. TopBar.Name = "TopBar"
  30. TopBar.Parent = Background
  31. TopBar.BackgroundColor3 = Color3.new(1, 1, 1)
  32. TopBar.Size = UDim2.new(0, 263, 0, 21)
  33.  
  34. Title.Name = "Title"
  35. Title.Parent = Background
  36. Title.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  37. Title.Size = UDim2.new(0, 263, 0, 21)
  38. Title.Font = Enum.Font.SourceSans
  39. Title.Text = "Muscle Sim GUI (By Draugr)"
  40. Title.TextColor3 = Color3.new(0, 1, 0)
  41. Title.TextSize = 14
  42.  
  43. Give_Strength.Name = "Give_Strength"
  44. Give_Strength.Parent = Background
  45. Give_Strength.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  46. Give_Strength.Position = UDim2.new(0.0754097477, 0, 0.151475325, 0)
  47. Give_Strength.Size = UDim2.new(0, 106, 0, 31)
  48. Give_Strength.Font = Enum.Font.SourceSans
  49. Give_Strength.Text = "Give Strength"
  50. Give_Strength.TextColor3 = Color3.new(0.333333, 1, 0)
  51. Give_Strength.TextSize = 14
  52.  
  53. Give_All_Items.Name = "Give_All_Items"
  54. Give_All_Items.Parent = Background
  55. Give_All_Items.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  56. Give_All_Items.Position = UDim2.new(0.520276666, 0, 0.151475325, 0)
  57. Give_All_Items.Size = UDim2.new(0, 106, 0, 31)
  58. Give_All_Items.Font = Enum.Font.SourceSans
  59. Give_All_Items.Text = "Give All Items"
  60. Give_All_Items.TextColor3 = Color3.new(0.333333, 1, 0)
  61. Give_All_Items.TextSize = 14
  62.  
  63. invoke_megashake.Name = "invoke_megashake"
  64. invoke_megashake.Parent = Background
  65. invoke_megashake.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  66. invoke_megashake.Position = UDim2.new(0.0754097477, 0, 0.573805451, 0)
  67. invoke_megashake.Size = UDim2.new(0, 106, 0, 22)
  68. invoke_megashake.Font = Enum.Font.SourceSans
  69. invoke_megashake.Text = "Mega Shake"
  70. invoke_megashake.TextColor3 = Color3.new(0.333333, 1, 0)
  71. invoke_megashake.TextSize = 14
  72.  
  73. invoke_proteingum.Name = "invoke_proteingum"
  74. invoke_proteingum.Parent = Background
  75. invoke_proteingum.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  76. invoke_proteingum.Position = UDim2.new(0.520276666, 0, 0.573805451, 0)
  77. invoke_proteingum.Size = UDim2.new(0, 106, 0, 22)
  78. invoke_proteingum.Font = Enum.Font.SourceSans
  79. invoke_proteingum.Text = "Protein Gum"
  80. invoke_proteingum.TextColor3 = Color3.new(0.333333, 1, 0)
  81. invoke_proteingum.TextSize = 14
  82.  
  83. invoke_bulkjuice.Name = "invoke_bulkjuice"
  84. invoke_bulkjuice.Parent = Background
  85. invoke_bulkjuice.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  86. invoke_bulkjuice.Position = UDim2.new(0.0754097551, 0, 0.709727764, 0)
  87. invoke_bulkjuice.Size = UDim2.new(0, 106, 0, 22)
  88. invoke_bulkjuice.Font = Enum.Font.SourceSans
  89. invoke_bulkjuice.Text = "Bulk Juice"
  90. invoke_bulkjuice.TextColor3 = Color3.new(0.333333, 1, 0)
  91. invoke_bulkjuice.TextSize = 14
  92.  
  93. invoke_proteinbar.Name = "invoke_proteinbar"
  94. invoke_proteinbar.Parent = Background
  95. invoke_proteinbar.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  96. invoke_proteinbar.Position = UDim2.new(0.520276666, 0, 0.709727764, 0)
  97. invoke_proteinbar.Size = UDim2.new(0, 106, 0, 22)
  98. invoke_proteinbar.Font = Enum.Font.SourceSans
  99. invoke_proteinbar.Text = "Protein Bar"
  100. invoke_proteinbar.TextColor3 = Color3.new(0.333333, 1, 0)
  101. invoke_proteinbar.TextSize = 14
  102.  
  103. invoke_proteinsalad.Name = "invoke_proteinsalad"
  104. invoke_proteinsalad.Parent = Background
  105. invoke_proteinsalad.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  106. invoke_proteinsalad.Position = UDim2.new(0.520276666, 0, 0.845650077, 0)
  107. invoke_proteinsalad.Size = UDim2.new(0, 106, 0, 22)
  108. invoke_proteinsalad.Font = Enum.Font.SourceSans
  109. invoke_proteinsalad.Text = "Protein Salad"
  110. invoke_proteinsalad.TextColor3 = Color3.new(0.333333, 1, 0)
  111. invoke_proteinsalad.TextSize = 14
  112.  
  113. invoke_bloxycola.Name = "invoke_bloxycola"
  114. invoke_bloxycola.Parent = Background
  115. invoke_bloxycola.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  116. invoke_bloxycola.Position = UDim2.new(0.0754097328, 0, 0.845650077, 0)
  117. invoke_bloxycola.Size = UDim2.new(0, 106, 0, 22)
  118. invoke_bloxycola.Font = Enum.Font.SourceSans
  119. invoke_bloxycola.Text = "Bloxy Cola"
  120. invoke_bloxycola.TextColor3 = Color3.new(0.333333, 1, 0)
  121. invoke_bloxycola.TextSize = 14
  122.  
  123. unlock_allareas.Name = "unlock_allareas"
  124. unlock_allareas.Parent = Background
  125. unlock_allareas.BackgroundColor3 = Color3.new(0.0980392, 0.0980392, 0.0980392)
  126. unlock_allareas.Position = UDim2.new(0.0754097477, 0, 0.301960766, 0)
  127. unlock_allareas.Size = UDim2.new(0, 223, 0, 31)
  128. unlock_allareas.Font = Enum.Font.SourceSans
  129. unlock_allareas.Text = "Unlock All Areas (Hard on toasters)"
  130. unlock_allareas.TextColor3 = Color3.new(0.333333, 1, 0)
  131. unlock_allareas.TextSize = 14
  132.  
  133. TextLabel.Parent = Background
  134. TextLabel.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  135. TextLabel.BorderSizePixel = 0
  136. TextLabel.Position = UDim2.new(0.117949069, 0, 0.436380327, 0)
  137. TextLabel.Size = UDim2.new(0, 200, 0, 26)
  138. TextLabel.Font = Enum.Font.SourceSans
  139. TextLabel.Text = "}---- Remotes ----["
  140. TextLabel.TextColor3 = Color3.new(0.811765, 0.811765, 0.811765)
  141. TextLabel.TextSize = 14
  142.  
  143. local localname = game.Players.LocalPlayer.Name
  144. local workspaceplayer = game.Workspace[localname]
  145.  
  146. function givealltimesfunc()
  147. game.ReplicatedStorage.VIPStuff["Bulk Juice"].Parent = game.Players.LocalPlayer.Backpack
  148. game.ReplicatedStorage.VIPStuff["Protein Bar"].Parent = game.Players.LocalPlayer.Backpack
  149. game.ReplicatedStorage.VIPStuff["Protein Salad"].Parent = game.Players.LocalPlayer.Backpack
  150. game.ReplicatedStorage.VIPStuff["Bloxy Cola"].Parent = game.Players.LocalPlayer.Backpack
  151. game.ReplicatedStorage.VIPStuff["Protein Gum"].Parent = game.Players.LocalPlayer.Backpack
  152. game.ReplicatedStorage.VIPStuff["Mega Shake"].Parent = game.Players.LocalPlayer.Backpack
  153. end
  154.  
  155. function unlockareasfunc()
  156. for i,v in pairs(game.Workspace:GetChildren()) do
  157. if v:IsA("Part") then
  158. if v.Transparency == 1 or v.Transparency == 5 then
  159. v:Destroy()
  160. end
  161. elseif v.Name == "Sign" then
  162.  
  163. for ii,ve in pairs(v:GetChildren()) do
  164. if ve.Transparency == 1 or ve.Transparency == 5 then
  165. ve:Destroy()
  166. end
  167. end
  168. end
  169. end
  170. end
  171.  
  172. function givestrengthfunc()
  173. local tbl_main =
  174. {
  175. workspaceplayer.Weight.Handle,
  176. 1
  177. }
  178. game:GetService("ReplicatedStorage").strengthadd:FireServer(unpack(tbl_main))
  179. end
  180.  
  181. function invokemegashakefunc()
  182. local tbl_main =
  183. {
  184. game.Players[localname].Backpack["Mega Shake"]
  185. }
  186. game:GetService("ReplicatedStorage").VIP.shakealert:InvokeServer(unpack(tbl_main))
  187. end
  188.  
  189. function invokeproteingumfunc()
  190. local tbl_main =
  191. {
  192. game.Players[localname].Backpack["Protein Gum"]
  193. }
  194. game:GetService("ReplicatedStorage").VIP.strengthalert:InvokeServer(unpack(tbl_main))
  195. end
  196.  
  197. function invokebloxycolafunc()
  198. local tbl_main =
  199. {
  200. game.Players[localname].Backpack["Bloxy Cola"]
  201. }
  202. game:GetService("ReplicatedStorage").VIP.bloxyalert:InvokeServer(unpack(tbl_main))
  203. end
  204.  
  205. function invokeproteinsaladfunc()
  206. local tbl_main =
  207. {
  208. game.Players[localname].Backpack["Protein Salad"]
  209. }
  210. game:GetService("ReplicatedStorage").VIP.saladalert:InvokeServer(unpack(tbl_main))
  211. end
  212.  
  213. function invokeproteinbarfunc()
  214. local tbl_main =
  215. {
  216. game.Players[localname].Backpack["Protein Bar"]
  217. }
  218. game:GetService("ReplicatedStorage").VIP.baralert:InvokeServer(unpack(tbl_main))
  219. end
  220.  
  221. function invokebulkjuicefunc()
  222. local tbl_main =
  223. {
  224. game.Players[localname],
  225. game.Players[localname].Backpack["Bulk Juice"]
  226. }
  227. game:GetService("ReplicatedStorage").VIP.juicealert:InvokeServer(unpack(tbl_main))
  228. end
  229.  
  230.  
  231.  
  232.  
  233. unlock_allareas.MouseButton1Click:Connect(unlockareasfunc)
  234. Give_Strength.MouseButton1Click:Connect(givestrengthfunc)
  235. Give_All_Items.MouseButton1Click:Connect(givealltimesfunc)
  236. invoke_bulkjuice.MouseButton1Click:Connect(invokebulkjuicefunc)
  237. invoke_proteinbar.MouseButton1Click:Connect(invokeproteinbarfunc)
  238. invoke_megashake.MouseButton1Click:Connect(invokemegashakefunc)
  239. invoke_bloxycola.MouseButton1Click:Connect(invokebloxycolafunc)
  240. invoke_proteinsalad.MouseButton1Click:Connect(invokeproteinsaladfunc)
  241. invoke_proteingum.MouseButton1Click:Connect(invokeproteingumfunc)
Add Comment
Please, Sign In to add comment