local function scaleCharacter(character, scaleFactor)
character:ScaleTo(scaleFactor)
end
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function()
char = plr.Character
task.wait(10)
scaleCharacter(char, 2) -- scale by 1.5x
end)
end)
I am testing the code and everything seems to be working correctly. There may be a script that is conflicting with the scaling. Your game appears to be a fighting game, so it is possible that the legs are controlled by a script.
local function scaleCharacter(Humanoid,SizeValue)
if not Humanoid or not SizeValue then return end
local HS = Humanoid.HeadScale
local BDS = Humanoid.BodyDepthScale
local BWS = Humanoid.BodyWidthScale
local BHS = Humanoid.BodyHeightScale
HS.Value = SizeValue
BDS.Value = SizeValue
BWS.Value = SizeValue
BHS.Value = SizeValue
end
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
task.wait(10)
scaleCharacter(char.Humanoid, 2) -- scale by 1.5x
end)
end)
hey sorry for the late reply now im getting an error
05:56:09.928 HeadScale is not a valid member of Humanoid “Workspace.AliveFolder.InactiveVan2.Humanoid” - Server - Scale:4
could this be due to the new update to avaters roblox pushed?