Hi all, first off, I would love to thank you for at least considering answering my question or at least show some sort of attention on this.

Myself and a partner are creating this new FPS game that is scripted with a consistent First Person Lock and I would like to have Third Person and First Person available, however, I am not quite sure how to script it and I require your help.

In this script, I would love to have the ability for me and my partner only to be able to change from different POV's.

If this is possible, I would love your help and support.

-Zombierule1

FORGOT TO ADD:

This is what I wrote.


local player = game.Players.LocalPlayer

player.CameraMode = Enum.CameraMode.Classic
wait() 
player.CameraMode = Enum.CameraMode.LockFirstPerson --Locks the view into first person

local player = game.Players.LocalPlayer = Zombierule1
then
do not player.cameramode = Enum.CameraMode.Classic
	then
	do player.CameraMode = Enum.Cameramode.LockThirdPerson and LockfirstPerson
end

5 comments

0

This is a clear definition of a request. This is NOT a request site.

0

u so kind

0

I know <3. Btw, you should learn how to use a code block. Click the blue Lua button and then place your code in the middle. This makes it MUCH more easy to read.

1

What's with the random "then"s? You can't write this like English. You have to write it correctly. You're missing "s and also it's quite hard to understand with the code so broad.

0

wheres the 'if'