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

Scripting help with 3 scripts?

Asked by 9 years ago

Ok. I was also wondering if you can fix this script. Seriously I have tried everything for this script.

upgrade = script.Parent.Parent.TextLabel.Upgrade
number = script.Parent.Parent.TextLabel.Number

script.Parent.MouseButton1Click:connect(function()
number.Value = ""..number.Value + upgrade.Value
end)

upgrade is another intvalue in a different textLabel while this script is in a text button. Number is anohter intvalue in the textlabel that has a script in the textLabel that looks like this

while true do
script.Parent.Text = ""..script.Parent.Number.Value
end

upgrade also has a script that looks like this.

-- this is not local script, while everything else is
local pass = 182358984
local player = game.Players.LocalPlayer

function Auth()
return game:GetService("GamePassService"):PlayerHasPass(player.UserId, pass)
end

while true do
if Auth() then
script.Parent.Value = 3
else
script.Parent.Value = 1
end
end

if you can fix this that would be awesome... I have tried stringValues too... :) thanks

0
Do you have any Output on an error, if there was one? TheeDeathCaster 2368 — 9y
0
No. But the scripts don't work. Also, my game is weirdly stuck in Studio mode if you look at my only game on my profile. The character appears nil... raystriker6707 30 — 9y

Answer this question