Meliodas0_0

JB Bank Open Notification

Oct 16th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 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.Banks: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("Bank", "Bank is open.")
  21. else
  22. notify("Bank", "Bank is closed.")
  23. end
Add Comment
Please, Sign In to add comment