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

How to make toggleable fire effect with click detector?

Asked by 2 years ago

What script would I have to put in a part to make it display the fire effect when clicked on by a player?

0
This is not script request website SuAkihiro 94 — 2y

1 answer

Log in to vote
0
Answered by 2 years ago

make sure you have the fire effect property enabled set to false then add a click detector then a script in the script, put this:

script.Parent.ClickDetector.MouseClick:Connect(function(clicked)
    script.Parent.Fire.Enabled = true
end)
Ad

Answer this question