You see I made a strenght simulator a few days ago but today i thought of replacing it with a reading simulator,so I thought why don't I use the same scripts.The game is working perfectly fine but the size of the player grows when the tool is clicked instead I want the players head to only grow
Here is the script-----
-- makes you bigger everytime your strength increases game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(Character) local Humanoid = Character:FindFirstChild("Humanoid") player.Character.Humanoid.BodyDepthScale.Value = player.leaderstats.strength.Value/100 + 1 player.Character.Humanoid.BodyHeightScale.Value = player.leaderstats.strength.Value/100 + 1 player.Character.Humanoid.BodyWidthScale.Value = player.leaderstats.strength.Value/100 + 1 player.Character.Humanoid.HeadScale.Value = player.leaderstats.strength.Value/100 + 1 player.leaderstats.strength.Changed:connect(function() player.Character.Humanoid.BodyDepthScale.Value = player.leaderstats.strength.Value/100 + 1 player.Character.Humanoid.BodyHeightScale.Value = player.leaderstats.strength.Value/100 + 1 player.Character.Humanoid.BodyWidthScale.Value = player.leaderstats.strength.Value/100 + 1 player.Character.Humanoid.HeadScale.Value = player.leaderstats.strength.Value/100 + 1 end) end) end)
Please state what should I do It would be really helpful
This is yours:
-- makes you bigger everytime your strength increases
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(Character) local Humanoid = Character:FindFirstChild("Humanoid") player.Character.Humanoid.BodyDepthScale.Value = player.leaderstats.strength.Value/100 + 1 player.Character.Humanoid.BodyHeightScale.Value = player.leaderstats.strength.Value/100 + 1 player.Character.Humanoid.BodyWidthScale.Value = player.leaderstats.strength.Value/100 + 1 player.Character.Humanoid.HeadScale.Value = player.leaderstats.strength.Value/100 + 1 player.leaderstats.strength.Changed:connect(function() player.Character.Humanoid.BodyDepthScale.Value = player.leaderstats.strength.Value/100 + 1 player.Character.Humanoid.BodyHeightScale.Value = player.leaderstats.strength.Value/100 + 1 player.Character.Humanoid.BodyWidthScale.Value = player.leaderstats.strength.Value/100 + 1 player.Character.Humanoid.HeadScale.Value = player.leaderstats.strength.Value/100 + 1 end) end) end)
This what you should do:
-- makes you bigger everytime your strength increases
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(Character) local Humanoid = Character:FindFirstChild("Humanoid") player.Character.Humanoid.HeadDepthScale.Value = player.leaderstats.strength.Value/100 + 1 player.Character.Humanoid.HeadHeightScale.Value = player.leaderstats.strength.Value/100 + 1 player.Character.Humanoid.HeadWidthScale.Value = player.leaderstats.strength.Value/100 + 1 player.Character.Humanoid.HeadScale.Value = player.leaderstats.strength.Value/100 + 1 player.leaderstats.strength.Changed:connect(function() player.Character.Humanoid.HeadDepthScale.Value = player.leaderstats.strength.Value/100 + 1 player.Character.Humanoid.HeadHeightScale.Value = player.leaderstats.strength.Value/100 + 1 player.Character.Humanoid.HeadWidthScale.Value = player.leaderstats.strength.Value/100 + 1 player.Character.Humanoid.HeadScale.Value = player.leaderstats.strength.Value/100 + 1 end) end) end)