I noticed that scripts in tools dont actually reset or refresh on respawn but they keep the same kind of data, I may be wrong but if im right, why is this? and is there a way I can reset it manually?
I gave this a test with a simple tool script
local x = false
print(x)
script.Parent.Equipped:Connect(function()
x = true
print(x)
end)
I placed the tool in StarterPack and here are my results:
https://streamable.com/xcu2zv
- The tool was completely removed from my player when I respawned.
- It would replace my old tool with the new tool from starterpack which had the variable x to
false
Then maybe im missing something, I made a simple dragon ball z move and when you respawn it dosent work, which made me think it didn’t reset