Custom StarterCharacter glitching when resizing!

I’m working on a game, and in the game theres a custom character which I’ve rigged and everything and it works just fine but whenever i try to resize the character model everything breaks. The character starts bugging out, you are suddenly able to jump again (which I’ve disabled), also the jump sound is back (Which I’ve also disabled) and the animation just starts playing even though im not running.

This is the custom character:

character

I added a Animate script into startercharacter:

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

local walkAnim = script:WaitForChild("Walk")
local walkAnimTrack = Humanoid.Animator:LoadAnimation(walkAnim)

local RootPart = Character:WaitForChild("HumanoidRootPart")
local Sound = RootPart:WaitForChild("Running")

Sound.Volume = 0
Humanoid.JumpPower = 0
walkAnimTrack:Stop()

Humanoid.Running:Connect(function(speed)
	if speed > 0  then
		if not walkAnimTrack.IsPlaying then
			walkAnimTrack:Play()
		end
	else
		if walkAnimTrack.IsPlaying then
			walkAnimTrack:Stop()
		end
	end
end)
1 Like

Alright guys I fixed it, it was kinda dumb how i didnt see it lol

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