Alright the part with the despawn works but the moment I put the lines for the despawn inside the boat shop script it stopped changing the ship value after a purchase but only after the first purchase is made.
These are the lines that break the code the moment I put em in the script.
if game.Workspace.Boats:FindFirstChild(plr.Name) then
game.Workspace.Boats:WaitForChild(plr.Name):Destroy()
end
Tried with both being FindFirstChild then tried with WaitForChild still the same.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.