Spawn kill glitch (Reuploaded)

If I got the category wrong, sorry. Just message me; I didn’t know what category to put. Also comment below better names for this post.

Hello. I was making my game like the usual and I started testing my game in studio. I have footage of me dying to the bug but please read first. When I go to the ‘elevator’ and spawn into a map, when I move my mouse or move (W, A, S, D), it just kills me. ( I added a instant-kill script ). Here is the video:

robloxapp-20200402-1353196.wmv (2.5 MB)

And here is the script:

for i = 1,#players do
		if players[i]:FindFirstChild("GameText") then -- Checks if player has a value. If yes, they get teleported.
		players[i].Character.Torso.CFrame = CFrame.new(randommapclone.Spawn.Tele.Position)
		players[i].GameText.Name = "InGame" -- Just ignore this.
		end
	end

If you think you have the solution comment below and if I forgot something message me. Also sorry for bad quality and design in the video. I used roblox’s recording system.

1 Like

You deleted your old topic? If not, you are not allowed to Reupload.

You are changing the CFrame of the torso, not the whole character model. That’s why it is killing you. Try to SetPrimaryPartCFrame.

2 Likes

Well, I didn’t exactly mean reuploaded.