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

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

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

local guiObject = script.Parent
while true do
guiObject.TextScaled = true
wait(0.1)
guiObject.TextScaled = false
wait(0.1)
guiObject.TextScaled = true
wait(0.1)
guiObject.TextScaled = false
guiObject.Position = UDim2.new(-52, 102)
wait(0.1)
guiObject.Position = UDim2.new(82, 29)
wait(0.1)
guiObject.Position = UDim2.new(286, 101)
wait(0.1)
guiObject.Position = UDim2.new(102, 13)
guiObject.BackgroundColor3 = Color3.new(255, 0, 0)
wait(0.1)
guiObject.BackgroundColor3 = Color3.new(105, 102, 92)
wait(0.1)
guiObject.BackgroundColor3 = Color3.new(255, 0, 0)
wait(0.1)
guiObject.BackgroundColor3 = Color3.new(105, 102, 92)
wait(5)
end

3 comments

0

what are you trying to achieve with your code?

0

I am trying to make an eerie gui that glitches around the screen.

0

In the output it says now "can't set value" I have never seen that ever

1 answer

✓ Accepted answer

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

ok so I edited your script

local gu = script.Parent
spawn(function()
	while true do
		wait(.1)
		gu.BackgroundColor3 = Color3.new(math.random(0,1),math.random(0,1),math.random(0,1))
	end
end)
spawn(function()
	while true do
--put your different coords here
	end
end)
spawn(function()
	while true do
		wait(.1)
		gu.TextScaled = true
		wait(.1)
		gu.TextScaled = false
	end
end)

3 comments

0

I did that, thanks but now the textlabel just disappears, I think it is to do with the position.

0

i edited it heres a comment just for the notif

0

Thanks!

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