so i dont want anyone to write me a script or animate anything, im just wondering it is possible.
k so ive got this script
script.Parent.ClickDetector.MouseClick:connect(function(player)
local leftMouseDown = true
player:GetMouse().Button1Up:connect(function()
leftMouseDown = false
end)
wait(1)
while leftMouseDown do
player.leaderstats.Gold.Value = player.leaderstats.Gold.Value + 10
wait(1)
end
end)
would it be possible to within the
while leftMouseDown do
player.leaderstats.Gold.Value = player.leaderstats.Gold.Value + 10
wait(1)
end
Part add a player animation. ill explain
this is going to be a very basic fishing system and it works by holding your mouse button down on the fishing hole. and im wanting to to play an animation of holding a pole, i can make the animation and such but im wondering if this is even possible to do b4 i try.

1 comment
thanks for the nice answer, was worried at first when i checked animations wiki all i saw about player animations was it had to be in a local script. which i couldnt do on my brick