So this is a script inside of a model inside of workspace, and everything works out fine, no errors in output. HOWEVER, opon clicking, the script in the GUI in StarterGui isnt disabled! please help!

script.Parent.Touched:connect(function(p)
if p.Parent.Name == "Tape" then 
script.Parent.Parent.Main.Tape.MovingModel.Disabled = false
game.Workspace.Cool.Tape:Destroy()
script.Parent.Parent.Main.Tape.Part.Transparency = 0
script.Parent.Parent.Main.Tape.Union.Transparency = 0.95
script.Parent.Parent.Main.PartClose.BrickColor = BrickColor.new("Black")
script.Parent.Parent.Main.Part1.Transparency = 0
wait(0.8)
script.Parent.Parent.Main.Part1.Transparency = 1
script.Parent.Parent.Main.PartClose.BrickColor = BrickColor.new("Ghost grey")
-- everything else above working

game.StarterGui.Core.SaveGame.TextLabel.Script.Disabled = false -- not working
end
end)

2 comments

0

Is there any errors? Also I don’t see a clicking event for the GUIs, all I see is a Touched event.

0

it says NO ERRORS in output. what do you think?