So in my speed simulator my plan is to have rings that give you points, that part is scripted properly but I have a surface text which refuses to disappear with the part.
https://gyazo.com/a0467bdef7dd61a9372411f0e171fd70
Above is a link of the problem.
I have tried to rewrite the script & include lines to make the surface text disappear. I am running out of ideas, I figured that this is is either a script issue or a gui issue. I have a feeling its a script issue, so I am looking for a solution. ANy ideas?
1 Like
Could we see what you have tried so far, to fix this issue? It might give us an insight on how we can help.
This is the script to make the actual part disappear but I have no idea how to make the surface gui disappear,
local part = script.Parent
local debounce = true
part.Touched:Connect(function(hit)
local humanoid = hit.Parent:FindFirstChild(“Humanoid”)
if humanoid and debounce == true then
debounce = false
wait(150)
part.Transparency = 1
part.CanCollide = false
wait(1)
part.Transparency = 1
part.CanCollide = false
debounce = true
end
end)
Also I have deleted all of my script that I have written because it didnt work & I got frustrated and closed the studio tab.
You need to set the texttransparency to 0
How can I even script the change in text transparency
KenmanGG
(KenmanGG)
July 26, 2023, 5:17am
#7
You need set TextLabel.TextTransparency to 1.
First, please format your code in the DevForum by adding a ```
to the start of your code!
Secondly, you need to point to the TextLabel, and set its TextTransparency to 1, that’s how you fix your issue.
1 Like
Can you show me your layout? .
NoxhazeI
(Johnathan)
July 26, 2023, 5:40am
#10
It would because that how surfacegui, decals, textures etc work. Your only solution is to make the surfacegui, decal or texture invisible as well.
1 Like
NoxhazeI
(Johnathan)
July 26, 2023, 5:41am
#11
You mean to 1 because 0 is visible.
1 Like
I sent you a message privately with the layout shown & described
system
(system)
Closed
August 9, 2023, 5:48am
#13
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.