Advertisement
zetoirque

MainWano.lua

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