Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

is there a way to add a part into every players camera?

Asked by
Benqazx 108
8 years ago

i am starting to work on cameras now and i want to know if there is way to add a part into every players camera that only functions with that player? what function would you use?

1 answer

Log in to vote
1
Answered by 8 years ago

This needs to be LocalScript.

local part = Instance.new("Part")
part.Parent = game.Workspace.CurrentCamera

It has to be a LocalScript because there is no other way to get a player's camera.

0
thanks for your help. i went on roblox wiki and found the article about camera and local parts and stuff and made the thing i needed Benqazx 108 — 8y
Ad

Answer this question