Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Players = game:GetService("Players")
- setclipboard("https://discord.gg/C6Z4RY9YBn")
- local function setUnixTime()
- local unixTime = tick()
- getgenv().startTime = unixTime
- end
- setUnixTime()
- if not getgenv().yetexecuted then
- getgenv().yetexecuted = true
- local bindable = Instance.new("BindableFunction")
- function bindable.OnInvoke(buttonPressed)
- if buttonPressed == "Yes" then
- loadstring(game:HttpGet("https://pastebin.com/raw/RWudY1gq"))()
- elseif buttonPressed == "No" then
- print("Ok")
- end
- end
- local success, errorMsg = pcall(function()
- game.StarterGui:SetCore("SendNotification", {
- Title = "Load script ?",
- Text = "Press yes to load",
- Icon = "rbxassetid://100114254182961",
- Duration = 90,
- Callback = bindable,
- Button1 = "Yes",
- Button2 = "No"
- })
- end)
- if not success then
- game.StarterGui:SetCore("SendNotification", {
- Title = "Error",
- Text = "Script is paused..",
- Icon = "rbxassetid://100114254182961",
- Duration = 10
- })
- game.StarterGui:SetCore("SendNotification", {
- Title = "Info",
- Text = "Script is online but cannot connect to server.",
- Icon = "rbxassetid://100114254182961",
- Duration = 10
- })
- wait(30)
- Players.LocalPlayer:Kick("Restart Roblox and try again.")
- end
- else
- game.StarterGui:SetCore("SendNotification", {
- Title = "Notification",
- Text = "uhh try pressing rightshift",
- Icon = "rbxassetid://100114254182961",
- Duration = 10
- })
- game.StarterGui:SetCore("SendNotification", {
- Title = "Notification",
- Text = "wait for the game to load or rejoin.",
- Icon = "rbxassetid://100114254182961",
- Duration = 10
- })
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement