Hi everyone,
I’m working on a Lucky Block system where, when a player interacts with the block, a GUI appear. This GUI contains a frame called CrateFrame
, which displays information about the reward (a random weapon from a list). You can see this GUI appear at the end of this video when you buy a crate. I want to implement that type of animation which shows you the weapons you can get but this time not when you buy a crate but when you open a LuckyBlock.
Here Is the video:
robloxapp-20241119-2046092.wmv (3.5 MB)
I’ve tried to do It on my own but currently, the GUI does not appear when the player clicks the Lucky Block. I’ve verified that the GUI elements are set up correctly, but I can’t figure out why it’s not working.
To make things easier, since there are a lot of scripts, I will give you the uncopylocked game which contains the crates system.
Here’s the link:
And I’ve also created a model for you where I’ve put my luckyblock with the script, the npc, the weapons, and I wrote where to place everything. Here’s the link:
REMEMBER!: I just want to implement the animation system of getting random weapons with the GUI CrateFrame
by opening the luckyblock. I don’t care about the crates’ shop or other stuff.
NOTE: I would like also to put in the luckyblock script that you can find the same weapon multiple times and the feat that If you find the same weapon multiple times It will give Crystals
(A leaderstat). I would like to keep the same logic of the Lucky Block’s script, like the probabilities, and also for the GUI animation.
Thank you in advance for any help or suggestions!