Advertisement
bennytrt2

Build a Boat for Treasure Script

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