#My game dont find RollModules in ReplicatedStorage

1 messages · Page 1 of 1 (latest)

restive valve
#

local ToolTable = require(game.ReplicatedStorage.RollModules:WaitForChild("ToolTable"))
This version avoids an extra GetService() and might reduce timing issues in some cases, especially if the script runs at the very start of the server boot.

However, in your case:

RollModules exists in ReplicatedStorage.

It's not a capitalization error.

The error happens even with WaitForChild, which would normally wait until it appears.

Thank you for helping!!!

#

Game Type: Gacha Action RPG based on anime characters
Core Genre:
Action RPG with inventory, equipment, and character-specific tools/abilities.

Main Concepts:

Gacha System / RNG: Players roll randomly to obtain characters.

Anime Crossover: Each character comes from a popular anime universe (e.g., Gojo, Saitama, Toji, etc.).

Key Features Already Developed:

Character roll system with weighted probabilities (using ToolTable with Weight and Rarity)

Tools folder: Each anime character is a model containing their specific tools or abilities

Automatic equipping of the rolled character (tools go to Backpack or Character)

Save system: Characters obtained are saved using DataStoreService

Inventory GUI: Displays all unlocked characters and the currently equipped one

Re-equip option available via the Inventory button

Server-side management: PlayerData, RemoteFunctions, and RemoteEvents are fully implemented

Gameplay Objective:
Players roll to collect anime characters, equip them, and use their unique powers in the game.

restive valve
#

ok ty i will try

#

@subtle vessel i put all but i have the same error

grand hillBOT
#

studio** You are now Level 1! **studio

subtle vessel
restive valve
subtle vessel
#

While playing your game, open replicated storage and tell me what you see.

#

Is the script there?

restive valve
#

yes he is here

gaunt oxide
#

Thats a folder do waitforchild

grand hillBOT
#

studio** You are now Level 10! **studio

restive valve
#

yes

gaunt oxide
#

did it work

restive valve
#

no idk why

gaunt oxide
#

probably something in ur code is erroring and its just not finding it

#

do findfirstchild see what happens

restive valve
#

yes ik its on RNGhandlers in the first screen but im not sure

#

its not

grand hillBOT
#

studio** You are now Level 2! **studio

restive valve
#

ok the next ;-;

gaunt oxide
#

probably streaming enabled

restive valve
#

i try but its not it

restive valve
#

ok i have solve a little but i get an other error