script.Parent = game.Players.LocalPlayer.Character task.wait(2.5) print("Script Began") local rs = game:GetService("RunService") local part = workspace:FindFirstChild("Part") local flyloop = nil local flying = false local player = game.Players.LocalPlayer local uis = game:GetService("UserInputService") local char = player.Character local rootpart = char:FindFirstChild("HumanoidRootPart") local hum = char:FindFirstChild("Humanoid") local torso = char:FindFirstChild("Torso") local moving = false local movingloop = nil local flinging = false local flingingloop = nil local checkpoint = nil script.Name = "Sigmaexploit" local movingbloop = nil if torso then else local torso = char:FindFirstChild("UpperTorso") end local cam = workspace.CurrentCamera local newcamlookv = cam.CFrame.LookVector script.Parent = game.Players.LocalPlayer.Character local pr6 = Instance.new("Animation") pr6.Parent = script pr6.AnimationId = "rbxassetid://28159255" local pr15 = Instance.new("Animation") pr15.Parent = script pr15.AnimationId = "rbxassetid://2917200442" local punchani15 = hum:LoadAnimation(pr15) local punchani6 = hum:LoadAnimation(pr6) hum.Died:Connect(function() flying = false moving = false flinging = false if flingingloop then flingingloop:Disconnect() flingingloop = nil end if flyloop then flyloop:Disconnect() flyloop = nil end if movingloop then movingloop:Disconnect() movingloop = nil end if movingbloop then movingbloop:Disconnect() movingbloop = nil end end) uis.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then punchani15:Play() punchani6:Play() punchani6:AdjustSpeed(2.5) end end) local function startfly() if flying == false then flyloop = rs.RenderStepped:Connect(function() local camlookvec = cam.CFrame.LookVector local pos = rootpart.CFrame.Position rootpart.CFrame = CFrame.new(pos,pos + camlookvec) if moving == false then rootpart.AssemblyLinearVelocity = Vector3.new(0,0,0) rootpart.AssemblyAngularVelocity = Vector3.new(0,0,0) end flying = true end) end end local function endfly() if flying == true then flyloop:Disconnect() flyloop = nil rootpart.AssemblyLinearVelocity = Vector3.new(0,0,0) rootpart.AssemblyAngularVelocity = Vector3.new(0,0,0) flying = false end end uis.InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode.E then if flying == false then startfly() else endfly() end end end) local function startmoving() if moving == false then moving = true movingloop = rs.RenderStepped:Connect(function() local camlookvec = cam.CFrame.LookVector rootpart.AssemblyLinearVelocity = camlookvec * 100 rootpart.AssemblyAngularVelocity = Vector3.new(0,0,0) end) end end local function stopmoving() if moving == true then moving = false movingloop:Disconnect() movingloop = nil end end uis.InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode.W then if flying == true then startmoving() end end end) uis.InputEnded:Connect(function(input) if input.KeyCode == Enum.KeyCode.W then if flying == true then stopmoving() end end end) local function startmovingb() if moving == false then moving = true movingbloop = rs.RenderStepped:Connect(function() local camlookvec = cam.CFrame.LookVector rootpart.AssemblyLinearVelocity = camlookvec - camlookvec * 100 rootpart.AssemblyAngularVelocity = Vector3.new(0,0,0) end) end end local function stopmovingb() if moving == true then moving = false movingbloop:Disconnect() movingbloop = nil end end uis.InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode.S then if flying == true then startmovingb() end end end) uis.InputEnded:Connect(function(input) if input.KeyCode == Enum.KeyCode.S then if flying == true then stopmovingb() end end end) local function startflinging() if flinging == false then flinging = true flingingloop = rs.RenderStepped:Connect(function() rootpart.AssemblyAngularVelocity = Vector3.new(0,35000,0) end) end end local function stopflinging() if flinging == true then flinging = false flingingloop:Disconnect() flingingloop = nil end end uis.InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode.KeypadOne then if flinging == false then startflinging() else stopflinging() end end end) uis.InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode.KeypadTwo then checkpoint = nil checkpoint = rootpart.CFrame print("Checkpoint set") end end) uis.InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode.KeypadThree then rootpart.CFrame = checkpoint rootpart.AssemblyLinearVelocity = Vector3.new(0,0,0) rootpart.AssemblyAngularVelocity = Vector3.new(0,0,0) print("TP'ed to Checkpoint") end end) --[[ while flying == true do uis.InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode.E then if flying == true then flying = false end end end) local camlookvec = cam.CFrame.LookVector if newcamlookv == camlookvec then rootpart.AssemblyLinearVelocity = Vector3.new(0,0,0) rootpart.AssemblyAngularVelocity = Vector3.new(0,0,0) else local pos = rootpart.CFrame.Position rootpart.CFrame = CFrame.new(pos,pos + camlookvec) rootpart.AssemblyLinearVelocity = Vector3.new(0,0,0) rootpart.AssemblyAngularVelocity = Vector3.new(0,0,0) end local newcamlookv = cam.CFrame.LookVector wait() end]]