Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.StarterGui:SetCore('SendNotification', {Duration = 2; Title='RedExploit'; Text='Executed Correctly'; Icon='rbxassetid://2833536589';})
- lp = game:service'Players'.LocalPlayer
- uis = lp:GetMouse()
- uis.KeyDown:Connect(function(key)
- if key == 'W' or key == 'w' then
- W = true
- end
- end)
- uis.KeyUp:Connect(function(key)
- if key == 'W' or key == 'w' then
- W = false
- end
- end)
- lp = game:service'Players'.LocalPlayer.Character
- for i,v in pairs(workspace.Vehicles:GetChildren()) do
- if v:FindFirstChild'Seat' and v.Seat:FindFirstChild'PlayerName' then
- if v.Seat.PlayerName.Value == game:service'Players'.LocalPlayer.Name then
- car = v
- car.PrimaryPart = car.Engine
- end
- end
- end
- _G.CarFly = game:service'RunService'.RenderStepped:Connect(function()
- car.Model.Body.Velocity = Vector3.new(0,0,0)
- if W and lp:FindFirstChildOfClass'Humanoid'.Sit then
- car:SetPrimaryPartCFrame(car.PrimaryPart.CFrame + workspace.CurrentCamera.CFrame.LookVector*3)
- car.Model.Body.CFrame = CFrame.new(car.Model.Body.Position,workspace.CurrentCamera.CFrame.Position)
- elseif lp:FindFirstChildOfClass'Humanoid'.Sit then
- car.Model.Body.CFrame = CFrame.new(car.Model.Body.Position,workspace.CurrentCamera.CFrame.Position)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement