SHARE
TWEET

Untitled

a guest May 23rd, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --made by edzell21 all rights go to him pls dont steal :D
  2. --for self check in
  3. --Master
  4. local groupid = 0
  5. local rankid = 0
  6. local mainFrame = script.Parent.MainFrame
  7. local adminFrame = mainFrame.adminFrame
  8. local checkFrame = mainFrame.checkFrame
  9. local errorFrame = mainFrame.errorFrame
  10. local thankFrame = mainFrame.thankframe
  11. local admitBtm = mainFrame.adminBtn
  12. local exitBtn = mainFrame.exitBtn
  13.  
  14. local shirt id = {
  15.  bcid = 0,
  16. fcid = 0,
  17. ecid = 0,
  18. }
  19. local player = game.Player.Local Player
  20. checkFrame.Bc.MouseButton1Down:connect(function()
  21. if game.MarketplaceService:PlayerOwnAsset() then
  22.  
  23. end
  24. end)
  25.  
  26. adminBtn.MouseButton1Down:connect(function()
  27. if game.Players.LocalPlayer:GetRoleInGroup(groupid) >= rankid then
  28. checkFrame.Visible = false
  29. errorFrame.Visible = false
  30. thankFrame.Visible = false
  31.  adminFrame.Visible = true
  32. end
  33. end)
  34.  
  35. exitBtn.MouseButton1Down:connect(function()
  36. mainFrame:REmove()
  37. end)
  38.  
  39. adminFrame.Open.MouseButton1Down:connect(function()
  40. rs.SCICheck:InvokeServer("Open")
  41. end)
  42.  
  43. adminFrame.Close.MouseButton1Down:connect(function()
  44. rs.SCICheck:InvokeServer("Close")
  45. end)
  46.  
  47.  
  48.  
  49. --Script
  50. game.ReplicatedStorage.SCICheck.OnServerInvoke = (function(plr,command)
  51. if command == "Open" then
  52. game.ServerStorage.SCI.MainFrame.errorFrame.Visible = false
  53. game.ServerStorage.SCI.MainFrame.checkFrame.Visible = true
  54.  
  55. end
  56. if command == "Close" then
  57. game.ServerStorage.SCI.MainFrame.errorFrame.Visible = true
  58. game.ServerStorage.SCI.MainFrame.checkFrame.Visible = false
  59.  
  60. end
  61. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top