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
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)
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