#third person when part touched
51 messages · Page 1 of 1 (latest)
use Camera.CameraType
ok
and the script should be local
doesnt work
local Camera = workspace.CurrentCamera
local scripts dont work in workpace
oh
they only work in starterplayerscripts and inside player character
however you can use regular script with runcontext set to client
and it will work
but it doesnt work
wait
lemme check soomething
idk
i gotta find custom camera thing
add print("activated") inside your onTouch function to check if it runs
have you got a first person lock on
yea
no
what section of script is in charge of changing you camera view to third person
what
this is the scrtip
local part = script.Parent
local player = game.Players.LocalPlayer
local Camera = workspace.CurrentCamera
local function onTouch()
print("activated")
Camera.CameraType = Enum.CameraType.Custom
end
part.Touched:Connect(onTouch)
this the script
is it in a localscript
normal script on client
** You are now Level 6! **
ok gimme 2 secs