Advertisement
lafur

Untitled

Jun 21st, 2019
309
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[
  2.     FilteringEnabled Script Bar
  3.    
  4.     Run non-fe compatable scripts under Mokorios's compability code.
  5.     It should be compatible with most scripts, but if you encounter issues make sure to let Mokorios know.
  6.    
  7.     The FE Compatibility code can be found at:
  8.     https://github.com/Mokiros/roblox-FE-compatibility.
  9. --]]
  10.     if not script:IsA("LocalScript") then
  11.         error(">> This script is being run as a server-sided script (or modulescript?) instead of a localscript.\nYou'll need to run it as a localscript, with hl/(url).<<")
  12.     end
  13.    
  14.     if not NS then
  15.         NS = function() end
  16.     end
  17.    
  18.     services = setmetatable({}, {  
  19.     __index = function(self, k, ...)
  20.         return game:GetService(k)
  21.     end})
  22.    
  23.     local plr = services.Players.LocalPlayer
  24.     print("Credit to Mokiros for his FE Compatibility script.\nThis project wouldn't be possible without him.\n")
  25.     print("You can obtain a copy of his code for his FE compatability at https://github.com/Mokiros/roblox-FE-compatibility.\n")
  26.     print("You may also obtain a copy of his licence at https://raw.githubusercontent.com/Mokiros/roblox-FE-compatibility/master/LICENSE.\n")
  27.     print("All of the source code in exception to his compatability code is in the public domain, and was made by TheFlamingBlaster.")
  28.    
  29.     local fecompat = [[
  30.     if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  31.     local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  32.     local RealPlayer = Player
  33.     do local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end]]
  34.    
  35.     NS([[
  36.         wait(1)
  37.         local requestHandlers = {
  38.             ["HttpGet"] = function(client, url, cache)
  39.                 return game:GetService"HttpService":GetAsync(url, cache or true)
  40.             end,
  41.             ["GetDataStore"] = function(client, ds, key)
  42.                 local ds = game:GetService"DataStoreService":GetDataStore(ds):GetAsync(key)
  43.             end,
  44.             ["SetDataStore"] = function(client, ds, key, newval)
  45.                 local ds = game:GetService"DataStoreService":GetDataStore(ds):SetAsync(key, newval)
  46.             end
  47.         }
  48.        
  49.        
  50.         local generateRemote
  51.         generateRemote = function()
  52.             local remote = Instance.new("RemoteFunction")
  53.             remote.Name = getfenv().owner.Name.." : Coms"
  54.            
  55.             remote.OnServerInvoke = function(client, request, ...)
  56.                 if requestHandlers[request] then
  57.                     return requestHandlers[request](client, ...)
  58.                 end
  59.             end
  60.            
  61.             remote.Parent = workspace
  62.            
  63.             remote.AncestryChanged:Connect(function()
  64.                 delay(0.03, function()
  65.                     if remote then
  66.                         remote:Destroy()
  67.                     end
  68.                 end)
  69.                 generateRemote()
  70.             end)
  71.         end
  72.        
  73.        
  74.         generateRemote()
  75.     ]], workspace)
  76.    
  77.     local remote = workspace:FindFirstChild(plr.Name..": Coms") or workspace:WaitForChild(plr.Name.." : Coms")
  78.    
  79.     -- Objects
  80.    
  81.     local FEBar = Instance.new("ScreenGui")
  82.     local BG = Instance.new("Frame")
  83.     local TextLabel = Instance.new("TextLabel")
  84.     local Exit = Instance.new("TextButton")
  85.     local UrlBar = Instance.new("TextBox")
  86.     local TextLabel_2 = Instance.new("TextLabel")
  87.  
  88.     -- Properties
  89.    
  90.     FEBar.Name = "FEBar"
  91.    
  92.     BG.Name = "BG"
  93.     BG.Parent = FEBar
  94.     BG.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  95.     BG.BorderSizePixel = 0
  96.     BG.Position = UDim2.new(0.720785916, 0, 0.897717714, 0)
  97.     BG.Size = UDim2.new(0.279214054, 0, 0.10228233, 0)
  98.    
  99.     TextLabel.Parent = BG
  100.     TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  101.     TextLabel.BackgroundTransparency = 1
  102.     TextLabel.Size = UDim2.new(0.683333337, 0, 0.201834857, 0)
  103.     TextLabel.Font = Enum.Font.SourceSansSemibold
  104.     TextLabel.FontSize = Enum.FontSize.Size14
  105.     TextLabel.Text = "FE Command Bar"
  106.     TextLabel.TextColor3 = Color3.new(1, 1, 1)
  107.     TextLabel.TextScaled = true
  108.     TextLabel.TextWrapped = true
  109.     TextLabel.TextXAlignment = Enum.TextXAlignment.Left
  110.    
  111.     Exit.Name = "Exit"
  112.     Exit.Parent = BG
  113.     Exit.BackgroundColor3 = Color3.new(1, 1, 1)
  114.     Exit.BackgroundTransparency = 1
  115.     Exit.Position = UDim2.new(0.899999976, 0, 0, 0)
  116.     Exit.Size = UDim2.new(0.100000001, 0, 0.206422016, 0)
  117.     Exit.Font = Enum.Font.SourceSans
  118.     Exit.FontSize = Enum.FontSize.Size14
  119.     Exit.Text = "X"
  120.     Exit.TextColor3 = Color3.new(1, 0, 0)
  121.     Exit.TextScaled = true
  122.     Exit.TextWrapped = true
  123.    
  124.     UrlBar.Name = "UrlBar"
  125.     UrlBar.Parent = BG
  126.     UrlBar.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  127.     UrlBar.BorderSizePixel = 0
  128.     UrlBar.Position = UDim2.new(0, 0, 0.247933879, 0)
  129.     UrlBar.Size = UDim2.new(1, 0, 0.504132211, 0)
  130.     UrlBar.Font = Enum.Font.SourceSans
  131.     UrlBar.FontSize = Enum.FontSize.Size14
  132.     UrlBar.Text = ""
  133.     UrlBar.TextColor3 = Color3.new(0, 0, 0)
  134.     UrlBar.TextScaled = true
  135.     UrlBar.TextWrapped = true
  136.     UrlBar.TextXAlignment = Enum.TextXAlignment.Left
  137.    
  138.     TextLabel_2.Parent = BG
  139.     TextLabel_2.BackgroundColor3 = Color3.new(1, 0, 0)
  140.     TextLabel_2.BackgroundTransparency = 1
  141.     TextLabel_2.Position = UDim2.new(0, 0, 0.834710777, 0)
  142.     TextLabel_2.Size = UDim2.new(1, 0, 0.165289253, 0)
  143.     TextLabel_2.Font = Enum.Font.SourceSansSemibold
  144.     TextLabel_2.FontSize = Enum.FontSize.Size14
  145.     TextLabel_2.Text = "Click the  black box above, paste in your link and press \"Enter\" to run your script."
  146.     TextLabel_2.TextColor3 = Color3.new(1, 0, 0)
  147.     TextLabel_2.TextScaled = true
  148.     TextLabel_2.TextWrapped = true
  149.     TextLabel_2.TextXAlignment = Enum.TextXAlignment.Left
  150.    
  151.     Exit.MouseButton1Click:Connect(function()
  152.         FEBar:Destroy()
  153.         script.Disabled = true
  154.     end)
  155.    
  156.     local curtext = ""
  157.    
  158.     UrlBar.Changed:Connect(function()
  159.         if not UrlBar.Text:match("#") then
  160.             curtext = UrlBar.Text
  161.         end
  162.     end)
  163.    
  164.     UrlBar.FocusLost:Connect(function(e)
  165.         if e == true then
  166.             if curtext:sub(1, 3) == "hl/" then
  167.                 UrlBar.Text = curtext:sub(3)
  168.             end
  169.             if curtext:sub(1, 2) == "h/" then
  170.                 UrlBar.Text = curtext:sub(2)
  171.             end
  172.             NS(fecompat.." "..remote:InvokeServer("HttpGet", curtext), workspace)
  173.             print("Running "..curtext)
  174.         end
  175.     end)
  176.    
  177.     FEBar.Parent = plr:FindFirstChildOfClass"PlayerGui" --By Rufus14
  178. --ears: 391268255
  179. --bamalam: 720451528
  180. --columb: 1202637744
  181.  
  182. --[[music = Instance.new("Sound", game.Players.LocalPlayer.Character.Torso)
  183. music.Volume = 10
  184. music.SoundId = "rbxassetid://1202637744"
  185. music.Looped = true
  186. music:Play()]]
  187. mouse = game.Players.LocalPlayer:GetMouse()
  188. gun = Instance.new("Part", game.Players.LocalPlayer.Character)
  189. gun:BreakJoints()
  190. gun.CanCollide = false
  191. gun.Name = "Ak-47"
  192. gun.Orientation  = Vector3.new(0,0,0)
  193. mesh = Instance.new("SpecialMesh", gun)
  194. mesh.MeshId = "rbxassetid://477006495"
  195. mesh.TextureId = "rbxassetid://477006525"
  196. mesh.Scale = Vector3.new(0.04,0.04,0.04)
  197. weld = Instance.new("Weld", gun)
  198. weld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  199. weld.Part1 = gun
  200. weld.C0 = weld.C0 * CFrame.Angles(-1.5,0,0) * CFrame.new(0,0,-2.5)
  201. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  202. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  203. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  204. rhandweld.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  205. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  206. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  207. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  208. lhandweld.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  209. shot = Instance.new("Sound", gun)
  210. shot.Volume = 10
  211. shot.SoundId = "rbxassetid://285234709"
  212. pump = Instance.new("Sound", gun)
  213. pump.Volume = 10
  214. pump.SoundId = "rbxassetid://255061173"
  215. pump.PlaybackSpeed = 0.7
  216. --[[function owtheedge()
  217.     workspace.CurrentCamera.FieldOfView = 70 + music.PlaybackLoudness / 80
  218. end
  219. game:GetService("RunService").RenderStepped:connect(owtheedge)]]
  220. for i = 0,0.7 , 0.01 do
  221.     weld.C0 = weld.C0:lerp(CFrame.new(-0.342021942, -1.88848877, -0.088739872, 0.978147507, -0.0289359875, -0.205888897, 0.204753578, -0.0378959738, 0.978079677, -0.0361040607, -0.998862624, -0.0311431047),i)
  222.     rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.917564392, 0.399175882, -0.578536987, 0.978147507, 0.204753578, -0.0361040607, -0.0289359875, -0.0378959738, -0.998862624, -0.205888897, 0.978079677, -0.0311431047),i)
  223.     lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.472423553, 0.409558296, -1.4746933, 0.939692736, -0.342019886, -2.0985492e-06, 0.0238559935, 0.0655499771, -0.997564137, 0.341186911, 0.937403619, 0.0697560608),i)
  224.     game:GetService("RunService").RenderStepped:wait()
  225. end
  226. using = false
  227. rapid = true
  228. debounce = false
  229. ammo = 30
  230.  
  231. function plai(key)
  232.     key = key:lower()
  233.   --[[  if key == "e" then
  234.         if moosic then
  235.             runkids.SoundId = "rbxassetid://665751753"
  236.             runkids.Volume = 8
  237.             runkids:Play()
  238.             runkids.Looped = true
  239.             runkids.TimePosition = 13
  240.         end
  241.         if not moosic then
  242.             runkids:Stop()
  243.         end
  244.     end]]
  245. end
  246.  
  247. mouse.KeyDown:connect(plai)
  248. function rapid()
  249.     rapid = true
  250. end
  251. mouse.Button1Down:connect(rapid)
  252. function notrapid()
  253.     rapid = false
  254. end
  255. mouse.Button1Up:connect(notrapid)
  256.  
  257. function shoot()
  258.    
  259.     if not rapid then
  260.         rapid = true
  261.     end
  262.    
  263.         while rapid and debounce == false do
  264.         shot:Play()
  265.     rapid = true   
  266. debounce = true
  267.         for i = 1,1 do
  268.             local missle = Instance.new("Part", workspace)
  269.             missle:BreakJoints()
  270.             missle.Name = "bullet"
  271.             missle.BrickColor = BrickColor.Yellow()
  272.             missle.CanCollide = false
  273.             missle.Material = "Neon"
  274.             missle.Size = Vector3.new(0.1,0.1,0.1)
  275.             missle.CFrame = gun.CFrame * CFrame.new(0,0,2)
  276.             missle.Transparency = 0
  277.             local vel = Instance.new("BodyVelocity", missle)
  278.             vel.Velocity = mouse.Hit.lookVector * math.random(500,500) + Vector3.new(math.random(-10,10),math.random(-10,10),0)
  279.             vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  280.             local function hit(part)
  281.                 local hitval = math.random(40,65)
  282.                 local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
  283.                 if humanoid then
  284.                     if humanoid.Health == math.huge or humanoid.Health >= 600 then
  285.                         humanoid.Health = 100
  286.                     end
  287.                     if humanoid.MaxHealth == math.huge or humanoid.MaxHealth >= 600 then
  288.                         humanoid.MaxHealth = 100
  289.                     end
  290.                     if humanoid.Parent.Name == game.Players.LocalPlayer.Name then
  291.                        
  292.                     else
  293.                         if humanoid.Health < hitval then
  294.                             humanoid.Health = 1
  295.                             humanoid.JumpPower = 0
  296.                             humanoid.PlatformStand = true
  297.                             humanoid.WalkSpeed = 0
  298.                             local findlefthip = humanoid.Parent.Torso:findFirstChild("Left Hip")
  299.                             if findlefthip then
  300.                                 findlefthip:Remove()
  301.                                 local glue = Instance.new("Glue",  humanoid.Parent.Torso)
  302.                                 glue.Part0 = humanoid.Parent.Torso
  303.                                 glue.Part1 = humanoid.Parent["Left Leg"]
  304.                                 glue.Name = "Left leg"
  305.                                 local collider = Instance.new("Part",  humanoid.Parent["Left Leg"])
  306.                                 collider.Position = Vector3.new(0,999,0)
  307.                                 collider.Size = Vector3.new(1.5, 1, 1)
  308.                                 collider.Shape = "Cylinder"
  309.                                 local weld = Instance.new("Weld", collider)
  310.                                 weld.Part0 =  humanoid.Parent["Left Leg"]
  311.                                 weld.Part1 = collider
  312.                                 weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  313.                                 collider.TopSurface = "Smooth"
  314.                                 collider.BottomSurface = "Smooth"
  315.                                 collider.formFactor = "Symmetric"
  316.                                 glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  317.                                 glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  318.                                 collider.Transparency = 1
  319.                             end
  320.                             --
  321.                             local findrighthip = humanoid.Parent.Torso:findFirstChild("Right Hip")
  322.                             if findrighthip then
  323.                                 findrighthip:Remove()
  324.                                 local glue = Instance.new("Glue",  humanoid.Parent.Torso)
  325.                                 glue.Part0 = humanoid.Parent.Torso
  326.                                 glue.Part1 = humanoid.Parent["Right Leg"]
  327.                                 glue.Name = "Right leg"
  328.                                 local collider = Instance.new("Part",  humanoid.Parent["Right Leg"])
  329.                                 collider.Position = Vector3.new(0,999,0)
  330.                                 collider.Size = Vector3.new(1.5, 1, 1)
  331.                                 collider.Shape = "Cylinder"
  332.                                 local weld = Instance.new("Weld", collider)
  333.                                 weld.Part0 =  humanoid.Parent["Right Leg"]
  334.                                 weld.Part1 = collider
  335.                                 weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  336.                                 collider.TopSurface = "Smooth"
  337.                                 collider.BottomSurface = "Smooth"
  338.                                 collider.formFactor = "Symmetric"
  339.                                 glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  340.                                 glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  341.                                 collider.Transparency = 1
  342.                             end
  343.                             --
  344.                             local findrightshoulder = humanoid.Parent.Torso:findFirstChild("Right Shoulder")
  345.                             if findrightshoulder then
  346.                                 findrightshoulder:Remove()
  347.                                 local glue = Instance.new("Glue",  humanoid.Parent.Torso)
  348.                                 glue.Part0 = humanoid.Parent.Torso
  349.                                 glue.Part1 = humanoid.Parent["Right Arm"]
  350.                                 glue.Name = "Right arm"
  351.                                 local collider = Instance.new("Part",  humanoid.Parent["Right Arm"])
  352.                                 collider.Position = Vector3.new(0,999,0)
  353.                                 collider.Size = Vector3.new(1.5, 1, 1)
  354.                                 collider.Shape = "Cylinder"
  355.                                 local weld = Instance.new("Weld", collider)
  356.                                 weld.Part0 =  humanoid.Parent["Right Arm"]
  357.                                 weld.Part1 = collider
  358.                                 weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  359.                                 collider.TopSurface = "Smooth"
  360.                                 collider.BottomSurface = "Smooth"
  361.                                 collider.formFactor = "Symmetric"
  362.                                 glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  363.                                 glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  364.                                 collider.Transparency = 1
  365.                             end
  366.                             --
  367.                             local findleftshoulder = humanoid.Parent.Torso:findFirstChild("Left Shoulder")
  368.                             if findleftshoulder then
  369.                                 findleftshoulder:Remove()
  370.                                 local glue = Instance.new("Glue",  humanoid.Parent.Torso)
  371.                                 glue.Part0 = humanoid.Parent.Torso
  372.                                 glue.Part1 = humanoid.Parent["Left Arm"]
  373.                                 glue.Name = "Left arm"
  374.                                 local collider = Instance.new("Part",  humanoid.Parent["Left Arm"])
  375.                                 collider.Position = Vector3.new(0,999,0)
  376.                                 collider.Size = Vector3.new(1.5, 1, 1)
  377.                                 collider.Shape = "Cylinder"
  378.                                 local weld = Instance.new("Weld", collider)
  379.                                 weld.Part0 =  humanoid.Parent["Left Arm"]
  380.                                 weld.Part1 = collider
  381.                                 weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  382.                                 collider.TopSurface = "Smooth"
  383.                                 collider.BottomSurface = "Smooth"
  384.                                 collider.formFactor = "Symmetric"
  385.                                 glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  386.                                 glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  387.                                 collider.Transparency = 1
  388.                             end
  389.                             local findhead = humanoid.Parent:findFirstChild("Head")
  390.                             if findhead then
  391.                                 local attachment = Instance.new("Attachment", humanoid.Parent.Head)
  392.                                 attachment.Position = Vector3.new(0, -0.5, 0)
  393.                                 attachment.Name = "lol"
  394.                                 attachment.Visible = false
  395.                                 humanoid.Parent.Torso.NeckAttachment.Visible = false
  396.                                 humanoid.Parent.Torso.NeckAttachment.Position = humanoid.Parent.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  397.                                 local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  398.                                 ball.Attachment0 = humanoid.Parent.Torso.NeckAttachment
  399.                                 ball.Attachment1 = attachment
  400.                                 ball.LimitsEnabled = true
  401.                                 ball.TwistLimitsEnabled = true
  402.                                 ball.UpperAngle = 90
  403.                                 ball.Restitution = 0.5
  404.                                 ball.TwistUpperAngle = 90
  405.                                 ball.TwistLowerAngle = -90
  406.                                 local  collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  407.                                 collidepartofleftleg.Name = "Bone"
  408.                                 collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  409.                                 collidepartofleftleg.Transparency = 1
  410.                                 collidepartofleftleg:BreakJoints()
  411.                                 local weeld = Instance.new("Weld", collidepartofleftleg)
  412.                                 weeld.Part0 = collidepartofleftleg
  413.                                 weeld.Part1 = humanoid.Parent["Head"]
  414.                                 if humanoid.Parent.Torso:findFirstChild("Neck") then
  415.                                     humanoid.Parent.Torso.Neck:destroy()
  416.                                 end
  417.                             end
  418.  
  419.                             wait(10)
  420.                             humanoid.Health = 0
  421.                     else
  422.                         humanoid.Health = humanoid.Health - hitval
  423.                     end
  424.                     end
  425.                 else
  426.                     if part.Name == "Shotgun" or "bullet" then
  427.                        
  428.                     else
  429.                         missle:destroy()
  430.                     end
  431.                 end
  432.             end
  433.             missle.Touched:connect(hit)
  434.         end
  435.         for i = 0,1 , 0.5 do
  436.             weld.C0 = weld.C0:lerp(CFrame.new(-0.342021942, -1.88848877, -0.088739872, 0.978147507, -0.0289359875, -0.205888897, 0.204753578, -0.0378959738, 0.978079677, -0.0361040607, -0.998862624, -0.0311431047),i)
  437.             rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.917564392, 0.491810799, -0.168943405, 0.978147507, 0.204753578, -0.0361040607, 0.0289353225, -0.306021929, -0.951584637, -0.205889001, 0.929745436, -0.305259228),i)
  438.             lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.472423553, 0.748803854, -1.02752113, 0.939693093, -0.342019022, -2.66768012e-07, -0.0711100101, -0.195373133, -0.978147566, 0.334545016, 0.919158578, -0.207911715),i)
  439.             game:GetService("RunService").RenderStepped:wait()
  440.         end
  441.         --[[for i = 0,1 , 0.05 do
  442.             weld.C0 = weld.C0:lerp(CFrame.new(-0.342021942, -1.88848877, -0.088739872, 0.978147507, -0.0289359875, -0.205888897, 0.204753578, -0.0378959738, 0.978079677, -0.0361040607, -0.998862624, -0.0311431047),i)
  443.             rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.917564392, 0.491810799, -0.168943405, 0.978147507, 0.204753578, -0.0361040607, 0.0289353225, -0.306021929, -0.951584637, -0.205889001, 0.929745436, -0.305259228),i)
  444.             lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.201648712, 0.903478384, -1.75520706, 0.939693093, -0.342019022, -2.66768012e-07, -0.0711100101, -0.195373133, -0.978147566, 0.334545016, 0.919158578, -0.207911715),i)
  445.             game:GetService("RunService").RenderStepped:wait()
  446.         end
  447.         pump:Play()
  448.         for i = 0,1 , 0.05 do
  449.             weld.C0 = weld.C0:lerp(CFrame.new(-0.342021942, -1.88848877, -0.088739872, 0.978147507, -0.0289359875, -0.205888897, 0.204753578, -0.0378959738, 0.978079677, -0.0361040607, -0.998862624, -0.0311431047),i)
  450.             rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.917564392, 0.491810799, -0.168943405, 0.978147507, 0.204753578, -0.0361040607, 0.0289353225, -0.306021929, -0.951584637, -0.205889001, 0.929745436, -0.305259228),i)
  451.             lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.44393158, 0.765078783, -1.10408783, 0.939693093, -0.342019022, -2.66768012e-07, -0.0711100101, -0.195373133, -0.978147566, 0.334545016, 0.919158578, -0.207911715),i)
  452.             game:GetService("RunService").RenderStepped:wait()
  453.         end
  454.         for i = 0,1 , 0.05 do
  455.             weld.C0 = weld.C0:lerp(CFrame.new(-0.342021942, -1.88848877, -0.088739872, 0.978147507, -0.0289359875, -0.205888897, 0.204753578, -0.0378959738, 0.978079677, -0.0361040607, -0.998862624, -0.0311431047),i)
  456.             rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.917564392, 0.491810799, -0.168943405, 0.978147507, 0.204753578, -0.0361040607, 0.0289353225, -0.306021929, -0.951584637, -0.205889001, 0.929745436, -0.305259228),i)
  457.             lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.201648712, 0.903478384, -1.75520706, 0.939693093, -0.342019022, -2.66768012e-07, -0.0711100101, -0.195373133, -0.978147566, 0.334545016, 0.919158578, -0.207911715),i)
  458.             game:GetService("RunService").RenderStepped:wait()
  459.         end]]
  460.         for i = 0,0.7 , 0.5 do
  461.             weld.C0 = weld.C0:lerp(CFrame.new(-0.342021942, -1.88848877, -0.088739872, 0.978147507, -0.0289359875, -0.205888897, 0.204753578, -0.0378959738, 0.978079677, -0.0361040607, -0.998862624, -0.0311431047),i)
  462.             rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.917564392, 0.399175882, -0.578536987, 0.978147507, 0.204753578, -0.0361040607, -0.0289359875, -0.0378959738, -0.998862624, -0.205888897, 0.978079677, -0.0311431047),i)
  463.             lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.472423553, 0.409558296, -1.4746933, 0.939692736, -0.342019886, -2.0985492e-06, 0.0238559935, 0.0655499771, -0.997564137, 0.341186911, 0.937403619, 0.0697560608),i)
  464.             game:GetService("RunService").RenderStepped:wait()
  465.         end
  466.         using = false
  467.                     wait(0.125)
  468.         debounce = false
  469.     end
  470. end
  471. mouse.Button1Down:connect(shoot)
  472. --lotushomerun was here
  473. --Do not leak
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement