Advertisement
zetoirque

MainWano.lua

Mar 19th, 2023 (edited)
555
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 13.92 KB | None | 0 0
  1. for i,v in pairs(getconnections(game:GetService("Players").LocalPlayer.Idled)) do
  2.     v:Disable()
  3. end
  4.  
  5. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
  6. local Notification = loadstring(game:HttpGet("https://raw.githubusercontent.com/Jxereas/UI-Libraries/main/notification_gui_library.lua", true))()
  7.  
  8. getgenv().FlySpeed = 500;
  9. getgenv().AutoOpen = false;
  10. getgenv().AutoFastOpen = false;
  11.  
  12.  
  13. local Sound = Instance.new("Sound",game:GetService("SoundService"))
  14. Sound.SoundId = "rbxassetid://232127604"
  15.  
  16. local Boar = Instance.new("Sound",game:GetService("SoundService"))
  17. Boar.SoundId = "rbxassetid://362658601"
  18. Boar.Volume = 10
  19.  
  20. local FruitSound = Instance.new("Sound",game:GetService("SoundService"))
  21. FruitSound.SoundId = "rbxassetid://1385472784"
  22. FruitSound.Volume = 10
  23.  
  24. local Main = Library.CreateLib("SCRIPT BY ZETOIRQUE", "Ocean")
  25.  
  26. local RealMainTab = Main:NewTab("Main")
  27. local CodeSection = RealMainTab:NewSection("Codes")
  28. local OpenSection = RealMainTab:NewSection("Auto-Open")
  29.  
  30. local MainTab = Main:NewTab("Player")
  31.  
  32. local OtherTab = Main:NewTab("Settings")
  33. local OtherSection = OtherTab:NewSection("Other")
  34. local SettingsSection = OtherTab:NewSection("Settings")
  35. local CustomisationSection = OtherTab:NewSection("Customisation")
  36.  
  37.  
  38.  
  39. local player = game.Players.LocalPlayer
  40. local char = player.Character
  41. local uis = game:GetService("UserInputService")
  42.  
  43.  
  44.  
  45.  
  46. --MainTabScripts
  47. function AllCode()
  48.  
  49.     local args = {[1] = "Codes",[2] = "Redeem",[3] = {["Code"] = "190KWOWBRUH"}}
  50.     game:GetService("ReplicatedStorage").Replicator:InvokeServer(unpack(args))
  51.  
  52.     local args = {[1] = "Codes",[2] = "Redeem",[3] = {["Code"] = "FUNNYNUMBER"}}
  53.     game:GetService("ReplicatedStorage").Replicator:InvokeServer(unpack(args))
  54.  
  55.     local args = {[1] = "Codes",[2] = "Redeem",[3] = {["Code"] = "SHUTDOWNLUCK"}}
  56.     game:GetService("ReplicatedStorage").Replicator:InvokeServer(unpack(args))
  57.  
  58.     local args = {[1] = "Codes",[2] = "Redeem",[3] = {["Code"] = "CANTSTOP"}}
  59.     game:GetService("ReplicatedStorage").Replicator:InvokeServer(unpack(args))
  60.  
  61.     local args = {[1] = "Codes",[2] = "Redeem",[3] = {["Code"] = "DUBMINER"}}
  62.     game:GetService("ReplicatedStorage").Replicator:InvokeServer(unpack(args))
  63.  
  64.     local args = {[1] = "Codes",[2] = "Redeem",[3] = {["Code"] = "NEVERSTOP"}}
  65.     game:GetService("ReplicatedStorage").Replicator:InvokeServer(unpack(args))
  66.  
  67.     local args = {[1] = "Codes",[2] = "Redeem",[3] = {["Code"] = "YESSIRBIG200!"}}
  68.     game:GetService("ReplicatedStorage").Replicator:InvokeServer(unpack(args))
  69.  
  70.     local args = {[1] = "Codes",[2] = "Redeem",[3] = {["Code"] = "ITKEEPSCOMING!"}}
  71.     game:GetService("ReplicatedStorage").Replicator:InvokeServer(unpack(args))
  72.  
  73.     local args = {[1] = "Codes",[2] = "Redeem",[3] = {["Code"] = "LIT210"}}
  74.     game:GetService("ReplicatedStorage").Replicator:InvokeServer(unpack(args))
  75.  
  76.     local args = {[1] = "Codes",[2] = "Redeem",[3] = {["Code"] = "BRO220K"}}
  77.     game:GetService("ReplicatedStorage").Replicator:InvokeServer(unpack(args))
  78.  
  79. end
  80.  
  81.  
  82. function AutoOpenFunc()
  83. task.spawn(function()
  84.  
  85.     while AutoOpen == true do
  86.  
  87.         if game:GetService("Players").LocalPlayer["MAIN_DATA"].Gems.Value >= 50 then
  88.  
  89.             if game:GetService("Players").LocalPlayer.PlayerGui.UI.Spin.Topbar.TxT.Text == "Fruit : Dough" or game:GetService("Players").LocalPlayer.PlayerGui.UI.Spin.Topbar.TxT.Text == "Fruit : TSRrubber"  or game:GetService("Players").LocalPlayer.PlayerGui.UI.Spin.Topbar.TxT.Text == "Fruit : Dragon" or game:GetService("Players").LocalPlayer.PlayerGui.UI.Spin.Topbar.TxT.Text == "Fruit : TSRrubber" then
  90.  
  91.                 FruitSound:Play()
  92.  
  93.             else
  94.  
  95.                 local args = {[1] = "FruitsHandler",[2] = "Spin",[3] = {}}
  96.                 game:GetService("ReplicatedStorage").Replicator:InvokeServer(unpack(args))
  97.  
  98.             end
  99.  
  100.         else
  101.  
  102.             Boar:Play()
  103.  
  104.  
  105.         end
  106.         wait(6)
  107.  
  108.  
  109.     end
  110.  
  111. end)
  112. end
  113.  
  114. function AutoFastOpenFunc()
  115.     task.spawn(function()
  116.    
  117.         while AutoFastOpen == true do
  118.    
  119.             if game:GetService("Players").LocalPlayer["MAIN_DATA"].Gems.Value >= 50 then
  120.    
  121.                 if game:GetService("Players").LocalPlayer.PlayerGui.UI.Spin.Topbar.TxT.Text == "Fruit : Dough" or game:GetService("Players").LocalPlayer.PlayerGui.UI.Spin.Topbar.TxT.Text == "Fruit : TSRrubber"  or game:GetService("Players").LocalPlayer.PlayerGui.UI.Spin.Topbar.TxT.Text == "Fruit : Dragon" or game:GetService("Players").LocalPlayer.PlayerGui.UI.Spin.Topbar.TxT.Text == "Fruit : TSRrubber" then
  122.    
  123.                     FruitSound:Play()
  124.    
  125.                 else
  126.  
  127.                     local args = {[1] = "FruitsHandler",[2] = "Spin",[3] = {["Type"] = "Fast"}}
  128.                     game:GetService("ReplicatedStorage").Replicator:InvokeServer(unpack(args))
  129.  
  130.    
  131.                 end
  132.    
  133.             else
  134.    
  135.                 Boar:Play()
  136.    
  137.    
  138.             end
  139.             wait(2)
  140.    
  141.    
  142.         end
  143.    
  144.     end)
  145.     end
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152. --UI SCRIPTS:
  153.  
  154. CodeSection:NewButton("Redeem-All-Codes", "", function()
  155.  
  156.     AllCode()
  157.  
  158. end)
  159.  
  160.  
  161. OpenSection:NewToggle("Auto-Open", "", function(state)
  162.     if state then
  163.  
  164.         AutoOpen = true
  165.         AutoOpenFunc()
  166.  
  167.     else
  168.  
  169.         AutoOpen = false
  170.         AutoOpenFunc()
  171.         Boar:Stop()
  172.  
  173.     end
  174. end)
  175.  
  176. OpenSection:NewToggle("Auto-Fast-Open", "", function(state)
  177.     if state then
  178.  
  179.         AutoFastOpen = true
  180.         AutoFastOpenFunc()
  181.  
  182.     else
  183.  
  184.         AutoFastOpen = false
  185.         AutoFastOpenFunc()
  186.         Boar:Stop()
  187.  
  188.     end
  189. end)
  190.  
  191.  
  192. --Other Section
  193.  
  194. OtherSection:NewButton("Rejoin Server", "Make You Rejoin The Server Where You Are",function()
  195.  
  196.     game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, game.JobId, game.Players.LocalPlayer)
  197.  
  198. end)
  199.  
  200. SettingsSection:NewKeybind("ToggleUI", "", Enum.KeyCode.LeftAlt, function()
  201.     Library:ToggleUI()
  202. end)
  203.  
  204.  
  205. local themes = {
  206.     SchemeColor = Color3.fromRGB(46, 48, 43),
  207.     Background = Color3.fromRGB(13, 15, 12),
  208.     Header = Color3.fromRGB(36, 38, 35),
  209.     TextColor = Color3.fromRGB(152, 99, 53),
  210.     ElementColor = Color3.fromRGB(24, 24, 24)
  211. }
  212.  
  213. for theme, color in pairs(themes) do
  214.     CustomisationSection:NewColorPicker(theme, "Change your "..theme, color, function(color3)
  215.         Library:ChangeColor(theme, color3)
  216.     end)
  217. end
  218.  
  219.  
  220.  
  221. Sound:Play()
  222. Notification.new("success", "Script Fully Load !", "Script By Zetoirque.", true, 3)
  223. wait(1)
  224. Notification.new("info", "Information", "Press Play To Load The Player Tab Things !!", true, 5)
  225.  
  226.  
  227.  
  228. --FlyScript
  229. repeat wait()
  230.  
  231. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Head") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  232.  
  233. local mouse = game.Players.LocalPlayer:GetMouse()
  234.  
  235. repeat wait() until mouse
  236.  
  237. local plr = game.Players.LocalPlayer
  238. local torso = plr.Character.Head
  239. local flying = false
  240. local deb = true
  241. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  242. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  243. local maxspeed = 400
  244. local speed = 0
  245.  
  246. function Fly()
  247.  
  248.     plr = game.Players.LocalPlayer
  249.     torso = plr.Character.Head  
  250.  
  251. local bg = Instance.new("BodyGyro", torso)
  252.  
  253. bg.P = 9e4
  254. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  255. bg.cframe = torso.CFrame
  256.  
  257. local bv = Instance.new("BodyVelocity", torso)
  258.  
  259. bv.velocity = Vector3.new(0,0.1,0)
  260. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  261.  
  262. repeat wait()
  263.  
  264. plr.Character.Humanoid.PlatformStand = true
  265.  
  266. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  267.  
  268.     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))*FlySpeed
  269.  
  270.     lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  271.  
  272. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  273.  
  274.     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))*FlySpeed
  275.  
  276. else
  277.  
  278.     bv.velocity = Vector3.new(0,0.1,0)
  279.  
  280. end
  281.  
  282. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  283.  
  284. until not flying
  285.  
  286. ctrl = {f = 0, b = 0, l = 0, r = 0}
  287. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  288. speed = 0
  289. bg:Destroy()
  290. bv:Destroy()
  291. plr.Character.Humanoid.PlatformStand = false
  292.  
  293. end
  294.  
  295. mouse.KeyDown:connect(function(key)
  296.  
  297.     if key:lower() == "w" then
  298.  
  299.         ctrl.f = 1
  300.  
  301.     elseif key:lower() == "s" then
  302.  
  303.         ctrl.b = -1
  304.  
  305.     elseif key:lower() == "a" then
  306.  
  307.         ctrl.l = -1
  308.  
  309.     elseif key:lower() == "d" then
  310.  
  311.         ctrl.r = 1
  312.  
  313.     end
  314.  
  315. end)
  316.  
  317. mouse.KeyUp:connect(function(key)
  318.  
  319.     if key:lower() == "w" then
  320.  
  321.         ctrl.f = 0
  322.  
  323.     elseif key:lower() == "s" then
  324.  
  325.         ctrl.b = 0
  326.  
  327.     elseif key:lower() == "a" then
  328.  
  329.         ctrl.l = 0
  330.  
  331.     elseif key:lower() == "d" then
  332.  
  333.         ctrl.r = 0
  334.  
  335.     end
  336.  
  337. end)
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345. local TPImportantePlace = RealMainTab:NewSection("Importante Place")
  346. local BossSection = RealMainTab:NewSection("Boss")
  347. local MainSection = MainTab:NewSection("Player Modification")
  348. local FlySection = MainTab:NewSection("Fly")
  349. local TpSection = MainTab:NewSection("TP")
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356. BossSection:NewButton("Tp To Kaido", "", function()
  357.  
  358.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-4165.23877, 1599.54797, 232.516251, -0.0875455886, -4.66348915e-08, -0.996160507, 6.9751664e-08, 1, -5.29446211e-08, 0.996160507, -7.41189154e-08, -0.0875455886)
  359.  
  360. end)
  361.  
  362. TPImportantePlace:NewButton("Tp To Dressrosa", "", function()
  363.  
  364.     game:GetService("TeleportService"):Teleport(9224601490, game.Players.LocalPlayer)
  365.    
  366. end)
  367.  
  368. TPImportantePlace:NewButton("Tp To Kuma", "", function()
  369.  
  370.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-2710.53857, 164.125946, 411.70816, -0.999971747, -5.65768978e-08, -0.00751561299, -5.66099878e-08, 1, 4.18996748e-09, 0.00751561299, 4.61530769e-09, -0.999971747)
  371.  
  372. end)
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388. --ClickTPVar
  389. local shifthold  = false
  390. local ClickTP = false
  391.  
  392. --ClickTPScript
  393. mouse.Button1Down:Connect(function()
  394.     if shifthold then
  395.         if ClickTP == true then
  396.                 game:GetService("Players").LocalPlayer.Character:MoveTo(mouse.Hit.p)
  397.            end
  398.        end
  399.    end)
  400.    
  401.     uis.InputBegan:Connect(function(input, process)
  402.          if ClickTP == true then
  403.           if input.KeyCode == Enum.KeyCode.LeftAlt then
  404.              shifthold = true
  405.          end
  406.          end
  407.    end)
  408.      
  409.    uis.InputEnded:Connect(function(input, process)
  410.          if ClickTP == true then
  411.             if input.KeyCode == Enum.KeyCode.LeftAlt then
  412.                   shifthold = false
  413.           end
  414.         end
  415. end)
  416.  
  417.  
  418.  
  419.  
  420. MainSection:NewSlider("WalkSpeed", "", 500, 15, function(s)
  421.    
  422.     game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = s
  423. end)
  424.  
  425. MainSection:NewSlider("JumpHeigh", "", 500, 7, function(s)
  426.     game.Players.LocalPlayer.Character.Humanoid.JumpHeight = s
  427. end)
  428.  
  429. MainSection:NewToggle("Click-TP", "", function(state)
  430.     if state then
  431.         ClickTP = true
  432.         shifthold  = false
  433.     else
  434.         ClickTP = false
  435.         shifthold  = false
  436.     end
  437. end)
  438.  
  439.  
  440. FlySection:NewKeybind("Fly", "", Enum.KeyCode.H, function()
  441.  
  442.     if flying == true then
  443.  
  444.         flying = false
  445.  
  446.     else
  447.  
  448.         flying = true
  449.         Fly()
  450.  
  451.     end
  452. end)
  453.  
  454. FlySection:NewSlider("FlySpeed", "", 400, 10, function(s)
  455.     FlySpeed = s
  456. end)
  457.  
  458. FlySection:NewToggle("No-Clip", "", function(state)
  459.  
  460.     if state then
  461.         for i, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  462.             if v:IsA("BasePart") then
  463.                 v.CanCollide = false
  464.             end
  465.         end
  466.  
  467.     else
  468.  
  469.         for i, v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  470.             if v:IsA("BasePart") then
  471.                 v.CanCollide = true
  472.             end
  473.         end
  474.  
  475.     end
  476.  
  477. end)
  478.  
  479.  
  480. local oldList = {"Click The Refresh Button To See The Players"}
  481.  
  482. local dropdown = TpSection:NewDropdown("Tp To a Player","", oldList, function(r)
  483.  
  484.     if r == oldList[1] then
  485.        
  486.         Notification.new("info", "Information", "Click The Refresh Button To Start Using This", true, 5)
  487.    
  488.     elseif game.Players:FindFirstChild(tostring(r)).Character then
  489.  
  490.          game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players:FindFirstChild(tostring(r)).Character.HumanoidRootPart.CFrame
  491.  
  492.     else
  493.  
  494.         Notification.new("warning", "Warning", "You Can't Actually TP To This Player, Try To Refresh", true, 5)
  495.  
  496.     end
  497.  
  498. end)
  499.  
  500. local dropdown2 = TpSection:NewDropdown("Watch A Player","", oldList, function(r)
  501.  
  502.     if r == oldList[1] then
  503.        
  504.         Notification.new("info", "Information", "Click The Refresh Button To Start Using This", true, 5)
  505.    
  506.     elseif game.Players:FindFirstChild(tostring(r)).Character then
  507.  
  508.          workspace.CurrentCamera.CameraSubject = game.Players:FindFirstChild(tostring(r)).Character.Humanoid
  509.  
  510.     else
  511.  
  512.         Notification.new("warning", "Warning", "You Can't Actually Watch This Player, Try To Refresh", true, 5)
  513.  
  514.     end
  515.  
  516. end)
  517.  
  518. TpSection:NewButton("Refresh Player Dropdown", "Refreshes Dropdown", function()
  519.  
  520.     local players = {}
  521.     for i, v in pairs(game.Players:GetChildren()) do
  522.    
  523.         players[i] = v.Name
  524.    
  525.     end
  526.  
  527.  
  528.     dropdown:Refresh(players)
  529.     dropdown2:Refresh(players)
  530.  
  531. end)
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550. wait(1)
  551. Sound:Play()
  552. Notification.new("success", "Script Fully Load !", "Script By Zetoirque.", true, 3)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement