How do I change the text?

salutations :waving_hand:

How would I make it so that when somebody gets too many votes and gets kicked off, if the person was the sabotager it would say “[Player] was the sabotager.”, and if they’re the innocent it would say: "[Player] was an innocent.]?

Blocks, I think. [1]


  1. idk how to use blocks tho, you would need to ask someone else ↩︎

3 Likes

yep

with text theres a block just for setting the text (“Set text to” or smth)
i think what you could do is make something like

If | ( Get Property == Result | Imposter? ) == True
{
Set Text | Create Text With | Get Property == Player
                            | " was the imposter!"
}
else
{
//blah blah blah player was not the imposter
}

or something along those lines
[1]


  1. if theres no “else” thingie or if theres a third result then Else If | ( Get Property == Result | Imposter? ) == False ↩︎

4 Likes

I don’t know much about this, you probably need a knockout manager, you have to set the knockout-target to player. You need two notifications for the sabatoger and innocent. For the sabatoger notification the text should be: [Triggering Player's Name] was the sabotager! Make the second notification say [Triggering Player's Name] was an innocent. Go to the knockout manager than blocks make a block that is on knockout – run wire pulse, I don’t know how you could check the player team, but maybe if the player is on whatever team the imposter is in, team 5-- activate notification 1, if the player is on team 1 the innocent team, --activate the 2nd notification.

4 Likes

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.