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

How To give A Weapon Once Gui TextButton Is Clicked?

Asked by 10 years ago

Does Any one know this script if you do Please Help! Thank You!

1 answer

Log in to vote
1
Answered by 10 years ago

Put the weapon in Lighting, name it "Weapon" and put this in the textbutton

script.Parent.MouseButton1Click:connect(function(plr)
model=game.Lighting.Weapon
ModelCopy=model:Clone()
ModelCopy.Parent=plr.Backpack
end)
0
Thanks FPSStudioDidi 1 — 10y
Ad

Answer this question