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

Trying to 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
reaper5 10
10 years ago

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.

Ad