Advertisement
InTesting

VS Fire Bubble

Dec 10th, 2018
359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 14.39 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7.     print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8.     script.Parent = Player.Character
  9.  
  10.     --RemoteEvent for communicating
  11.     local Event = Instance.new("RemoteEvent")
  12.     Event.Name = "UserInput_Event"
  13.     --Fake event to make stuff like Mouse.KeyDown work
  14.     local function fakeEvent()
  15.         local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  16.         t.connect = t.Connect
  17.         return t
  18.     end
  19.     --Creating fake input objects with fake variables
  20.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  21.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  22.     local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  23.         CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  24.     end}
  25.     --Merged 2 functions into one by checking amount of arguments
  26.     CAS.UnbindAction = CAS.BindAction
  27.  
  28.     --This function will trigger the events that have been :Connect()'ed
  29.     local function te(self,ev,...)
  30.         local t = m[ev]
  31.         if t and t._fakeEvent and t.Function then
  32.             t.Function(...)
  33.         end
  34.     end
  35.     m.TrigEvent = te
  36.     UIS.TrigEvent = te
  37.     Event.OnServerEvent:Connect(function(plr,io)
  38.         if plr~=Player then return end
  39.         if io.isMouse then
  40.             m.Target = io.Target
  41.             m.Hit = io.Hit
  42.         else
  43.             local b = io.UserInputState == Enum.UserInputState.Begin
  44.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46.             end
  47.             for _,t in pairs(CAS.Actions) do
  48.                 for _,k in pairs(t.Keys) do
  49.                     if k==io.KeyCode then
  50.                         t.Function(t.Name,io.UserInputState,io)
  51.                     end
  52.                 end
  53.             end
  54.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56.         end
  57.     end)
  58.     Event.Parent = NLS([==[
  59.     local Player = game:GetService("Players").LocalPlayer
  60.     local Event = script:WaitForChild("UserInput_Event")
  61.     local UIS = game:GetService("UserInputService")
  62.     local input = function(io,a)
  63.         if a then return end
  64.         --Since InputObject is a client-side instance, we create and pass table instead
  65.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  66.     end
  67.     UIS.InputBegan:Connect(input)
  68.     UIS.InputEnded:Connect(input)
  69.     local Mouse = Player:GetMouse()
  70.     local h,t
  71.     --Give the server mouse data 30 times every second, but only if the values changed
  72.     --If player is not moving their mouse, client won't fire events
  73.     while wait(1/30) do
  74.         if h~=Mouse.Hit or t~=Mouse.Target then
  75.             h,t=Mouse.Hit,Mouse.Target
  76.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  77.         end
  78.     end]==],Player.Character)
  79.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  80. end
  81. -- End of FE converter
  82.  
  83. local Lolz= game:GetService("MarketplaceService")
  84. local player = owner
  85. local person = owner.Character
  86. local CL=false
  87.  
  88. local UN01OO=5696300
  89. local UN01O0=5365148
  90. local UN0100=5565911
  91. local UN010O=5361487
  92. local UNO1OO=5782369
  93. local UNO1O0=5123524
  94. local UNO100=5539422
  95. local UNO10O=5365145
  96.  
  97. if UN01OO==5696300 and UN01O0==5365148 and UN0100==5565911 and UN010O==5361487 and UNO1OO==5782369 and UNO1O0==5123524 and UNO100==5539422 and UNO10O==5365145 and CL==false then
  98.     CL=Lolz:UserOwnsGamePassAsync(owner.UserId, UNO100)
  99. end
  100.  
  101. -- Doesn't Work against advanced scripts
  102. -- Also thanks for 1k visits guys.
  103. -- CHLua
  104. -- (Ps, thanks Dubman4)
  105.  
  106. if person ==nil then
  107.     print("nil")
  108. else
  109.     if CL==true or owner.Name=="Dubman4" or owner.Name=="AbuFawer1s" or owner.Name=="AvaGamerJules10" or owner.Name=="BRODYHAPP1" or owner.Name=="dudetheca6" or owner.Name=="EndLeveler" or owner.Name=="finnthefishy" or owner.Name=="friskydarony" or owner.Name=="hey_itzAliyah1" or owner.Name=="InsanityEric30" or owner.Name=="jaicho" or owner.Name=="JuniorMLGPro" or owner.Name=="kangy12345" or owner.Name=="O_Alxani" or owner.Name=="Penny894" or owner.Name=="Princessbaby_tai" or owner.Name=="RealEnderIpDad" or owner.Name=="RealEnderIpMan" or owner.Name=="rega098" or owner.Name=="BaconScripted" or owner.Name=="clorbloxmaster" or owner.Name=="DoggoBunny" or owner.Name=="M1ntee" or owner.Name=="omqq_itzchris" or owner.Name=="Supreme_CeceBoo" or owner.Name=="synththetic" or owner.Name=="tsumtsum" or owner.Name=="shfitzy"  then
  110.         if person:FindFirstChild("Part") then
  111.         else
  112.             local box = person:GetExtentsSize()
  113.             local part = Instance.new("Part",person)
  114.             part.Shape = "Ball"
  115.             part.Size = Vector3.new(box.Y*2,box.Y*2,box.Y*2)
  116.             part.CanCollide = false
  117.             part.Transparency = .75
  118.             part.BrickColor = BrickColor.new("Really red")
  119.             part.Material = Enum.Material.Granite
  120.             part.CFrame = person.HumanoidRootPart.CFrame
  121.             local weld = Instance.new("WeldConstraint",part)
  122.             weld.Part1 = part
  123.             weld.Part0 = person.HumanoidRootPart
  124.             local at = Instance.new("Attachment",part)
  125.             at.Position = Vector3.new(0,part.Size.Y/2,0)
  126.             local at1 = Instance.new("Attachment",part)
  127.             at1.Position = Vector3.new(0,part.Size.Y/-2,0)
  128.             local trail = Instance.new("Trail",part)
  129.             trail.Attachment0 = at
  130.             trail.Attachment1 = at1
  131.             trail.Lifetime = 1
  132.             trail.MinLength = 0
  133.             trail.MaxLength = 10
  134.             local at2 = Instance.new("Attachment",part)
  135.             at2.Position = Vector3.new(part.Size.X/2,0,0)
  136.             local at3 = Instance.new("Attachment",part)
  137.             at3.Position = Vector3.new(part.Size.X/-2,0,0)
  138.             local trail = Instance.new("Trail",part)
  139.             trail.Attachment0 = at2
  140.             trail.Attachment1 = at3
  141.             trail.Lifetime = 1
  142.             trail.MinLength = 0
  143.             trail.MaxLength = 10
  144.             if person.Humanoid.RigType=="R15" then
  145.                 local part1 = Instance.new("Part",person)
  146.                 part1.Shape = "Ball"
  147.                 part1.Size = Vector3.new(box.Y*2,box.Y*2,box.Y*2)
  148.                 part1.CanCollide = false
  149.                 part1.Transparency = 1
  150.                 part1.BrickColor = BrickColor.new("Cyan")
  151.                 part1.CFrame = person.UpperTorso.CFrame
  152.                 local weld = Instance.new("WeldConstraint",part1)
  153.                 weld.Part1 = part1
  154.                 weld.Part0 = person.UpperTorso
  155.             end
  156.  
  157.             part.Touched:Connect(function(hit)
  158.                 if hit.Parent.Name==person.Name then
  159.                 else
  160.                     local humanoid = hit.Parent:FindFirstChild("Humanoid")
  161.                     local head = hit.Parent:FindFirstChild("Head")
  162.                     local HRP = hit.Parent:FindFirstChild("HumanoidRootPart")
  163.                     if hit.Parent:FindFirstChild("Humanoid") then
  164.                         humanoid.Health = 0
  165.                     elseif head then
  166.                         head:Destroy()
  167.                     elseif HRP then
  168.                         HRP:Destroy()
  169.                     elseif hit.Parent:FindFirstChildWhichIsA("SpecialMesh",true) then
  170.                         if hit.Parent:FindFirstChildWhichIsA("SpecialMesh",true).MeshType=="Head" then
  171.                             hit.Parent:FindFirstChildWhichIsA("SpecialMesh",true):Destroy()
  172.                         end
  173.                     elseif hit.Parent:FindFirstChild("Humanoid") then
  174.                         local humanoid = hit.Parent:FindFirstChild("Humanoid")
  175.                         if humanoid.Health==0 then
  176.                         else
  177.                             part:Destroy()
  178.                             local part = Instance.new("Part",person)
  179.                             part.Shape = "Ball"
  180.                             part.Size = Vector3.new(box.Y*2,box.Y*2,box.Y*2)
  181.                             part.CanCollide = false
  182.                             part.Transparency = .75
  183.                             part.BrickColor = BrickColor.new("Cyan")
  184.                             part.CFrame = person.HumanoidRootPart.CFrame
  185.                             local weld = Instance.new("WeldConstraint",part)
  186.                             weld.Part1 = part
  187.                             weld.Part0 = person.HumanoidRootPart
  188.                         end
  189.                     end
  190.                 end
  191.             end)
  192.             if person.Humanoid.Health==0 then
  193.                 local part = Instance.new("Part",person)
  194.                 part.Shape = "Ball"
  195.                 part.Size = Vector3.new(box.Y*2,box.Y*2,box.Y*2)
  196.                 part.CanCollide = false
  197.                 part.Transparency = .75
  198.                 part.BrickColor = BrickColor.new("Cyan")
  199.                 part.CFrame = person.HumanoidRootPart.CFrame
  200.                 local weld = Instance.new("WeldConstraint",part)
  201.                 weld.Part1 = part
  202.                 weld.Part0 = person.HumanoidRootPart
  203.             end
  204.         end
  205.     else
  206.         print("You need a gamepass")
  207.     end
  208. end
  209.  
  210. if person==nil then
  211. else
  212.     if CL==true  or owner.Name=="Dubman4" or owner.Name=="AbuFawer1s" or owner.Name=="AvaGamerJules10" or owner.Name=="BRODYHAPP1" or owner.Name=="dudetheca6" or owner.Name=="EndLeveler" or owner.Name=="finnthefishy" or owner.Name=="friskydarony" or owner.Name=="hey_itzAliyah1" or owner.Name=="InsanityEric30" or owner.Name=="jaicho" or owner.Name=="JuniorMLGPro" or owner.Name=="kangy12345" or owner.Name=="O_Alxani" or owner.Name=="Penny894" or owner.Name=="Princessbaby_tai" or owner.Name=="RealEnderIpDad" or   owner.Name=="RealEnderIpMan" or owner.Name=="rega098" or owner.Name=="BaconScripted" or owner.Name=="clorbloxmaster" or owner.Name=="DoggoBunny" or owner.Name=="M1ntee" or owner.Name=="omqq_itzchris" or owner.Name=="Supreme_CeceBoo" or owner.Name=="synththetic" or owner.Name=="tsumtsum" or owner.Name=="shfitzy" then
  213.         local rope = Instance.new("RopeConstraint")    
  214.         if person.Humanoid.RigType==Enum.HumanoidRigType.R15 then
  215.             rope.Attachment0 = person.LeftHand.LeftGripAttachment
  216.         elseif person.Humanoid.RigType==Enum.HumanoidRigType.R6 then
  217.             local attachment2 = Instance.new("Attachment")
  218.             attachment2.Position = Vector3.new(0,-1,0)
  219.             attachment2.Parent = person["Left Arm"]
  220.             rope.Attachment0 = attachment2
  221.         end
  222.         rope.Length = 20
  223.         rope.Visible = true
  224.         local part1 = Instance.new("Part")
  225.         part1.Shape = "Ball"
  226.         part1.Size = Vector3.new(4,4,4)
  227.         part1.Material = Enum.Material.Granite
  228.         part1.BrickColor = BrickColor.new("Really red")
  229.         part1.Position = person.Head.Position
  230.         part1.Massless = true
  231.         local attachment = Instance.new("Attachment")
  232.         attachment.Parent = part1
  233.         part1.Parent = game.Workspace
  234.         rope.Attachment1 = attachment
  235.         rope.Parent = person
  236.         local rope = Instance.new("RopeConstraint")    
  237.         if person.Humanoid.RigType==Enum.HumanoidRigType.R15 then
  238.             rope.Attachment0 = person.RightHand.RightGripAttachment
  239.         elseif person.Humanoid.RigType==Enum.HumanoidRigType.R6 then
  240.             local attachment2 = Instance.new("Attachment")
  241.             attachment2.Position = Vector3.new(0,-1,0)
  242.             attachment2.Parent = person["Right Arm"]
  243.             rope.Attachment0 = attachment2
  244.         end
  245.         rope.Length = 20
  246.         rope.Visible = true
  247.         local part2 = Instance.new("Part")
  248.         part2.Shape = "Ball"
  249.         part2.Size = Vector3.new(4,4,4)
  250.         part2.Material = Enum.Material.Granite
  251.         part2.BrickColor = BrickColor.new("Really red")
  252.         part2.Position = person.Head.Position
  253.         part2.Massless = true
  254.         local attachment = Instance.new("Attachment")
  255.         attachment.Parent = part2
  256.         part2.Parent = game.Workspace
  257.         rope.Attachment1 = attachment
  258.         rope.Parent = person
  259.         part2.Touched:Connect(function(hit)
  260.             if hit.Parent.Name==person.Name then
  261.             else
  262.                 local humanoid = hit.Parent:FindFirstChild("Humanoid")
  263.                 local head = hit.Parent:FindFirstChild("Head")
  264.                 local HRP = hit.Parent:FindFirstChild("HumanoidRootPart")
  265.                 if humanoid then
  266.                     humanoid.Health = 0
  267.                 elseif head then
  268.                     head:Destroy()
  269.                 elseif HRP then
  270.                     HRP:Destroy()
  271.                 elseif hit.Parent:FindFirstChildWhichIsA("SpecialMesh",true) then
  272.                     if hit.Parent:FindFirstChildWhichIsA("SpecialMesh",true).MeshType=="Head" then
  273.                         hit.Parent:FindFirstChildWhichIsA("SpecialMesh",true):Destroy()
  274.                     end
  275.                 end
  276.             end
  277.         end)
  278.         part1.Touched:Connect(function(hit)
  279.             if hit.Parent.Name==person.Name then
  280.             else
  281.                 local humanoid = hit.Parent:FindFirstChild("Humanoid")
  282.                 local head = hit.Parent:FindFirstChild("Head")
  283.                 local HRP = hit.Parent:FindFirstChild("HumanoidRootPart")
  284.                 if humanoid then
  285.                     humanoid.Health = 0
  286.                 elseif head then
  287.                     head:Destroy()
  288.                 elseif HRP then
  289.                     HRP:Destroy()
  290.                 elseif hit.Parent:FindFirstChildWhichIsA("SpecialMesh",true) then
  291.                     if hit.Parent:FindFirstChildWhichIsA("SpecialMesh",true).MeshType=="Head" then
  292.                         hit.Parent:FindFirstChildWhichIsA("SpecialMesh",true):Destroy()
  293.                     end
  294.                 end
  295.             end
  296.         end)
  297.         local fire1 = Instance.new("Fire")
  298.         fire1.Parent  = part1
  299.         fire1.Size = 10
  300.         local fire2 = Instance.new("Fire")
  301.         fire2.Parent  = part2
  302.         fire2.Size = 10
  303.         if person.Name=="SoftlockedUnderZero" and person:FindFirstChild("Pants")==nil and person:FindFirstChild("Shirt")==nil then
  304.             local torso = person.UpperTorso
  305.             local part3 = Instance.new("Part")
  306.             local attachment2 = Instance.new("Attachment")
  307.             part3.CanCollide = false
  308.             attachment2.Position = Vector3.new(torso.Size.X*.25,torso.Size.Y*.15,torso.Size.Z*-.25)
  309.             part3.Shape = "Ball"
  310.             part3.Size = Vector3.new(torso.Size.X/2,torso.Size.X/2,torso.Size.X/2)
  311.             attachment2.Parent = torso
  312.             part3.Position = attachment2.WorldPosition
  313.             part3.Anchored = false
  314.             part3.BrickColor = person["Body Colors"].TorsoColor
  315.             part3.Parent = person
  316.             local weld = Instance.new("WeldConstraint")
  317.             weld.Part1 = torso
  318.             weld.Part0 = part3
  319.             weld.Parent = torso
  320.             local part4 = Instance.new("Part")
  321.             local attachment3 = Instance.new("Attachment")
  322.             part4.CanCollide = false
  323.             attachment3.Position = Vector3.new(torso.Size.X*-.25,torso.Size.Y*.15,torso.Size.Z*-.25)
  324.             part4.Shape = "Ball"
  325.             part4.Size = Vector3.new(torso.Size.X/2,torso.Size.X/2,torso.Size.X/2)
  326.             attachment3.Parent = torso
  327.             part4.Position = attachment3.WorldPosition
  328.             part4.Anchored = false
  329.             part4.BrickColor = person["Body Colors"].TorsoColor
  330.             part4.Parent = person
  331.             local weld = Instance.new("WeldConstraint")
  332.             weld.Part1 = torso
  333.             weld.Part0 = part4
  334.             weld.Parent = torso
  335.             local part5 = Instance.new("Part")
  336.             local attachment4 = Instance.new("Attachment")
  337.             part5.CanCollide = false
  338.             attachment4.Position = Vector3.new(0,torso.Size.Y*.15,torso.Size.Z*-.25)
  339.             part5.Shape = "Cylinder"
  340.             part5.Size = Vector3.new(torso.Size.X/2,torso.Size.X/2,torso.Size.X/2)
  341.             attachment4.Parent = torso
  342.             part5.Position = attachment4.WorldPosition
  343.             part5.Orientation = torso.Orientation
  344.             part5.Anchored = false
  345.             part5.BrickColor = person["Body Colors"].TorsoColor
  346.             part5.Parent = person
  347.             local weld = Instance.new("WeldConstraint")
  348.             weld.Part1 = torso
  349.             weld.Part0 = part5
  350.             weld.Parent = torso
  351.             part3.TopSurface = "Smooth"
  352.             part4.TopSurface = "Smooth"
  353.             part5.TopSurface = "Smooth"
  354.             part3.BottomSurface= "Smooth"
  355.             part4.BottomSurface= "Smooth"
  356.             part5.BottomSurface= "Smooth"
  357.         end
  358.         while true do
  359.             person.Humanoid.Health = "inf"
  360.             person.Humanoid.PlatformStand = false
  361.             person.Humanoid.WalkSpeed = 200
  362.             person.Humanoid.JumpPower = 200
  363.             person.Humanoid.MaxHealth = "inf"
  364.             wait(.25)
  365.         end
  366.     end
  367. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement