In the script below, it just makes stuff appear and reappear. However, It just goes invisible, and the right just reappears. How do i fix this? Side question: How do i make the character do a animation when something is clicked, like a click detector? thanks for any help!
function onClick(player)
player.Character.Right.Transparency = 1
print("HOZAY")
wait(1)
player.Character.Right1.Transparency = 0
player.Character.Right1.Transparency = 1
wait(1)
player.Character.Right2.Transparency = 0
player.Character.Right2.Transparency = 1
wait(1)
player.Character.Right3.Transparency = 0
player.Character.Right3.Transparency = 1
wait(1)
player.Character.Right4.Transparency = 0
player.Character.Right4.Transparency = 1
wait(1)
player.Character.Right.Transparency = 0
end
script.Parent.ClickDetector.MouseClick:Connect(onClick)
