#Issues with script about "Tool Giver GUI"

22 messages · Page 1 of 1 (latest)

raven rain
#

error msg:

"Players.fer007.PlayerGui.Tool Giver GUI.ToolList.Script:37: attempt to index nil with 'Backpack'
versed iris
#

Because you cant acces server storage from client

rotund carbon
#

Fist of all, you cant do that in local script

raven rain
#

@versed iris @rotund carbon

#

the solution for that issue is changing:

    local tool = game:GetService("ServerStorage"):FindFirstChild(toolName)

to

    local tool = game:GetService("ReplicatedStorage"):FindFirstChild(toolName)
#

??

#

i'm beginner

versed iris
#

Use remote event to ask the server to give the player the tool

raven rain
#

?

versed iris
#

Server storage

raven rain
versed iris
#

Don't use chat gpt

rotund carbon
#

Oh boy... Chat GPT is so fucking bad at roblox scripting... dont use it

raven rain
#

bruh

#

idk how to script

rotund carbon
#

You just need to change the script from local to server and get the player

#

Learn the basisc