Hello. I’m trying to increase the scale of the player’s feet every second. I have tried writing some code, Here’ what i got:
game.Players.PlayerAdded:Connect(function()
local char = script.Parent
local Lfoot = char.LeftFoot
local Rfoot = char.RightFoot
while wait(1) do
Lfoot.Size = Lfoot.Size * 1.25
Rfoot.Size = Rfoot.Size * 1.25
end
end)
Thanks,
Does this code cause any errors? What does it look like? It would be great if you provided more information.
Yeah, It does not produce any error, Nothing happens. It’s a local script in StarterCharacterScripts
local char = script.Parent
local Lfoot = char:WaitForChild("LeftFoot")
local Rfoot = char:WaitForChild("RightFoot")
while wait(1) do
Lfoot.Size = Lfoot.Size * 1.25
Rfoot.Size = Rfoot.Size * 1.25
end
try this
The player comes before the character, so she may not be able to see it and I think it can’t see itself because local script comes after the player.
system
(system)
Closed
December 15, 2022, 6:35pm
6
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.