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

Gear player to stat value. Help?

Asked by 4 years ago

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

Log in to vote
0
Answered by
raid6n 2196 Moderation Voter Community Moderator
4 years ago

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
Ad

Answer this question