Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I make a script where it adds items to a player's inventory?

Okay, so I'm making a game, and I want it to be where, when you cut down a tree (I already have that coded), you get wood in your player inventory/backpack. I'm not a bad scripter, and I'm sure I could figure it out. But I don't really know where to start.

Can anyone help me?

1 answer

✓ Accepted answer
local player=game.Players.LocalPlayer
player.Backpack

this is how you get to backpack then you clone whatever your trying to clone to the backpack

game.Workspace.toolnamehere:Clone().Parent = wherever your trying to place it

that is if it is in the workspace

1 comment

0

oh, ok. thx

This discussion is preserved as it was. New answers, comments, and votes are closed.