Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I need some help with popup gui animations using tweens. Any help?

Asked by 3 years ago
Edited 3 years ago

I'm trying to make a popup gui with Tween animations, yet whenever I try inserting codes I think of, or codes that my friends give me, or even just searching it up, it doesn't work.

function PopupGui() if script.Parent.Visible == true then script.Parent.Visible = false else script.Parent.Visible = true end end

game:GetService("UserInputService").InputBegan:Connect(function(key) if key.KeyCode == Enum.KeyCode.M then PopupGui() end end)

this is the code i'm using. any advice?

1 answer

Log in to vote
0
Answered by 3 years ago

if you aren't already use a local script.

Ad

Answer this question