Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Rotate shark like sharkbite 2?

Asked by 2 years ago
Edited 2 years ago

I cant figure out how to make the shark move up when i move my mouse up and move down when i move my mouse down and im holding right click

local mouse = game.Players.LocalPlayer:GetMouse()
while wait(0.1) do
    workspace.Chassis.Main.Rotation = Vector3.new(workspace.Chassis.Main.Rotation.X, mouse.Y, workspace.Chassis.Main.Rotation.Z)
end

Answer this question