I am using a Remote Event and calling from local script.
LOCAL SCRIPT local repstore = game:WaitForChild("ReplicatedStorage") local Remote = repstore:WaitForChild("SmokeFlyStart")
Player = game.Players.LocalPlayer Mouse = Player:GetMouse()
cool = true
Mouse.KeyDown:Connect(function(key)
key = key:lower() if key == "r" then if cool ~= true then return end cool = false
Remote:FireServer(Mouse.Hit.p)
wait(5)
cool = true
end
end)
PROBLEM IN SCRIPT
for i = 1,200 do
wait()
char.HumanoidRootPart.CFrame = CFrame.new(char.HumanoidRootPart.Position,HOW WOULD I GET MOUSE.HIT.P in this script)
BV.Velocity = char.HumanoidRootPart.CFrame.lookVector*60
end

2 comments
The problem with your script is that if youre trying to rotate the player to where the mouse is pointing, then in the entire for loop, the character will only rotate once and look in the same direction, because the Mouse position was sent only once, and isn't being updated as you move it serverside. The best way to rotate the character's torso to where the mouse is would be through a local script.
This is the entire script