wait(5)
local plr = game.Players.LocalPlayer
local char = plr.Character
plr.ReplicationFocus = game.Workspace.LoaderTest
Im currently trying to get a part in the workspace to generate chunks using replicationfocus. I copied and modified some code from the wiki. because "localplayer" was in one of the code lines, and since localplayer only works in a localscript I put all the code in a localscript. I got an error saying that "LoaderTest" was not a valid member of workspace telling me that the localscript cant see the part. what is the proper way of setting replicationfocus on a part in the workspace?
