im trying to check if this move directions script works and it isnt even working
local moveforward = false
local movebackward= false
local moveright = false
local moveleft = false
if forwardDot > 0.5 then
moveforward = true
elseif forwardDot < -0.5 then
movebackward = true
elseif moveDir:Dot(rootpart.CFrame.RightVector) > 0.5 then
moveright = true
elseif moveDir:Dot(rootpart.CFrame.RightVector) < -0.5 then
moveleft = true
if moveforward == true then
print("forward")
elseif movebackward == true then
print("backward")
elseif moveright == true then
print("right")
elseif moveleft == true then
print("left")
end
end
i checked script activity and it only has 1 uppont testing and then blank
