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

Script dosent disable other script in StarterGui?

Asked by 4 years ago

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)

0
Is there any errors? Also I don’t see a clicking event for the GUIs, all I see is a Touched event. 123nabilben123 499 — 4y
0
it says NO ERRORS in output. what do you think? Adenandpuppy 87 — 4y

Answer this question