Dio spawning problem

trying to make it so that DIO spawns in my game and ive made dio
my code is:

while true do
	local DioBoss = game.ServerStorage.Essentials.Bosses.DIO
	local DioSpawn = workspace.DioArena.DIOSpawn
	
	if not workspace:FindFirstChild("DIO") then
		local dioBossClone = DioBoss:Clone()
		dioBossClone.Parent = workspace
		dioBossClone.HumanoidRootPart.CFrame = CFrame.new(DioSpawn.CFrame)
	end
	wait(10)
end

what happens when i play the game:
robloxapp-20201003-1715364.wmv (1.7 MB)

1 Like

Could you explain what the problem is in words as well? The video didn’t embed apparently and I (as well as others) are/may not be comfortable with downloading a video.

I know it’s just a WMV file, before anyone gets on my case about that.

1 Like

Try to unanchor the character. If his body parts are anchored, then only the root part will teleport. You can either do it with a for loop, or just select his model and anchor, then unanchor.

1 Like

What happens is, the character keeps falling to the ground then getting teleported back to the spawn. Almost as if the character was jumping.

1 Like

The character is not anchored. It functions properly, except for the one hit that it takes to kill and the non respawning + spawn issue with it. It can not move around.

2 Likes

The teleporting issue might be the result of your character model having automatic network ownership assignment: consider giving it to the server. I’m not too sure what the teleporting looks like since I haven’t downloaded the video.

In terms of falling down, you can force your NPCs upright by changing their state to GettingUp after parenting them to the Workspace via ChangeState. NPCs have a tendency to inexplicably enter the FallingDown state when repositioned, case depending.

1 Like

When I say “falling down” i mean like it falls to the ground from in the air, but does not fall over.

1 Like