I have made a small map which flys very fast but the problem is I do not know to make the player stay put while it flying super fast how can I fix this?
local map = game.Workspace.Map
local function Event()
for i,v in pairs(map:GetDescendants()) do
if v:IsA("Part") then
local A = v.CFrame + Vector3.new(0,40000,0)
v.CFrame = v.CFrame:Lerp(A, .001)
local bodyVelocity = Instance.new("BodyVelocity")
bodyVelocity.Velocity = Vector3.new(0, 5944.81, 0)
bodyVelocity.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
bodyVelocity.Parent = v
end
end
end
Event()