Attempt to index nil with ‘clone’

What are you talking about? On the wiki, it isn’t deprecated or anything. It should be there just fine.

2 Likes

I think the reason why is because client info is always nil when sent to the server, as seen that you have .OnServerEvent in your code

You should try this

local Item = game.ServerStorage.Items:WaitForChild(Configure.Item.Value)
Item:Clone().Parent = plr.Backpack

Or if it’s nil debug it do

print(Configure.Item.Value)

Also If you set the value in client server don’t see it do RemoteEvent where you send value you want set it Then you can again debug it
I hope it’s help you

1 Like

It’s working. Thank you very much for helping.

Hello, I’m Bxbblles, nice to see you!

Here an example

local clone = game.ServerStorage.(TOOLNAME):Clone()
clone.Parent = game.StarterGear

I believe a player doesn’t have a personal startergear option. I believe that just game has a startergear.

1 Like