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

Why isn't this script working, I have tried many things but i still can't get the it to work help?

Asked by
bailley5 114
4 years ago
Edited 4 years ago

this is in a screengui inside of a text label. also nothing is in the output :/

01local guiObject = script.Parent
02while true do
03guiObject.TextScaled = true
04wait(0.1)
05guiObject.TextScaled = false
06wait(0.1)
07guiObject.TextScaled = true
08wait(0.1)
09guiObject.TextScaled = false
10guiObject.Position = UDim2.new(-52, 102)
11wait(0.1)
12guiObject.Position = UDim2.new(82, 29)
13wait(0.1)
14guiObject.Position = UDim2.new(286, 101)
15wait(0.1)
View all 25 lines...
0
what are you trying to achieve with your code? quinzt 201 — 4y
0
I am trying to make an eerie gui that glitches around the screen. bailley5 114 — 4y
0
In the output it says now "can't set value" I have never seen that ever bailley5 114 — 4y

1 answer

Log in to vote
1
Answered by
quinzt 201 Moderation Voter
4 years ago
Edited 4 years ago

your using brickcolor.new for a gui. Use color3.new instead

ok so I edited your script

01local gu = script.Parent
02spawn(function()
03    while true do
04        wait(.1)
05        gu.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
06    end
07end)
08spawn(function()
09    while true do
10--put your different coords here
11    end
12end)
13spawn(function()
14    while true do
15        wait(.1)
16        gu.TextScaled = true
17        wait(.1)
18        gu.TextScaled = false
19    end
20end)
0
I did that, thanks but now the textlabel just disappears, I think it is to do with the position. bailley5 114 — 4y
0
i edited it heres a comment just for the notif quinzt 201 — 4y
0
Thanks! bailley5 114 — 4y
Ad

Answer this question