limited = game.Lighting:GetChildren(IntValue.math.random)
function onClick(mouse)
game.Players:WaitForChild(player).leaderstats.ROBUX.Value = limited.Value or limited.Value+
limited:clone()
wait(0.1)
limited.Parent = script.Parent.Parent.Parent.Parent.Parent.StarterPack
wait(0.1)
leader = game.Players:WaitForChild(player).Leaderboard.ROBUX
limited2 = script.Parent.Parent.Parent.Parent.Parent.StarterPack:GetChildren(limited)
wait(0.1)
leader.Value = - game.Lighting:WaitForChild(limited)
end
script.Parent.MouseButton1Click:connect(onClick)
COMMUNITY QUESTION
script plain doesn't work yet no output errors?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

6 comments
Place in a code block please and add information to what you're trying to accomplish.
ok, so the script is soppost to make the player use money and buy a item that gets put into there starterpack
theeere
where is IntValue defined? this cannot be the whole script if there are no errors.
The intvalue is in lighting.
it isn't defined in the script.