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

How can I still continue my gear fire the remoteevent even it is :Destroy()'ed?

Asked by 4 years ago
Edited 4 years ago

A player can choose many tools to use but when they choose a different magic, it will destroy the gear, but if the user used the tool, and they quickly choose a different magic, it will abort? What can I do? Is there an event like that to still work even if it is destroyed? Example (not full work this is just a thing to know that what am i really talking about):

--this is the gear
script.Parent.Deactivated:Connect(function()
    script.Parent.RemoteEvent:FireServer()
end)

(i didn't want to put my original work here because it will take a lot of codes to do..)

Answer this question