Help on a multi-item lottery system

Hello! I am a new gim to the forums and was wondering if there was a way to make a lottery system that could give different types of resources( like it could give snowballs or fish, wheat tickets or seeds, etc.) The system only costs one lottery ticket though. I’m currently working on a fishing tycoon-type game that would benefit from the inclusion of this feature.

The lottery would go in the grass under the purple lake, if you wanted to know. Also sorry for phone pics, I’m typing this on one so it would be more convenient.

Use these guides:

(Zone) Player Enters Zone > (Trigger) Trigger

Blockcode:

Set [Variable] to random integer from # to #

if [Variable] = # 
do Broadcast Message On Channel “grantrandomitem1”

else if [Variable] = # 
         do Broadcast Message On Channel “grantrandomitem2”

Hi, Welcome to the forums, @Sharkyboss!

Don’t forget to check out the new-user-must-read and forum-tips tag.

The Community Made Guides category is also very useful, posts there give you a gist of the rules and mechanics in Gimkit Creative.

While you’re at it, I suggest also reading the

TOS and FAQ.

If you need help with anything, just ask!

After all, this is a Community Forum :robot: !

1 Like

Take each output and put a different outcome on each one, and you should be good!

Welcome to the forum! The guide linked by haiasi should be what you’re looking for.

1 Like

this is cool!has anyone heard from cyantiger?

Also, your gamecode is showing.
You might want to edit that out.
(Codes are not allowed here)

1 Like

Please don’t get off-topic.

1 Like

Thanks! Im going to go that now!

1 Like

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