Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

gui giver Help???

Asked by 9 years ago

"player" is highlighted

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

script.Parent.MouseButton1Click:connect(buy)
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. Legojoker 345 — 9y

1 answer

Log in to vote
0
Answered by
Vividex 162
9 years ago

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

Ad

Answer this question