HansCSia320

Redwood Gun gui

Apr 30th, 2019
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 30.36 KB | None | 0 0
  1. local RWPHx = Instance.new("ScreenGui")
  2. local MainFrame = Instance.new("Frame")
  3. local TopBar = Instance.new("Frame")
  4. local UIName = Instance.new("TextLabel")
  5. local UIExit = Instance.new("TextButton")
  6. local UIMini = Instance.new("TextButton")
  7. local UIMax = Instance.new("TextButton")
  8. local ButtonsFramePG1 = Instance.new("Frame")
  9. local Grid1 = Instance.new("UIGridLayout")
  10. local item_M1014 = Instance.new("TextButton")
  11. local item_Dragunov = Instance.new("TextButton")
  12. local item_Makrov = Instance.new("TextButton")
  13. local item_Taser = Instance.new("TextButton")
  14. local item_HamSandwich = Instance.new("TextButton")
  15. local item_Pancakes = Instance.new("TextButton")
  16. local item_Steak = Instance.new("TextButton")
  17. local item_Punch = Instance.new("TextButton")
  18. local item_Handcuffs = Instance.new("TextButton")
  19. local item_SPAS12 = Instance.new("TextButton")
  20. local item_Shank = Instance.new("TextButton")
  21. local item_Hammer = Instance.new("TextButton")
  22. local item_Guitar = Instance.new("TextButton")
  23. local item_FakeIdCard = Instance.new("TextButton")
  24. local item_ACR = Instance.new("TextButton")
  25. local LabelHolder = Instance.new("Frame")
  26. local CreditsLabel = Instance.new("TextLabel")
  27. local PageChangerFrame = Instance.new("Frame")
  28. local CurrentPGNum = Instance.new("TextLabel")
  29. local NextPage = Instance.new("TextButton")
  30. local PrevPage = Instance.new("TextButton")
  31. local ButtonsFramePG2 = Instance.new("Frame")
  32. local Grid2 = Instance.new("UIGridLayout")
  33. local item_L86A2 = Instance.new("TextButton")
  34. local item_M60 = Instance.new("TextButton")
  35. local item_BerettaM9 = Instance.new("TextButton")
  36. local item_M14 = Instance.new("TextButton")
  37. local item_AK47U = Instance.new("TextButton")
  38. local item_Revolver = Instance.new("TextButton")
  39. local item_Minigun = Instance.new("TextButton")
  40. local item_M16 = Instance.new("TextButton")
  41. local item_SW638 = Instance.new("TextButton")
  42. local item_AK47 = Instance.new("TextButton")
  43. local item_UMP45 = Instance.new("TextButton")
  44. local item_M98B = Instance.new("TextButton")
  45. local item_ArrestAll = Instance.new("TextButton")
  46. local item_KillAll = Instance.new("TextButton")
  47. local item_Speed = Instance.new("TextButton")
  48. --Properties:
  49. RWPHx.Name = "RWPHx"
  50. RWPHx.Parent = game.CoreGui
  51.  
  52. MainFrame.Name = "MainFrame"
  53. MainFrame.Parent = RWPHx
  54. MainFrame.Active = true
  55. MainFrame.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  56. MainFrame.BorderColor3 = Color3.new(1, 0.333333, 0)
  57. MainFrame.Position = UDim2.new(0.338041425, 0, 0.232999995, 0)
  58. MainFrame.Size = UDim2.new(0, 343, 0, 303)
  59.  
  60. TopBar.Name = "TopBar"
  61. TopBar.Parent = MainFrame
  62. TopBar.Active = true
  63. TopBar.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  64. TopBar.BorderSizePixel = 0
  65. TopBar.Size = UDim2.new(0, 343, 0, 27)
  66.  
  67. UIName.Name = "UIName"
  68. UIName.Parent = TopBar
  69. UIName.Active = true
  70. UIName.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  71. UIName.BorderSizePixel = 0
  72. UIName.Position = UDim2.new(0.294460624, 0, 0, 0)
  73. UIName.Size = UDim2.new(0, 141, 0, 27)
  74. UIName.Font = Enum.Font.SourceSansBold
  75. UIName.Text = "RWPHx"
  76. UIName.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  77. UIName.TextScaled = true
  78. UIName.TextSize = 14
  79. UIName.TextWrapped = true
  80.  
  81. UIExit.Name = "UIExit"
  82. UIExit.Parent = TopBar
  83. UIExit.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  84. UIExit.BorderSizePixel = 0
  85. UIExit.Position = UDim2.new(0.930029154, 0, 0, 0)
  86. UIExit.Size = UDim2.new(0, 24, 0, 27)
  87. UIExit.AutoButtonColor = false
  88. UIExit.Font = Enum.Font.SourceSansBold
  89. UIExit.Text = "X"
  90. UIExit.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  91. UIExit.TextScaled = true
  92. UIExit.TextSize = 14
  93. UIExit.TextWrapped = true
  94.  
  95. UIMini.Name = "UIMini"
  96. UIMini.Parent = TopBar
  97. UIMini.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  98. UIMini.BorderSizePixel = 0
  99. UIMini.Position = UDim2.new(0.860058308, 0, 0, 0)
  100. UIMini.Size = UDim2.new(0, 24, 0, 27)
  101. UIMini.AutoButtonColor = false
  102. UIMini.Font = Enum.Font.SourceSansBold
  103. UIMini.Text = "-"
  104. UIMini.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  105. UIMini.TextScaled = true
  106. UIMini.TextSize = 14
  107. UIMini.TextWrapped = true
  108.  
  109. UIMax.Name = "UIMax"
  110. UIMax.Parent = TopBar
  111. UIMax.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  112. UIMax.BorderSizePixel = 0
  113. UIMax.Position = UDim2.new(0.860058308, 0, 0, 0)
  114. UIMax.Size = UDim2.new(0, 24, 0, 27)
  115. UIMax.Visible = false
  116. UIMax.AutoButtonColor = false
  117. UIMax.Font = Enum.Font.SourceSansBold
  118. UIMax.Text = "-"
  119. UIMax.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  120. UIMax.TextScaled = true
  121. UIMax.TextSize = 14
  122. UIMax.TextWrapped = true
  123.  
  124. ButtonsFramePG1.Name = "ButtonsFramePG1"
  125. ButtonsFramePG1.Parent = MainFrame
  126. ButtonsFramePG1.Active = true
  127. ButtonsFramePG1.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  128. ButtonsFramePG1.BorderSizePixel = 0
  129. ButtonsFramePG1.Position = UDim2.new(0.0408163257, 0, 0.184818476, 0)
  130. ButtonsFramePG1.Size = UDim2.new(0, 315, 0, 205)
  131. ButtonsFramePG1.Visible = false
  132.  
  133. Grid1.Name = "Grid1"
  134. Grid1.Parent = ButtonsFramePG1
  135. Grid1.CellSize = UDim2.new(0, 100, 0, 35)
  136.  
  137. item_M1014.Name = "item_M1014"
  138. item_M1014.Parent = ButtonsFramePG1
  139. item_M1014.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  140. item_M1014.BorderColor3 = Color3.new(1, 0.333333, 0)
  141. item_M1014.Size = UDim2.new(0, 200, 0, 50)
  142. item_M1014.AutoButtonColor = false
  143. item_M1014.Font = Enum.Font.SourceSansBold
  144. item_M1014.Text = "M1014"
  145. item_M1014.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  146. item_M1014.TextSize = 14
  147.  
  148. item_Dragunov.Name = "item_Dragunov"
  149. item_Dragunov.Parent = ButtonsFramePG1
  150. item_Dragunov.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  151. item_Dragunov.BorderColor3 = Color3.new(1, 0.333333, 0)
  152. item_Dragunov.Size = UDim2.new(0, 200, 0, 50)
  153. item_Dragunov.AutoButtonColor = false
  154. item_Dragunov.Font = Enum.Font.SourceSansBold
  155. item_Dragunov.Text = "Dragunov"
  156. item_Dragunov.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  157. item_Dragunov.TextSize = 14
  158.  
  159. item_Makrov.Name = "item_Makrov"
  160. item_Makrov.Parent = ButtonsFramePG1
  161. item_Makrov.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  162. item_Makrov.BorderColor3 = Color3.new(1, 0.333333, 0)
  163. item_Makrov.Size = UDim2.new(0, 200, 0, 50)
  164. item_Makrov.AutoButtonColor = false
  165. item_Makrov.Font = Enum.Font.SourceSansBold
  166. item_Makrov.Text = "Makrov"
  167. item_Makrov.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  168. item_Makrov.TextSize = 14
  169.  
  170. item_Taser.Name = "item_Taser"
  171. item_Taser.Parent = ButtonsFramePG1
  172. item_Taser.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  173. item_Taser.BorderColor3 = Color3.new(1, 0.333333, 0)
  174. item_Taser.Size = UDim2.new(0, 200, 0, 50)
  175. item_Taser.AutoButtonColor = false
  176. item_Taser.Font = Enum.Font.SourceSansBold
  177. item_Taser.Text = "Taser"
  178. item_Taser.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  179. item_Taser.TextSize = 14
  180.  
  181. item_HamSandwich.Name = "item_HamSandwich"
  182. item_HamSandwich.Parent = ButtonsFramePG1
  183. item_HamSandwich.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  184. item_HamSandwich.BorderColor3 = Color3.new(1, 0.333333, 0)
  185. item_HamSandwich.Size = UDim2.new(0, 200, 0, 50)
  186. item_HamSandwich.AutoButtonColor = false
  187. item_HamSandwich.Font = Enum.Font.SourceSansBold
  188. item_HamSandwich.Text = "Ham Sandwich"
  189. item_HamSandwich.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  190. item_HamSandwich.TextSize = 14
  191.  
  192. item_Pancakes.Name = "item_Pancakes"
  193. item_Pancakes.Parent = ButtonsFramePG1
  194. item_Pancakes.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  195. item_Pancakes.BorderColor3 = Color3.new(1, 0.333333, 0)
  196. item_Pancakes.Size = UDim2.new(0, 200, 0, 50)
  197. item_Pancakes.AutoButtonColor = false
  198. item_Pancakes.Font = Enum.Font.SourceSansBold
  199. item_Pancakes.Text = "Pancakes"
  200. item_Pancakes.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  201. item_Pancakes.TextSize = 14
  202.  
  203. item_Steak.Name = "item_Steak"
  204. item_Steak.Parent = ButtonsFramePG1
  205. item_Steak.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  206. item_Steak.BorderColor3 = Color3.new(1, 0.333333, 0)
  207. item_Steak.Size = UDim2.new(0, 200, 0, 50)
  208. item_Steak.AutoButtonColor = false
  209. item_Steak.Font = Enum.Font.SourceSansBold
  210. item_Steak.Text = "Steak"
  211. item_Steak.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  212. item_Steak.TextSize = 14
  213.  
  214. item_Punch.Name = "item_Punch"
  215. item_Punch.Parent = ButtonsFramePG1
  216. item_Punch.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  217. item_Punch.BorderColor3 = Color3.new(1, 0.333333, 0)
  218. item_Punch.Size = UDim2.new(0, 200, 0, 50)
  219. item_Punch.AutoButtonColor = false
  220. item_Punch.Font = Enum.Font.SourceSansBold
  221. item_Punch.Text = "Punch"
  222. item_Punch.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  223. item_Punch.TextSize = 14
  224.  
  225. item_Handcuffs.Name = "item_Handcuffs"
  226. item_Handcuffs.Parent = ButtonsFramePG1
  227. item_Handcuffs.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  228. item_Handcuffs.BorderColor3 = Color3.new(1, 0.333333, 0)
  229. item_Handcuffs.Size = UDim2.new(0, 200, 0, 50)
  230. item_Handcuffs.AutoButtonColor = false
  231. item_Handcuffs.Font = Enum.Font.SourceSansBold
  232. item_Handcuffs.Text = "Handcuffs"
  233. item_Handcuffs.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  234. item_Handcuffs.TextSize = 14
  235.  
  236. item_SPAS12.Name = "item_SPAS12"
  237. item_SPAS12.Parent = ButtonsFramePG1
  238. item_SPAS12.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  239. item_SPAS12.BorderColor3 = Color3.new(1, 0.333333, 0)
  240. item_SPAS12.Size = UDim2.new(0, 200, 0, 50)
  241. item_SPAS12.AutoButtonColor = false
  242. item_SPAS12.Font = Enum.Font.SourceSansBold
  243. item_SPAS12.Text = "SPAS-12"
  244. item_SPAS12.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  245. item_SPAS12.TextSize = 14
  246.  
  247. item_Shank.Name = "item_Shank"
  248. item_Shank.Parent = ButtonsFramePG1
  249. item_Shank.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  250. item_Shank.BorderColor3 = Color3.new(1, 0.333333, 0)
  251. item_Shank.Size = UDim2.new(0, 200, 0, 50)
  252. item_Shank.AutoButtonColor = false
  253. item_Shank.Font = Enum.Font.SourceSansBold
  254. item_Shank.Text = "Shank"
  255. item_Shank.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  256. item_Shank.TextSize = 14
  257.  
  258. item_Hammer.Name = "item_Hammer"
  259. item_Hammer.Parent = ButtonsFramePG1
  260. item_Hammer.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  261. item_Hammer.BorderColor3 = Color3.new(1, 0.333333, 0)
  262. item_Hammer.Size = UDim2.new(0, 200, 0, 50)
  263. item_Hammer.AutoButtonColor = false
  264. item_Hammer.Font = Enum.Font.SourceSansBold
  265. item_Hammer.Text = "Hammer"
  266. item_Hammer.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  267. item_Hammer.TextSize = 14
  268.  
  269. item_Guitar.Name = "item_Guitar"
  270. item_Guitar.Parent = ButtonsFramePG1
  271. item_Guitar.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  272. item_Guitar.BorderColor3 = Color3.new(1, 0.333333, 0)
  273. item_Guitar.Size = UDim2.new(0, 200, 0, 50)
  274. item_Guitar.AutoButtonColor = false
  275. item_Guitar.Font = Enum.Font.SourceSansBold
  276. item_Guitar.Text = "Guitar"
  277. item_Guitar.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  278. item_Guitar.TextSize = 14
  279.  
  280. item_FakeIdCard.Name = "item_FakeIdCard"
  281. item_FakeIdCard.Parent = ButtonsFramePG1
  282. item_FakeIdCard.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  283. item_FakeIdCard.BorderColor3 = Color3.new(1, 0.333333, 0)
  284. item_FakeIdCard.Size = UDim2.new(0, 200, 0, 50)
  285. item_FakeIdCard.AutoButtonColor = false
  286. item_FakeIdCard.Font = Enum.Font.SourceSansBold
  287. item_FakeIdCard.Text = "Fake ID Card"
  288. item_FakeIdCard.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  289. item_FakeIdCard.TextSize = 14
  290.  
  291. item_ACR.Name = "item_ACR"
  292. item_ACR.Parent = ButtonsFramePG1
  293. item_ACR.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  294. item_ACR.BorderColor3 = Color3.new(1, 0.333333, 0)
  295. item_ACR.Size = UDim2.new(0, 200, 0, 50)
  296. item_ACR.AutoButtonColor = false
  297. item_ACR.Font = Enum.Font.SourceSansBold
  298. item_ACR.Text = "ACR"
  299. item_ACR.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  300. item_ACR.TextSize = 14
  301.  
  302. LabelHolder.Name = "LabelHolder"
  303. LabelHolder.Parent = MainFrame
  304. LabelHolder.Active = true
  305. LabelHolder.BackgroundColor3 = Color3.new(1, 1, 1)
  306. LabelHolder.BackgroundTransparency = 1
  307. LabelHolder.Position = UDim2.new(-0.000712666661, 0, 0.0895596892, 0)
  308. LabelHolder.Size = UDim2.new(0, 343, 0, 29)
  309.  
  310. CreditsLabel.Name = "CreditsLabel"
  311. CreditsLabel.Parent = LabelHolder
  312. CreditsLabel.Active = true
  313. CreditsLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  314. CreditsLabel.BackgroundTransparency = 1
  315. CreditsLabel.Position = UDim2.new(0.205649033, 0, 0.170185566, 0)
  316. CreditsLabel.Size = UDim2.new(0, 200, 0, 18)
  317. CreditsLabel.Font = Enum.Font.SourceSansBold
  318. CreditsLabel.Text = "Made by: GproYT#2465"
  319. CreditsLabel.TextColor3 = Color3.new(1, 0.333333, 0)
  320. CreditsLabel.TextScaled = true
  321. CreditsLabel.TextSize = 14
  322. CreditsLabel.TextWrapped = true
  323.  
  324. PageChangerFrame.Name = "PageChangerFrame"
  325. PageChangerFrame.Parent = MainFrame
  326. PageChangerFrame.Active = true
  327. PageChangerFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  328. PageChangerFrame.BackgroundTransparency = 1
  329. PageChangerFrame.Position = UDim2.new(0.002915452, 0, 0.86138612, 0)
  330. PageChangerFrame.Size = UDim2.new(0, 342, 0, 42)
  331.  
  332. CurrentPGNum.Name = "CurrentPGNum"
  333. CurrentPGNum.Parent = PageChangerFrame
  334. CurrentPGNum.Active = true
  335. CurrentPGNum.BackgroundColor3 = Color3.new(1, 1, 1)
  336. CurrentPGNum.BackgroundTransparency = 1
  337. CurrentPGNum.Position = UDim2.new(0.435672522, 0, 0, 0)
  338. CurrentPGNum.Size = UDim2.new(0, 42, 0, 42)
  339. CurrentPGNum.Font = Enum.Font.SourceSansBold
  340. CurrentPGNum.Text = "1"
  341. CurrentPGNum.TextColor3 = Color3.new(1, 0.333333, 0)
  342. CurrentPGNum.TextSize = 14
  343.  
  344. NextPage.Name = "NextPage"
  345. NextPage.Parent = PageChangerFrame
  346. NextPage.BackgroundColor3 = Color3.new(1, 1, 1)
  347. NextPage.BackgroundTransparency = 1
  348. NextPage.Position = UDim2.new(0.558479548, 0, 0, 0)
  349. NextPage.Size = UDim2.new(0, 12, 0, 42)
  350. NextPage.AutoButtonColor = false
  351. NextPage.Font = Enum.Font.SourceSansBold
  352. NextPage.Text = ">"
  353. NextPage.TextColor3 = Color3.new(1, 0.333333, 0)
  354. NextPage.TextScaled = true
  355. NextPage.TextSize = 14
  356. NextPage.TextWrapped = true
  357.  
  358. PrevPage.Name = "PrevPage"
  359. PrevPage.Parent = PageChangerFrame
  360. PrevPage.BackgroundColor3 = Color3.new(1, 1, 1)
  361. PrevPage.BackgroundTransparency = 1
  362. PrevPage.Position = UDim2.new(0.400584817, 0, 0, 0)
  363. PrevPage.Size = UDim2.new(0, 12, 0, 42)
  364. PrevPage.AutoButtonColor = false
  365. PrevPage.Font = Enum.Font.SourceSansBold
  366. PrevPage.Text = "<"
  367. PrevPage.TextColor3 = Color3.new(1, 0.333333, 0)
  368. PrevPage.TextScaled = true
  369. PrevPage.TextSize = 14
  370. PrevPage.TextWrapped = true
  371.  
  372. ButtonsFramePG2.Name = "ButtonsFramePG2"
  373. ButtonsFramePG2.Parent = MainFrame
  374. ButtonsFramePG2.Active = true
  375. ButtonsFramePG2.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  376. ButtonsFramePG2.BorderSizePixel = 0
  377. ButtonsFramePG2.Position = UDim2.new(0.0408163257, 0, 0.184818476, 0)
  378. ButtonsFramePG2.Size = UDim2.new(0, 315, 0, 205)
  379.  
  380. Grid2.Name = "Grid2"
  381. Grid2.Parent = ButtonsFramePG2
  382. Grid2.CellSize = UDim2.new(0, 100, 0, 35)
  383.  
  384. item_L86A2.Name = "item_L86A2"
  385. item_L86A2.Parent = ButtonsFramePG2
  386. item_L86A2.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  387. item_L86A2.BorderColor3 = Color3.new(1, 0.333333, 0)
  388. item_L86A2.Size = UDim2.new(0, 200, 0, 50)
  389. item_L86A2.AutoButtonColor = false
  390. item_L86A2.Font = Enum.Font.SourceSansBold
  391. item_L86A2.Text = "L86A2"
  392. item_L86A2.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  393. item_L86A2.TextSize = 14
  394.  
  395. item_M60.Name = "item_M60"
  396. item_M60.Parent = ButtonsFramePG2
  397. item_M60.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  398. item_M60.BorderColor3 = Color3.new(1, 0.333333, 0)
  399. item_M60.Size = UDim2.new(0, 200, 0, 50)
  400. item_M60.AutoButtonColor = false
  401. item_M60.Font = Enum.Font.SourceSansBold
  402. item_M60.Text = "M60"
  403. item_M60.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  404. item_M60.TextSize = 14
  405.  
  406. item_BerettaM9.Name = "item_BerettaM9"
  407. item_BerettaM9.Parent = ButtonsFramePG2
  408. item_BerettaM9.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  409. item_BerettaM9.BorderColor3 = Color3.new(1, 0.333333, 0)
  410. item_BerettaM9.Size = UDim2.new(0, 200, 0, 50)
  411. item_BerettaM9.AutoButtonColor = false
  412. item_BerettaM9.Font = Enum.Font.SourceSansBold
  413. item_BerettaM9.Text = "Beretta M9"
  414. item_BerettaM9.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  415. item_BerettaM9.TextSize = 14
  416.  
  417. item_M14.Name = "item_M14"
  418. item_M14.Parent = ButtonsFramePG2
  419. item_M14.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  420. item_M14.BorderColor3 = Color3.new(1, 0.333333, 0)
  421. item_M14.Size = UDim2.new(0, 200, 0, 50)
  422. item_M14.AutoButtonColor = false
  423. item_M14.Font = Enum.Font.SourceSansBold
  424. item_M14.Text = "M14"
  425. item_M14.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  426. item_M14.TextSize = 14
  427.  
  428. item_AK47U.Name = "item_AK47U"
  429. item_AK47U.Parent = ButtonsFramePG2
  430. item_AK47U.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  431. item_AK47U.BorderColor3 = Color3.new(1, 0.333333, 0)
  432. item_AK47U.Size = UDim2.new(0, 200, 0, 50)
  433. item_AK47U.AutoButtonColor = false
  434. item_AK47U.Font = Enum.Font.SourceSansBold
  435. item_AK47U.Text = "AK47-U"
  436. item_AK47U.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  437. item_AK47U.TextSize = 14
  438.  
  439. item_Revolver.Name = "item_Revolver"
  440. item_Revolver.Parent = ButtonsFramePG2
  441. item_Revolver.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  442. item_Revolver.BorderColor3 = Color3.new(1, 0.333333, 0)
  443. item_Revolver.Size = UDim2.new(0, 200, 0, 50)
  444. item_Revolver.AutoButtonColor = false
  445. item_Revolver.Font = Enum.Font.SourceSansBold
  446. item_Revolver.Text = "Revolver"
  447. item_Revolver.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  448. item_Revolver.TextSize = 14
  449.  
  450. item_Minigun.Name = "item_Minigun"
  451. item_Minigun.Parent = ButtonsFramePG2
  452. item_Minigun.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  453. item_Minigun.BorderColor3 = Color3.new(1, 0.333333, 0)
  454. item_Minigun.Size = UDim2.new(0, 200, 0, 50)
  455. item_Minigun.AutoButtonColor = false
  456. item_Minigun.Font = Enum.Font.SourceSansBold
  457. item_Minigun.Text = "Minigun"
  458. item_Minigun.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  459. item_Minigun.TextSize = 14
  460.  
  461. item_M16.Name = "item_M16"
  462. item_M16.Parent = ButtonsFramePG2
  463. item_M16.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  464. item_M16.BorderColor3 = Color3.new(1, 0.333333, 0)
  465. item_M16.Size = UDim2.new(0, 200, 0, 50)
  466. item_M16.AutoButtonColor = false
  467. item_M16.Font = Enum.Font.SourceSansBold
  468. item_M16.Text = "M16"
  469. item_M16.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  470. item_M16.TextSize = 14
  471.  
  472. item_SW638.Name = "item_SW638"
  473. item_SW638.Parent = ButtonsFramePG2
  474. item_SW638.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  475. item_SW638.BorderColor3 = Color3.new(1, 0.333333, 0)
  476. item_SW638.Size = UDim2.new(0, 200, 0, 50)
  477. item_SW638.AutoButtonColor = false
  478. item_SW638.Font = Enum.Font.SourceSansBold
  479. item_SW638.Text = "S&W 638"
  480. item_SW638.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  481. item_SW638.TextSize = 14
  482.  
  483. item_AK47.Name = "item_AK47"
  484. item_AK47.Parent = ButtonsFramePG2
  485. item_AK47.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  486. item_AK47.BorderColor3 = Color3.new(1, 0.333333, 0)
  487. item_AK47.Size = UDim2.new(0, 200, 0, 50)
  488. item_AK47.AutoButtonColor = false
  489. item_AK47.Font = Enum.Font.SourceSansBold
  490. item_AK47.Text = "AK47"
  491. item_AK47.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  492. item_AK47.TextSize = 14
  493.  
  494. item_UMP45.Name = "item_UMP45"
  495. item_UMP45.Parent = ButtonsFramePG2
  496. item_UMP45.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  497. item_UMP45.BorderColor3 = Color3.new(1, 0.333333, 0)
  498. item_UMP45.Size = UDim2.new(0, 200, 0, 50)
  499. item_UMP45.AutoButtonColor = false
  500. item_UMP45.Font = Enum.Font.SourceSansBold
  501. item_UMP45.Text = "UMP-45"
  502. item_UMP45.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  503. item_UMP45.TextSize = 14
  504.  
  505. item_M98B.Name = "item_M98B"
  506. item_M98B.Parent = ButtonsFramePG2
  507. item_M98B.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  508. item_M98B.BorderColor3 = Color3.new(1, 0.333333, 0)
  509. item_M98B.Size = UDim2.new(0, 200, 0, 50)
  510. item_M98B.AutoButtonColor = false
  511. item_M98B.Font = Enum.Font.SourceSansBold
  512. item_M98B.Text = "M98B"
  513. item_M98B.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  514. item_M98B.TextSize = 14
  515.  
  516. item_ArrestAll.Name = "item_ArrestAll"
  517. item_ArrestAll.Parent = ButtonsFramePG2
  518. item_ArrestAll.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  519. item_ArrestAll.BorderColor3 = Color3.new(1, 0.333333, 0)
  520. item_ArrestAll.Size = UDim2.new(0, 200, 0, 50)
  521. item_ArrestAll.AutoButtonColor = false
  522. item_ArrestAll.Font = Enum.Font.SourceSansBold
  523. item_ArrestAll.Text = "Arrest All"
  524. item_ArrestAll.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  525. item_ArrestAll.TextSize = 14
  526.  
  527. item_KillAll.Name = "item_KillAll"
  528. item_KillAll.Parent = ButtonsFramePG2
  529. item_KillAll.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  530. item_KillAll.BorderColor3 = Color3.new(1, 0.333333, 0)
  531. item_KillAll.Size = UDim2.new(0, 200, 0, 50)
  532. item_KillAll.AutoButtonColor = false
  533. item_KillAll.Font = Enum.Font.SourceSansBold
  534. item_KillAll.Text = "Kill All"
  535. item_KillAll.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  536. item_KillAll.TextSize = 14
  537.  
  538. item_Speed.Name = "item_Speed"
  539. item_Speed.Parent = ButtonsFramePG2
  540. item_Speed.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  541. item_Speed.BorderColor3 = Color3.new(1, 0.333333, 0)
  542. item_Speed.Size = UDim2.new(0, 200, 0, 50)
  543. item_Speed.AutoButtonColor = false
  544. item_Speed.Font = Enum.Font.SourceSansBold
  545. item_Speed.Text = "Speed: OFF"
  546. item_Speed.TextColor3 = Color3.new(0.121569, 0.121569, 0.121569)
  547. item_Speed.TextSize = 14
  548.  
  549. local CoreGui = game.CoreGui
  550. local RWPHx = CoreGui.RWPHx
  551. local MainFrame = RWPHx.MainFrame
  552. local TopBar = MainFrame.TopBar
  553. local LabelHolder = MainFrame.LabelHolder
  554. local CreditsLabel = LabelHolder.CreditsLabel
  555. local UIExit = TopBar.UIExit
  556. local UIMini = TopBar.UIMini
  557. local UIMax = TopBar.UIMax
  558. local UIName = TopBar.UIName
  559. local BFPG1 = MainFrame.ButtonsFramePG1
  560. local BFPG2 = MainFrame.ButtonsFramePG2
  561. local PGF = MainFrame.PageChangerFrame
  562. local NextPage = PGF.NextPage
  563. local PrevPage = PGF.PrevPage
  564. local CurrentPGNum = PGF.CurrentPGNum
  565.  
  566. --// PAGE 1 ITEMS //--
  567. local item_M1014 = BFPG1.item_M1014
  568. local item_Dragunov = BFPG1.item_Dragunov
  569. local item_ACR = BFPG1.item_ACR
  570. local item_Makrov = BFPG1.item_Makrov
  571. local item_SPAS12 = BFPG1.item_SPAS12
  572. local item_Taser = BFPG1.item_Taser
  573. local item_HamSandwich = BFPG1.item_HamSandwich
  574. local item_Guitar = BFPG1.item_Guitar
  575. local item_Pancakes = BFPG1.item_Pancakes
  576. local item_Steak = BFPG1.item_Steak
  577. local item_Punch = BFPG1.item_Punch
  578. local item_Handcuffs = BFPG1.item_Handcuffs
  579. local item_Shank = BFPG1.item_Shank
  580. local item_Hammer = BFPG1.item_Hammer
  581. local item_FakeIdCard = BFPG1.item_FakeIdCard
  582.  
  583. --// PAGE 2 ITEMS //--
  584. local item_L86A2 = BFPG2.item_L86A2
  585. local item_M60 = BFPG2.item_M60
  586. local item_BerettaM9 = BFPG2.item_BerettaM9
  587. local item_Revolver = BFPG2.item_Revolver
  588. local item_M14 = BFPG2.item_M14
  589. local item_AK47U = BFPG2.item_AK47U
  590. local item_Minigun = BFPG2.item_Minigun
  591. local item_M16 = BFPG2.item_M16
  592. local item_SW638 = BFPG2.item_SW638
  593. local item_AK47 = BFPG2.item_AK47
  594. local item_UMP45 = BFPG2.item_UMP45
  595. local item_M98B = BFPG2.item_M98B
  596. local item_ArrestAll = BFPG2.item_ArrestAll
  597. local item_KillAll = BFPG2.item_KillAll
  598. local item_Speed = BFPG2.item_Speed
  599.  
  600. --// SETUP //--
  601. MainFrame.Position = UDim2.new(-1,0,0.233,0)
  602. BFPG2.Visible = false
  603. BFPG1.Visible = true
  604. local PGValue = Instance.new("NumberValue", RWPHx.MainFrame)
  605. PGValue.Value = 1
  606. CurrentPGNum.Text = PGValue.Value
  607. UIMax.Visible = false
  608. UIMax.Selectable = false
  609. UIMax.Archivable = false
  610. UIMax.Position = UDim2.new(-2,0,0,0)
  611. MainFrame.Draggable = true
  612. BFPG1.Visible = true
  613. BFPG2.Visible = false
  614.  
  615. --// ANIMATIONS / TOPBAR AND PAGE BUTTON FUNCTIONS //--
  616. wait(0.2)
  617. function NextPageClick()
  618.     if PGValue.Value == 1 then
  619.         BFPG1.Visible = false
  620.         BFPG2.Visible = true
  621.         PGValue.Value = 2
  622.         CurrentPGNum.Text = PGValue.Value
  623.     elseif PGValue.Value == 2 then --//If the PGValue is 2 and the next page button is clicked it will take it back to the home page which is one
  624.         BFPG1.Visible = true
  625.         BFPG2.Visible = false
  626.         PGValue.Value = 1
  627.         CurrentPGNum.Text = PGValue.Value
  628.     end
  629. end
  630. NextPage.MouseButton1Click:Connect(NextPageClick)
  631.  
  632. function PrevPageClick()
  633.     if PGValue.Value == 2 then
  634.         BFPG1.Visible = true
  635.         BFPG2.Visible = false
  636.         PGValue.Value = 1
  637.         CurrentPGNum.Text = PGValue.Value
  638.     elseif PGValue.Value == 1 then
  639.         BFPG1.Visible = false
  640.         BFPG2.Visible = true
  641.         PGValue.Value = 2
  642.         CurrentPGNum.Text = PGValue.Value
  643.     end
  644. end
  645. PrevPage.MouseButton1Click:Connect(PrevPageClick)
  646.  
  647. -- Minied : 0,343,0,27
  648. -- Maxed : 0,343,0,0.233
  649.  
  650. function Minimize()
  651.     MainFrame:TweenSize(UDim2.new(0,343,0,27), "Out", "Quad", 0.4, true)
  652.     PGF.Visible = false
  653.     wait(0.05)
  654.     BFPG1.Visible = false
  655.     BFPG2.Visible = false
  656.     wait(0.05)
  657.     LabelHolder.Visible = false
  658.     wait(0.5)
  659.     UIMini.Visible = false
  660.     UIMini.Selectable = false
  661.     UIMini.Archivable = false
  662.     UIMini.Position = UDim2.new(-2,0,0,0)
  663.     UIMax.Visible = true
  664.     UIMax.Selectable = true
  665.     UIMax.Archivable = true
  666.     UIMax.Position = UDim2.new(0.86,0,0,0)
  667. end
  668. UIMini.MouseButton1Click:Connect(Minimize)
  669.  
  670. function Maximize()
  671.     MainFrame:TweenSize(UDim2.new(0,343,0,303), "In", "Quad", 0.4, true)
  672.     LabelHolder.Visible = true
  673.     wait(0.3)
  674.     if PGValue.Value == 1 then
  675.         BFPG1.Visible = true
  676.         BFPG2.Visible = false
  677.     elseif PGValue.Value == 2 then
  678.         BFPG1.Visible = false
  679.         BFPG2.Visible = true
  680.     end
  681.     PGF.Visible = true
  682.     wait(0.05)
  683.     wait(0.5)
  684.    
  685.     UIMax.Position = UDim2.new(0.86,0,0,0)
  686.     UIMini.Position = UDim2.new(0.86,0,0,0)
  687.     UIMini.Visible = true
  688.     UIMini.Selectable = true
  689.     UIMini.Archivable = true
  690.     UIMax.Visible = false
  691.     UIMax.Selectable = false
  692.     UIMax.Archivable = false
  693. end
  694. UIMax.MouseButton1Click:Connect(Maximize)
  695.  
  696. function Exiting()
  697.     MainFrame:TweenPosition(UDim2.new(-1,0,0.233,0), "In", "Quad", 0.2, true)
  698.     wait(0.3)
  699.     RWPHx:Destroy()
  700. end
  701. UIExit.MouseButton1Click:Connect(Exiting)
  702.  
  703. MainFrame:TweenPosition(UDim2.new(0.338,0,0.233,0), "In", "Quad", 0.2, true)
  704.  
  705. --// BUTTON FUNCTIONS //--
  706. function giveM1014()
  707.     game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "M1014")
  708. end
  709. item_M1014.MouseButton1Click:Connect(giveM1014)
  710.  
  711. function giveDragunov()
  712.     game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "Dragunov")
  713. end
  714. item_Dragunov.MouseButton1Click:Connect(giveDragunov)
  715.  
  716. function giveACR()
  717.     game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "ACR")
  718. end
  719. item_ACR.MouseButton1Click:Connect(giveACR)
  720.  
  721. function giveMakrov()
  722.     game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "Makrov")
  723. end
  724. item_Makrov.MouseButton1Click:Connect(giveMakrov)
  725.  
  726. function giveTaser()
  727.     game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "Taser")
  728. end
  729. item_Taser.MouseButton1Click:Connect(giveTaser)
  730.  
  731. function giveHamSandwich()
  732.     game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "Ham Sandwich")
  733. end
  734. item_HamSandwich.MouseButton1Click:Connect(giveHamSandwich)
  735.  
  736. function giveGuitar()
  737.     game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "Guitar")
  738. end
  739. item_Guitar.MouseButton1Click:Connect(giveGuitar)
  740.  
  741. function givePancakes()
  742.     game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "Pancakes")
  743. end
  744. item_Pancakes.MouseButton1Click:Connect(givePancakes)
  745.  
  746. function giveSteak()
  747.     game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "Steak")
  748. end
  749. item_Steak.MouseButton1Click:Connect(giveSteak)
  750.  
  751. function giveHammer()
  752.     game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "Hammer")
  753. end
  754. item_Hammer.MouseButton1Click:Connect(giveHammer)
  755.  
  756. function givePunch()
  757.     game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "Punch")
  758. end
  759. item_Punch.MouseButton1Click:Connect(givePunch)
  760.  
  761. function giveHandcuffs()
  762.     game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "Handcuffs")
  763. end
  764. item_Handcuffs.MouseButton1Click:Connect(giveHandcuffs)
  765.  
  766. function giveShank()
  767.     game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "Shank")
  768. end
  769. item_Shank.MouseButton1Click:Connect(giveShank)
  770.  
  771. function giveSPAS12()
  772.     game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "SPAS-12")
  773. end
  774. item_SPAS12.MouseButton1Click:Connect(giveSPAS12)
  775.  
  776. function giveFakeIdCard()
  777.     game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "Fake ID Card")
  778. end
  779. item_FakeIdCard.MouseButton1Click:Connect(giveFakeIdCard)
  780.  
  781. function giveL86A2()
  782.     game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "L86A2")
  783. end
  784. item_L86A2.MouseButton1Click:Connect(giveL86A2)
  785.  
  786. function giveM60()
  787.     game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "M60")
  788. end
  789. item_M60.MouseButton1Click:Connect(giveL86A2)
  790.  
  791. function giveBerettaM9()
  792.     game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "Beretta M9")
  793. end
  794. item_BerettaM9.MouseButton1Click:Connect(giveBerettaM9)
  795.  
  796. function giveRevolver()
  797.     game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "Revolver")
  798. end
  799. item_Revolver.MouseButton1Click:Connect(giveRevolver)
  800.  
  801. function giveM14()
  802.     game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "M14")
  803. end
  804. item_M14.MouseButton1Click:Connect(giveM14)
  805.  
  806. function giveAk47U()
  807.     game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "AK47-U")
  808. end
  809. item_AK47U.MouseButton1Click:Connect(giveAk47U)
  810.  
  811. function giveMinigun()
  812.     game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "Minigun")
  813. end
  814. item_Minigun.MouseButton1Click:Connect(giveMinigun)
  815.  
  816. function giveM16()
  817.     game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "M16")
  818. end
  819. item_M16.MouseButton1Click:Connect(giveL86A2)
  820.  
  821. function giveSW638()
  822.     game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "S&W 638")
  823. end
  824. item_SW638.MouseButton1Click:Connect(giveSW638())
  825.  
  826. function giveAK47()
  827.     game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "AK47")
  828. end
  829. item_AK47.MouseButton1Click:Connect(giveAK47)
  830.  
  831. function giveUMP45()
  832.     game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "UMP-45")
  833. end
  834. item_UMP45.MouseButton1Click:Connect(giveUMP45)
  835.  
  836. function giveM98B()
  837.     game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "M98B")
  838. end
  839. item_L86A2.MouseButton1Click:Connect(giveM98B)
  840.  
  841. function f_ArrestAll()
  842.     for _, v in pairs(game.Players:GetChildren()) do
  843.     game.Workspace.resources.RemoteEvent:FireServer("cuff", v)
  844.     end
  845. end
  846. item_ArrestAll.MouseButton1Click:Connect(f_ArrestAll)
  847.  
  848. function f_KillAll()
  849.     for _, v in pairs(game.Players:GetChildren()) do
  850.     game.Workspace.resources.RemoteEvent:FireServer("dealDamage", v.Character.Humanoid, 100)
  851.     end
  852. end
  853. item_KillAll.MouseButton1Click:Connect(f_KillAll)
  854.  
  855. function f_Speed()
  856.     if game.Players.LocalPlayer.Character.Humanoid.WalkSpeed < 50 then
  857.         game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 100
  858.         item_Speed.Text = "Speed: ON"
  859.     elseif game.Players.LocalPlayer.Character.Humanoid.WalkSpeed > 99 then
  860.         game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  861.         item_Speed.Text = "Speed: OFF"
  862.     end
  863. end
  864. item_Speed.MouseButton1Click:Connect(f_Speed)
  865.  
  866. --// MADE BY: GproYT#2465
  867. --// If you find any problems or bugs with the gui dm on discord me so I can improve the gui
  868. --// Enjoy :D
Add Comment
Please, Sign In to add comment