local speedline = script.Parent
local function steppedOn(part)
local parent = part.Parent
if game.Players:GetPlayerFromCharacter(parent) then
game.Players:GetPlayerFromCharacter(parent).Backpack.CameraScript1.Disabled=false
game.Players:GetPlayerFromCharacter(parent).PlayerGui.Hello.Hard1.Visible=false
game.Players:GetPlayerFromCharacter(parent).PlayerGui.Hello.Easy2.Visible=false
end
end
speedline.Touched:connect(steppedOn)
It says that Easy2 is not a valid member of ScreenGui when I made sure 100 times that it is another child of my ScreenGui 'Hello' is able to go invisible (Easy2 and Hard1).
Hard1 becomes invisible but Easy2 doesn't even though they are under the same ScreenGui.
Sorry for my choice of words when scripting, ^.^
|