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?
I would have it so where you step on a platform a boolvalue is set to true indicating you stepped on the platform and damage will be taken. As well as a disconnection method to make the boolvalue false.
then have the sword check to see if the boolvalue is true before dealing damage.
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?