Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Players = game:GetService("Players")
- local StarterGui = game:GetService("StarterGui")
- local player = Players.LocalPlayer
- player.Chatted:Connect(function(msg)
- if msg:lower() == "/ui" then
- -- Send notification to the player
- StarterGui:SetCore("SendNotification", {
- Title = "Notification",
- Text = "Ui made by Kiilm",
- Duration = 5
- })
- wait(3)
- -- Send notification to the player
- StarterGui:SetCore("SendNotification", {
- Title = "Notification",
- Text = "Loading Script...",
- Duration = 5
- })
- -- Delay for 5 seconds before kicking the player
- wait(5)
- player:Kick("You've been banned permanently from this experience.\nReason: Exploiting.")
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment