Character gets flung off the map when I run the game

I have made a script that a character of a player will spawn in a specific block every 5 seconds, but when I run it, the character just goes on their legs and heading out of the map:
https://i.gyazo.com/daffc041a44dde1da41452f0837daeb9.mp4

:flushed:

It helps if you show us the script.

while true do
	wait(5)
	local randomTool = math.random(1,3)
	if randomTool == 1 then
		local Knife = game.ServerStorage.CommonSimp:Clone()
		Knife.Parent = workspace
		Knife.HumanoidRootPart.Position = script.Parent.Position
		print("Common simp" .. " Has spawned") 
	elseif randomTool == 2 then
		local Spear = game.ServerStorage.ULTRARARESIMP:Clone()
		Spear.Parent = workspace
		Spear.HumanoidRootPart.Position = script.Parent.Position
		print(" Ultra Rare simp" .. " Has spawned") 
	elseif randomTool == 3 then
		local Dagger = game.ServerStorage.RareSimp:Clone()
		Dagger.Parent = workspace
		Dagger.HumanoidRootPart.Position = script.Parent.Position
		print("Rare simp" .. " Has spawned") 
	end
end

ok

Have you tried setting the HipHeight of the character’s Humanoid?X7fL1du3tR

1 Like

By looking at that script, It seems your character is spawning in another part.

You should add 2 to the Y Value that you are positioning the player to.

I just want to point out that when you’re printing ā€œRare Simpā€ It actually seems to be spawning the Ultra Rare Simp, fixing that might prevent some confusion later.

the thing is that it just repositions itself into the part

I Have fixed it thanks for letting me know

Then mark the solution because people may or may not keep replying to the thread.

1 Like

I think he was referring to the other reply that Isaque made, anyways in relation to this situation…
Is this supposed to be a BasePart or a Tool?