Jump to content

Guess the Number }{ Skript game


ItsKirby

Recommended Posts

Just a thanks to whoever came to help me with this skript.
It was really satisfying when the skript finally worked out in the end!
 

Guess the number is a game involving the chat where the players can try to guess what the number is between 2 numbers. Just a fun game you can add in your server! It has options where you can easily change for your liking and only requires skript.

Paste bin link: https://pastebin.com/NDvnjxfE
Edit: updated skript with restarting event when player's don't solve the game when the timer finishes again, causing a new number to be picked but no message to notify players.

If you need any help on how it works, just give a comment here! It should be working fine once you put it in your server.
This is my first skript that i created for the community, hope you enjoy it and give a like if this works!

Edited by ItsKirby

2021-06-09_20_22_08.jpg.422c39613f8b72de894e5ec1f3377dca.jpg

Yo who actually reads these

[Vip] - 12/29/2020
[Pro] - 1/25/2022
 

 

 

Link to comment
Share on other sites

This won't work. You used loop-player's uuid in the variables for the whole skript, even when you didn't loop players. 

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev

---------------------------------------------------------

[VIP] - 7/27/2020

Community Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now

---------------------------------------------------------

image.png.70849a9b84e0347ce107b8e3eaee312c.pngimage.png.2111009afbd8bef10966ba9ede35a199.png

Link to comment
Share on other sites

13 hours ago, _Tarna_ said:

This won't work. You used loop-player's uuid in the variables for the whole skript, even when you didn't loop players. 

If i take the loop-player's uuid away and replace it with player's uuid, it wouldn't work. The skript works for some reason and i tested it with a friend. Im not sure why it doesn't function when i replace it with what you said in the places where it doesn't loop.

Note that im not a professional skripter.

Edited by ItsKirby

2021-06-09_20_22_08.jpg.422c39613f8b72de894e5ec1f3377dca.jpg

Yo who actually reads these

[Vip] - 12/29/2020
[Pro] - 1/25/2022
 

 

 

Link to comment
Share on other sites

29 minutes ago, ItsKirby said:

If i take the loop-player's uuid away and replace it with player's uuid, it wouldn't work. The skript works for some reason and i tested it with a friend. Im not sure why it doesn't function when i replace it with what you said in the places where it doesn't loop.

Note that im not a professional skripter.

What? The skript would show errors saying something like there is no loop that matches loop-player. Did you test that skript out and it worked with no errors?

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev

---------------------------------------------------------

[VIP] - 7/27/2020

Community Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now

---------------------------------------------------------

image.png.70849a9b84e0347ce107b8e3eaee312c.pngimage.png.2111009afbd8bef10966ba9ede35a199.png

Link to comment
Share on other sites

4 minutes ago, _Tarna_ said:

What? The skript would show errors saying something like there is no loop that matches loop-player. Did you test that skript out and it worked with no errors?

The reason it doesn't show errors is because none of the "loop-player" is between % so it never actually gets counted as that so it's basically only text.

  • Like 1

tumblr_lqahoaPLkC1ql1l0v.gif

Feel free to add me on discord if you:

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with plugins

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with skripts

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need to vent about something

tumblr_lqahoaPLkC1ql1l0v.gif

>[ ‧₊˚꒰ʚ Starshine ɞ ‧✦ *#2683 ]<

Link to comment
Share on other sites

10 minutes ago, StarBunnie said:

The reason it doesn't show errors is because none of the "loop-player" is between % so it never actually gets counted as that so it's basically only text.

If its between %, it doesn't show that loop-player error? I just tried doing teleport player to {a::%loop-player's uuid%} inside of a join event with no loop and it still showed that error for me.

 

Edit: oh wait nvm. Read what you said wrong. Also just noticed it too after you said it that there are no % signs around loop-player.

Edited by _Tarna_
  • Like 1

Discord - tarna256

In-game name - _Tarna_

Website - https://tarna.dev
Paste Site: https://paste.tarna.dev

---------------------------------------------------------

[VIP] - 7/27/2020

Community Support - 7/8/20 | 11/3/20

Helper  - 11/3/20 - 2/21/21

Moderator - 2/21/21 - 5/17/21

❤️ - 5/17/21 - now

Moderator - 12/20/22 - now

---------------------------------------------------------

image.png.70849a9b84e0347ce107b8e3eaee312c.pngimage.png.2111009afbd8bef10966ba9ede35a199.png

Link to comment
Share on other sites

  • 1 year later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...