Output:
TextLabel3 is not a valid member of 'Frame'
TextLabel3 is under frame though.
part = game.Workspace.SpecialPart
function touch(part)
if (part.Parent:FindFirstChild("Humanoid")) and game.Players:FindFirstChild(part.Parent.Name) then wait(0.05)
if game.Players:FindFirstChild(part.Parent.Name).TeamColor == game.Teams["Inmates"].TeamColor then
for _,v in pairs(game.Players:GetPlayers()) do
if v.TeamColor == BrickColor.new("Bright blue") then
local msg = script.Parent.Frame.TextLabel3
msg.Parent = v.PlayerGui
wait(0.5)
msg.Visble = false
wait(0.5)
msg.Visible = true
wait(0.5)
msg.Visible = false
wait(0.5)
msg.Visible = true
wait(0.5)
msg.Visible = false
wait(0.5)
msg.Visible = true
wait(0.5)
msg.Visible = false
wait(0.5)
msg.Visible = true
wait(0.5)
msg.Visible = false
wait(0.5)
end
end
end
end
end
script.Parent.Touched:connect(touch)
You just got Quarter-Term'd |