local remote = game.ReplicatedStorage.Fly
remote.OnServerEvent:Connect(function(plr,Mouse)
for i,v in pairs (plr.Character:GetChildren()) do
if v.ClassName == "Part" or v.ClassName == "MeshPart" then
v.Transparency = 1
end
end
local fire = game.ReplicatedStorage.FireLog:Clone()
fire.Parent = plr.Character.Torso
local Bv = Instance.new("BodyVelocity")
Bv.Parent = plr.Character.Torso
Bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
for i = 1,100 do wait()
plr.Character.Torso.CFrame = CFrame.new(plr.Character.Torso.Position)
Bv.Velocity = Mouse.lookVector*45
end
for i,v in pairs (plr.Character:GetChildren()) do
if v.ClassName == "Part" or v.ClassName == "MeshPart" then
if v.Name ~= "Torso" then
end
v.Transparency = 1
end
end
fire:Destroy()
Bv:Destroy()
end)
COMMUNITY QUESTION
Why Does my character get stuck?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.
