Guest User

Apocalypse Rising GUI 1

a guest
Nov 30th, 2018
5,803
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 23.99 KB | None | 0 0
  1. --RR Apoc Gui V2.3 Made by RelentlessRaptor/!!!RelentlessRaptor on discord
  2. --Some Spawnable Items list: https://pastebin.com/DpyMe7TQ
  3. --GuiInstances
  4. --[[V2.3 Updates:
  5. --Re-Rel By LimitlessNinja
  6. 1. More message colors
  7. 2. Kill and Kill all
  8.  
  9. ]]
  10.  
  11. wait(0.3)
  12. sg = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
  13. sg.Name = ("ApocGui")
  14.  
  15. tab = Instance.new("Frame",sg)
  16. tab.Name = ("Tab")
  17.  
  18. credits = Instance.new("TextLabel",tab)
  19. credits.Name = ("Credits")
  20.  
  21. frame = Instance.new("Frame",tab)
  22. frame.Name = ("Main")
  23.  
  24. xout = Instance.new("TextButton",tab)
  25. xout.Name = ("xout")
  26.  
  27. tpbody = Instance.new("TextButton",frame)
  28. tpbody.Name = ("tpbody")
  29.  
  30. movequick = Instance.new("TextButton",frame)
  31. movequick.Name = ("movequick")
  32.  
  33. spec = Instance.new("TextButton",frame)
  34. spec.Name = ("Spectate")
  35.  
  36. pname = Instance.new("TextBox",frame)
  37. pname.Name = ("PName")
  38.  
  39. esp = Instance.new("TextButton",frame)
  40. esp.Name = ("Esp")
  41.  
  42. spawngui = Instance.new("TextButton",frame)
  43. spawngui.Name = ("spawner")
  44.  
  45. frame2 = Instance.new("Frame",tab)
  46. frame2.Name = ("SpawnGui")
  47.  
  48. closesg = Instance.new("TextButton",frame2)
  49. closesg.Name = ("closesg")
  50.  
  51. spawnitem = Instance.new("TextBox",frame2)
  52. spawnitem.Name = ("SpawnItem")
  53.  
  54. amount = Instance.new("TextBox",frame2)
  55. amount.Name = ("Amount")
  56.  
  57. spawn1 = Instance.new("TextButton",frame2)
  58. spawn1.Name = ("spawn1")
  59.  
  60. patriotkit = Instance.new("TextButton",frame2)
  61. spawn1.Name = ("spawn1")
  62.  
  63. bloodkit = Instance.new("TextButton",frame2)
  64. spawn1.Name = ("spawn1")
  65.  
  66. carkit = Instance.new("TextButton",frame2)
  67. spawn1.Name = ("spawn1")
  68.  
  69. basekit = Instance.new("TextButton",frame2)
  70. spawn1.Name = ("spawn1")
  71.  
  72. tpcrate = Instance.new("TextButton",frame)
  73. tpcrate.Name = ("CrateTp")
  74.  
  75. frame3 = Instance.new("Frame",frame)
  76. frame3.Name = ("frame3")
  77.  
  78. god = Instance.new("TextButton",frame)
  79. god.Name = ("god")
  80.  
  81. messagebox = Instance.new("TextBox",frame3)
  82. messagebox.Name = ("message")
  83.  
  84. redm = Instance.new("TextButton",frame3)
  85. redm.Name = ("redm")
  86.  
  87. bluem = Instance.new("TextButton",frame3)
  88. bluem.Name = ("bluem")
  89.  
  90. yellowm = Instance.new("TextButton",frame3)
  91. yellowm.Name = ("yellowm")
  92.  
  93. killp = Instance.new("TextButton",frame3)
  94. killp.Name = ("killp")
  95.  
  96. killall = Instance.new("TextButton",frame3)
  97. killall.Name = ("Killall")
  98.  
  99. spectating = false
  100.  
  101. page1 = true
  102.  
  103. --GuiAppearance
  104. frame.Size = UDim2.new(0,365,0,200)
  105. frame.Position = UDim2.new(0,0,0,30)
  106. frame.BorderSizePixel = 0
  107. frame.BackgroundColor3 = Color3.new(255/255,127/255,0/255)
  108.  
  109. frame2.Size = UDim2.new(0,365,0,200)
  110. frame2.Position = UDim2.new(20,0,0,30)
  111. frame2.BorderSizePixel = 0
  112. frame2.BackgroundColor3 = Color3.new(255/255,127/255,0/255)
  113.  
  114. tab.Size = UDim2.new(0,365,0,30)
  115. tab.Position = UDim2.new(0.3,0,0.3,0)
  116. tab.Active = true
  117. tab.Draggable = true
  118. tab.BorderSizePixel = 0
  119. tab.BackgroundColor3 = Color3.new(1,1,1)
  120.  
  121. credits.Position = UDim2.new(0,117,0,10)
  122. credits.Text = ("RR Apoc Gui V2.3 by RelentlessRaptor")
  123. credits.Font = ("SciFi")
  124. credits.TextSize = 15
  125.  
  126. xout.Position = UDim2.new(0,335,0,0)
  127. xout.Size = UDim2.new(0,30,0,30)
  128. xout.BackgroundColor3 = Color3.new(255,0,0)
  129. xout.Text = ("X")
  130. xout.TextColor3 = Color3.new(0,0,0)
  131. xout.TextSize = 17
  132. xout.Font = ("Arial")
  133. xout.BorderSizePixel = 0
  134.  
  135.  
  136. tpbody.Size = UDim2.new(0,95,0,50)
  137. tpbody.Position = UDim2.new(0,135,0,125)
  138. tpbody.BackgroundColor3 = Color3.new(1,1,1)
  139. tpbody.BorderSizePixel = 0
  140. tpbody.Text = ("Teleport Bodies")
  141. tpbody.TextScaled = true
  142. tpbody.Font = ("Arial")
  143.  
  144. movequick.Size = UDim2.new(0,95,0,50)
  145. movequick.Position = UDim2.new(0,135,0,50)
  146. movequick.BackgroundColor3 = Color3.new(1,1,1)
  147. movequick.BorderSizePixel = 0
  148. movequick.Text = ("Body Launch Forward")
  149. movequick.TextScaled = true
  150. movequick.Font = ("Arial")
  151.  
  152. spec.Size = UDim2.new(0,95,0,50)
  153. spec.Position = UDim2.new(0,250,0,50)
  154. spec.BackgroundColor3 = Color3.new(1,1,1)
  155. spec.BorderSizePixel = 0
  156. spec.Text = ("Spectate player")
  157. spec.TextScaled = true
  158. spec.Font = ("Arial")
  159.  
  160. pname.Size = UDim2.new(0,100,0,30)
  161. pname.Position = UDim2.new(0,10,0,10)
  162. pname.BackgroundColor3 = Color3.new(1,1,1)
  163. pname.BorderSizePixel = 0
  164. pname.Text = ("Player(cApS)")
  165. pname.TextScaled = true
  166. pname.Font = ("Arial")
  167.  
  168.  
  169. esp.Size = UDim2.new(0,95,0,50)
  170. esp.Position = UDim2.new(0,20,0,125)
  171. esp.BackgroundColor3 = Color3.new(1,1,1)
  172. esp.BorderSizePixel = 0
  173. esp.Text = ("Mustardfoot ESP")
  174. esp.TextScaled = true
  175. esp.Font = ("Arial")
  176.  
  177. spect = Instance.new("TextButton")
  178. spect.Position = UDim2.new(0.4,0,5,20)
  179. spect.Text = ("Stop Spectating")
  180. spect.Size = UDim2.new(0,60,0,30)
  181. spect.BackgroundColor3 = Color3.new(1,1,1)
  182. spect.Font = ("Arial")
  183. spect.TextSize = 15
  184.  
  185. spawngui.Size = UDim2.new(0,95,0,50)
  186. spawngui.Position = UDim2.new(0,20,0,50)
  187. spawngui.BackgroundColor3 = Color3.new(1,1,1)
  188. spawngui.BorderSizePixel = 0
  189. spawngui.Text = ("Open Spawning Gui")
  190. spawngui.TextScaled = true
  191. spawngui.Font = ("Arial")
  192.  
  193. closesg.Size = UDim2.new(0,95,0,50)
  194. closesg.Position = UDim2.new(0,20,0,50)
  195. closesg.BackgroundColor3 = Color3.new(1,1,1)
  196. closesg.BorderSizePixel = 0
  197. closesg.Text = ("Open Regular Gui")
  198. closesg.TextScaled = true
  199. closesg.Font = ("Arial")
  200.  
  201. tpcrate.Size = UDim2.new(0,95,0,50)
  202. tpcrate.Position = UDim2.new(0,250,0,125)
  203. tpcrate.BackgroundColor3 = Color3.new(1,1,1)
  204. tpcrate.BorderSizePixel = 0
  205. tpcrate.Text = ("Teleport Crates")
  206. tpcrate.TextScaled = true
  207. tpcrate.Font = ("Arial")
  208.  
  209. spawnitem.Size = UDim2.new(0,100,0,30)
  210. spawnitem.Position = UDim2.new(0,10,0,10)
  211. spawnitem.BackgroundColor3 = Color3.new(1,1,1)
  212. spawnitem.BorderSizePixel = 0
  213. spawnitem.Text = ("Item (cApS)")
  214. spawnitem.TextScaled = true
  215. spawnitem.Font = ("Arial")
  216.  
  217. amount.Size = UDim2.new(0,50,0,30)
  218. amount.Position = UDim2.new(0,120,0,10)
  219. amount.BackgroundColor3 = Color3.new(1,1,1)
  220. amount.BorderSizePixel = 0
  221. amount.Text = ("Amount(5 max)")
  222. amount.TextScaled = true
  223. amount.Font = ("Arial")
  224.  
  225. spawn1.Size = UDim2.new(0,95,0,50)
  226. spawn1.Position = UDim2.new(0,135,0,50)
  227. spawn1.BackgroundColor3 = Color3.new(1,1,1)
  228. spawn1.BorderSizePixel = 0
  229. spawn1.Text = ("Spawn Item")
  230. spawn1.TextScaled = true
  231. spawn1.Font = ("Arial")
  232.  
  233. patriotkit.Size = UDim2.new(0,95,0,50)
  234. patriotkit.Position = UDim2.new(0,250,0,50)
  235. patriotkit.BackgroundColor3 = Color3.new(1,1,1)
  236. patriotkit.BorderSizePixel = 0
  237. patriotkit.Text = ("Patriot Kit")
  238. patriotkit.TextScaled = true
  239. patriotkit.Font = ("Arial")
  240.  
  241. bloodkit.Size = UDim2.new(0,95,0,50)
  242. bloodkit.Position = UDim2.new(0,20,0,125)
  243. bloodkit.BackgroundColor3 = Color3.new(1,1,1)
  244. bloodkit.BorderSizePixel = 0
  245. bloodkit.Text = ("Health Kit")
  246. bloodkit.TextScaled = true
  247. bloodkit.Font = ("Arial")
  248.  
  249. carkit.Size = UDim2.new(0,95,0,50)
  250. carkit.Position = UDim2.new(0,135,0,125)
  251. carkit.BackgroundColor3 = Color3.new(1,1,1)
  252. carkit.BorderSizePixel = 0
  253. carkit.Text = ("Car Kit")
  254. carkit.TextScaled = true
  255. carkit.Font = ("Arial")
  256.  
  257. basekit.Size = UDim2.new(0,95,0,50)
  258. basekit.Position = UDim2.new(0,250,0,125)
  259. basekit.BackgroundColor3 = Color3.new(1,1,1)
  260. basekit.BorderSizePixel = 0
  261. basekit.Text = ("Base Kit")
  262. basekit.TextScaled = true
  263. basekit.Font = ("Arial")
  264.  
  265. frame3.Size = UDim2.new(0,365,0,150)
  266. frame3.Position = UDim2.new(0,0,0,200)
  267. frame3.BorderSizePixel = 0
  268. frame3.BackgroundColor3 = Color3.new(255/255,127/255,0/255)
  269.  
  270. god.Size = UDim2.new(0,95,0,50)
  271. god.Position = UDim2.new(0,20,0,200)
  272. god.BackgroundColor3 = Color3.new(1,1,1)
  273. god.BorderSizePixel = 0
  274. god.Text = ("God Mode")
  275. god.TextScaled = true
  276. god.Font = ("Arial")
  277.  
  278. messagebox.Size = UDim2.new(0,95,0,30)
  279. messagebox.Position = UDim2.new(0,135,0,10)
  280. messagebox.BackgroundColor3 = Color3.new(1,1,1)
  281. messagebox.BorderSizePixel = 0
  282. messagebox.Text = ("Server Message")
  283. messagebox.TextScaled = true
  284. messagebox.Font = ("Arial")
  285.  
  286. redm.Size = UDim2.new(0,31,0,30)
  287. redm.Position = UDim2.new(0,250,0,10)
  288. redm.BackgroundColor3 = Color3.new(255,0,0)
  289. redm.BorderSizePixel = 0
  290. redm.Text = ("")
  291. redm.TextScaled = true
  292. redm.Font = ("Arial")
  293.  
  294. bluem.Size = UDim2.new(0,31,0,30)
  295. bluem.Position = UDim2.new(0,281,0,10)
  296. bluem.BackgroundColor3 = Color3.new(0,0,255)
  297. bluem.BorderSizePixel = 0
  298. bluem.Text = ("")
  299. bluem.TextScaled = true
  300. bluem.Font = ("Arial")
  301. bluem.TextColor3 = Color3.new(1,1,1)
  302.  
  303. yellowm.Size = UDim2.new(0,31,0,30)
  304. yellowm.Position = UDim2.new(0,312,0,10)
  305. yellowm.BackgroundColor3 = Color3.new(255,255,0)
  306. yellowm.BorderSizePixel = 0
  307. yellowm.Text = ("")
  308. yellowm.TextSize = UDim2.new(20)
  309. yellowm.Font = ("Arial")
  310.  
  311. killp.Size = UDim2.new(0,95,0,50)
  312. killp.Position = UDim2.new(0,20,0,75)
  313. killp.BackgroundColor3 = Color3.new(1,1,1)
  314. killp.BorderSizePixel = 0
  315. killp.Text = ("Kill Player")
  316. killp.TextScaled = true
  317. killp.Font = ("Arial")
  318.  
  319. killall.Size = UDim2.new(0,95,0,50)
  320. killall.Position = UDim2.new(0,135,0,75)
  321. killall.BackgroundColor3 = Color3.new(1,1,1)
  322. killall.BorderSizePixel = 0
  323. killall.Text = ("Kill Others")
  324. killall.TextScaled = true
  325. killall.Font = ("Arial")
  326.  
  327.  
  328.  
  329. --ButtonActions
  330.  
  331. xout.MouseEnter:connect(function()
  332.     xout.BackgroundColor3 = Color3.new(255/255,50/255,50/255)
  333. end)
  334. xout.MouseLeave:connect(function()  
  335.     xout.BackgroundColor3 = Color3.new(255,0,0)
  336. end)
  337. xout.MouseButton1Up:connect(function()
  338.     sg:Remove()
  339. end)
  340.  
  341.  
  342. pname.InputEnded:connect(function()
  343.     if pname.Text == ("") then
  344.         pname.Text = ("Player(cApS)")
  345.     end
  346. end)
  347.  
  348. spawnitem.InputEnded:connect(function()
  349.     if spawnitem.Text == ("") then
  350.         spawnitem.Text = ("Item (cApS)")
  351.     end
  352. end)
  353.  
  354.  
  355. tpbody.MouseButton1Up:connect(function()
  356.    
  357.     for i,v in pairs(workspace:GetChildren()) do
  358.         if v.Name == "Corpse" then
  359.             v:MoveTo(workspace[game.Players.LocalPlayer.Name].Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  360.         end
  361.     end
  362.  
  363. end)
  364. cooldown = false
  365. movequick.MouseButton1Up:connect(function()
  366.     if cooldown == false then
  367.         cooldown = true
  368.         local v = Instance.new("BodyVelocity",game.Players.LocalPlayer.Character.Torso)
  369.         v.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*50
  370.         v.maxForce = Vector3.new(5000,5000,5000)
  371.         game.Debris:AddItem(v,2)
  372.         wait(2)
  373.                                                                                                                                                                                                                                                                                                                                                     --RR Apoc Gui Made by RelentlessRaptor/!!!RelentlessRaptor on discord
  374.        
  375.         movequick.Text = ("5")
  376.         wait(1)
  377.         movequick.Text = ("4")
  378.         wait(1)
  379.         movequick.Text = ("3")
  380.         wait(1)
  381.         movequick.Text = ("2")
  382.         wait(1)
  383.         movequick.Text = ("1")
  384.         wait(1)
  385.         movequick.Text = ("Body Launch Forward (Don't sprint)")
  386.         cooldown = false        
  387.     end
  388. end)
  389.  
  390. ---
  391.  
  392. spec.MouseButton1Up:connect(function()
  393.     if spectating == false then
  394.     spectating = true
  395.     wait(0.1)
  396.     spect.Position = UDim2.new(0,300,0,20)
  397.     game.Workspace.CurrentCamera.CameraSubject = game.Players[pname.Text].Character.Humanoid
  398.     end
  399.     if spectating == true then
  400.         wait(0.1)
  401.         spectating = false
  402.         spect.Position = UDim2.new(0,0,5,0)
  403.     end
  404.    
  405. end)
  406.  
  407.    
  408.  
  409.  
  410. ---
  411.  
  412.  
  413. esp.MouseButton1Up:connect(function()
  414.     crashy = false -- CHANGE THIS TO TRUE IF IT CRASHES THIS GAME
  415. on = false
  416. if game.CoreGui:FindFirstChild('ESP') then
  417.     game.CoreGui.ESP:Destroy()
  418. elseif game.Players.LocalPlayer.PlayerGui:FindFirstChild('ESP') then
  419.     game.Players.LocalPlayer.PlayerGui.ESP:Destroy()
  420. end
  421.  
  422. function doit(hey)
  423.     local t1 = Instance.new('SurfaceGui',hey)
  424.     t1.AlwaysOnTop = true
  425.     local t1g = Instance.new('Frame',t1)
  426.     t1g.Size = UDim2.new(1,0,1,0)
  427.     t1g.BackgroundColor3 = t1.Parent.BrickColor.Color
  428.     local t2 = Instance.new('SurfaceGui',hey)      
  429.     t2.AlwaysOnTop = true
  430.     t2.Face = Enum.NormalId.Right
  431.     local t2g = Instance.new('Frame',t2)
  432.     t2g.Size = UDim2.new(1,0,1,0)
  433.     t2g.BackgroundColor3 = t2.Parent.BrickColor.Color
  434.     local t3 = Instance.new('SurfaceGui',hey)
  435.     t3.AlwaysOnTop = true
  436.     t3.Face = Enum.NormalId.Left
  437.     local t3g = Instance.new('Frame',t3)
  438.     t3g.Size = UDim2.new(1,0,1,0)
  439.     t3g.BackgroundColor3 = t3.Parent.BrickColor.Color
  440.     local t4 = Instance.new('SurfaceGui',hey)
  441.     t4.AlwaysOnTop = true
  442.     t4.Face = Enum.NormalId.Back
  443.     local t4g = Instance.new('Frame',t4)
  444.     t4g.Size = UDim2.new(1,0,1,0)
  445.     t4g.BackgroundColor3 = t4.Parent.BrickColor.Color
  446.     local t5 = Instance.new('SurfaceGui',hey)
  447.     t5.AlwaysOnTop = true
  448.     t5.Face = Enum.NormalId.Top
  449.     local t5g = Instance.new('Frame',t5)
  450.     t5g.Size = UDim2.new(1,0,1,0)
  451.     t5g.BackgroundColor3 = t5.Parent.BrickColor.Color
  452.     local t6 = Instance.new('SurfaceGui',hey)
  453.     t6.AlwaysOnTop = true
  454.     t6.Face = Enum.NormalId.Bottom
  455.     local t6g = Instance.new('Frame',t6)
  456.     t6g.Size = UDim2.new(1,0,1,0)
  457.     t6g.BackgroundColor3 = t6.Parent.BrickColor.Color
  458. end
  459. function undo(chr)
  460.     for i,v in pairs(chr:GetChildren()) do
  461.         if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  462.             for a,c in pairs(v:GetChildren()) do
  463.                 if c.ClassName == "SurfaceGui" then
  464.                     c:Destroy()
  465.                 end
  466.                 if c.ClassName == "BillboardGui" and c.Name == "thingyye" then
  467.                     c:Destroy()
  468.                 end
  469.             end
  470.         end
  471.     end
  472. end
  473.  
  474. local gui = Instance.new('ScreenGui')
  475. if crashy == false then
  476.     gui.Parent = game.CoreGui
  477. else
  478.     gui.Parent = game.Players.LocalPlayer.PlayerGui
  479. end
  480. gui.Name = "ESP"
  481. gui.ResetOnSpawn = false
  482. local frame = Instance.new('Frame',gui)
  483. frame.Size = UDim2.new(0.2,0,0.3,0)
  484. frame.Position = UDim2.new(0,0,0.9,0)
  485. frame.BackgroundTransparency = 0.5
  486. frame.BackgroundColor3 = Color3.fromRGB(131,182,239)
  487. frame.BorderSizePixel = 4
  488. frame.BorderColor3 = Color3.fromRGB(66,134,244)
  489. frame.Active = true
  490. frame.Draggable = true
  491. local txt = Instance.new('TextLabel',frame)
  492. txt.Text = "Mustardfoot's ESP Gui"
  493. txt.TextColor3 = Color3.fromRGB(255,255,255)
  494. txt.Size = UDim2.new(1,0,0.3,0)
  495. txt.TextScaled = true
  496. txt.BackgroundTransparency = 1
  497. local but = Instance.new('TextButton',frame)
  498. but.Text = "ESP On"
  499. but.TextColor3 = Color3.fromRGB(255,255,255)
  500. but.Size = UDim2.new(0.7,0,0.3,0)
  501. but.Position = UDim2.new(0.15,0,0.5,0)
  502. but.BorderSizePixel = 0
  503. but.TextScaled = true
  504. but.BackgroundColor3 = Color3.fromRGB(66,134,244)
  505. but.BackgroundTransparency = 0.4
  506. for i,v in pairs(game.Players:GetChildren()) do
  507.     if v.Character ~= nil then
  508.         undo(v.Character)
  509.     end
  510. end
  511.  
  512. but.MouseButton1Down:connect(function()
  513. if but.Text == "ESP On" then
  514. but.Text = "ESP Off"
  515. on = true
  516. for i,v in pairs(game.Players:GetChildren()) do
  517.     if v.Character ~= game.Players.LocalPlayer.Character and v.Character.Head:FindFirstChild('ScreenGui') == nil then
  518.         if v.Character:FindFirstChild('Head') then
  519.             local bill = Instance.new('BillboardGui',v.Character.Head)
  520.             bill.Name = "thingyye"
  521.             bill.AlwaysOnTop = true
  522.             bill.Size = UDim2.new(2,1,2)
  523.             bill.Adornee = v.Character.Head
  524.             local txt = Instance.new('TextLabel',bill)
  525.             txt.Text = v.Name
  526.             txt.BackgroundTransparency = 1
  527.             txt.Size = UDim2.new(1,0,1,0)
  528.             txt.TextColor3 = v.TeamColor.Color
  529.         end
  530.         for a,c in pairs(v.Character:GetChildren()) do
  531.             if c.ClassName == "MeshPart" and c.Transparency ~= 1 then
  532.                 doit(c)
  533.             elseif c.ClassName == "Part" and c.Transparency ~= 1 then
  534.             doit(c)
  535.             end
  536.         end
  537.     end
  538. end
  539. else
  540.     but.Text = "ESP On"
  541.     on = false
  542.     for i,v in pairs(game.Players:GetChildren()) do
  543.         undo(v.Character)
  544.     end
  545. end
  546. end)
  547.  
  548. for i,v in pairs(game.Players:GetChildren()) do
  549.     v.CharacterAdded:connect(function()
  550.     v.Character:WaitForChild('Head')
  551.     wait(1)
  552.     if on == true then
  553.     if v.Character ~= game.Players.LocalPlayer.Character and v.Character.Head:FindFirstChild('ScreenGui') == nil then
  554.         if v.Character:FindFirstChild('Head') then
  555.             local bill = Instance.new('BillboardGui',v.Character.Head)
  556.             bill.Name = "thingyye"
  557.             bill.AlwaysOnTop = true
  558.             bill.Size = UDim2.new(2,1,2)
  559.             bill.Adornee = v.Character.Head
  560.             local txt = Instance.new('TextLabel',bill)
  561.             txt.Text = v.Name
  562.             txt.BackgroundTransparency = 1
  563.             txt.Size = UDim2.new(1,0,1,0)
  564.             txt.TextColor3 = v.TeamColor.Color
  565.         end
  566.         for a,c in pairs(v.Character:GetChildren()) do
  567.             if c.ClassName == "MeshPart" and c.Transparency ~= 1 then
  568.                 doit(c)
  569.             elseif c.ClassName == "Part" and c.Transparency ~= 1 then
  570.             doit(c)
  571.             end
  572.         end
  573.     end
  574.     end
  575.     end)
  576. end  
  577.  
  578. game.Players.PlayerAdded:connect(function(v)
  579. v.CharacterAdded:connect(function()
  580.     v.Character:WaitForChild('Head')
  581.     wait(1)
  582.     if on == true then
  583.     if v.Character ~= game.Players.LocalPlayer.Character and v.Character.Head:FindFirstChild('ScreenGui') == nil then
  584.         if v.Character:FindFirstChild('Head') then
  585.             local bill = Instance.new('BillboardGui',v.Character.Head)
  586.             bill.Name = "thingyye"
  587.             bill.AlwaysOnTop = true
  588.             bill.Size = UDim2.new(2,1,2)
  589.             bill.Adornee = v.Character.Head
  590.             local txt = Instance.new('TextLabel',bill)
  591.             txt.Text = v.Name
  592.             txt.BackgroundTransparency = 1
  593.             txt.Size = UDim2.new(1,0,1,0)
  594.             txt.TextColor3 = v.TeamColor.Color
  595.         end
  596.         for a,c in pairs(v.Character:GetChildren()) do
  597.             if c.ClassName == "MeshPart" and c.Transparency ~= 1 then
  598.                 doit(c)
  599.             elseif c.ClassName == "Part" and c.Transparency ~= 1 then
  600.             doit(c)
  601.             end
  602.         end
  603.     end
  604.     end
  605.     end)
  606. end)
  607. end)
  608.  
  609.  
  610.  
  611. spawngui.MouseButton1Down:connect(function()
  612.         frame.Position = UDim2.new(20,0,0,0)
  613.         frame2.Position = UDim2.new(0,0,0,30)
  614.        
  615.    
  616.    
  617. end)
  618.  
  619.  
  620. closesg.MouseButton1Down:connect(function()
  621.         page1 = true
  622.         frame.Position = UDim2.new(0,0,0,30)
  623.         frame2.Position = UDim2.new(20,0,0,0)
  624.    
  625. end)
  626.  
  627. spawn1.MouseButton1Down:connect(function()
  628.  
  629. local function s(n)
  630. local new = game.Lighting.LootDrops[n]:Clone()
  631. new.Parent = workspace
  632. new:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  633. end
  634. if amount.Text == ("2") then
  635.     spawner ={spawnitem.Text, spawnitem.Text}
  636. elseif amount.Text == ("3") then
  637.     spawner ={spawnitem.Text, spawnitem.Text, spawnitem.Text}
  638. elseif amount.Text == ("4") then
  639.     spawner ={spawnitem.Text, spawnitem.Text, spawnitem.Text, spawnitem.Text}
  640. elseif amount.Text == ("5") then
  641.     spawner ={spawnitem.Text, spawnitem.Text, spawnitem.Text, spawnitem.Text, spawnitem.Text}
  642. else
  643.     spawner ={spawnitem.Text}
  644. end
  645.  
  646.  
  647.  
  648. for sp = 1, #spawner do
  649. s(spawner[sp])
  650.  
  651. end
  652. end)
  653.  
  654. patriotkit.MouseButton1Down:connect(function()
  655.     local function s(n)
  656.     local new = game.Lighting.LootDrops[n]:Clone()
  657.     new.Parent = workspace
  658.     new:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  659.     end
  660.     spawner ={"Patriot","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","STANAGAmmo100","ACOG","Laser"}
  661.  
  662.     for sp = 1, #spawner do
  663.     s(spawner[sp])
  664.     end
  665. end)
  666.  
  667. bloodkit.MouseButton1Down:connect(function()
  668.     local function s(n)
  669.     local new = game.Lighting.LootDrops[n]:Clone()
  670.     new.Parent = workspace
  671.     new:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  672.     end
  673.     spawner ={"BloodBag","BloodBag","BloodBag","BloodBag","Painkillers","Painkillers"}
  674.  
  675.     for sp = 1, #spawner do
  676.     s(spawner[sp])
  677.     end
  678. end)
  679.  
  680. carkit.MouseButton1Down:connect(function()
  681.     local function s(n)
  682.     local new = game.Lighting.LootDrops[n]:Clone()
  683.     new.Parent = workspace
  684.     new:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  685.     end
  686.     spawner ={"ReinforcedWheel","ReinforcedWheel","ReinforcedWheel","ReinforcedWheel","ScrapMetal","EngineParts","FuelTank","BallisticGlass","ArmorPlates","JerryCan","JerryCan"}
  687.  
  688.     for sp = 1, #spawner do
  689.     s(spawner[sp])
  690.     end
  691. end)
  692.  
  693. basekit.MouseButton1Down:connect(function()
  694.     local function s(n)
  695.     local new = game.Lighting.LootDrops[n]:Clone()
  696.     new.Parent = workspace
  697.     new:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  698.     end
  699.     spawner ={"Material5","Material5","Material5","Material3","Material4","LargeCrate","LargeCrate"}
  700.  
  701.     for sp = 1, #spawner do
  702.     s(spawner[sp])
  703.     end
  704. end)
  705.  
  706. tpcrate.MouseButton1Down:connect(function()
  707.    
  708. for _,v in pairs(workspace:children()) do
  709. if v.Name == "LargeCrateOpen" or v.Name == "SmallCrateOpen" then
  710. v:MoveTo(game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(math.random(-10,10),0,math.random(-10,10)))
  711. end
  712. end
  713. end)
  714.  
  715. god.MouseButton1Down:connect(function()
  716.     while true do
  717.         wait(0.01)
  718.         if game.Players.LocalPlayer.Character.Humanoid.Health < 100 then
  719.  
  720.             game.Workspace.Remote.AddDamageSelf:FireServer(game.Players.LocalPlayer.Character.Humanoid.Health,game.Players.LocalPlayer.Character.Humanoid.Health- 100)
  721.             --Don't take my god script and take credit for it. Just give me credit and you can.
  722.        end
  723.    end
  724. end)
  725.  
  726. messagebox.InputEnded:connect(function()
  727.    
  728.    if messagebox.Text == ("") then
  729.        messagebox.Text = ("Server Message")
  730.    end
  731. end)
  732. redm.MouseButton1Down:connect(function()
  733.    for i,v in pairs(game.Players:GetChildren())do
  734.        local var = Instance.new("StringValue")
  735.        var.Value = "Red"
  736.        game.Workspace.Remote.SendMessage:FireServer(v,tostring(var.Value),tostring(messagebox.Text))
  737.    end
  738. end)
  739.  
  740. bluem.MouseButton1Down:connect(function()
  741.    for i,v in pairs(game.Players:GetChildren())do
  742.        local var = Instance.new("StringValue")
  743.        var.Value = "Blue"
  744.        game.Workspace.Remote.SendMessage:FireServer(v,tostring(var.Value),tostring(messagebox.Text))
  745.    end
  746. end)
  747.  
  748. yellowm.MouseButton1Down:connect(function()
  749.    for i,v in pairs(game.Players:GetChildren())do
  750.        local var = Instance.new("StringValue")
  751.        var.Value = "Yellow"
  752.        game.Workspace.Remote.SendMessage:FireServer(v,tostring(var.Value),tostring(messagebox.Text))
  753.    end
  754. end)
  755.  
  756. killp.MouseButton1Down:connect(function()
  757.    
  758.    player = game.Players.LocalPlayer
  759.  
  760.    function findergun()
  761.        local back = player.Backpack:GetChildren()
  762.            for a = 1, #back do
  763.                if back[a]:IsA("Model") and back[a]:FindFirstChild("Shooter") then return back[a] end
  764.            end
  765.            return nil
  766.        end
  767.  
  768.        local findgun = findergun()
  769.        
  770.        for i, v in ipairs(game.Players:GetChildren()) do
  771.            if findgun and v.Character and v ~= player then
  772.                if v.Name == pname.Text then
  773.                    for i = 1, 6 do game.Workspace.Remote.DoHitLogic:FireServer(findgun, v.Character.Head) end  
  774.                end
  775.                
  776.            end
  777.        end        
  778.    
  779.    
  780. end)
  781.  
  782. killall.MouseButton1Down:connect(function()
  783.    
  784.    player = game.Players.LocalPlayer
  785.  
  786.    function findergun()
  787.        local back = player.Backpack:GetChildren()
  788.            for a = 1, #back do
  789.                if back[a]:IsA("Model") and back[a]:FindFirstChild("Shooter") then return back[a] end
  790.            end
  791.            return nil
  792.        end
  793.  
  794.        local findgun = findergun()
  795.    
  796.        for i, v in ipairs(game.Players:GetChildren()) do
  797.            if findgun and v.Character and v ~= player then
  798.                for i = 1, 6 do game.Workspace.Remote.DoHitLogic:FireServer(findgun, v.Character.Head) end
  799.            end
  800.        end
  801.    
  802. end)
Advertisement
Add Comment
Please, Sign In to add comment