I cant make it so when you get a Temp number that means you didnt lose, destory requriement and give a comsumable to player

If temp number means u didnt lose, destroy reqiring item and give a comsumabe to player.

1 Like

Can you try explaining again? I don’t understand your question.

1 Like

bro read it again ;-;, or ask kyle691 to help me

1 Like

What Do You Mean Temp Number

1 Like

What do you mean by “temp number means you didn’t lose”? Do you want some actions to be carried out only if a variable is a certain number?

1 Like

yes kyle691, i got that idea from my other comments.

1 Like

When do you want this script to run? By “you didn’t lose” I assume this variable should be checked at the end of a round in your game, right?

1 Like

what is happing now like what

1 Like

yep is should, thats gonna be hard work

1 Like

Do you want the item to be given to all players? Or is there a way to determine a specific winner in your game, who the item should be given to?

1 Like

not all players, just 1 player who winned.

1 Like

How will you determine which player won? What kind of game is your game? E.g. battle royale?

1 Like

its a slot machine game by slots. 1 - 2

So you’re looking to make this script? (but with 0 replaced with the value you want to compare against and triggering player replaced with the appropriate function used to refer to the player)