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

gui giver Help???

"player" is highlighted

pistol = game.ReplicatedStorage["Cheezburger"]:clone()
function buy()
			pistol.Parent = player.Backpack
end

script.Parent.MouseButton1Click:connect(buy)

1 comment

0

Who is player? You haven't even referenced who this object is. Make sure when you click on objects that it references a click detector.

1 answer

✓ Accepted answer

I'm guessing this is a developers product am I correct? Try using this as a reference, it might help!

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