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

Gear player to stat value. Help?

Pretty simple but I can't script so.

The script will give a player a gear when they reach a certain stat. Help?

1 answer

explaination in script please show a script next time free models if needed use a local script in startergui

local plr = game.Players.LocalPlayer -- the player
if plr.leaderstats.Money >= 10 then -- money is the stat and 10 is the wanted value
local clone = game.Workspace.Tool:Clone() -- clones
clone.Parent = plr.Backpack -- tool is the tool and workspace is the current location
end

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