zqozr

whenfizzgetmentioned

Oct 6th, 2022
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.71 KB | None | 0 0
  1.  
  2. -- fizz put this in ur auto execute or execute
  3.  
  4. local lplr = game:GetService("Players").LocalPlayer
  5. local strgid = tostring(game.GameId)
  6. local mynameisfizz = 'fizz'
  7. local totarget
  8. local supported = {
  9.     ['1818'] = function()
  10.         return true -- states that the teleport can continue
  11.     end,
  12. }
  13. local inagreement = false
  14.  
  15. local function teleport() -- thought of editing this thing and making teleport universal,
  16.     local r = 'error occured'
  17.     local to = totarget
  18.     if to.Character then
  19.         if to.Character:FindFirstChild("Humanoid") and to.Character:FindFirstChild("HumanoidRootPart") then
  20.             if to.Character.Humanoid.Health>0 then
  21.                 local mm, rr = pcall(function()
  22.                     if supported[strgid] then
  23.                         local checks = supported[strgid]() -- execute bypass before teleporting
  24.                         if checks then
  25.                             lplr.Character:SetPrimaryPartCFrame(to.Character:GetPrimaryPartCFrame()+Vector3.new(0, 3, 0))
  26.                         end
  27.                        
  28.                     else
  29.                         lplr.Character:SetPrimaryPartCFrame(to.Character:GetPrimaryPartCFrame()+Vector3.new(0, 3, 0))
  30.                     end
  31.                 end)
  32.                 if mm==true then
  33.                     return true
  34.                 else
  35.                     r = 'Error: '.. rr
  36.                 end
  37.             end
  38.         end
  39.     end
  40.     game:GetService("StarterGui"):SetCore('SendNotification', {
  41.         ["Title"] = 'bruh it not work';
  42.         ['Text'] = r;
  43.         ['Duration'] = 5;
  44.         ['Button1'] = 'zq is trash at scripting'
  45.     })
  46.     return true
  47. end
  48. local bind = Instance.new('BindableFunction')
  49. local bind2 = Instance.new("BindableFunction")
  50. bind2.OnInvoke = function(r)
  51.     if r == 'yes' or r=='Button1' then
  52.         inagreement = true
  53.         local succteleport = teleport(totarget)
  54.         if not succteleport then
  55.             game:GetService("StarterGui"):SetCore("SendNotification", {
  56.                 ["Title"] = 'bruh it not work';
  57.                 ['Text'] = succteleport;
  58.                 ['Duration'] = 5;
  59.                 ['Button1'] = 'damn thats sad:sob:';
  60.             })
  61.         end
  62.     else
  63.        
  64.     end
  65. end
  66. bind.OnInvoke = function(r)
  67.     if r == 'yep'  or r=='Button1' then
  68.         if totarget then
  69.             if supported[strgid] or inagreement==true then
  70.                 local succteleport = teleport(totarget)
  71.                 if not succteleport then
  72.                     game:GetService("StarterGui"):SetCore("SendNotification", {
  73.                         ["Title"] = 'bruh it not work';
  74.                         ['Text'] = succteleport;
  75.                         ['Duration'] = 5;
  76.                         ['Button1'] = 'damn thats sad:sob:';
  77.                     })
  78.                 end
  79.             else
  80.                 game:GetService("StarterGui"):SetCore("SendNotification", {
  81.                     ["Title"] = 'Are you sure?';
  82.                     ['Text'] = 'This game is not registered/known if it has anti teleport. Do you wish to continue';
  83.                     ['Duration'] = 6;
  84.                     ['Callback'] = bind2;
  85.                     ['Button1'] = 'yes';
  86.                     ['Button2'] = 'wtf ok no';
  87.                 })
  88.             end
  89.         end
  90.     else
  91.         game:GetService("StarterGui"):SetCore("SendNotification", {
  92.             ["Title"] = 'wtf that rude';
  93.             ['Text'] = 'liam suck ass';
  94.             ['Duration'] = 5;
  95.             ['Button1'] = 'ok bud';
  96.         })
  97.     end
  98. end
  99. local function _m(plr, m)
  100.     if string.match(m:lower(), mynameisfizz:lower()) then
  101.         totarget = plr
  102.         game:GetService("StarterGui"):SetCore('SendNotification', {
  103.             ['Title'] = 'wsg fizz';
  104.             ['Text'] = string.format('%s mentioned you, Teleport to him or no?', plr.Name);
  105.             ['Duration'] = 7;
  106.             ['Callback'] = bind;
  107.             ['Button1'] = 'yep',
  108.             ['Button2'] = 'no lol noob'
  109.         })
  110.     end
  111. end
  112. game:GetService("Players").PlayerAdded:Connect(function(plr)
  113.     if plr.Name==lplr.Name then return end
  114.     plr.Chatted:Connect(function(m)
  115.         _m(plr, m)
  116.     end)
  117. end)
  118. for _, v in pairs(game:GetService("Players"):GetPlayers()) do
  119.     if v.Name==lplr.Name then continue end
  120.     v.Chatted:Connect(function(m)
  121.         _m(v, m)
  122.     end)
  123. end
  124.  
  125. game:GetService("StarterGui"):SetCore('SendNotification', {
  126.     ['Title'] = 'fizzling wizzling';
  127.     ['Text'] = 'loaded in '.. tostring(tick() - _G.asiodsgo).. ' if this took 4 seconds to load please kys';
  128.     ['Duration'] = 10;
  129.    
  130. })
Add Comment
Please, Sign In to add comment