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

How can I make item destroy after being used?

Asked by
Seyfert 90
8 years ago

I want to make certain items like the gravity coil only be used once, for example, once somsone jumps with the gravity coil, after a few seconds it will destroy it. How can I do that?

1 answer

Log in to vote
0
Answered by
cc567 50
8 years ago

At the end of the gravity coil function, just destroy the parent afterward.

0
I tried that but I get a weird weird error or the jumping doesn't work correctly. Seyfert 90 — 8y
0
Can you post the function? cc567 50 — 8y
0
http://pastebin.com/PCT8UXjT Notice where I added "Tool:Destroy()" I am not entirely sure if that is correct. Seyfert 90 — 8y
0
^That's right cc567 50 — 8y
Ad

Answer this question