This doesn't seem to be working. I tryed it on the Solo Play in ROBLOX Studio, but in the Output window, it doesn't say anything is wrong. Also, the GUI that is showing doesn't do anything. I can't seem to figure it out. Why is this happening? The script:
local isOn = false
function onTouched()
if isOn == true then off() else on() end endfunction on() isOn = true script.Parent.Players.Player.PlayerGui.SnowGUI.GUI.Disabled = false script.Parent.Players.Player.PlayerGui.SnowGUI.Frame.BackgroundTransparency = 0.9 end
function off()
isOn = false script.Parent.Players.Player.PlayerGui.SnowGUI.GUI.Disabled = true script.Parent.Players.Player.PlayerGui.SnowGUI.Frame.BackgroundTransparency = 1 endscript.Parent.Touched:connect(onTouched)
on()