Advertisement
Guest User

Build a boat for treasure script

a guest
Oct 25th, 2021
18,845
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.79 KB | None | 0 0
  1. Second script!
  2.  
  3.  
  4. local LocalPlayer = game:GetService("Players").LocalPlayer
  5. local ui = loadstring(game:GetObjects("rbxassetid://4133667265")[1].Source)("Library by wally")
  6. local w = ui:CreateWindow('Automated')
  7. w:Section('Autofarms')
  8. local b = w:Button("Autofarm (Forever)", function()
  9. print("Autofarm Activated (Forever)")
  10. vu = game:GetService("VirtualUser")
  11. game:GetService("Players").LocalPlayer.Idled:connect(function()
  12. vu:Button2Down(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
  13. wait(1)
  14. vu:Button2Up(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
  15. end)
  16. print("Anti-Afk Succes!")
  17. while true do
  18. spawn(function()
  19. game:getService("RunService"):BindToRenderStep("NoClip",0,function()
  20. pcall(function()
  21. if not game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid") then return end
  22. if not running == true then return end
  23. game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid"):ChangeState(11)
  24. end)
  25. end)
  26. end)
  27.  
  28. local checks = workspace.BoatTerrains:getDescendants()
  29. for i=1,#checks do
  30. running = true
  31. if checks[i].Name == "DarknessPart" or checks[i].Name == "GatePart" then
  32. checks[i].Transparency = 0
  33. if game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
  34. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = checks[i].CFrame
  35. end
  36. wait(0.42)
  37. end
  38. end
  39.  
  40. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace.GoldenChest.Collider.CFrame
  41. repeat
  42. if game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
  43. game.Players.LocalPlayer.Character.Humanoid.Jump = true
  44. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace.GoldenChest.Collider.CFrame
  45. end
  46. wait()
  47. until not game.Players.LocalPlayer.Character:FindFirstChild("Humanoid")
  48. running = false
  49. wait()
  50. end
  51. end)
  52. local b = w:Button("Autofarm (Once)", function()
  53. print("Autofarm Activated (Once)")
  54. spawn(function()
  55. game:getService("RunService"):BindToRenderStep("NoClip",0,function()
  56. pcall(function()
  57. if not game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid") then return end
  58. if not running == true then return end
  59. game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid"):ChangeState(11)
  60. end)
  61. end)
  62. end)
  63.  
  64. local checks = workspace.BoatTerrains:getDescendants()
  65. for i=1,#checks do
  66. running = true
  67. if checks[i].Name == "DarknessPart" or checks[i].Name == "GatePart" then
  68. checks[i].Transparency = 0
  69. if game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
  70. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = checks[i].CFrame
  71. end
  72. wait(0.42)
  73. end
  74. end
  75.  
  76. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace.GoldenChest.Collider.CFrame
  77. repeat
  78. if game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
  79. game.Players.LocalPlayer.Character.Humanoid.Jump = true
  80. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace.GoldenChest.Collider.CFrame
  81. end
  82. wait()
  83. until not game.Players.LocalPlayer.Character:FindFirstChild("Humanoid")
  84. running = false
  85. end)
  86. local b = w:Button("Autofarm Treasure (Forever)", function()
  87. print("Autofarm Treasure Activated (Forever)")
  88. vu = game:GetService("VirtualUser")
  89. game:GetService("Players").LocalPlayer.Idled:connect(function()
  90. vu:Button2Down(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
  91. wait(1)
  92. vu:Button2Up(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
  93. end)
  94. print("Anti-Afk Succes!")
  95. while true do
  96. spawn(function()
  97. game:getService("RunService"):BindToRenderStep("NoClip",0,function()
  98. pcall(function()
  99. if not game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid") then return end
  100. if not running == true then return end
  101. game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid"):ChangeState(11)
  102. end)
  103. end)
  104. end)
  105.  
  106. local checks = workspace.BoatTerrains:getDescendants()
  107. for i=1,#checks do
  108. running = true
  109. if checks[i].Name == "LockHolePart1" or checks[i].Name == "LockHolePart2" then
  110. checks[i].Transparency = 0
  111. if game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
  112. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = checks[i].CFrame
  113. end
  114. wait(0.42)
  115. end
  116. end
  117.  
  118. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace.GoldenChest.Collider.CFrame
  119. repeat
  120. if game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
  121. game.Players.LocalPlayer.Character.Humanoid.Jump = true
  122. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace.GoldenChest.Collider.CFrame
  123. end
  124. wait()
  125. until not game.Players.LocalPlayer.Character:FindFirstChild("Humanoid")
  126. running = false
  127. wait()
  128. end
  129. end)
  130. local b = w:Button("Autofarm Treasure (Once)", function()
  131. print("Autofarm Treasure Activated (Once)")
  132. spawn(function()
  133. game:getService("RunService"):BindToRenderStep("NoClip",0,function()
  134. pcall(function()
  135. if not game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid") then return end
  136. if not running == true then return end
  137. game.Players.LocalPlayer.Character:findFirstChildOfClass("Humanoid"):ChangeState(11)
  138. end)
  139. end)
  140. end)
  141.  
  142. local checks = workspace.BoatTerrains:getDescendants()
  143. for i=1,#checks do
  144. running = true
  145. if checks[i].Name == "LockHolePart1" or checks[i].Name == "LockHolePart2" then
  146. checks[i].Transparency = 0
  147. if game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
  148. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = checks[i].CFrame
  149. end
  150. wait(0.42)
  151. end
  152. end
  153.  
  154. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace.GoldenChest.Collider.CFrame
  155. repeat
  156. if game.Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
  157. game.Players.LocalPlayer.Character.Humanoid.Jump = true
  158. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace.GoldenChest.Collider.CFrame
  159. end
  160. wait()
  161. until not game.Players.LocalPlayer.Character:FindFirstChild("Humanoid")
  162. running = false
  163. end)
  164. w:Section('Open Chests')
  165. local IBFS = workspace:WaitForChild("ItemBoughtFromShop", 1)
  166. w:Dropdown("Chest Type", {
  167. list = {
  168. "Common Chest",
  169. "Uncommon Chest",
  170. "Rare Chest",
  171. "Epic Chest",
  172. "Legendary Chest"
  173. },
  174. location = shared,
  175. flag = "chesttype"
  176. })
  177. w:Button("Open Chest", function()
  178. IBFS:FireServer(shared.chesttype or "Common Chest")
  179. print("Chest Successfully Opened")
  180. end)
  181. local qm = workspace:WaitForChild("QuestMakerEvent", 1)
  182. if qm then
  183. w:Section("Open Quests")
  184. w:Dropdown("Quest Name", {
  185. list = {
  186. "Cloud Quest",
  187. "Target Quest",
  188. "Ramp Quest",
  189. "Find Me Quest",
  190. "Dragon Quest",
  191. "The Box Quest",
  192. "Rings Quest",
  193. "Soccor Quest"
  194. },
  195. location = shared,
  196. flag = "questtype"
  197. })
  198. w:Button("Open Quest", function()
  199. qm:FireServer(({
  200. ["Cloud Quest"] = 1,
  201. ["Target Quest"] = 2,
  202. ["Ramp Quest"] = 3,
  203. ["Find Me Quest"] = 4,
  204. ["Dragon Quest"] = 5,
  205. ["The Box Quest"] = 6,
  206. ["Rings Quest"] = 7,
  207. ["Soccor Quest"] = 8
  208. })[shared.questtype or "Cloud Quest"])
  209. print("Quest Successfully Made")
  210. end)
  211. end
  212. w:Section("Codes")
  213. local b = w:Button("Redeem Codes", function()
  214. RedeemCode = game:GetService("Workspace").CheckCodeFunction
  215. RedeemCode:InvokeServer("=D")
  216. RedeemCode:InvokeServer("=p")
  217. RedeemCode:InvokeServer("hi")
  218. RedeemCode:InvokeServer("squid army")
  219. RedeemCode:InvokeServer("chillthrill709 was here")
  220. RedeemCode:InvokeServer("TTTRRREEEAAASSSUUURRREEE")
  221. print("Codes Activated")
  222. end)
  223. local b = w:Button("Share Codes", function()
  224. print("This Can Take Up To 15 Seconds")
  225. SMR = game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest
  226. SMR:FireServer("Here Are Some Codes For All Of You!", "All")
  227. SMR:FireServer("Currently There Are 6 Codes.", "All")
  228. wait(2.5)
  229. SMR:FireServer("Code1: =D", "All")
  230. wait(2.5)
  231. SMR:FireServer("Code2: =p", "All")
  232. wait(2.5)
  233. SMR:FireServer("Code3: hi", "All")
  234. wait(2.5)
  235. SMR:FireServer("Code4: squid army", "All")
  236. wait(2.5)
  237. SMR:FireServer("Code5: chillthrill709 was here", "All")
  238. wait(2.5)
  239. SMR:FireServer("Code6: TTTRRREEEAAASSSUUURRREEE", "All")
  240. print("Codes Shared")
  241. end)
  242. local w = ui:CreateWindow('Character Cheats')
  243. local b = w:Button("Water Godmode", function()
  244. LocalPlayerName = game:GetService("Players").LocalPlayer.Name
  245. LocalPlayerWorkspace = game:GetService("Workspace")[LocalPlayerName]
  246. LocalPlayerWorkspace.WaterDetector:Destroy()
  247. print("Water Godmode Enabled")
  248. end)
  249. local b = w:Button("Noclip (n)", function()
  250. noclip = false
  251. game:GetService('RunService').Stepped:connect(function()
  252. if noclip then
  253. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  254. end
  255. end)
  256. end)
  257. plr = game.Players.LocalPlayer
  258. mouse = plr:GetMouse()
  259. mouse.KeyDown:connect(function(key)
  260.  
  261. if key == "n" then
  262. noclip = not noclip
  263. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  264. end
  265. end)
  266. print("Noclip Loaded! Press 'n' To Toggle On/Off")
  267. local box = w:Box('WalkSpeed', {
  268. flag = "ws";
  269. type = 'number';
  270. }, function(box, new, old, enter)
  271. print(new, old, enter)
  272. LocalPlayer.Character.Humanoid.WalkSpeed = tonumber(new)
  273. print("WalkSpeed Changed")
  274. end)
  275. local b2 = w:Button('Reset WalkSpeed', function()
  276. LocalPlayer.Character.Humanoid.WalkSpeed = 16
  277. print("WalkSpeed Reset")
  278. end)
  279. local box = w:Box('JumpPower', {
  280. flag = "jp";
  281. type = 'number';
  282. }, function(box, new, old, enter)
  283. print(new, old, enter)
  284. LocalPlayer.Character.Humanoid.JumpPower = tonumber(new)
  285. print("JumpPower Changed")
  286. end)
  287. local b2 = w:Button('Reset JumpPower', function()
  288. LocalPlayer.Character.Humanoid.JumpPower = 50
  289. print("JumpPower Reset")
  290. end)
  291. local box = w:Box('HipHeight', {
  292. flag = "hh";
  293. type = 'number';
  294. }, function(box, new, old, enter)
  295. print(new, old, enter)
  296. LocalPlayer.Character.Humanoid.HipHeight = tonumber(new)
  297. print("HipHeight Changed")
  298. end)
  299. local b2 = w:Button('Reset HipHeight', function()
  300. LocalPlayer.Character.Humanoid.HipHeight = 2
  301. print("HipHeight Reset")
  302. end)
  303. local s = w:Slider("Gravity", {
  304. min = 0;
  305. max = 196.2;
  306. flag = 'g'
  307. }, function(v)
  308. game:GetService("Workspace").Gravity = v;
  309. end)
  310. local b2 = w:Button('Reset Gravity', function()
  311. game:GetService("Workspace").Gravity = 196.2
  312. print("Gravity Reset")
  313. end)
  314. local old = workspace.CurrentCamera.FieldOfView
  315. local s = w:Slider("FOV", {
  316. min = math.floor(workspace.CurrentCamera.FieldOfView);
  317. max = 120;
  318. flag = 'fov'
  319. }, function(v)
  320. workspace.CurrentCamera.FieldOfView = v;
  321. end)
  322. local b2 = w:Button('Reset FOV', function()
  323. s:Set(old)
  324. print("Reset")
  325. end)
  326. w:Section('Kill Yourself')
  327. w:Bind("Kill Player", {
  328. flag = "killbind";
  329. kbonly = true;
  330. default = Enum.KeyCode.RightAlt;
  331. }, function()
  332. game.Players.LocalPlayer.Character:BreakJoints()
  333. print("Killed Yourslef")
  334. end)
  335. w:Section('Characters')
  336. local b = w:Button("Fox Character", function()
  337. CC = game:GetService("Workspace").ChangeCharacter
  338. CC:FireServer("FoxCharacter")
  339. print("Successfully Changed To Fox Character")
  340. end)
  341. local b = w:Button("Chicken Character", function()
  342. CC = game:GetService("Workspace").ChangeCharacter
  343. CC:FireServer("ChickenCharacter")
  344. print("Successfully Changed To Chicken Character")
  345. end)
  346. local b = w:Button("Penguin Character", function()
  347. CC = game:GetService("Workspace").ChangeCharacter
  348. CC:FireServer("PenguinCharacter")
  349. print("Successfully Changed To Penguin Character")
  350. end)
  351. local w = ui:CreateWindow('Teleports')
  352. local b = w:Button("Teleport Random Player", function()
  353. local randomPlayer = game.Players:GetPlayers()
  354. [math.random(1,#game.Players:GetPlayers())]
  355. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(randomPlayer.Character.Head.Position.X, randomPlayer.Character.Head.Position.Y, randomPlayer.Character.Head.Position.Z))
  356. print("Teleported To ???")
  357. end)
  358. local box = w:Box('Player', {
  359. flag = "p";
  360. type = 'string';
  361. }, function(box, new, old, enter)
  362. print(new, old, enter)
  363. _G.PlayerSelected = new
  364. end)
  365. local b2 = w:Button('Teleport', function()
  366. PlayerName = game:GetService("Players")[_G.PlayerSelected]
  367. LocalPlayer.Character.HumanoidRootPart.CFrame = PlayerName.Character.HumanoidRootPart.CFrame
  368. print("Teleported To Player")
  369. end)
  370. local b = w:Button("Teleport Tool", function()
  371. local plr = game:GetService("Players").LocalPlayer
  372. local mouse = plr:GetMouse()
  373.  
  374. local tool = Instance.new("Tool")
  375. tool.RequiresHandle = false
  376. tool.Name = "Teleport Tool"
  377.  
  378. tool.Activated:Connect(function()
  379. local root = plr.Character.HumanoidRootPart
  380. local pos = mouse.Hit.Position+Vector3.new(0,2.5,0)
  381. local offset = pos-root.Position
  382. root.CFrame = root.CFrame+offset
  383. end)
  384.  
  385. tool.Parent = plr.Backpack
  386. print("Tool Received")
  387. end)
  388. w:Section('Team Teleports')
  389. local b = w:Button("BlackZone", function()
  390. LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-328.943665, -9.89999294, -72.1218643, -0.000303131208, -3.68797224e-08, 0.99999994, 3.53605003e-08, 1, 3.68904445e-08, -0.99999994, 3.53716807e-08, -0.000303131208)
  391. print("Teleported To BlackZone")
  392. end)
  393. local b = w:Button("Really blueZone", function()
  394. LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(221.835587, -9.89999294, 289.496735, 3.00895917e-05, 1.89661886e-08, -1, -1.8994708e-08, 1, 1.89656184e-08, 1, 1.89941378e-08, 3.00895917e-05)
  395. print("Teleported To Really blueZone")
  396. end)
  397. local b = w:Button("CamoZone", function()
  398. LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-328.966553, -9.89999294, 285.890778, 2.32723869e-05, 4.81436508e-08, 1, -8.0430631e-08, 1, -4.81417786e-08, -1, -8.04295084e-08, 2.32723869e-05)
  399. print("Teleported To CamoZone")
  400. end)
  401. local b = w:Button("MagentaZone", function()
  402. LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(221.835083, -9.89999294, 647.695251, -2.21245518e-05, -1.27197168e-08, -1, -7.80432288e-08, 1, -1.27179902e-08, 1, 7.80429446e-08, -2.21245518e-05)
  403. print("Teleported To MagentaZone")
  404. end)
  405. local b = w:Button("Really redZone", function()
  406. LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(221.835068, -9.89999294, -68.7047195, -2.20595903e-05, -1.15739818e-08, -1, -8.31205469e-08, 1, -1.15721486e-08, 1, 8.31202911e-08, -2.20595903e-05)
  407. print("Teleported To Really redZone")
  408. end)
  409. local b = w:Button("WhiteZone", function()
  410. LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-53.5637512, -9.89999294, -345.507538, 1, 4.29280682e-08, -2.15271102e-05, -4.29279226e-08, 1, 6.71854927e-09, 2.15271102e-05, -6.71762512e-09, 1)
  411. print("Teleported To WhiteZone")
  412. end)
  413. local b = w:Button("New YellerZone", function()
  414. LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-328.942108, -9.89999294, 643.876709, -0.00115210481, -5.0259036e-08, 0.999999344, 4.44386856e-08, 1, 5.03102662e-08, -0.999999344, 4.44966162e-08, -0.00115210481)
  415. print("Teleported To New YellerZone")
  416. end)
  417. w:Section('TheEnd')
  418. local b = w:Button("WaterSand", function()
  419. LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-53.5905228, -360.700012, 9499.88184, 0.99999994, 5.23848342e-09, 0.000277680316, -5.23909627e-09, 1, 2.20502683e-09, -0.000277680316, -2.20648144e-09, 0.99999994)
  420. print("Teleported To WaterSand")
  421. end)
  422. local w = ui:CreateWindow('Miscellaneous')
  423. w:Section('New')
  424. local b = w:Button("Kill All", function()
  425. print("[WARNING] Only Works If Players Have Pvp Mode Enabled")
  426. LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-53.5655861, -360.700012, 9391.29199, 0.999978304, 8.00575783e-09, -0.00659008743, -8.00250088e-09, 1, 5.20489041e-10, 0.00659008743, -4.67740568e-10, 0.999978304)
  427. print("Successfully Teleported Players")
  428. game:GetService("RunService").Stepped:connect(function()
  429. for i,v in pairs (game:GetService("Players"):GetChildren()) do
  430. if v.TeamColor ~= LocalPlayer.TeamColor and v.Name ~= LocalPlayer.Name then
  431. v.Character.HumanoidRootPart.Anchored = true
  432. v.Character.HumanoidRootPart.CFrame = CFrame.new(-53.5905228, -360.700012, 9499.88184, 0.99999994, 5.23848342e-09, 0.000277680316, -5.23909627e-09, 1, 2.20502683e-09, -0.000277680316, -2.20648144e-09, 0.99999994)
  433. end
  434. end
  435. end)
  436. end)
  437. local b = w:Button("Big Head Player", function()
  438. LocalPlayerName = game:GetService("Players").LocalPlayer.Name
  439. LocalPlayerWorkspace = game:GetService("Workspace")[LocalPlayerName]
  440. LocalPlayerWorkspace.Head.Size = Vector3.new(4, 2, 2)
  441. print("Head Enlarged")
  442. end)
  443. w:Section('Launch Teams')
  444. local b = w:Button("Launch BlackZone", function()
  445. game:GetService("Workspace").BlackZone.RE:FireServer()
  446. print("Launched BlackZone")
  447. end)
  448. local b = w:Button("Launch Really blueZone", function()
  449. game:GetService("Workspace")["Really blueZone"].RE:FireServer()
  450. print("Launched Really blueZone")
  451. end)
  452. local b = w:Button("Launch CamoZone", function()
  453. game:GetService("Workspace").CamoZone.RE:FireServer()
  454. print("Launched CamoZone")
  455. end)
  456. local b = w:Button("Launch MagentaZone", function()
  457. game:GetService("Workspace")["MagentaZone"].RE:FireServer()
  458. print("Launched MagentaZone")
  459. end)
  460. local b = w:Button("Launch Really redZone", function()
  461. game:GetService("Workspace")["Really redZone"].RE:FireServer()
  462. print("Launched Really redZone")
  463. end)
  464. local b = w:Button("Launch WhiteZone", function()
  465. game:GetService("Workspace")["WhiteZone"].RE:FireServer()
  466. print("Launched WhiteZone")
  467. end)
  468. local b = w:Button("Launch New YellerZone", function()
  469. game:GetService("Workspace")["New YellerZone"].RE:FireServer()
  470. print("Launched New YellerZone")
  471. end)
  472. local w = ui:CreateWindow('Fun')
  473. w:Section('Flings')
  474. local b = w:Button("Spin Fling (R6)", function()
  475. power = 500 -- change this to make it more or less powerful
  476.  
  477. game:GetService('RunService').Stepped:connect(function()
  478. game.Players.LocalPlayer.Character.Head.CanCollide = false
  479. game.Players.LocalPlayer.Character.Torso.CanCollide = false
  480. game.Players.LocalPlayer.Character["Left Leg"].CanCollide = false
  481. game.Players.LocalPlayer.Character["Right Leg"].CanCollide = false
  482. end)
  483.  
  484. wait(.1)
  485. local bambam = Instance.new("BodyThrust")
  486. bambam.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  487. bambam.Force = Vector3.new(power,0,power)
  488. bambam.Location = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  489. print("Spin Fling (R6) Enabled")
  490. end)
  491. local b = w:Button("Spin Fling (R15)", function()
  492. power = 500 -- change this to make it more or less powerful
  493.  
  494. game:GetService('RunService').Stepped:connect(function()
  495. game.Players.LocalPlayer.Character.Head.CanCollide = false
  496. game.Players.LocalPlayer.Character.UpperTorso.CanCollide = false
  497. game.Players.LocalPlayer.Character.LowerTorso.CanCollide = false
  498. game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
  499. end)
  500. wait(.1)
  501. local bambam = Instance.new("BodyThrust")
  502. bambam.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  503. bambam.Force = Vector3.new(power,0,power)
  504. bambam.Location = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  505. print("Spin Fling (R15) Enabled")
  506. end)
  507. local b = w:Button("Invisible Fling", function()
  508.  
  509.  
  510.  
  511. spawn(function()
  512. local message = Instance.new("Message",workspace)
  513. message.Text = "Loaded Press 'z' To Execute Invisibility , Press 'x' To Respawn)"
  514. wait(0.5)
  515. message:Destroy()
  516. end)
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525. local mouse = game.Players.LocalPlayer:GetMouse()
  526.  
  527. local groot = nil
  528.  
  529. mouse.KeyDown:connect(function(k)
  530.  
  531. if k == "z" then
  532.  
  533.  
  534.  
  535. spawn(function()
  536. local message = Instance.new("Message",workspace)
  537. message.Text = "Fe Invisible Fling By Loaded (Wait 11 Seconds To Load)"
  538. wait(11)
  539. message:Destroy()
  540. end)
  541.  
  542.  
  543. local ch = game.Players.LocalPlayer.Character
  544. local prt=Instance.new("Model", workspace)
  545. local z1 = Instance.new("Part", prt)
  546. z1.Name="Torso"
  547. z1.CanCollide = false
  548. z1.Anchored = true
  549. local z2 =Instance.new("Part", prt)
  550. z2.Name="Head"
  551. z2.Anchored = true
  552. z2.CanCollide = false
  553. local z3 =Instance.new("Humanoid", prt)
  554. z3.Name="Humanoid"
  555. z1.Position = Vector3.new(0,9999,0)
  556. z2.Position = Vector3.new(0,9991,0)
  557. game.Players.LocalPlayer.Character=prt
  558. wait(5)
  559. game.Players.LocalPlayer.Character=ch
  560. wait(6)
  561.  
  562.  
  563. local plr = game.Players.LocalPlayer
  564. mouse = plr:GetMouse()
  565.  
  566. local Hum = Instance.new("Humanoid")
  567. Hum.Parent = game.Players.LocalPlayer.Character
  568.  
  569.  
  570. local root = game.Players.LocalPlayer.Character.HumanoidRootPart
  571.  
  572.  
  573. for i,v in pairs(plr.Character:GetChildren()) do
  574.  
  575. if v ~= root and v.Name ~= "Humanoid" then
  576.  
  577. v:Destroy()
  578.  
  579. end
  580.  
  581.  
  582. end
  583.  
  584. workspace.CurrentCamera.CameraSubject = root
  585.  
  586. local se = Instance.new("SelectionBox",root)
  587. se.Adornee = root
  588.  
  589.  
  590. game:GetService('RunService').Stepped:connect(function()
  591. game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
  592. end)
  593. game:GetService('RunService').RenderStepped:connect(function()
  594. game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
  595. end)
  596.  
  597.  
  598. power = 999999 -- change this to make it more or less powerful
  599.  
  600. power = power*10
  601.  
  602. ---
  603. wait(.1)
  604. local bambam = Instance.new("BodyThrust")
  605. bambam.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
  606. bambam.Force = Vector3.new(power,0,power)
  607. bambam.Location = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  608.  
  609.  
  610.  
  611.  
  612.  
  613. local plr = game.Players.LocalPlayer
  614. local torso = root
  615. local flying = true
  616. local deb = true
  617. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  618. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  619. local maxspeed = 120
  620. local speed = 15
  621.  
  622.  
  623. ---local bambam = Instance.new("BodyThrust")
  624. ---bambam.Parent = torso
  625. --bambam.Force = Vector3.new(9999999,0,9999999)
  626. --bambam.Location = torso.Position
  627.  
  628.  
  629. ---
  630. groot = root
  631.  
  632. function Fly()
  633. local bg = Instance.new("BodyGyro", torso)
  634. bg.P = 9e4
  635. bg.maxTorque = Vector3.new(0, 0, 0)
  636. bg.cframe = torso.CFrame
  637. local bv = Instance.new("BodyVelocity", torso)
  638. bv.velocity = Vector3.new(0,0,0)
  639. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  640. repeat wait()
  641.  
  642. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  643. speed = speed+.2
  644. if speed > maxspeed then
  645. speed = maxspeed
  646. end
  647. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  648. speed = speed-1
  649. if speed < 0 then
  650. speed = 0
  651. end
  652. end
  653. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  654. 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
  655. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  656. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  657. 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
  658. else
  659. bv.velocity = Vector3.new(0,0.1,0)
  660. end
  661.  
  662. until not flying
  663. ctrl = {f = 0, b = 0, l = 0, r = 0}
  664. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  665. speed = 0
  666. bg:Destroy()
  667. bv:Destroy()
  668.  
  669. end
  670. mouse.KeyDown:connect(function(key)
  671. if key:lower() == "e" then
  672. if flying then flying = false
  673. else
  674. flying = true
  675. Fly()
  676. end
  677. elseif key:lower() == "w" then
  678. ctrl.f = 1
  679. elseif key:lower() == "s" then
  680. ctrl.b = -1
  681. elseif key:lower() == "a" then
  682. ctrl.l = -1
  683. elseif key:lower() == "d" then
  684. ctrl.r = 1
  685. end
  686. end)
  687. mouse.KeyUp:connect(function(key)
  688. if key:lower() == "w" then
  689. ctrl.f = 0
  690. elseif key:lower() == "s" then
  691. ctrl.b = 0
  692. elseif key:lower() == "a" then
  693. ctrl.l = 0
  694. elseif key:lower() == "d" then
  695. ctrl.r = 0
  696. elseif key:lower() == "r" then
  697.  
  698. end
  699. end)
  700. Fly()
  701.  
  702.  
  703.  
  704. elseif k == "x" then
  705.  
  706.  
  707. spawn(function()
  708. local message = Instance.new("Message",workspace)
  709. message.Text = "Respawning Don't Spam"
  710. wait(1)
  711. message:Destroy()
  712. end)
  713.  
  714. local saved = groot.Position
  715.  
  716. local ch = game.Players.LocalPlayer.Character
  717. local prt=Instance.new("Model", workspace)
  718. local z1 = Instance.new("Part", prt)
  719. z1.Name="Torso"
  720. z1.CanCollide = false
  721. z1.Anchored = true
  722. local z2 =Instance.new("Part", prt)
  723. z2.Name="Head"
  724. z2.Anchored = true
  725. z2.CanCollide = false
  726. local z3 =Instance.new("Humanoid", prt)
  727. z3.Name="Humanoid"
  728. z1.Position = Vector3.new(0,9999,0)
  729. z2.Position = Vector3.new(0,9991,0)
  730. game.Players.LocalPlayer.Character=prt
  731. wait(5)
  732. game.Players.LocalPlayer.Character=ch
  733. local poop = nil
  734. repeat wait() poop = game.Players.LocalPlayer.Character:FindFirstChild("Head") until poop ~= nil
  735. wait(1)
  736. game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(saved)
  737. print("Invisible Fling Enabled")
  738.  
  739. end
  740.  
  741.  
  742. end)
  743. end)
  744. w:Section('Fly')
  745. w:Button("Fly (f)", function()
  746. repeat wait()
  747. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("UpperTorso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  748. local mouse = game.Players.LocalPlayer:GetMouse()
  749. repeat wait() until mouse
  750. local plr = game.Players.LocalPlayer
  751. local UpperTorso = plr.Character.UpperTorso
  752. local flying = true
  753. local deb = true
  754. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  755. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  756. local maxspeed = 100
  757. local speed = 1
  758.  
  759. function Fly()
  760. plr.Character.Humanoid.WalkSpeed = 16.5
  761. plr.Character.Humanoid.JumpPower = 50.5
  762. local bg = Instance.new("BodyGyro", UpperTorso)
  763. bg.P = 9e4
  764. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  765. bg.cframe = UpperTorso.CFrame
  766. local bv = Instance.new("BodyVelocity", UpperTorso)
  767. bv.velocity = Vector3.new(0,0.1,0)
  768. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  769. repeat wait()
  770. plr.Character.Humanoid.PlatformStand = true
  771. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  772. speed = speed+.5+(speed/maxspeed)
  773. if speed > maxspeed then
  774. speed = maxspeed
  775. end
  776. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  777. speed = speed-1
  778. if speed < 0 then
  779. speed = 0
  780. end
  781. end
  782. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  783. 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
  784. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  785. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  786. 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
  787. else
  788. bv.velocity = Vector3.new(0,0.1,0)
  789. end
  790. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  791. until not flying
  792. ctrl = {f = 0, b = 0, l = 0, r = 0}
  793. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  794. speed = 0
  795. bg:Destroy()
  796. bv:Destroy()
  797. plr.Character.Humanoid.PlatformStand = false
  798. end
  799. mouse.KeyDown:connect(function(key)
  800. if key:lower() == "f" then
  801. if flying then flying = false
  802. else
  803. flying = true
  804. Fly()
  805. end
  806. elseif key:lower() == "w" then
  807. ctrl.f = 1
  808. elseif key:lower() == "s" then
  809. ctrl.b = -1
  810. elseif key:lower() == "a" then
  811. ctrl.l = -1
  812. elseif key:lower() == "d" then
  813. ctrl.r = 1
  814. end
  815. end)
  816. mouse.KeyUp:connect(function(key)
  817. if key:lower() == "w" then
  818. ctrl.f = 0
  819. elseif key:lower() == "s" then
  820. ctrl.b = 0
  821. elseif key:lower() == "a" then
  822. ctrl.l = 0
  823. elseif key:lower() == "d" then
  824. ctrl.r = 0
  825. end
  826. end)
  827. Fly()
  828. print("Fly Enabled")
  829. end)
  830. local b = w:Button("Destroy Gui", function()
  831. game:GetService("CoreGui").ScreenGui:Destroy()
  832. print("Gui Destroyed")
  833. end)
  834. game:GetService("Workspace").ExploitCheckRemote:Destroy()
  835. print("AntiCheat Deactivated")
  836. print("Gui Loaded")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement