Jump to content
  • 0

scrip surprise box


Kater

Question


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.20
  • Content Count:  174
  • Reputation:   2
  • Joined:  04/03/24
  • Last Seen:  

Hi friends,

I need a script when the player opens a box (item to be defined) he will have the chance to win a random item where I can configure the percentage of each item and also have the chance of not winning anything.
When opening the box, the player's name will be announced to the entire server.

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.02
  • Content Count:  215
  • Reputation:   11
  • Joined:  08/30/19
  • Last Seen:  

use the search button there's plenty of that script here.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.20
  • Content Count:  174
  • Reputation:   2
  • Joined:  04/03/24
  • Last Seen:  

On 6/20/2024 at 10:35 AM, Takuyakii said:

use the search button there's plenty of that script here.

I don't know what to comment if it didn't help or anything.
If I open the forum it's because I couldn't find it, if you said there are several because you didn't put the link or the keyword to search.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  06/25/24
  • Last Seen:  

On 6/20/2024 at 8:35 PM, Takuyakii said:

use the search button there's plenty of that script here.                                                                                                             geometry dash

I can't find it either

Edited by pleiramallls
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.02
  • Content Count:  215
  • Reputation:   11
  • Joined:  08/30/19
  • Last Seen:  

On 6/24/2024 at 7:54 PM, Kater said:

I don't know what to comment if it didn't help or anything.
If I open the forum it's because I couldn't find it, if you said there are several because you didn't put the link or the keyword to search.

try to use google, i have no time for now to search it im using phone. don't be spoon feed 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   5
  • Joined:  08/27/16
  • Last Seen:  

I'd recommend to use the Item Group DB to achieve what you want, just like Old Blue Box works, i.e.
Choose or create a set if items in this file, it allows you to set different chance rates for every item in the IG.
After setting this up, use it on your item's script like this:
 

    Script: |
      getgroupitem(IG_BlueBox); //here you insert your desired Item Group

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.20
  • Content Count:  174
  • Reputation:   2
  • Joined:  04/03/24
  • Last Seen:  

On 6/26/2024 at 11:06 AM, Hyllok said:

I'd recommend to use the Item Group DB to achieve what you want, just like Old Blue Box works, i.e.
Choose or create a set if items in this file, it allows you to set different chance rates for every item in the IG.
After setting this up, use it on your item's script like this:
 

    Script: |
      getgroupitem(IG_BlueBox); //here you insert your desired Item Group

 

I've never done that in my life.
Do you have an example, or have you seen a topic so I can have a basis?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  27
  • Reputation:   5
  • Joined:  08/27/16
  • Last Seen:  

10 hours ago, Kater said:

I've never done that in my life.
Do you have an example, or have you seen a topic so I can have a basis?

I've already gave you an example, but even so you don't get it, try reading documentation or using search feature.

There is a lot of topics similar to yours, including using different solutions that you can choose to fit your needs.
Examples:

 

 

  • Love 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...