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

script plain doesn't work yet no output errors?

Asked by 9 years ago
01limited = game.Lighting:GetChildren(IntValue.math.random)
02 
03function onClick(mouse)
04    game.Players:WaitForChild(player).leaderstats.ROBUX.Value = limited.Value or limited.Value+
05    limited:clone()
06    wait(0.1)
07    limited.Parent = script.Parent.Parent.Parent.Parent.Parent.StarterPack
08    wait(0.1)
09    leader = game.Players:WaitForChild(player).Leaderboard.ROBUX
10    limited2 = script.Parent.Parent.Parent.Parent.Parent.StarterPack:GetChildren(limited)
11    wait(0.1)
12    leader.Value = - game.Lighting:WaitForChild(limited)
13end
14 
15script.Parent.MouseButton1Click:connect(onClick)
0
Place in a code block please and add information to what you're trying to accomplish. M39a9am3R 3210 — 9y
0
ok, so the script is soppost to make the player use money and buy a item that gets put into there starterpack Dominus113 0 — 9y
0
theeere Dominus113 0 — 9y
0
where is IntValue defined? this cannot be the whole script if there are no errors. 1waffle1 2908 — 9y
View all comments (2 more)
0
The intvalue is in lighting. Dominus113 0 — 9y
0
it isn't defined in the script. 1waffle1 2908 — 9y

Answer this question