I was wondering if this script, which moves my cloud, would be fine on a local script or not? Here is my script:

local player = game.Players.LocalPlayer

game:GetService("UserInputService").InputBegan:Connect(function(inputObject, gameProcessedEvent)
    if inputObject.KeyCode == Enum.KeyCode.W then
        workspace.Cloud.BodyVelocity.Velocity = player.Character.HumanoidRootPart.CFrame.lookVector
    end
end)

4 comments

0

why the hell don't you test it yourself

0

do you know how LookVectors work?

0

No.

0

It wouldn't work due to filtering enabled