I don't want to do game.StarterPlayer because I have a script that changes the name of it every second, so I want to get the name of the StarterPlayer service ans use it in a variable.
This is my code that isn't working:
local lol = game:GetService("StarterPlayer"):GetFullName()
wait()
lol.CameraMaxZoomDistance = 1

1 comment
:GetFullName()returns a string -- just dolocal lol = game:GetService("StarterPlayer")and it should work