Here are the scripts that I am using:
LOCAL SCRIPT:
local xa = workspace.CurrentCamera.CFrame.LookVector.Y
print(xa)
script.Parent.Position.Value.Value = xa -- script and value located in character. Value located in a folder called Position
player.character.Position.Activate:FireServer(xa) -- remote event called "Active" and is located in the folder called Position which is located in the character
SCRIPT:
function own(xa)
--local b = require(script.Parent.Dawn)
script.Parent.Position.Value.Value = xa
print(xa)
end
script.Parent.Position.Activate.OnServerEvent:Connect(own) -- script located in character
