Advertisement
dkg_yt

helpme

Sep 8th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.02 KB | None | 0 0
  1. local library = loadstring(game:HttpGet("https://pastebin.com/raw/7Z6TzFnv", true))()
  2.  
  3.  
  4.  
  5. local Combat = library:CreateWindow({
  6. text = "Combat"
  7. })
  8.  
  9. local Player = library:CreateWindow({
  10. text = "Player"
  11. })
  12.  
  13. local Functions = library:CreateWindow({
  14. text = "Functions"
  15. })
  16.  
  17. local destructive = library:CreateWindow({
  18. text="destructive"
  19. })
  20.  
  21. local teleports = library:CreateWindow({
  22. text="teleports"
  23. })
  24.  
  25. function nuke()
  26. workspace.resources.RemoteEvent:FireServer("FireAllClients", "showNotice", "NEWS FROM OUR LORD HITLER", "Sending yall to Auswitchz")
  27. wait(5)
  28. game.Workspace.resources.RemoteFunction:InvokeServer("requestTeam", "police")
  29. for _, v in pairs(game.Teams.Prisoners:GetPlayers()) do
  30. game.Workspace.resources.RemoteEvent:FireServer("cuff", v)
  31. end
  32. wait(1)
  33. local rw = workspace.resources.RemoteEvent
  34. for i,k in pairs(workspace:GetChildren()) do
  35. rw:FireServer("toggleShield", k)
  36. end
  37. while true do
  38. wait(.5)
  39. for _, v in pairs(game.Players:GetChildren()) do
  40. game.Workspace.resources.RemoteEvent:FireServer("cuff", v)
  41. end
  42. for i,b in pairs(workspace.AllDoors:GetChildren()) do
  43. workspace.resources.RemoteEvent:FireServer("updateDoorSystem", b)
  44. end
  45. workspace.resources.RemoteEvent:FireServer("FireAllClients", "smallNotice", " ⚠️Hitler is gassing this server⚠️", true)
  46. workspace.resources.RemoteEvent:FireServer("FireAllClients", "showNotice", "⚠️Mein Furher⚠️", "get gassed faggots")
  47. end
  48. --
  49. end
  50.  
  51. local Other = library:CreateWindow({text='other'})
  52. local Credits = library:CreateWindow({text='Credits'})
  53.  
  54. --combat stuff
  55.  
  56. Combat:AddButton("Kill all", function()
  57. for _, v in pairs(game.Players:GetChildren()) do
  58. game.Workspace.resources.RemoteEvent:FireServer("dealDamage", v.Character.Humanoid, 100)
  59. end
  60. end)
  61.  
  62. Combat:AddButton("Cuff all", function()
  63. for _, v in pairs(game.Players:GetChildren()) do
  64. game.Workspace.resources.RemoteEvent:FireServer("cuff", v)
  65. end
  66. end)
  67.  
  68. Combat:AddButton("Taze all", function()
  69. for _, v in pairs(game.Players:GetChildren()) do
  70. game.Workspace.resources.RemoteEvent:FireServer("tase", v)
  71. end
  72. end)
  73.  
  74. Player:AddButton("Fly", function()
  75. repeat wait()
  76. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  77. local mouse = game.Players.LocalPlayer:GetMouse()
  78. repeat wait() until mouse
  79. local plr = game.Players.LocalPlayer
  80. local torso = plr.Character.Torso
  81. local flying = true
  82. local deb = true
  83. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  84. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  85. local maxspeed = 50
  86. local speed = 0
  87.  
  88. function Fly()
  89. local bg = Instance.new("BodyGyro", torso)
  90. bg.P = 9e4
  91. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  92. bg.cframe = torso.CFrame
  93. local bv = Instance.new("BodyVelocity", torso)
  94. bv.velocity = Vector3.new(0,0.1,0)
  95. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  96. repeat wait()
  97. plr.Character.Humanoid.PlatformStand = true
  98. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  99. speed = speed+.5+(speed/maxspeed)
  100. if speed > maxspeed then
  101. speed = maxspeed
  102. end
  103. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  104. speed = speed-1
  105. if speed < 0 then
  106. speed = 0
  107. end
  108. end
  109. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  110. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  111. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  112. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  113. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  114. else
  115. bv.velocity = Vector3.new(0,0.1,0)
  116. end
  117. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  118. until not flying
  119. ctrl = {f = 0, b = 0, l = 0, r = 0}
  120. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  121. speed = 0
  122. bg:Destroy()
  123. bv:Destroy()
  124. plr.Character.Humanoid.PlatformStand = false
  125. end
  126. mouse.KeyDown:connect(function(key)
  127. if key:lower() == "e" then
  128. if flying then flying = false
  129. else
  130. flying = true
  131. Fly()
  132. end
  133. elseif key:lower() == "w" then
  134. ctrl.f = 1
  135. elseif key:lower() == "s" then
  136. ctrl.b = -1
  137. elseif key:lower() == "a" then
  138. ctrl.l = -1
  139. elseif key:lower() == "d" then
  140. ctrl.r = 1
  141. end
  142. end)
  143. mouse.KeyUp:connect(function(key)
  144. if key:lower() == "w" then
  145. ctrl.f = 0
  146. elseif key:lower() == "s" then
  147. ctrl.b = 0
  148. elseif key:lower() == "a" then
  149. ctrl.l = 0
  150. elseif key:lower() == "d" then
  151. ctrl.r = 0
  152. end
  153. end)
  154. Fly()
  155. end)
  156.  
  157. destructive:AddButton("Nuke Server", function()
  158. nuke()
  159. end)
  160.  
  161. teleports:AddButton("Criminal base", function()
  162. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(-600.986, -27.542, -333))
  163. end)
  164.  
  165. teleports:AddButton("Police hq", function()
  166. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(93, 1.5, 15))
  167. end)
  168.  
  169. teleports:AddButton("Tower", function()
  170. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(189, 42.501, -195))
  171. end)
  172.  
  173. teleports:AddButton("Helipad", function()
  174. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(236.001, 1.8, 53.997))
  175. end)
  176.  
  177. teleports:AddButton("Cells", function()
  178. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(-4, 1.5, -7))
  179. end)
  180.  
  181. teleports:AddButton("Vents", function()
  182. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(118, 31.5, 59))
  183. end)
  184.  
  185. teleports:AddButton("Courtyard", function()
  186. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(243.07106, 2.3200254, -80.9014206))
  187. end)
  188.  
  189. teleports:AddButton("Cake", function()
  190. game.Players.LocalPlayer.Character:MoveTo(Vector3.new(108.500664, 4, -27.2045383))
  191. end)
  192.  
  193. Functions:AddButton("Remove doors", function()
  194. game.Workspace.AllDoors:Destroy()
  195. end)
  196.  
  197. Functions:AddButton("Open all doors", function()
  198. for i,v in pairs(game.Workspace.AllDoors:GetChildren()) do
  199. game.Workspace.resources.RemoteEvent:FireServer("updateDoorSystem", v)
  200. end
  201. end)
  202.  
  203. Functions:AddButton("Remove vent", function()
  204. game.workspace.ventOpening:remove()
  205. end)
  206.  
  207. Functions:AddButton("destroy tree's", function()
  208. for i,v in pairs(game.Workspace:GetChildren()) do
  209. if v.Name == "Tree" then
  210. v:destroy()
  211. end
  212. end
  213. end)
  214.  
  215. Functions:AddButton("Give Gamepasses", function()
  216. workspace.resources.RemoteFunction:InvokeServer("setDataValue", "hasSwat", true)
  217. workspace.resources.RemoteFunction:InvokeServer("setDataValue", "hasSpecOps", true)
  218. workspace.resources.RemoteFunction:InvokeServer("setDataValue", "hasMerc", true)
  219. workspace.resources.RemoteFunction:InvokeServer("setDataValue", "hasPilot", true)
  220. workspace.resources.RemoteFunction:InvokeServer("setDataValue", "hasAtv", true)
  221. end)
  222.  
  223. Other:AddBox("SetData", function(object, focus)
  224. if focus then
  225. workspace.resources.RemoteFunction:InvokeServer("setDataValue", object.Text, true)
  226. end
  227. end)
  228.  
  229. Player:AddButton("Give OP weapons", function()
  230. game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "M98B")
  231. game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "ACR")
  232. game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "L86A2")
  233. game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "Parachute")
  234. game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "Fake ID Card")
  235. game.Workspace.resources.RemoteFunction:InvokeServer("giveItem", "M60")
  236. end)
  237.  
  238. Player:AddButton("INF ammo", function()
  239. while true do
  240. wait(.15)
  241. local pPos = game.Players.LocalPlayer.Character.Torso.Position
  242. local ammoCrate = workspace.ammoCrate
  243. ammoCrate.CanCollide = false
  244. ammoCrate.Transparency = 1
  245. ammoCrate:ClearAllChildren()
  246. ammoCrate.Position = pPos
  247. end
  248. end)
  249.  
  250.  
  251. Other:AddBox("WalkSpeed", function(object, focus)
  252. if focus then
  253. game:GetService("Players").LocalPlayer.Character.Humanoid.WalkSpeed = tonumber(object.Text) or 16
  254. end
  255. end)
  256.  
  257. Other:AddBox("JumpPower", function(object, focus)
  258. if focus then
  259. game:GetService("Players").LocalPlayer.Character.Humanoid.JumpPower = tonumber(object.Text) or 16
  260. end
  261. end)
  262.  
  263.  
  264. Other:AddButton("noclip", function()
  265. noclip = false
  266. game:GetService('RunService').Stepped:connect(function()
  267. if noclip then
  268. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  269. end
  270. end)
  271. local plr = game.Players.LocalPlayer
  272. local mouse = plr:GetMouse()
  273. mouse.KeyDown:connect(function(key)
  274.  
  275. if key == "x" then
  276. noclip = not noclip
  277. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  278. end
  279. end)
  280. print('Loaded')
  281. print('Press "X" to noclip')
  282.  
  283.  
  284.  
  285. game.StarterGui:SetCore("SendNotification", {
  286. Title = "redwood GAY",
  287. Text = "press X to noclip",
  288. Duration = 1,
  289. Button1 = "OK"
  290. })
  291. end)
  292.  
  293. Other:AddButton("Bridge", function()
  294. local tool = Instance.new("Tool", game.Players.LocalPlayer.Backpack)
  295. tool.RequiresHandle = false
  296. tool.Name = "Bridge"
  297. tool.CanBeDropped = false
  298.  
  299. local pos1 = nil
  300. local pos2 = nil
  301. local bridgesize = 10
  302. local mouse = game.Players.LocalPlayer:GetMouse()
  303. local isEquipped = false
  304. local isSettingPos = false
  305. local bridgeEnabled = false
  306. local dist = 0
  307.  
  308. function asdf(origin, target, properties)
  309. game.Workspace.resources.RemoteEvent:FireServer("FireAllClients","drawLaser", origin, target, properties)
  310. end
  311.  
  312. mouse.KeyDown:Connect(function(k)
  313. if not isEquipped then return end
  314. key = k:lower()
  315. if key == "e" then
  316. if bridgesize <= 5 then return end
  317. bridgesize = bridgesize - 1
  318. game:GetService("StarterGui"):SetCore("SendNotification", {
  319. Title = "Information";
  320. Text = "New size: " .. bridgesize;
  321. })
  322. print(bridgesize)
  323. end
  324. if key == "r" then
  325. if bridgesize >= 25 then return end
  326. bridgesize = bridgesize + 1
  327. game:GetService("StarterGui"):SetCore("SendNotification", {
  328. Title = "Information";
  329. Text = "New size: " .. bridgesize;
  330. })
  331. print(bridgesize)
  332. end
  333. if key == "t" then
  334. bridgeEnabled = false
  335. isSettingPos = false
  336. pos1 = nil
  337. pos2 = nil
  338. bridgesize = 10
  339. game:GetService("StarterGui"):SetCore("SendNotification", {
  340. Title = "Information";
  341. Text = "Values reset to default.";
  342. })
  343. end
  344. end)
  345.  
  346.  
  347. tool.Equipped:Connect(function()
  348. isEquipped = true
  349. game:GetService("StarterGui"):SetCore("SendNotification", {
  350. Title = "Information";
  351. Text = "Click to set positions, Press R to increase width, E to decrease width and Press T to reset.";
  352. })
  353. end)
  354.  
  355. tool.Unequipped:Connect(function()
  356. isEquipped = false
  357. end)
  358.  
  359.  
  360.  
  361. tool.Activated:Connect(function()
  362. if not isSettingPos then
  363. pos1 = mouse.hit
  364. game:GetService("StarterGui"):SetCore("SendNotification", {
  365. Title = "Information";
  366. Text = "Position 1 saved, click again for position 2.";
  367. })
  368. isSettingPos = true
  369. else
  370. pos2 = mouse.hit
  371. game:GetService("StarterGui"):SetCore("SendNotification", {
  372. Title = "Information";
  373. Text = "Position 2 saved, creating bridge...";
  374. })
  375. isSettingPos = false
  376. bridgeEnabled = true
  377. dist = (pos1.p-pos2.p).magnitude
  378. end
  379. end)
  380.  
  381. while true do
  382. wait(.1)
  383. if bridgeEnabled then
  384. asdf(pos1.p, pos2.p, {
  385. ["CanCollide"] = true,
  386. ["Size"] = Vector3.new(bridgesize, 1, dist),
  387. ["CFrame"] = CFrame.new(pos1.p, pos2.p) * CFrame.new(0,0, -dist/2) * CFrame.Angles(0,0,0),
  388. })
  389. end
  390. end
  391. end)
  392.  
  393.  
  394. Other:AddButton("Btools", function()
  395. -- credit to noll
  396. -- link: https://www.youtube.com/channel/UC8OJzJ2ut8e38QmYNJFW4Fw
  397.  
  398. --NOLL
  399.  
  400. local btool = Instance.new("Tool",game.Players.LocalPlayer.Backpack)
  401. local SelectionBox = Instance.new("SelectionBox",game.Workspace)
  402. SelectionBox.Name = "oof"
  403. SelectionBox.LineThickness = 0.05
  404. SelectionBox.Adornee = nil
  405. SelectionBox.Color3 = Color3.fromRGB(0,0,255)
  406. SelectionBox.Visible = false
  407. btool.Name = "FE BTOOLS"
  408. btool.RequiresHandle = false
  409. local IsEquipped = false
  410. local Mouse = game.Players.LocalPlayer:GetMouse()
  411.  
  412. btool.Equipped:connect(function()
  413. IsEquipped = true
  414. SelectionBox.Visible = true
  415. SelectionBox.Adornee = nil
  416. end)
  417.  
  418. btool.Unequipped:connect(function()
  419. IsEquipped = false
  420. SelectionBox.Visible = false
  421. SelectionBox.Adornee = nil
  422. end)
  423.  
  424.  
  425. btool.Activated:connect(function()
  426. if IsEquipped then
  427. game.Workspace.resources.RemoteEvent:FireServer("toggleShield", Mouse.Target)
  428. end
  429. end)
  430.  
  431. while true do
  432. SelectionBox.Adornee = Mouse.Target or nil
  433. wait(0.1)
  434. end
  435. end)
  436.  
  437. destructive:AddToggle("delete world", function()
  438. local rw = workspace.resources.RemoteEvent
  439. for i,k in pairs(workspace:GetChildren()) do
  440. rw:FireServer("toggleShield", k)
  441. end
  442. end)
  443.  
  444. Credits:AddLabel("Credits\nWally: UI Lib\nV3rm: Some scripts")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement