Advertisement
noslenpo

Mlg 2

Sep 5th, 2015
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.69 KB | None | 0 0
  1. local x=game:GetService("Players").LocalPlayer local character=x.Character local c=x:GetMouse()local h=true local j=false local k=false local t local b,b2,X1OP,X1OPhandle local JARREDBCV=false local HELLO local VOILIAX=false local GETREKT={}local conf={speed=4,damage=20,gravity=1}local YOURMOM local HISMOM={["primary"]="Navy blue",["secondary"]="Alder"}local WELCOMETOTHEJUNGLE={}local function WOT(str,parent)local BOOYA if(parent==nil)then BOOYA=Instance.new(str)else BOOYA=Instance.new(str,parent)end BOOYA.FormFactor="Custom"BOOYA.TopSurface="Smooth"BOOYA.BottomSurface="Smooth"return BOOYA end local function MakeKnife(iswelded)local knife=Instance.new("Model")knife.Name="knife"local handle=WOT("Part",knife)handle.Size=Vector3.new(.2,2,.2)handle.BrickColor=BrickColor.new(HISMOM.primary)local b=WOT("WedgePart",knife)b.Size=Vector3.new(.2,.4,.2)b.BrickColor=BrickColor.new(HISMOM.secondary)if(iswelded==true)then local weld=Instance.new("Weld",knife)weld.Part0=handle weld.Part1=b weld.C0=CFrame.new(0,-handle.Size.y/2+b.Size.y/2,handle.Size.z/2+b.Size.z/2)*CFrame.Angles(math.rad(180),0,0)end local b2=WOT("WedgePart",knife)b2.Size=Vector3.new(.2,.4,.2)b2.BrickColor=BrickColor.new(HISMOM.secondary)if(iswelded==true)then local weld=Instance.new("Weld",knife)weld.Part0=handle weld.Part1=b2 weld.C0=CFrame.new(0,-handle.Size.y/2-b.Size.y/2,0)*CFrame.Angles(math.rad(180),0,0)end return knife,handle,b,b2 end local function Find(str,XDXDXD)for i,v in pairs(XDXDXD:GetChildren())do if(v.Name==str)or(v.ClassName==str)then return v end end print("!Oh No!: Couldn't find "..str.." in "..XDXDXD.Name)return nil end local function NOSCOPE360()for i,POOP in pairs(WELCOMETOTHEJUNGLE)do
  2. print(POOP[1],POOP[2],POOP[3])if(POOP[3]>0)then local nxtpos=POOP[2]+(POOP[1]*conf.speed)-Vector3.new(0,conf.gravity^2*20-conf.gravity^2*POOP[3],0)local LOL=Ray.new(POOP[2],POOP[1]*conf.speed-Vector3.new(0,conf.gravity^2*20-conf.gravity^2*POOP[3],0))local hitpart,hitposition=workspace:FindPartOnRay(LOL,character)if(hitpart~=nil)then if(X1OP~=nil)then X1OP:Destroy()X1OP=nil X1OPhandle=nil b=nil b2=nil end WELCOMETOTHEJUNGLE[i]=nil if(hitpart.Parent~=nil)then local hum=Find("Humanoid",hitpart.Parent)if(hum~=nil)and(hum.ClassName=="Humanoid")then hum.Health=hum.Health-conf.damage end end else if(X1OPhandle~=nil)then X1OPhandle.CFrame=CFrame.new(nxtpos,POOP[2])*CFrame.Angles(math.rad(270),0,0)b.CFrame=X1OPhandle.CFrame*CFrame.new(0,-X1OPhandle.Size.y/2+b.Size.y/2,X1OPhandle.Size.z/2+b.Size.z/2)*CFrame.Angles(math.rad(180),0,0)b2.CFrame=X1OPhandle.CFrame*CFrame.new(0,-X1OPhandle.Size.y/2-b.Size.y/2,0)*CFrame.Angles(math.rad(180),0,0)else X1OP,X1OPhandle,b,b2=MakeKnife(false)b.Anchored,b2.Anchored,X1OPhandle.Anchored=true,true,true X1OPhandle.CFrame=CFrame.new(nxtpos,POOP[2])*CFrame.Angles(math.rad(270),0,0)b.CFrame=X1OPhandle.CFrame*CFrame.new(0,-X1OPhandle.Size.y/2+b.Size.y/2,X1OPhandle.Size.z/2+b.Size.z/2)*CFrame.Angles(math.rad(180),0,0)b2.CFrame=X1OPhandle.CFrame*CFrame.new(0,-X1OPhandle.Size.y/2-b.Size.y/2,0)*CFrame.Angles(math.rad(180),0,0)X1OP.Parent=character end end POOP[2]=nxtpos POOP[3]=POOP[3]-1 else if(X1OP~=nil)then X1OP:Destroy()X1OP=nil X1OPhandle=nil end WELCOMETOTHEJUNGLE[i]=nil end end end local function MLG()JARREDBCV=true if(character~=nil)then c.Icon="http://www.roblox.com/asset?id=10686059"local rightarm=Find("Right Arm",character)local torso=Find("Torso",character)if(torso~=nil)then YOURMOM=Find("Right Shoulder",torso)end if(rightarm~=nil)then local knife,handle=MakeKnife(true)knife.Parent=character t=knife local grabknife=Instance.new("Weld",knife)grabknife.Part0=rightarm grabknife.Part1=handle grabknife.C0=CFrame.new(0,-handle.Size.y/2-rightarm.Size.y/2,0)local Hogwarts=Instance.new("Weld",character)table.insert(GETREKT,Hogwarts)Hogwarts.Part0=torso Hogwarts.Part1=rightarm Hogwarts.C0=torso.CFrame:inverse()*CFrame.new((torso.CFrame*CFrame.new(1.5,.5,0)).p,torso.CFrame*CFrame.new(0,0,-1).p)*CFrame.Angles(math.rad(90),0,0)*CFrame.new(0,-.5,0)local function throwknife(TO)VOILIAX=true for i=1,5 do Hogwarts.C0=torso.CFrame:inverse()*CFrame.new((torso.CFrame*CFrame.new(1.5,.5,0)).p,torso.CFrame.p+(TO-torso.CFrame.p)/(6-i))*CFrame.Angles(math.rad(90),0,0)*CFrame.new(0,-.5,0)wait()end if(t~=nil)then t:Destroy()end local position=(rightarm.CFrame).p local velocity=(TO-position).unit*conf.speed table.insert(WELCOMETOTHEJUNGLE,{velocity,position,20})Hogwarts.C0=torso.CFrame:inverse()*CFrame.new((torso.CFrame*CFrame.new(1.5,.5,0)).p,torso.CFrame*CFrame.new(0,0,-1).p)*CFrame.Angles(math.rad(90),0,0)*CFrame.new(0,-.5,0)local knife,handle=MakeKnife(true)knife.Parent=character t=knife local grabknife=Instance.new("Weld",knife)grabknife.Part0=rightarm grabknife.Part1=handle grabknife.C0=CFrame.new(0,-handle.Size.y/2-rightarm.Size.y/2,0)VOILIAX=false end HELLO=c.Button1Down:connect(function()if(VOILIAX==false)then throwknife(c.Hit.p)end end)end h=false JARREDBCV=false else character=x.Character end end local function UNMLG()JARREDBCV=true c.Icon=""if(t~=nil)then t:Destroy()t=nil end if(HELLO~=nil)then HELLO:disconnect()HELLO=nil end local torso=Find("Torso",character)local rightarm=Find("Right Arm",character)if(YOURMOM~=nil)and(torso~=nil)and(rightarm~=nil)then YOURMOM=YOURMOM:clone()YOURMOM.Parent=torso YOURMOM.Part0=torso YOURMOM.Part1=rightarm for i,weld in pairs(GETREKT)do if weld~=nil then weld:Destroy()end end end h=true JARREDBCV=false end c.KeyDown:connect(function(XD)if(string.byte(XD)==48)then j=true elseif(string.byte(XD)==50)then k=true elseif(j==true)and(k==true)and(string.byte(XD)==122)then
  3. if(JARREDBCV==false)then if(h==true)then MLG()else UNMLG()end end end end)c.KeyUp:connect(function(XD)if(string.byte(XD)==48)then j=false elseif(string.byte(XD)==50)then k=false end end)coroutine.wrap(function()while true do NOSCOPE360()wait()end end)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement