i want use cameraoffset for my movement asset but when i pressed button it doenst work and cameraoffset doesnt change and doesnt give any output errors
and this is the code i wrote
i want use cameraoffset for my movement asset but when i pressed button it doenst work and cameraoffset doesnt change and doesnt give any output errors
You might need to change the cameratype to scriptable,
local cam = workspace.CurrentCamera
cam.CameraType = "Scriptable"
cam.CFrame = cam.CFrame * workspace.Part.CFrame -- example, but you can offset like that.
You can also do Enum.CameraType.Scriptable I was just too lazy to write it out.
move the InputEnded connection outside of InputBegan
@MelihKardes15000 You should also do what this guy said even though the problem has been solved
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.