Scripting Error

I have a script, but it doesnt work. I am not sure what is the problem and how to fix it. If someone can help, I apricate it.

game.Players.PlayerAdded:Connect(function(Player)
	Player.CharacterAdded:Connect(function(Character)
		local Humanoid = Character.Humanoid

		local HS = Humanoid.HeadScale
		local BDS = Humanoid.BodyDepthScale
		local BWS = Humanoid.BodyWidthScale
		local BHS = Humanoid.BodyHeightScale

		HS.Value = HS.Value * 2
		BDS.Value = BDS.Value * 2
		BWS.Value = BWS.Value * 2
		BHS.Value = BHS.Value * 2
	end)
end)

The part of the script you’ve sent works absolutely fine, could you show the rest of the script?

You maybe have a “end” somewhere that is unneeded, or didn’t close a function or something properly.

Yeah, i just saw. thanks!

random text

1 Like