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
its really not that hard to have auto save leaderboard all you need to do is use the built-in functions :saveNumber or :saveString depending on your situation.
here are the links to both: http://wiki.roblox.com/index.php?title=SaveString_(Method)
http://wiki.roblox.com/index.php?title=SaveNumber_(Method)