hi, i want to change camera in a different location, if u dont understand wat am i saying then, let me explain: first, what i want to make is like in Lightbulb, like this
that image is my setup, the Cam is the camera part and the campos1 and campos2 is Camera Position, TCF2 and TCF1 is Touch Function, “Why did send us this image and wats the problem?” haha simple, i send u this image bcs u will be confused. “And wats is the main problem?”, haha ez, the main problem is
TCF1 script
e = false --debounce
script.Parent.Touched:Connect(function(h)
if not e then
if h then
e = true
workspace.Cam.Position = workspace.CamPos2.Position
wait(1)
e = false
end
end
end)
TCF2 script is same like TCF1 script but i change the line 6 into workspace.Cam.Position = workspace.CamPos1.Position
, btw, i have tried using TouchedEnded function. but still doesnt work.
if u still doesnt get it then let me explain again, if the player Touch the TCF1 the Cam(Camera) will teleport to CamPos2. and if the player Touch the TCF2 the Cam will teleport to CamPos1. so like dat.
btw, im not gonna replies any comments for 6 or 8 hours maybe?, bcs imma go sleep