Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(1.2)
- game.StarterGui:SetCore("SendNotification", {
- Title = "Check"; -- the title (ofc)
- Text = "Checking The Whitelist..."; -- what the text says (ofc)
- Icon = "rbxassetid://12617393548"; -- the image if u want.
- Duration = 5; -- how long the notification should in secounds
- })
- if whitelistecheck[game:service('Players').LocalPlayer.UserId] then
- game.StarterGui:SetCore("SendNotification", {
- Title = "Succes"; -- the title (ofc)
- Text = "Whitelisted!"; -- what the text says (ofc)
- Icon = "rbxassetid://13055495490"; -- the image if u want.
- Duration = 5; -- how long the notification should in secounds
- })
- else
- game.StarterGui:SetCore("SendNotification", {
- Title = "Failed"; -- the title (ofc)
- Text = "Not Whitelisted!"; -- what the text says (ofc)
- Icon = "rbxassetid://13435022033"; -- the image if u want.
- Duration = 5; -- how long the notification should in secounds
- })
- wait(5)
- game:service('Players').LocalPlayer:Kick('Not Whitelisted')
- end
Advertisement
Add Comment
Please, Sign In to add comment