Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How can I got my Camera in ServerScript ?

Did I need RemoteEvents ? Because I try and its don't work in a server test. ):

5 comments

2

Why do you need to? This sounds like an 'XY problem' question.

1

Because I want to do it in a module script in workspace! lold

1

More clean.

0

;-; learn 2 grammar.. Im so confused right now... asd.

1

Sorry my bad. I'm french :/

2 answers

All you have to do is set an ObjectValue's value to the CurrentCamera using a LocalScript.

I did this a few years ago, so I'm not sure if it still works, anti-exploit updates and all...

2 comments

0

I already do..

0

Lemme try again..

to get the camera in serverscript is simple do this:

game.Workspace.CurrentCamera

3 comments

0

I think this is ideal for local scripts because a player's camera is more client-sided.

0

Yes this is for localscripts more.

1

No, he want to get the camera with a module script. Not with a localscript because he found that more clean. And serverscript is not a localscript.

This discussion is preserved as it was. New answers, comments, and votes are closed.