diff --git a/client/functions.lua b/client/functions.lua index 2b41f83..1d0b955 100644 --- a/client/functions.lua +++ b/client/functions.lua @@ -305,12 +305,11 @@ else end function progressbar(text, time, emote, cancel) - if emote.prop then + if emote and emote.prop then if not emote.prop.model then emote.prop = nil end end - print(json.encode(emote)) local success = Bridge.ProgressBar.Open({ duration = time or 5000, label = text or 'LAZY AF DEVS',