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

Why wont this work?

Asked by
sad_eyez 162
8 years ago

i'm trying to make my custom achievement pop up when you touch a part

Trophy = script.Parent.Parent.Parent.StarterGui.A2.Achievement.TrophyScript debounce = false function Touched() if debounce == true then game.Workspace.A2:Destroy() end print ("I'm Working!") Trophy.Disabled = false debounce = true end

script.Parent.Touched:connect(Touched)

0
Any Errors? rexbit 707 — 8y

Answer this question