Meliodas0_0

Jewel JB Notification

Oct 16th, 2019
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. function notify(title, text)
  2. game.StarterGui:SetCore("SendNotification", {
  3. Title = title,
  4. Text = text,
  5. Button1 = "OK"
  6. })
  7. end
  8.  
  9. local a;
  10.  
  11. for i,v in pairs(game.workspace.Jewelrys:GetChildren()) do
  12. a = v
  13. end
  14.  
  15. local b = a.Extra.Sign.Decal.Transparency
  16.  
  17. print(b)
  18.  
  19. if string.find(b, "0.8") then
  20. notify("Jewelry", "Jewelry is open.")
  21. else
  22. notify("Jewelry", "Jewelry is closed.")
  23. end
Advertisement
Add Comment
Please, Sign In to add comment