#Flashing text on Screen.
42 messages · Page 1 of 1 (latest)
its Visible not visible
Still doesn’t work after I fixed it
It doesn’t show an output. It’s a script on a Part, and every time I touch the Part it doesn’t show any output
Basically I have 4 Text Labels that I have default set to not visible, the script I’ll paste down here is supposed to run a sequence of turning on and off the visibility setting when I touch a Part.
local w1w = game.StarterGui.Warnings.W1W
local w1r = game.StarterGui.Warnings.W1R
local w2w = game.StarterGui.Warnings.W2W
local w2r = game.StarterGui.Warnings.W2R
function warnings()
w1w.Visible = true
wait(.2)
w1w.Visible = false
w1w.Visible = true
wait(.1)
w1w.Visible = false
w1r.Visible = true
wait(.15)
w1r.Visible = false
w1w.Visible = true
w1w.Visible = false
w1r.Visible = true
w1r.Visible = false
end
game.Workspace.Warning.Touched:Connect(warnings)
That didn’t work
There we go
Oh I see
Let's do a little debugging
Alr
Where's ur part located
Game.workspace.Part?
Or is it in something
Its in game.workspace.Warning
Warning is the part right
Alr
local warn = script.Parent
warn.Touched:Connect(function()
print("hi")
end)
Just remove all that
And when you walk on it
Tell me if it prints hi
If it does
Then this will be a easy fix
Wait what do you want me to do
Remove everything in your previous script and just put the script I sent you
Ok
screen.Touched:Connect(function()
print("hi")
end)
Also this script has to go into the part
Also a normal script not a local
This one is printing
** You are now Level 3! **
OK good it means the touch function works
local w1w = game.StarterGui.Warnings.W1W
local w1r = game.StarterGui.Warnings.W1R
local w2w = game.StarterGui.Warnings.W2W
local w2r = game.StarterGui.Warnings.W2R
local screen = script.Parent
screen.Touched:Connect(function()
print("hi")
end)
local w1r = game.StarterGui.Warnings.W1R
local w2w = game.StarterGui.Warnings.W2W
local w2r = game.StarterGui.Warnings.W2R
local screen = script.Parent
screen.Touched:Connect(function()
print("hi")
end)```
That is also printing normally