For example, I want the player to go high if they are in the air, click m1, and also looking up, but if they are in the air, click m1, but they are looking down then it won’t work
1 Like
Not sure if this would work but you could try:
--LocalScript in StarterPlayerScripts
local players = game:GetService("Players")
local player = players.LocalPlayer
local mouse = player:GetMouse()
--then
local mouseFacing = mouse.Hit.LookVector
This is just a basic idea, hope it helps!
workspace.CurrentCamera.CFrame.LookVector ![]()
![]()
1 Like