Advertisement
MindOfPlayer

Modded_Guns Gui

Jun 1st, 2020
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 7.15 KB | None | 0 0
  1.  
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local modmain = Instance.new("Frame")
  5. local number = Instance.new("TextBox")
  6. local close = Instance.new("TextButton")
  7. local title = Instance.new("TextLabel")
  8. local firerate = Instance.new("TextButton")
  9. local bullets = Instance.new("TextButton")
  10. local reloadtime = Instance.new("TextButton")
  11. local ammo = Instance.new("TextButton")
  12. local on = Instance.new("TextButton")
  13. local off = Instance.new("TextButton")
  14. local autofire = Instance.new("TextLabel")
  15.  
  16. --Properties:
  17.  
  18. ScreenGui.Parent = game.CoreGui
  19.  
  20. modmain.Name = "modmain"
  21. modmain.Parent = ScreenGui
  22. modmain.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  23. modmain.BorderColor3 = Color3.fromRGB(20, 20, 20)
  24. modmain.Position = UDim2.new(0.613879085, 0, 0.248611152, 0)
  25. modmain.Size = UDim2.new(0, 300, 0, 294)
  26. modmain.Visible = false
  27. modmain.Active = true
  28. modmain.Draggable = true
  29.  
  30. number.Name = "number"
  31. number.Parent = modmain
  32. number.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  33. number.BorderColor3 = Color3.fromRGB(20, 20, 20)
  34. number.Position = UDim2.new(0.160603434, 0, 0.0976894125, 0)
  35. number.Size = UDim2.new(0, 200, 0, 31)
  36. number.Font = Enum.Font.SourceSans
  37. number.PlaceholderText = ">Number<"
  38. number.Text = ""
  39. number.TextColor3 = Color3.fromRGB(255, 255, 255)
  40. number.TextScaled = true
  41. number.TextSize = 14.000
  42. number.TextWrapped = true
  43.  
  44. close.Name = "close"
  45. close.Parent = modmain
  46. close.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  47. close.BackgroundTransparency = 1.000
  48. close.Position = UDim2.new(0.82929337, 0, -0.000999927521, 0)
  49. close.Size = UDim2.new(0, 50, 0, 46)
  50. close.Font = Enum.Font.SourceSans
  51. close.Text = "_"
  52. close.TextColor3 = Color3.fromRGB(255, 255, 255)
  53. close.TextScaled = true
  54. close.TextSize = 14.000
  55. close.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  56. close.TextWrapped = true
  57. close.MouseButton1Down:connect(function()
  58. modmain.Visible = false
  59. end)
  60.  
  61. title.Name = "title"
  62. title.Parent = modmain
  63. title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  64. title.BackgroundTransparency = 1.000
  65. title.Position = UDim2.new(0.1639366, 0, -0.00100000005, 0)
  66. title.Size = UDim2.new(0, 200, 0, 30)
  67. title.Font = Enum.Font.SourceSans
  68. title.Text = "Soul#4086's Modded Guns"
  69. title.TextColor3 = Color3.fromRGB(255, 255, 255)
  70. title.TextScaled = true
  71. title.TextSize = 14.000
  72. title.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  73. title.TextWrapped = true
  74.  
  75. firerate.Name = "firerate"
  76. firerate.Parent = modmain
  77. firerate.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  78. firerate.BorderColor3 = Color3.fromRGB(255, 255, 255)
  79. firerate.BorderSizePixel = 3
  80. firerate.Position = UDim2.new(0.124497503, 0, 0.227780059, 0)
  81. firerate.Size = UDim2.new(0, 100, 0, 50)
  82. firerate.Font = Enum.Font.SourceSans
  83. firerate.Text = "Fire rate"
  84. firerate.TextColor3 = Color3.fromRGB(255, 255, 255)
  85. firerate.TextScaled = true
  86. firerate.TextSize = 14.000
  87. firerate.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  88. firerate.TextWrapped = true
  89. firerate.MouseButton1Down:connect(function()
  90. local sM = require(game:GetService('Players').LocalPlayer.Character:FindFirstChildOfClass("Tool").GunStates)
  91. sM["FireRate"] = number.Text
  92. end)
  93.  
  94. bullets.Name = "bullets"
  95. bullets.Parent = modmain
  96. bullets.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  97. bullets.BorderColor3 = Color3.fromRGB(255, 255, 255)
  98. bullets.BorderSizePixel = 3
  99. bullets.Position = UDim2.new(0.523545265, 0, 0.466716856, 0)
  100. bullets.Size = UDim2.new(0, 100, 0, 50)
  101. bullets.Font = Enum.Font.SourceSans
  102. bullets.Text = "Bullets"
  103. bullets.TextColor3 = Color3.fromRGB(255, 255, 255)
  104. bullets.TextScaled = true
  105. bullets.TextSize = 14.000
  106. bullets.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  107. bullets.TextWrapped = true
  108. bullets.MouseButton1Down:connect(function()
  109. local sM = require(game:GetService('Players').LocalPlayer.Character:FindFirstChildOfClass("Tool").GunStates)
  110. sM["Bullets"] = number.Text
  111. end)
  112.  
  113. reloadtime.Name = "reloadtime"
  114. reloadtime.Parent = modmain
  115. reloadtime.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  116. reloadtime.BorderColor3 = Color3.fromRGB(255, 255, 255)
  117. reloadtime.BorderSizePixel = 3
  118. reloadtime.Position = UDim2.new(0.123544924, 0, 0.466716856, 0)
  119. reloadtime.Size = UDim2.new(0, 100, 0, 50)
  120. reloadtime.Font = Enum.Font.SourceSans
  121. reloadtime.Text = "Reload time"
  122. reloadtime.TextColor3 = Color3.fromRGB(255, 255, 255)
  123. reloadtime.TextScaled = true
  124. reloadtime.TextSize = 14.000
  125. reloadtime.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  126. reloadtime.TextWrapped = true
  127. reloadtime.MouseButton1Down:connect(function()
  128. local sM = require(game:GetService('Players').LocalPlayer.Character:FindFirstChildOfClass("Tool").GunStates)
  129. sM["ReloadTime"] = number.Text
  130. end)
  131.  
  132. ammo.Name = "ammo"
  133. ammo.Parent = modmain
  134. ammo.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  135. ammo.BorderColor3 = Color3.fromRGB(255, 255, 255)
  136. ammo.BorderSizePixel = 3
  137. ammo.Position = UDim2.new(0.524497509, 0, 0.231181383, 0)
  138. ammo.Size = UDim2.new(0, 100, 0, 50)
  139. ammo.Font = Enum.Font.SourceSans
  140. ammo.Text = "Inf Ammo"
  141. ammo.TextColor3 = Color3.fromRGB(255, 255, 255)
  142. ammo.TextScaled = true
  143. ammo.TextSize = 14.000
  144. ammo.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
  145. ammo.TextWrapped = true
  146. ammo.MouseButton1Down:connect(function()
  147. local sM = require(game:GetService('Players').LocalPlayer.Character:FindFirstChildOfClass("Tool").GunStates)
  148. sM["MaxAmmo"] = math.huge
  149. sM["StoredAmmo"] = math.huge
  150. end)
  151.  
  152. on.Name = "on"
  153. on.Parent = modmain
  154. on.BackgroundColor3 = Color3.fromRGB(85, 255, 0)
  155. on.BorderColor3 = Color3.fromRGB(85, 255, 0)
  156. on.Position = UDim2.new(0.353558779, 0, 0.813577175, 0)
  157. on.Size = UDim2.new(0, 30, 0, 30)
  158. on.Font = Enum.Font.SourceSans
  159. on.Text = ""
  160. on.TextColor3 = Color3.fromRGB(0, 0, 0)
  161. on.TextSize = 14.000
  162. on.MouseButton1Down:connect(function()
  163. local sM = require(game:GetService('Players').LocalPlayer.Character:FindFirstChildOfClass("Tool").GunStates)
  164. sM["AutoFire"] = true
  165. end)
  166.  
  167. off.Name = "off"
  168. off.Parent = modmain
  169. off.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  170. off.BorderColor3 = Color3.fromRGB(255, 0, 0)
  171. off.Position = UDim2.new(0.523558795, 0, 0.814063132, 0)
  172. off.Size = UDim2.new(0, 30, 0, 30)
  173. off.Font = Enum.Font.SourceSans
  174. off.Text = ""
  175. off.TextColor3 = Color3.fromRGB(0, 0, 0)
  176. off.TextSize = 14.000
  177. off.MouseButton1Down:connect(function()
  178. local sM = require(game:GetService('Players').LocalPlayer.Character:FindFirstChildOfClass("Tool").GunStates)
  179. sM["AutoFire"] = false
  180. end)
  181.  
  182. autofire.Name = "autofire"
  183. autofire.Parent = modmain
  184. autofire.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
  185. autofire.BackgroundTransparency = 1.000
  186. autofire.BorderColor3 = Color3.fromRGB(20, 20, 20)
  187. autofire.Position = UDim2.new(0.158422321, 0, 0.671716034, 0)
  188. autofire.Size = UDim2.new(0, 200, 0, 33)
  189. autofire.Font = Enum.Font.SourceSans
  190. autofire.Text = "Auto fire"
  191. autofire.TextColor3 = Color3.fromRGB(255, 255, 255)
  192. autofire.TextScaled = true
  193. autofire.TextSize = 14.000
  194. autofire.TextWrapped = true
  195.  
  196. -- Scripts:
  197.  
  198. local function STFEVAG_fake_script() -- title.LocalScript
  199.     local script = Instance.new('LocalScript', title)
  200.  
  201.     function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  202.    
  203.     counter = 0
  204.    
  205.     while wait(0.1)do
  206.      script.Parent.TextColor3 = Color3.fromHSV(zigzag(counter),1,1)
  207.      
  208.      counter = counter + 0.01
  209.     end
  210. end
  211. coroutine.wrap(STFEVAG_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement