Hi guys, I hope I'm posting this in the right forum but I was wondering how I am supposed to make specific Spawn Locations,
ex.: Spawn at Objective A or B or C
My Codes : 1600 being the Objective A location
wait() game.Players:FindFirstChild(script.RName.Value):LoadCharacter() game.Workspace.Player.HumanoidRootPart.CFrame = CFrame.new(Vector3.new(0, 1600, 0)) game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid game.Workspace.CurrentCamera.CameraType = "Custom" script:Destroy() -- clean up
and the localscript
function m1down() local respawnscript = script.Parent.RespawnScript:Clone() respawnscript.RName.Value = game.Players.LocalPlayer.Name respawnscript.Parent = game.Workspace respawnscript.Disabled = false end script.Parent.MouseButton1Down:connect(m1down)
Thank you guys for your time, I hope someone can help me! :)
-Sincerly, dehysqop