Advertisement
MN4

[DEOBFUSCATED] ARCEUS X FLY V2 SCRIPT FOR ROBLOX

MN4
Feb 13th, 2022 (edited)
7,642
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 13.59 KB | None | 1 0
  1. -- Arceus X fly V2 script for roblox by me_ozoneYT
  2. -- Deobfuscated by tiktok.com/@idkncc
  3. -- Enjoy :D
  4.  
  5. -- Instances:
  6.  
  7. local main = Instance.new("ScreenGui")
  8. local Frame = Instance.new("Frame")
  9. local up = Instance.new("TextButton")
  10. local down = Instance.new("TextButton")
  11. local onof = Instance.new("TextButton")
  12. local TextLabel = Instance.new("TextLabel")
  13. local plus = Instance.new("TextButton")
  14. local speed = Instance.new("TextLabel")
  15. local mine = Instance.new("TextButton")
  16.  
  17. --Properties:
  18.  
  19. main.Name = "main"
  20. main.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  21. main.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  22.  
  23. Frame.Parent = main
  24. Frame.BackgroundColor3 = Color3.fromRGB(163, 255, 137)
  25. Frame.BorderColor3 = Color3.fromRGB(103, 221, 213)
  26. Frame.Position = UDim2.new(0.100320168, 0, 0.379746825, 0)
  27. Frame.Size = UDim2.new(0, 190, 0, 57)
  28.  
  29. up.Name = "up"
  30. up.Parent = Frame
  31. up.BackgroundColor3 = Color3.fromRGB(79, 255, 152)
  32. up.Size = UDim2.new(0, 44, 0, 28)
  33. up.Font = Enum.Font.SourceSans
  34. up.Text = "UP"
  35. up.TextColor3 = Color3.fromRGB(0, 0, 0)
  36. up.TextSize = 14.000
  37.  
  38. down.Name = "down"
  39. down.Parent = Frame
  40. down.BackgroundColor3 = Color3.fromRGB(215, 255, 121)
  41. down.Position = UDim2.new(0, 0, 0.491228074, 0)
  42. down.Size = UDim2.new(0, 44, 0, 28)
  43. down.Font = Enum.Font.SourceSans
  44. down.Text = "DOWN"
  45. down.TextColor3 = Color3.fromRGB(0, 0, 0)
  46. down.TextSize = 14.000
  47.  
  48. onof.Name = "onof"
  49. onof.Parent = Frame
  50. onof.BackgroundColor3 = Color3.fromRGB(255, 249, 74)
  51. onof.Position = UDim2.new(0.702823281, 0, 0.491228074, 0)
  52. onof.Size = UDim2.new(0, 56, 0, 28)
  53. onof.Font = Enum.Font.SourceSans
  54. onof.Text = "fly"
  55. onof.TextColor3 = Color3.fromRGB(0, 0, 0)
  56. onof.TextSize = 14.000
  57.  
  58. TextLabel.Parent = Frame
  59. TextLabel.BackgroundColor3 = Color3.fromRGB(242, 60, 255)
  60. TextLabel.Position = UDim2.new(0.469327301, 0, 0, 0)
  61. TextLabel.Size = UDim2.new(0, 100, 0, 28)
  62. TextLabel.Font = Enum.Font.SourceSans
  63. TextLabel.Text = "gui by me_ozoneYT"
  64. TextLabel.TextColor3 = Color3.fromRGB(0, 0, 0)
  65. TextLabel.TextScaled = true
  66. TextLabel.TextSize = 14.000
  67. TextLabel.TextWrapped = true
  68.  
  69. plus.Name = "plus"
  70. plus.Parent = Frame
  71. plus.BackgroundColor3 = Color3.fromRGB(133, 145, 255)
  72. plus.Position = UDim2.new(0.231578946, 0, 0, 0)
  73. plus.Size = UDim2.new(0, 45, 0, 28)
  74. plus.Font = Enum.Font.SourceSans
  75. plus.Text = "+"
  76. plus.TextColor3 = Color3.fromRGB(0, 0, 0)
  77. plus.TextScaled = true
  78. plus.TextSize = 14.000
  79. plus.TextWrapped = true
  80.  
  81. speed.Name = "speed"
  82. speed.Parent = Frame
  83. speed.BackgroundColor3 = Color3.fromRGB(255, 85, 0)
  84. speed.Position = UDim2.new(0.468421042, 0, 0.491228074, 0)
  85. speed.Size = UDim2.new(0, 44, 0, 28)
  86. speed.Font = Enum.Font.SourceSans
  87. speed.Text = "1"
  88. speed.TextColor3 = Color3.fromRGB(0, 0, 0)
  89. speed.TextScaled = true
  90. speed.TextSize = 14.000
  91. speed.TextWrapped = true
  92.  
  93. mine.Name = "mine"
  94. mine.Parent = Frame
  95. mine.BackgroundColor3 = Color3.fromRGB(123, 255, 247)
  96. mine.Position = UDim2.new(0.231578946, 0, 0.491228074, 0)
  97. mine.Size = UDim2.new(0, 45, 0, 29)
  98. mine.Font = Enum.Font.SourceSans
  99. mine.Text = "-"
  100. mine.TextColor3 = Color3.fromRGB(0, 0, 0)
  101. mine.TextScaled = true
  102. mine.TextSize = 14.000
  103. mine.TextWrapped = true
  104.  
  105. speeds = 1
  106.  
  107. local speaker = game:GetService("Players").LocalPlayer
  108.  
  109. local chr = game.Players.LocalPlayer.Character
  110. local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
  111.  
  112. nowe = false
  113.  
  114. game:GetService("StarterGui"):SetCore("SendNotification", {
  115.     Title = "GO SUB TO HIM";
  116.     Text = "fly gui by me_ozoneYT";
  117.     Icon = "rbxthumb://type=Asset&id=5107182114&w=150&h=150"})
  118. Duration = 16;
  119.  
  120. Frame.Active = true -- main = gui
  121. Frame.Draggable = true
  122.  
  123. onof.MouseButton1Down:connect(function()
  124.  
  125.     if nowe == true then
  126.         nowe = false
  127.  
  128.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing,true)
  129.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown,true)
  130.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying,true)
  131.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall,true)
  132.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,true)
  133.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping,true)
  134.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Landed,true)
  135.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics,true)
  136.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding,true)
  137.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,true)
  138.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Running,true)
  139.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.RunningNoPhysics,true)
  140.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated,true)
  141.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.StrafingNoPhysics,true)
  142.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming,true)
  143.         speaker.Character.Humanoid:ChangeState(Enum.HumanoidStateType.RunningNoPhysics)
  144.     else
  145.         nowe = true
  146.  
  147.  
  148.  
  149.         for i = 1, speeds do
  150.             spawn(function()
  151.  
  152.                 local hb = game:GetService("RunService").Heartbeat 
  153.  
  154.  
  155.                 tpwalking = true
  156.                 local chr = game.Players.LocalPlayer.Character
  157.                 local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
  158.                 while tpwalking and hb:Wait() and chr and hum and hum.Parent do
  159.                     if hum.MoveDirection.Magnitude > 0 then
  160.                         chr:TranslateBy(hum.MoveDirection)
  161.                     end
  162.                 end
  163.  
  164.             end)
  165.         end
  166.         game.Players.LocalPlayer.Character.Animate.Disabled = true
  167.         local Char = game.Players.LocalPlayer.Character
  168.         local Hum = Char:FindFirstChildOfClass("Humanoid") or Char:FindFirstChildOfClass("AnimationController")
  169.  
  170.         for i,v in next, Hum:GetPlayingAnimationTracks() do
  171.             v:AdjustSpeed(0)
  172.         end
  173.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing,false)
  174.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown,false)
  175.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying,false)
  176.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall,false)
  177.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,false)
  178.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping,false)
  179.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Landed,false)
  180.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics,false)
  181.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding,false)
  182.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,false)
  183.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Running,false)
  184.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.RunningNoPhysics,false)
  185.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated,false)
  186.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.StrafingNoPhysics,false)
  187.         speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming,false)
  188.         speaker.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Swimming)
  189.     end
  190.  
  191.  
  192.  
  193.  
  194.     if game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R6 then
  195.  
  196.  
  197.  
  198.         local plr = game.Players.LocalPlayer
  199.         local torso = plr.Character.Torso
  200.         local flying = true
  201.         local deb = true
  202.         local ctrl = {f = 0, b = 0, l = 0, r = 0}
  203.         local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  204.         local maxspeed = 50
  205.         local speed = 0
  206.  
  207.  
  208.         local bg = Instance.new("BodyGyro", torso)
  209.         bg.P = 9e4
  210.         bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  211.         bg.cframe = torso.CFrame
  212.         local bv = Instance.new("BodyVelocity", torso)
  213.         bv.velocity = Vector3.new(0,0.1,0)
  214.         bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  215.         if nowe == true then
  216.             plr.Character.Humanoid.PlatformStand = true
  217.         end
  218.         while nowe == true or game:GetService("Players").LocalPlayer.Character.Humanoid.Health == 0 do
  219.             game:GetService("RunService").RenderStepped:Wait()
  220.  
  221.             if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  222.                 speed = speed+.5+(speed/maxspeed)
  223.                 if speed > maxspeed then
  224.                     speed = maxspeed
  225.                 end
  226.             elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  227.                 speed = speed-1
  228.                 if speed < 0 then
  229.                     speed = 0
  230.                 end
  231.             end
  232.             if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  233.                 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
  234.                 lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  235.             elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  236.                 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
  237.             else
  238.                 bv.velocity = Vector3.new(0,0,0)
  239.             end
  240.             --  game.Players.LocalPlayer.Character.Animate.Disabled = true
  241.             bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  242.         end
  243.         ctrl = {f = 0, b = 0, l = 0, r = 0}
  244.         lastctrl = {f = 0, b = 0, l = 0, r = 0}
  245.         speed = 0
  246.         bg:Destroy()
  247.         bv:Destroy()
  248.         plr.Character.Humanoid.PlatformStand = false
  249.         game.Players.LocalPlayer.Character.Animate.Disabled = false
  250.         tpwalking = false
  251.  
  252.  
  253.  
  254.  
  255.     else
  256.         local plr = game.Players.LocalPlayer
  257.         local UpperTorso = plr.Character.UpperTorso
  258.         local flying = true
  259.         local deb = true
  260.         local ctrl = {f = 0, b = 0, l = 0, r = 0}
  261.         local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  262.         local maxspeed = 50
  263.         local speed = 0
  264.  
  265.  
  266.         local bg = Instance.new("BodyGyro", UpperTorso)
  267.         bg.P = 9e4
  268.         bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  269.         bg.cframe = UpperTorso.CFrame
  270.         local bv = Instance.new("BodyVelocity", UpperTorso)
  271.         bv.velocity = Vector3.new(0,0.1,0)
  272.         bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  273.         if nowe == true then
  274.             plr.Character.Humanoid.PlatformStand = true
  275.         end
  276.         while nowe == true or game:GetService("Players").LocalPlayer.Character.Humanoid.Health == 0 do
  277.             wait()
  278.  
  279.             if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  280.                 speed = speed+.5+(speed/maxspeed)
  281.                 if speed > maxspeed then
  282.                     speed = maxspeed
  283.                 end
  284.             elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  285.                 speed = speed-1
  286.                 if speed < 0 then
  287.                     speed = 0
  288.                 end
  289.             end
  290.             if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  291.                 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
  292.                 lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  293.             elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  294.                 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
  295.             else
  296.                 bv.velocity = Vector3.new(0,0,0)
  297.             end
  298.  
  299.             bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  300.         end
  301.         ctrl = {f = 0, b = 0, l = 0, r = 0}
  302.         lastctrl = {f = 0, b = 0, l = 0, r = 0}
  303.         speed = 0
  304.         bg:Destroy()
  305.         bv:Destroy()
  306.         plr.Character.Humanoid.PlatformStand = false
  307.         game.Players.LocalPlayer.Character.Animate.Disabled = false
  308.         tpwalking = false
  309.  
  310.  
  311.  
  312.     end
  313.  
  314.  
  315.  
  316.  
  317.  
  318. end)
  319.  
  320.  
  321. up.MouseButton1Down:connect(function()
  322.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,2,0)
  323.    
  324. end)
  325.  
  326.  
  327. down.MouseButton1Down:connect(function()
  328.  
  329.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,-2,0)
  330.  
  331. end)
  332.  
  333.  
  334. game:GetService("Players").LocalPlayer.CharacterAdded:Connect(function(char)
  335.     wait(0.7)
  336.     game.Players.LocalPlayer.Character.Humanoid.PlatformStand = false
  337.     game.Players.LocalPlayer.Character.Animate.Disabled = false
  338.  
  339. end)
  340.  
  341.  
  342. plus.MouseButton1Down:connect(function()
  343.     speeds = speeds + 1
  344.     speed.Text = speeds
  345.     if nowe == true then
  346.        
  347.  
  348.     tpwalking = false
  349.     for i = 1, speeds do
  350.         spawn(function()
  351.  
  352.             local hb = game:GetService("RunService").Heartbeat 
  353.  
  354.  
  355.             tpwalking = true
  356.             local chr = game.Players.LocalPlayer.Character
  357.             local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
  358.             while tpwalking and hb:Wait() and chr and hum and hum.Parent do
  359.                 if hum.MoveDirection.Magnitude > 0 then
  360.                     chr:TranslateBy(hum.MoveDirection)
  361.                 end
  362.             end
  363.  
  364.         end)
  365.         end
  366.         end
  367. end)
  368. mine.MouseButton1Down:connect(function()
  369.     if speeds == 1 then
  370.         speed.Text = 'can not be less than 1'
  371.         wait(1)
  372.         speed.Text = speeds
  373.     else
  374.     speeds = speeds - 1
  375.         speed.Text = speeds
  376.         if nowe == true then
  377.     tpwalking = false
  378.     for i = 1, speeds do
  379.         spawn(function()
  380.  
  381.             local hb = game:GetService("RunService").Heartbeat 
  382.  
  383.  
  384.             tpwalking = true
  385.             local chr = game.Players.LocalPlayer.Character
  386.             local hum = chr and chr:FindFirstChildWhichIsA("Humanoid")
  387.             while tpwalking and hb:Wait() and chr and hum and hum.Parent do
  388.                 if hum.MoveDirection.Magnitude > 0 then
  389.                     chr:TranslateBy(hum.MoveDirection)
  390.                 end
  391.             end
  392.  
  393.         end)
  394.         end
  395.         end
  396.         end
  397. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement