Why isn't it moving/how to make it less heavy?

hello,

so i have a snake which needs to move along the Z axis to look like a chase sequence.
but uhh. i believe he is kinda too heavy because, he isn’t moving, his animation is just playing.

local Humanoid = script.Parent
local WalkTrack = Humanoid:LoadAnimation(Humanoid:WaitForChild("Moving"))
local Character = Humanoid.Parent

local RunService = game:GetService("RunService")


local function RigDistance()
	local Distance = (Character.Parent.Rig.PrimaryPart.Position - Character.PrimaryPart.Position).Magnitude
	if Distance <= 10 then
		if Character.Parent.Rig.Humanoid.Health <= 0 then return end
		Character.Parent.Rig.Humanoid:TakeDamage(100)
	end
end

Humanoid:MoveTo(Character.Parent.Rig.PrimaryPart.Position)
WalkTrack:Play()


for i, v in pairs(Character:GetChildren()) do
	if not v:IsA("Part") then continue end
	v.Touched:Connect(function(hit)
		if hit.Name == "FireBall" then hit:Destroy() end
	end)
end 

RunService.Heartbeat:Connect(RigDistance)

this is him:
Schermafbeelding 2023-08-22 124613
no parts are anchored.

please help,
Thanks in advance!

1 Like

You can try to set massless for every part in properties.

it didn’t work, are there other properties which control weight?

I dont think so, are you tried to run test and ingame make sure that every part in him is not anchored?

yes they’re all unanchored since i just spawned basic parts to create him,
the only difference in properties his parts and a normal roblox part you spawn have , is color, and massless is set to true, but the rest are all basic properties.

You can try to change his model just to one part or a normal rig and if it dont move either, then problem not his model.

the other model and a rig i made move nicely , but the snake doesn’t move at all

I have had problems with movinng humanoids, maybe try naming a PART, that is inside the snake model: HumanoidRootPart, as this once fixed the problem for me

(Or create a new part that is called HumanoidRootPart)

Is it fully welded. If so then try changing the hip height to be the primary parts y size divided by 2

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.