Advertisement
dkg_yt

not api

Nov 26th, 2019
2,735
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. local api={}
  2.  
  3. function api:notif(title,text,dur)
  4.     game:GetService("StarterGui"):SetCore("SendNotification", {
  5.         Title = title;
  6.         Text = text;
  7.         Duration = dur 
  8.     })
  9. end
  10.  
  11. function api:SM(text,Color,Font,size)
  12.     game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage", {
  13.         Text = text;
  14.         Font = Font;
  15.         Color = Color;
  16.         FontSize = size;   
  17.     })
  18. end
  19. return api
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement