Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --ReddyGui Rewritten is here!
- --Username: Reddy
- --Password: Gui
- --Instances
- local ReddyGui = Instance.new("ScreenGui")
- local LoginFrame = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local Username = Instance.new("TextBox")
- local Password = Instance.new("TextBox")
- local LoginButton = Instance.new("TextButton")
- local MainFrame = Instance.new("Frame")
- local Bar1 = Instance.new("TextLabel")
- local Bar2 = Instance.new("TextLabel")
- local Button1 = Instance.new("TextButton")
- local Button2 = Instance.new("TextButton")
- local Button3 = Instance.new("TextButton")
- local Button4 = Instance.new("TextButton")
- local Button5 = Instance.new("TextButton")
- local ComingSoon = Instance.new("TextButton")
- local ComingSoon_2 = Instance.new("TextButton")
- local ComingSoon_3 = Instance.new("TextButton")
- local ComingSoon_4 = Instance.new("TextButton")
- local ComingSoon_5 = Instance.new("TextButton")
- local Title2 = Instance.new("TextLabel")
- local Exit1 = Instance.new("TextButton")
- local ExecutorButton = Instance.new("TextButton")
- local ExecutorFrame = Instance.new("Frame")
- local Bar1_2 = Instance.new("TextLabel")
- local Bar2_2 = Instance.new("TextLabel")
- local Executor = Instance.new("ScrollingFrame")
- local Input = Instance.new("TextBox")
- local ExecuteButton = Instance.new("TextButton")
- local ClearButton = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- local Exit2 = Instance.new("TextButton")
- -- Properties
- ReddyGui.Name = "ReddyGui"
- ReddyGui.Parent = game.CoreGui
- LoginFrame.Name = "LoginFrame"
- LoginFrame.Parent = ReddyGui
- LoginFrame.Active = true
- LoginFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- LoginFrame.BorderColor3 = Color3.new(0, 0, 0)
- LoginFrame.BorderSizePixel = 5
- LoginFrame.Position = UDim2.new(0.378115058, 0, 0.21811679, 0)
- LoginFrame.Size = UDim2.new(0, 381, 0, 415)
- LoginFrame.Style = Enum.FrameStyle.DropShadow
- LoginFrame.Draggable = true
- Title.Name = "Title"
- Title.Parent = LoginFrame
- Title.BackgroundColor3 = Color3.new(1, 1, 1)
- Title.BackgroundTransparency = 1
- Title.Position = UDim2.new(-0.00262467191, 0, -0.00240963884, 0)
- Title.Size = UDim2.new(0, 366, 0, 50)
- Title.Font = Enum.Font.Cartoon
- Title.Text = "ReddyGui"
- Title.TextColor3 = Color3.new(0, 0, 0)
- Title.TextScaled = true
- Title.TextSize = 14
- Title.TextWrapped = true
- Username.Name = "Username"
- Username.Parent = LoginFrame
- Username.BackgroundColor3 = Color3.new(1, 1, 1)
- Username.BackgroundTransparency = 1
- Username.Position = UDim2.new(0.0531340651, 0, 0.217959031, 0)
- Username.Size = UDim2.new(0, 324, 0, 50)
- Username.ClearTextOnFocus = false
- Username.Font = Enum.Font.SourceSans
- Username.Text = "Username"
- Username.TextColor3 = Color3.new(0, 0, 0)
- Username.TextScaled = true
- Username.TextSize = 14
- Username.TextWrapped = true
- Username.TextXAlignment = Enum.TextXAlignment.Left
- Password.Name = "Password"
- Password.Parent = LoginFrame
- Password.BackgroundColor3 = Color3.new(1, 1, 1)
- Password.BackgroundTransparency = 1
- Password.Position = UDim2.new(0.0553178787, 0, 0.384949923, 0)
- Password.Size = UDim2.new(0, 323, 0, 50)
- Password.ClearTextOnFocus = false
- Password.Font = Enum.Font.SourceSans
- Password.Text = "Password"
- Password.TextColor3 = Color3.new(0, 0, 0)
- Password.TextScaled = true
- Password.TextSize = 14
- Password.TextWrapped = true
- Password.TextXAlignment = Enum.TextXAlignment.Left
- LoginButton.Name = "LoginButton"
- LoginButton.Parent = LoginFrame
- LoginButton.BackgroundColor3 = Color3.new(0, 0, 0)
- LoginButton.Position = UDim2.new(0.225721791, 0, 0.648192823, 0)
- LoginButton.Size = UDim2.new(0, 200, 0, 50)
- LoginButton.Font = Enum.Font.Cartoon
- LoginButton.Text = "Login"
- LoginButton.TextColor3 = Color3.new(1, 1, 1)
- LoginButton.TextScaled = true
- LoginButton.TextSize = 14
- LoginButton.TextWrapped = true
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = ReddyGui
- MainFrame.Active = true
- MainFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- MainFrame.BorderColor3 = Color3.new(0, 0, 0)
- MainFrame.BorderSizePixel = 0
- MainFrame.Position = UDim2.new(0.309685379, 0, 0.185935631, 0)
- MainFrame.Size = UDim2.new(0, 596, 0, 442)
- MainFrame.Visible = false
- MainFrame.Draggable = true
- Bar1.Name = "Bar1"
- Bar1.Parent = MainFrame
- Bar1.BackgroundColor3 = Color3.new(0.815686, 0.0431373, 0.121569)
- Bar1.BorderColor3 = Color3.new(0.580392, 0.027451, 0.0941177)
- Bar1.BorderSizePixel = 0
- Bar1.Size = UDim2.new(0, 596, 0, 60)
- Bar1.Font = Enum.Font.SourceSans
- Bar1.Text = ""
- Bar1.TextColor3 = Color3.new(0, 0, 0)
- Bar1.TextSize = 14
- Bar2.Name = "Bar2"
- Bar2.Parent = Bar1
- Bar2.BackgroundColor3 = Color3.new(0.580392, 0.027451, 0.0941177)
- Bar2.BorderColor3 = Color3.new(0, 0, 0)
- Bar2.BorderSizePixel = 0
- Bar2.Position = UDim2.new(0, 0, 0.75, 0)
- Bar2.Size = UDim2.new(0, 596, 0, 15)
- Bar2.Font = Enum.Font.SourceSans
- Bar2.Text = ""
- Bar2.TextColor3 = Color3.new(0, 0, 0)
- Bar2.TextSize = 14
- Button1.Name = "Button1"
- Button1.Parent = MainFrame
- Button1.BackgroundColor3 = Color3.new(0.815686, 0.0431373, 0.121569)
- Button1.BorderColor3 = Color3.new(1, 1, 1)
- Button1.BorderSizePixel = 0
- Button1.Position = UDim2.new(0.0402684584, 0, 0.169683263, 0)
- Button1.Size = UDim2.new(0, 73, 0, 50)
- Button1.Font = Enum.Font.Cartoon
- Button1.Text = "Fly"
- Button1.TextColor3 = Color3.new(0, 0, 0)
- Button1.TextScaled = true
- Button1.TextSize = 14
- Button1.TextWrapped = true
- Button2.Name = "Button2"
- Button2.Parent = MainFrame
- Button2.BackgroundColor3 = Color3.new(0.815686, 0.0431373, 0.121569)
- Button2.BorderColor3 = Color3.new(1, 1, 1)
- Button2.BorderSizePixel = 0
- Button2.Position = UDim2.new(0.228187919, 0, 0.169683263, 0)
- Button2.Size = UDim2.new(0, 73, 0, 50)
- Button2.Font = Enum.Font.Cartoon
- Button2.Text = "Noclip"
- Button2.TextColor3 = Color3.new(0, 0, 0)
- Button2.TextScaled = true
- Button2.TextSize = 14
- Button2.TextWrapped = true
- Button3.Name = "Button3"
- Button3.Parent = MainFrame
- Button3.BackgroundColor3 = Color3.new(0.815686, 0.0431373, 0.121569)
- Button3.BorderColor3 = Color3.new(1, 1, 1)
- Button3.BorderSizePixel = 0
- Button3.Position = UDim2.new(0.42449668, 0, 0.169683263, 0)
- Button3.Size = UDim2.new(0, 73, 0, 50)
- Button3.Font = Enum.Font.Cartoon
- Button3.Text = "Infinite Jump"
- Button3.TextColor3 = Color3.new(0, 0, 0)
- Button3.TextScaled = true
- Button3.TextSize = 14
- Button3.TextWrapped = true
- Button4.Name = "Button4"
- Button4.Parent = MainFrame
- Button4.BackgroundColor3 = Color3.new(0.815686, 0.0431373, 0.121569)
- Button4.BorderColor3 = Color3.new(1, 1, 1)
- Button4.BorderSizePixel = 0
- Button4.Position = UDim2.new(0.619127512, 0, 0.169683263, 0)
- Button4.Size = UDim2.new(0, 73, 0, 50)
- Button4.Font = Enum.Font.Cartoon
- Button4.Text = "Walkspeed"
- Button4.TextColor3 = Color3.new(0, 0, 0)
- Button4.TextScaled = true
- Button4.TextSize = 14
- Button4.TextWrapped = true
- Button5.Name = "Button5"
- Button5.Parent = MainFrame
- Button5.BackgroundColor3 = Color3.new(0.815686, 0.0431373, 0.121569)
- Button5.BorderColor3 = Color3.new(1, 1, 1)
- Button5.BorderSizePixel = 0
- Button5.Position = UDim2.new(0.820469797, 0, 0.169683263, 0)
- Button5.Size = UDim2.new(0, 73, 0, 50)
- Button5.Font = Enum.Font.Cartoon
- Button5.Text = "Jump Power"
- Button5.TextColor3 = Color3.new(0, 0, 0)
- Button5.TextScaled = true
- Button5.TextSize = 14
- Button5.TextWrapped = true
- ComingSoon.Name = "ComingSoon"
- ComingSoon.Parent = MainFrame
- ComingSoon.BackgroundColor3 = Color3.new(0.580392, 0.027451, 0.0941177)
- ComingSoon.BorderColor3 = Color3.new(0, 0, 0)
- ComingSoon.BorderSizePixel = 3
- ComingSoon.Position = UDim2.new(0.0402684584, 0, 0.332579195, 0)
- ComingSoon.Size = UDim2.new(0, 73, 0, 50)
- ComingSoon.Font = Enum.Font.GothamBold
- ComingSoon.Text = "Soon"
- ComingSoon.TextColor3 = Color3.new(0, 0, 0)
- ComingSoon.TextScaled = true
- ComingSoon.TextSize = 14
- ComingSoon.TextWrapped = true
- ComingSoon_2.Name = "ComingSoon"
- ComingSoon_2.Parent = MainFrame
- ComingSoon_2.BackgroundColor3 = Color3.new(0.580392, 0.027451, 0.0941177)
- ComingSoon_2.BorderColor3 = Color3.new(0, 0, 0)
- ComingSoon_2.BorderSizePixel = 3
- ComingSoon_2.Position = UDim2.new(0.228187919, 0, 0.332579195, 0)
- ComingSoon_2.Size = UDim2.new(0, 73, 0, 50)
- ComingSoon_2.Font = Enum.Font.GothamBold
- ComingSoon_2.Text = "Soon"
- ComingSoon_2.TextColor3 = Color3.new(0, 0, 0)
- ComingSoon_2.TextScaled = true
- ComingSoon_2.TextSize = 14
- ComingSoon_2.TextWrapped = true
- ComingSoon_3.Name = "ComingSoon"
- ComingSoon_3.Parent = MainFrame
- ComingSoon_3.BackgroundColor3 = Color3.new(0.580392, 0.027451, 0.0941177)
- ComingSoon_3.BorderColor3 = Color3.new(0, 0, 0)
- ComingSoon_3.BorderSizePixel = 3
- ComingSoon_3.Position = UDim2.new(0.42449668, 0, 0.332579195, 0)
- ComingSoon_3.Size = UDim2.new(0, 73, 0, 50)
- ComingSoon_3.Font = Enum.Font.GothamBold
- ComingSoon_3.Text = "Soon"
- ComingSoon_3.TextColor3 = Color3.new(0, 0, 0)
- ComingSoon_3.TextScaled = true
- ComingSoon_3.TextSize = 14
- ComingSoon_3.TextWrapped = true
- ComingSoon_4.Name = "ComingSoon"
- ComingSoon_4.Parent = MainFrame
- ComingSoon_4.BackgroundColor3 = Color3.new(0.580392, 0.027451, 0.0941177)
- ComingSoon_4.BorderColor3 = Color3.new(0, 0, 0)
- ComingSoon_4.BorderSizePixel = 3
- ComingSoon_4.Position = UDim2.new(0.619127512, 0, 0.332579195, 0)
- ComingSoon_4.Size = UDim2.new(0, 73, 0, 50)
- ComingSoon_4.Font = Enum.Font.GothamBold
- ComingSoon_4.Text = "Soon"
- ComingSoon_4.TextColor3 = Color3.new(0, 0, 0)
- ComingSoon_4.TextScaled = true
- ComingSoon_4.TextSize = 14
- ComingSoon_4.TextWrapped = true
- ComingSoon_5.Name = "ComingSoon"
- ComingSoon_5.Parent = MainFrame
- ComingSoon_5.BackgroundColor3 = Color3.new(0.580392, 0.027451, 0.0941177)
- ComingSoon_5.BorderColor3 = Color3.new(0, 0, 0)
- ComingSoon_5.BorderSizePixel = 3
- ComingSoon_5.Position = UDim2.new(0.820469797, 0, 0.332579195, 0)
- ComingSoon_5.Size = UDim2.new(0, 73, 0, 50)
- ComingSoon_5.Font = Enum.Font.GothamBold
- ComingSoon_5.Text = "Soon"
- ComingSoon_5.TextColor3 = Color3.new(0, 0, 0)
- ComingSoon_5.TextScaled = true
- ComingSoon_5.TextSize = 14
- ComingSoon_5.TextWrapped = true
- Title2.Name = "Title2"
- Title2.Parent = MainFrame
- Title2.BackgroundColor3 = Color3.new(0.815686, 0.0431373, 0.121569)
- Title2.BorderColor3 = Color3.new(0, 0, 0)
- Title2.BorderSizePixel = 0
- Title2.Position = UDim2.new(0, 0, 0.923076928, 0)
- Title2.Size = UDim2.new(0, 335, 0, 34)
- Title2.Font = Enum.Font.Cartoon
- Title2.Text = "ReddyGui Rewritten Made By Rugg_66#9420"
- Title2.TextColor3 = Color3.new(0, 0, 0)
- Title2.TextScaled = true
- Title2.TextSize = 14
- Title2.TextWrapped = true
- Exit1.Name = "Exit1"
- Exit1.Parent = MainFrame
- Exit1.BackgroundColor3 = Color3.new(0.815686, 0.0431373, 0.121569)
- Exit1.BorderColor3 = Color3.new(0, 0, 0)
- Exit1.BorderSizePixel = 0
- Exit1.Position = UDim2.new(0.92281878, 0, 0, 0)
- Exit1.Size = UDim2.new(0, 46, 0, 39)
- Exit1.Font = Enum.Font.GothamBold
- Exit1.Text = "X"
- Exit1.TextColor3 = Color3.new(0, 0, 0)
- Exit1.TextScaled = true
- Exit1.TextSize = 14
- Exit1.TextWrapped = true
- ExecutorButton.Name = "ExecutorButton"
- ExecutorButton.Parent = MainFrame
- ExecutorButton.BackgroundColor3 = Color3.new(0.815686, 0.0431373, 0.121569)
- ExecutorButton.BorderSizePixel = 0
- ExecutorButton.Position = UDim2.new(0.820469797, 0, 0.909502268, 0)
- ExecutorButton.Size = UDim2.new(0, 107, 0, 40)
- ExecutorButton.Font = Enum.Font.Cartoon
- ExecutorButton.Text = "Executor"
- ExecutorButton.TextColor3 = Color3.new(0, 0, 0)
- ExecutorButton.TextScaled = true
- ExecutorButton.TextSize = 14
- ExecutorButton.TextWrapped = true
- ExecutorFrame.Name = "ExecutorFrame"
- ExecutorFrame.Parent = ReddyGui
- ExecutorFrame.Active = true
- ExecutorFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- ExecutorFrame.BorderColor3 = Color3.new(0, 0, 0)
- ExecutorFrame.BorderSizePixel = 0
- ExecutorFrame.Position = UDim2.new(0.309685379, 0, 0.18831943, 0)
- ExecutorFrame.Size = UDim2.new(0, 596, 0, 440)
- ExecutorFrame.Visible = false
- ExecutorFrame.Draggable = true
- Bar1_2.Name = "Bar1"
- Bar1_2.Parent = ExecutorFrame
- Bar1_2.BackgroundColor3 = Color3.new(0.815686, 0.0431373, 0.121569)
- Bar1_2.BorderSizePixel = 0
- Bar1_2.Size = UDim2.new(0, 596, 0, 60)
- Bar1_2.Font = Enum.Font.SourceSans
- Bar1_2.Text = ""
- Bar1_2.TextColor3 = Color3.new(0, 0, 0)
- Bar1_2.TextSize = 14
- Bar2_2.Name = "Bar2"
- Bar2_2.Parent = Bar1_2
- Bar2_2.BackgroundColor3 = Color3.new(0.580392, 0.027451, 0.0941177)
- Bar2_2.BorderSizePixel = 0
- Bar2_2.Position = UDim2.new(0, 0, 0.744047582, 0)
- Bar2_2.Size = UDim2.new(0, 596, 0, 15)
- Bar2_2.Font = Enum.Font.SourceSans
- Bar2_2.Text = ""
- Bar2_2.TextColor3 = Color3.new(0, 0, 0)
- Bar2_2.TextSize = 14
- Executor.Name = "Executor"
- Executor.Parent = ExecutorFrame
- Executor.BackgroundColor3 = Color3.new(0.815686, 0.0431373, 0.121569)
- Executor.BorderColor3 = Color3.new(0, 0, 0)
- Executor.BorderSizePixel = 3
- Executor.Position = UDim2.new(0.030201342, 0, 0.177272722, 0)
- Executor.Size = UDim2.new(0, 563, 0, 282)
- Executor.CanvasSize = UDim2.new(0, 0, 100000, 0)
- Executor.ScrollBarThickness = 10
- Input.Name = "Input"
- Input.Parent = Executor
- Input.BackgroundColor3 = Color3.new(0.815686, 0.0431373, 0.121569)
- Input.Size = UDim2.new(0, 550, 0, 100000)
- Input.ClearTextOnFocus = false
- Input.Font = Enum.Font.SourceSans
- Input.MultiLine = true
- Input.Text = "--Script Here"
- Input.TextColor3 = Color3.new(0, 0, 0)
- Input.TextSize = 20
- Input.TextXAlignment = Enum.TextXAlignment.Left
- Input.TextYAlignment = Enum.TextYAlignment.Top
- ExecuteButton.Name = "ExecuteButton"
- ExecuteButton.Parent = ExecutorFrame
- ExecuteButton.BackgroundColor3 = Color3.new(0.815686, 0.0431373, 0.121569)
- ExecuteButton.BorderColor3 = Color3.new(0.580392, 0.027451, 0.0941177)
- ExecuteButton.BorderSizePixel = 4
- ExecuteButton.Position = UDim2.new(0.0302013606, 0, 0.849999964, 0)
- ExecuteButton.Size = UDim2.new(0, 112, 0, 41)
- ExecuteButton.Font = Enum.Font.Cartoon
- ExecuteButton.Text = "Execute"
- ExecuteButton.TextColor3 = Color3.new(0, 0, 0)
- ExecuteButton.TextScaled = true
- ExecuteButton.TextSize = 14
- ExecuteButton.TextWrapped = true
- ClearButton.Name = "ClearButton"
- ClearButton.Parent = ExecutorFrame
- ClearButton.BackgroundColor3 = Color3.new(0.815686, 0.0431373, 0.121569)
- ClearButton.BorderColor3 = Color3.new(0.580392, 0.027451, 0.0941177)
- ClearButton.BorderSizePixel = 4
- ClearButton.Position = UDim2.new(0.256711423, 0, 0.849999964, 0)
- ClearButton.Size = UDim2.new(0, 112, 0, 41)
- ClearButton.Font = Enum.Font.Cartoon
- ClearButton.Text = "Clear"
- ClearButton.TextColor3 = Color3.new(0, 0, 0)
- ClearButton.TextScaled = true
- ClearButton.TextSize = 14
- ClearButton.TextWrapped = true
- TextLabel.Parent = ExecutorFrame
- TextLabel.BackgroundColor3 = Color3.new(0.815686, 0.0431373, 0.121569)
- TextLabel.BorderColor3 = Color3.new(0, 0, 0)
- TextLabel.BorderSizePixel = 0
- TextLabel.Position = UDim2.new(0.592281878, 0, 0.943181813, 0)
- TextLabel.Size = UDim2.new(0, 243, 0, 25)
- TextLabel.Font = Enum.Font.Cartoon
- TextLabel.Text = "ReddyGui's Executor"
- TextLabel.TextColor3 = Color3.new(0, 0, 0)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- Exit2.Name = "Exit2"
- Exit2.Parent = ExecutorFrame
- Exit2.BackgroundColor3 = Color3.new(0.815686, 0.0431373, 0.121569)
- Exit2.BorderSizePixel = 0
- Exit2.Position = UDim2.new(0.92281884, 0, 0, 0)
- Exit2.Size = UDim2.new(0, 46, 0, 39)
- Exit2.Font = Enum.Font.GothamBold
- Exit2.Text = "X"
- Exit2.TextColor3 = Color3.new(0, 0, 0)
- Exit2.TextScaled = true
- Exit2.TextSize = 14
- Exit2.TextWrapped = true
- -- Scripts
- LoginButton.MouseButton1Click:connect(function()
- LoginFrame.Visible = false
- MainFrame.Visible = true
- end)
- Exit1.MouseButton1Click:connect(function()
- MainFrame.Visible = false
- Exit1.Visible = false
- end)
- ExecutorButton.MouseButton1Click:connect(function()
- MainFrame.Visible = false
- ExecutorFrame.Visible = true
- end)
- Button1.MouseButton1Click:connect(function()
- repeat wait()
- until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
- local mouse = game.Players.LocalPlayer:GetMouse()
- repeat wait() until mouse
- local plr = game.Players.LocalPlayer
- local torso = plr.Character.Torso
- local flying = true
- local deb = true
- local ctrl = {f = 0, b = 0, l = 0, r = 0}
- local lastctrl = {f = 0, b = 0, l = 0, r = 0}
- local maxspeed = 50
- local speed = 0
- function Fly()
- local bg = Instance.new("BodyGyro", torso)
- bg.P = 9e4
- bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- bg.cframe = torso.CFrame
- local bv = Instance.new("BodyVelocity", torso)
- bv.velocity = Vector3.new(0,0.1,0)
- bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
- repeat wait()
- plr.Character.Humanoid.PlatformStand = true
- if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
- speed = speed+.5+(speed/maxspeed)
- if speed > maxspeed then
- speed = maxspeed
- end
- elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
- speed = speed-1
- if speed < 0 then
- speed = 0
- end
- end
- if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
- 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
- lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
- elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
- 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
- else
- bv.velocity = Vector3.new(0,0.1,0)
- end
- bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
- until not flying
- ctrl = {f = 0, b = 0, l = 0, r = 0}
- lastctrl = {f = 0, b = 0, l = 0, r = 0}
- speed = 0
- bg:Destroy()
- bv:Destroy()
- plr.Character.Humanoid.PlatformStand = false
- end
- mouse.KeyDown:connect(function(key)
- if key:lower() == "e" then
- if flying then flying = false
- else
- flying = true
- Fly()
- end
- elseif key:lower() == "w" then
- ctrl.f = 1
- elseif key:lower() == "s" then
- ctrl.b = -1
- elseif key:lower() == "a" then
- ctrl.l = -1
- elseif key:lower() == "d" then
- ctrl.r = 1
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key:lower() == "w" then
- ctrl.f = 0
- elseif key:lower() == "s" then
- ctrl.b = 0
- elseif key:lower() == "a" then
- ctrl.l = 0
- elseif key:lower() == "d" then
- ctrl.r = 0
- end
- end)
- Fly()
- end)
- Button2.MouseButton1Click:connect(function()
- noclip = false
- game:GetService('RunService').Stepped:connect(function()
- if noclip then
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- end
- end)
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "e" then
- noclip = not noclip
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
- end
- end)
- print('Created by FileExplorer')
- print('Credits to Peyton for the ChangeState part of this script')
- end)
- Button3.MouseButton1Click:connect(function()
- -- //~ F to toggle ~\\ --
- _G.infinjump = true
- local Player = game:GetService("Players").LocalPlayer
- local Mouse = Player:GetMouse()
- Mouse.KeyDown:connect(function(k)
- if _G.infinjump then
- if k:byte() == 32 then
- Humanoid = game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
- Humanoid:ChangeState("Jumping")
- wait(0.1)
- Humanoid:ChangeState("Seated")
- end
- end
- end)
- local Player = game:GetService("Players").LocalPlayer
- local Mouse = Player:GetMouse()
- Mouse.KeyDown:connect(function(k)
- k = k:lower()
- if k == "f" then
- if _G.infinjump == true then
- _G.infinjump = false
- else
- _G.infinjump = true
- end
- end
- end)
- end)
- Button4.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 50
- end)
- Button5.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 200
- end)
- ExecuteButton.MouseButton1Click:connect(function()
- loadstring(Input.Text)
- end)
- ClearButton.MouseButton1Click:connect(function()
- Input.Text = ""
- end)
- Exit2.MouseButton1Click:connect(function()
- MainFrame.Visible = true
- ExecutorFrame.Visible = false
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement