Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --made by edzell21 all rights go to him pls dont steal :D
- --for self check in
- --Master
- local groupid = 0
- local rankid = 0
- local mainFrame = script.Parent.MainFrame
- local adminFrame = mainFrame.adminFrame
- local checkFrame = mainFrame.checkFrame
- local errorFrame = mainFrame.errorFrame
- local thankFrame = mainFrame.thankframe
- local admitBtm = mainFrame.adminBtn
- local exitBtn = mainFrame.exitBtn
- local shirt id = {
- bcid = 0,
- fcid = 0,
- ecid = 0,
- }
- local player = game.Player.Local Player
- checkFrame.Bc.MouseButton1Down:connect(function()
- if game.MarketplaceService:PlayerOwnAsset() then
- end
- end)
- adminBtn.MouseButton1Down:connect(function()
- if game.Players.LocalPlayer:GetRoleInGroup(groupid) >= rankid then
- checkFrame.Visible = false
- errorFrame.Visible = false
- thankFrame.Visible = false
- adminFrame.Visible = true
- end
- end)
- exitBtn.MouseButton1Down:connect(function()
- mainFrame:REmove()
- end)
- adminFrame.Open.MouseButton1Down:connect(function()
- rs.SCICheck:InvokeServer("Open")
- end)
- adminFrame.Close.MouseButton1Down:connect(function()
- rs.SCICheck:InvokeServer("Close")
- end)
- --Script
- game.ReplicatedStorage.SCICheck.OnServerInvoke = (function(plr,command)
- if command == "Open" then
- game.ServerStorage.SCI.MainFrame.errorFrame.Visible = false
- game.ServerStorage.SCI.MainFrame.checkFrame.Visible = true
- end
- if command == "Close" then
- game.ServerStorage.SCI.MainFrame.errorFrame.Visible = true
- game.ServerStorage.SCI.MainFrame.checkFrame.Visible = false
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement