Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

script plain out doesn't work???

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

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)

This discussion is preserved as it was. New answers, comments, and votes are closed.