Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I destroy parts for local player?

So in my game there are doors unlocked with wins: 1 win, 3 wins, 5 wins etc. I want to destroy the doors when the local player reaches 1 win, 3 wins, 5, etc. How could I do that?

2 answers

✓ Accepted answer

Use the command Destroy Example:

Door:Destroy()

@theking66hayday

Do I just do this in a local script?:

if player.leaderstats.Wins.Value = 1 then
	Door:Destroy()
end

3 comments

0

Yep, it worked

0

I put the local script in starterplayerscripts

0

Good happy to help

This discussion is preserved as it was. New answers, comments, and votes are closed.