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

How to make it so tools go away after reset?

Asked by 6 years ago

Hi, I am making a shop with tools that you can purchase and when i reset the tools stay in my inventory, I am trying to make it so when you reset the tools are gone from inventory, any help?

1 answer

Log in to vote
0
Answered by 6 years ago

Create a function using Humanoid.Died. When the player dies / resets, the function activates and use :Destroy() to remove / destroy the tool from the players inventory.

0
So do i put that script under tools or just in workspace, sorry im fairly new Scxript 0 — 6y
0
You could place it in ServerScriptService, if you need more help DM me on Discord. Goat#2976 gmatchOnRoblox 103 — 6y
Ad

Answer this question