Does anyone know where i have to put this script, to make the avatar bigger every second.
local scaleFactor = 0.1 -- the amount to increase the scale every second
while true do
wait(1) -- wait for one second
-- increase the scale of the avatar
scale = scale + scaleFactor
-- apply the new scale to the avatar
game.Players.LocalPlayer.Character.Humanoid.BodyScale.Value = scale
end
I tried putting the script in a LocalScript, and then in Starterpack and it didn’t work, i also tried putting it in StarterGui but it didn’t work either.
game.player.playeradded:Connect(function(player)
player.Characteradded:Connect(function(Charcater)
while true do
wait(1)
for i,v in pairs(character:Getdescendants())do
v.Size = v.Size + 0.1
end
I don’t know what i’m doing wrong, but if i test it i still won’t get bigger. I’m currently using R6 btw, as soon as i’ve put in the script and then play test, it doesn’t show up in ServerScriptService.