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

Help? Shop Gui Sound/Save Not Answered

i need help so when you buy it auto save the weapon and plays a sound.

local player = script.Parent.Parent.Parent.Parent.Parent
local price = 0 
local tool = game.Lighting:findFirstChild("GrappleHook") 

function buy()
wait(0.1)
local money = player.leaderstats.KOs 
if money.Value >= price then 
local a = tool:clone() 
a.Parent = player.Backpack
else 
end 
end 

script.Parent.MouseButton1Down:connect(buy) 

and if you know any auto saving Kos/Wos leader board script plz send me a message and link on roblox. ---Answered

1 answer

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