zqozr

whenfizzgetmentioned

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