plr = game.Players.LocalPlayer

script.Parent.MouseButton1Click:connect(function()
	pcall(function()
		local Pos = plr.Character:GetPrimaryPartCFrame()
		plr:LoadCharacter()
		plr.Character:SetPrimaryPartCFrame(Pos)
		if plr.Character:FindFirstChild("ForceField") then
			plr.Character["ForceField"]:Destroy()
		end
	end)
end)

I need help! Whenever this is activated, it teleports me back at spawn. I want to stay in the position I'm in.

2 comments

0

You're reloading the character though, so it would naturally respawn..

0

You don't need to find a forceshield to destroy it. There is a way players can start without it