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

script plain out doesn't work???

Asked by 8 years ago

function onClick(mouse) game.Players:GetChildren(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:GetChildren(player).Leaderboard.ROBUX limited = script.Parent.Parent.Parent.Parent.Parent.StarterPack:GetChildren(limited) wait(0.1) leader.Value = - game.Lighting:GetChildren(limited) end

script.Parent.MouseButton1Click:connect(onClick)

it's soppost to go into the leaderstats remove the robux needed to buy the item then, go into lighting and retrieve a limited intvalue then inject it into starterpack

1 answer

Log in to vote
0
Answered by 8 years ago

function onClick(mouse) game.Players:GetChildren(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:GetChildren(player).Leaderboard.ROBUX limited = script.Parent.Parent.Parent.Parent.Parent.StarterPack:GetChildren(limited) wait(0.1) leader.Value = - game.Lighting:GetChildren(limited) end

script.Parent.MouseButton1Click:connect(onClick)

Ad

Answer this question