
2.6k Views
213 Executions
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
O script terá muita speed e muito apelão
Create script
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
-- Coloque isso em um LocalScript (StarterPlayer > StarterPlayerScripts)
local player = game.Players.LocalPlayer
local flying = false
local speed = 50
local UIS = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local bodyGyro
local bodyVelocity
UIS.InputBegan:Connect(function(input, processed)
if input.KeyCode == Enum.KeyCode.F and not processed then
flying = not flying
local character = player.Character
local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
if flying then
bodyGyro = Instance.new("BodyGyro", humanoidRootPart)
bodyVelocity = Instance.new("BodyVelocity", humanoidRootPart)
bodyGyro.P = 9e4
bodyGyro.MaxTorque = Vector3.new(9e9, 9e9, 9e9)
bodyGyro.CFrame = humanoidRootPart.CFrame
bodyVelocity.Velocity = Vector3.zero
bodyVelocity.MaxForce = Vector3.new(9e9, 9e9, 9e9)
RunService:BindToRenderStep("Flying", Enum.RenderPriority.Input.Value, function()
local camCF = workspace.CurrentCamera.CFrame
bodyVelocity.Velocity = camCF.LookVector * speed
bodyGyro.CFrame = camCF
end)
else
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!








