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

how to destroy a blocks? for only one or for me

Asked by 4 years ago

so i'm beginner on scripting. i'm making skill that can get one only

2 answers

Log in to vote
0
Answered by
pwx 1581 Moderation Voter
4 years ago

Assuming you have FilterEnabled on, if you want the block itself to only delete for you then you can actually delete it locally. It should only effect the client, making sure no one else can see it deleted.

0
I think FilteringDisabled was permanently disabled. All games are set to FilteringEnabled, even if it is disabled in the game settings. LucarioZombie 291 — 4y
0
Gotcha. pwx 1581 — 4y
Ad
Log in to vote
0
Answered by
Syclya 224 Moderation Voter
4 years ago

You could either destroy the specified object via a localscript, or use FireClient() from the server. Either works just fine, but having a localscript only is less work and less objects in the game.

Answer this question