Right now I am working on a small simulator game, and one problem i am facing is that my GUI animation for when you click won't show up, and when i tested my script, there is no errors in the output, and I've tested multiple times just in case i missed something, but there is still no error pop-up. I feel like there is a problem with the visibility part of the script, but i am not 100% sure. Here's my script:
local tool = script.Parent
local frame = game.StarterGui.PlayerUI.Animation
tool.Activated:Connect(function()
frame.Visible = true
wait(.25)
frame.Visible = false
end)

1 comment
Don't forget to accept my answer if it helps.