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

How can I make a script that...? [closed]

Asked by 10 years ago

Only allows players to take damage from a sword only when they are standing on a certain platform, just like the way it is in the game "Fencing"

And how would I set it up?

Closed as Not Constructive by evaera

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 10 years ago

Use the FindPartsInRegion3 method to check if the player that was hit is within the area, and if so, damage them.

0
How so? towertycoon 0 — 10y
Ad