So recently, ive been making a customisation system, and whenever someone joins, they get teleported to the customisation place. However, the players can see each other and blocks their avatar. I tried adding this in a localscript, but still got same results. What i need going on is they all get teleported, but cannot see each other
Here is a snippet of the script:
local camera = workspace.CurrentCamera
local plr = game.Players.LocalPlayer
local char = plr.Character or plr.CharacterAdded:Wait()
game.ReplicatedStorage:WaitForChild("RemoteEvents").plrEvent.OnClientEvent:Connect(function(plr)
repeat wait()
camera.CameraType = Enum.CameraType.Scriptable
until camera.CameraType == Enum.CameraType.Scriptable
camera.CFrame = workspace.CamPart.CFrame
char:FindFirstChild("Humanoid").AutoRotate = false
char:FindFirstChild("Head").CFrame = CFrame.new(workspace.Circle.Position + Vector3.new(0,3,0))
char.Humanoid.WalkSpeed = 0
end)
Any help is appreciated!