SHARE
TWEET

allahu akbar script (SUICIDE BOMB)

sIendytubble Jan 26th, 2020 98 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  2. do
  3.     script.Parent = owner.Character
  4.     local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5.     local function NewFakeEvent()
  6.         local Bind = Instance.new("BindableEvent")
  7.         local Fake;Fake = {Connections = {},
  8.         fakeEvent=true;
  9.         Connect=function(self,Func)
  10.             Bind.Event:connect(Func)
  11.             self.Connections[Bind] = true
  12.             return setmetatable({Connected = true},{
  13.             __index = function (self,Index)
  14.                 if Index:lower() == "disconnect" then
  15.                     return function() Fake.Connections[Bind] = false;self.Connected = false end
  16.                 end
  17.                 return Fake[Index]
  18.             end;
  19.             __tostring = function() return "Connection" end;
  20.         })
  21.         end}
  22.         Fake.connect = Fake.Connect;return Fake;
  23.     end
  24.     local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25.     local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26.     local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27.         self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28.     end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29.     local function TriggerEvent(self,Event,...)
  30.         local Trigger = Mouse[Event]
  31.         if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32.             for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33.         end
  34.     end
  35.     Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36.     Event.OnServerEvent:Connect(function(FiredBy,Input)
  37.         if FiredBy.Name ~= owner.Name then return end
  38.         if Input.MouseEvent then
  39.             Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40.         else
  41.             local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42.             if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43.             for _,Action in pairs(ContextActionService.Actions) do
  44.                 for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45.             end
  46.             Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47.             UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48.         end
  49.     end)
  50.     InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51.     Event.Parent = NLS([[
  52.         local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53.         local Input = function(Input,gameProcessedEvent)
  54.             if gameProcessedEvent then return end
  55.             Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56.         end
  57.         UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58.         local Hit,Target
  59.         while wait(1/30) do
  60.             if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61.                 Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62.             end
  63.         end
  64.     ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67.     __index = function (self,Index)
  68.         local Sandbox = function (Thing)
  69.             if Thing:IsA("Player") then
  70.                 local RealPlayer = Thing
  71.                 return setmetatable({},{
  72.                     __index = function (self,Index)
  73.                         local Type = type(RealPlayer[Index])
  74.                         if Type == "function" then
  75.                             if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76.                                 return function (self)return InternalData["Mouse"] end
  77.                             end
  78.                             return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79.                         end
  80.                         return RealPlayer[Index]
  81.                     end;
  82.                     __tostring = function(self) return RealPlayer.Name end
  83.                 })
  84.             end
  85.         end
  86.         if RealGame[Index] then
  87.             local Type = type(RealGame[Index])
  88.             if Type == "function" then
  89.                 if Index:lower() == "getservice" or Index:lower() == "service" then
  90.                     return function (self,Service)
  91.                         local FakeServices = {
  92.                             ["players"] = function()
  93.                                 return setmetatable({},{
  94.                                     __index = function (self2,Index2)
  95.                                         local RealService = RealGame:GetService(Service)
  96.                                         local Type2 = type(Index2)
  97.                                         if Type2 == "function" then
  98.                                             return function (self,...) return RealService[Index2](RealService,...)end
  99.                                         else
  100.                                             if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101.                                             return RealService[Index2]
  102.                                         end
  103.                                     end;
  104.                                     __tostring = function(self) return RealGame:GetService(Service).Name end
  105.                                 })
  106.                             end;
  107.                             ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108.                             ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109.                             ["runservice"] = function()
  110.                                 return setmetatable({},{
  111.                                     __index = function(self2,Index2)
  112.                                         local RealService = RealGame:GetService(Service)
  113.                                         local Type2 = type(Index2)
  114.                                         if Type2 == "function" then
  115.                                             return function (self,...) return RealService[Index2](RealService,...) end
  116.                                         else
  117.                                             local RunServices = {
  118.                                                 ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119.                                                 ["renderstepped"] = function() return RealService["Stepped"] end
  120.                                             }
  121.                                             if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122.                                             return RealService[Index2]
  123.                                         end
  124.                                     end
  125.                                 })
  126.                             end
  127.                         }
  128.                         if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129.                         return RealGame:GetService(Service)
  130.                     end
  131.                 end
  132.                 return function (self,...) return RealGame[Index](RealGame,...) end
  133.             else
  134.                 if game:GetService(Index) then return game:GetService(Index) end
  135.                 return RealGame[Index]
  136.             end
  137.         end
  138.         return nil
  139.     end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  141.  
  142. Player=game:GetService("Players").LocalPlayer
  143. Character=Player.Character
  144. PlayerGui=Player.PlayerGui
  145. Backpack=Player.Backpack
  146. Torso=Character.Torso
  147. Head=Character.Head
  148. Humanoid=Character.Humanoid
  149. m=Instance.new('Model',Character)
  150. LeftArm=Character["Left Arm"]
  151. LeftLeg=Character["Left Leg"]
  152. RightArm=Character["Right Arm"]
  153. RightLeg=Character["Right Leg"]
  154. LS=Torso["Left Shoulder"]
  155. LH=Torso["Left Hip"]
  156. RS=Torso["Right Shoulder"]
  157. RH=Torso["Right Hip"]
  158. Face = Head.face
  159. Neck=Torso.Neck
  160. it=Instance.new
  161. attacktype=1
  162. vt=Vector3.new
  163. cf=CFrame.new
  164. euler=CFrame.fromEulerAnglesXYZ
  165. angles=CFrame.Angles
  166. cloaked=false
  167. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  168. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  169. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  170. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  171. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  172. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  173. RootPart=Character.HumanoidRootPart
  174. RootJoint=RootPart.RootJoint
  175. RootCF=euler(-1.57,0,3.14)
  176. attack = false
  177. attackdebounce = false
  178. deb=false
  179. equipped=true
  180. hand=false
  181. MMouse=nil
  182. combo=0
  183. mana=0
  184. trispeed=.2
  185. attackmode='none'
  186. local idle=0
  187. local Anim="Idle"
  188. local Effects={}
  189. local gun=false
  190. local shoot=false
  191. player=nil
  192. mana=0
  193.  
  194. mouse=Player:GetMouse()
  195. --save shoulders
  196. RSH, LSH=nil, nil
  197. --welds
  198. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  199. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  200. LH=Torso["Left Hip"]
  201. RH=Torso["Right Hip"]
  202. TorsoColor=Torso.BrickColor
  203. function NoOutline(Part)
  204. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  205. end
  206. player=Player
  207. ch=Character
  208. RSH=ch.Torso["Right Shoulder"]
  209. LSH=ch.Torso["Left Shoulder"]
  210. --
  211. RSH.Parent=nil
  212. LSH.Parent=nil
  213. --
  214. RW.Name="Right Shoulder"
  215. RW.Part0=ch.Torso
  216. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  217. RW.C1=cf(0, 0.5, 0)
  218. RW.Part1=ch["Right Arm"]
  219. RW.Parent=ch.Torso
  220. --
  221. LW.Name="Left Shoulder"
  222. LW.Part0=ch.Torso
  223. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  224. LW.C1=cf(0, 0.5, 0)
  225. LW.Part1=ch["Left Arm"]
  226. LW.Parent=ch.Torso
  227.  
  228.         Player=game:GetService('Players').LocalPlayer
  229.         Character=Player.Character
  230.         Mouse=Player:GetMouse()
  231.         m=Instance.new('Model',Character)
  232.  
  233.  
  234.         local function weldBetween(a, b)
  235.             local weldd = Instance.new("ManualWeld")
  236.             weldd.Part0 = a
  237.             weldd.Part1 = b
  238.             weldd.C0 = CFrame.new()
  239.             weldd.C1 = b.CFrame:inverse() * a.CFrame
  240.             weldd.Parent = a
  241.             return weldd
  242.         end
  243.        
  244.         function swait(num)
  245.     if num==0 or num==nil then
  246.     game:service'RunService'.Stepped:wait(0)
  247.     else
  248.     for i=0,num do
  249.     game:service'RunService'.Stepped:wait(0)
  250.     end
  251.     end
  252.             end
  253.        
  254.         function nooutline(part)
  255.                 part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  256.         end
  257.        
  258.         function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  259.                 local fp=it("Part")
  260.                 fp.formFactor=formfactor
  261.                 fp.Parent=parent
  262.                 fp.Reflectance=reflectance
  263.                 fp.Transparency=transparency
  264.                 fp.CanCollide=false
  265.                 fp.Locked=true
  266.                 fp.BrickColor=BrickColor.new(tostring(brickcolor))
  267.                 fp.Name=name
  268.                 fp.Size=size
  269.                 fp.Position=Character.Torso.Position
  270.                 nooutline(fp)
  271.                 fp.Material=material
  272.                 fp:BreakJoints()
  273.                 return fp
  274.         end
  275.        
  276.         function mesh(Mesh,part,meshtype,meshid,offset,scale)
  277.                 local mesh=it(Mesh)
  278.                 mesh.Parent=part
  279.                 if Mesh=="SpecialMesh" then
  280.                         mesh.MeshType=meshtype
  281.                         mesh.MeshId=meshid
  282.                 end
  283.                 mesh.Offset=offset
  284.                 mesh.Scale=scale
  285.                 return mesh
  286.         end
  287.        
  288.         function weld(parent,part0,part1,c0,c1)
  289.                 local weld=it("Weld")
  290.                 weld.Parent=parent
  291.                 weld.Part0=part0
  292.                 weld.Part1=part1
  293.                 weld.C0=c0
  294.                 weld.C1=c1
  295.                 return weld
  296.         end
  297.        
  298.        
  299. local function CFrameFromTopBack(at, top, back)
  300. local right = top:Cross(back)
  301. return CFrame.new(at.x, at.y, at.z,
  302. right.x, top.x, back.x,
  303. right.y, top.y, back.y,
  304. right.z, top.z, back.z)
  305. end
  306.  
  307. function Triangle(a, b, c)
  308. local edg1 = (c-a):Dot((b-a).unit)
  309. local edg2 = (a-b):Dot((c-b).unit)
  310. local edg3 = (b-c):Dot((a-c).unit)
  311. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  312. a, b, c = a, b, c
  313. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  314. a, b, c = b, c, a
  315. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  316. a, b, c = c, a, b
  317. else
  318. assert(false, "unreachable")
  319. end
  320.  
  321. local len1 = (c-a):Dot((b-a).unit)
  322. local len2 = (b-a).magnitude - len1
  323. local width = (a + (b-a).unit*len1 - c).magnitude
  324.  
  325. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  326.  
  327. local list = {}
  328.  
  329. local TrailColor = ("Dark grey")
  330.  
  331. if len1 > 0.01 then
  332. local w1 = Instance.new('WedgePart', m)
  333. game:GetService("Debris"):AddItem(w1,5)
  334. w1.Material = "SmoothPlastic"
  335. w1.FormFactor = 'Custom'
  336. w1.BrickColor = BrickColor.new(TrailColor)
  337. w1.Transparency = 0
  338. w1.Reflectance = 0
  339. w1.Material = "SmoothPlastic"
  340. w1.CanCollide = false
  341. NoOutline(w1)
  342. local sz = Vector3.new(0.2, width, len1)
  343. w1.Size = sz
  344. local sp = Instance.new("SpecialMesh",w1)
  345. sp.MeshType = "Wedge"
  346. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  347. w1:BreakJoints()
  348. w1.Anchored = true
  349. w1.Parent = workspace
  350. w1.Transparency = 0.7
  351. table.insert(Effects,{w1,"Disappear",.01})
  352. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  353. table.insert(list,w1)
  354. end
  355.  
  356. if len2 > 0.01 then
  357. local w2 = Instance.new('WedgePart', m)
  358. game:GetService("Debris"):AddItem(w2,5)
  359. w2.Material = "SmoothPlastic"
  360. w2.FormFactor = 'Custom'
  361. w2.BrickColor = BrickColor.new(TrailColor)
  362. w2.Transparency = 0
  363. w2.Reflectance = 0
  364. w2.Material = "SmoothPlastic"
  365. w2.CanCollide = false
  366. NoOutline(w2)
  367. local sz = Vector3.new(0.2, width, len2)
  368. w2.Size = sz
  369. local sp = Instance.new("SpecialMesh",w2)
  370. sp.MeshType = "Wedge"
  371. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  372. w2:BreakJoints()
  373. w2.Anchored = true
  374. w2.Parent = workspace
  375. w2.Transparency = 0.7
  376. table.insert(Effects,{w2,"Disappear",.01})
  377. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  378. table.insert(list,w2)
  379. end
  380. return unpack(list)
  381. end
  382.        
  383.        
  384. so = function(id,par,vol,pit)
  385. coroutine.resume(coroutine.create(function()
  386. local sou = Instance.new("Sound",par or workspace)
  387. sou.Volume=vol
  388. sou.Pitch=pit or 1
  389. sou.SoundId=id
  390. swait()
  391. sou:play()
  392. game:GetService("Debris"):AddItem(sou,6)
  393. end))
  394. end
  395.  
  396. function clerp(a,b,t)
  397. local qa = {QuaternionFromCFrame(a)}
  398. local qb = {QuaternionFromCFrame(b)}
  399. local ax, ay, az = a.x, a.y, a.z
  400. local bx, by, bz = b.x, b.y, b.z
  401. local _t = 1-t
  402. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  403. end
  404.  
  405. function QuaternionFromCFrame(cf)
  406. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  407. local trace = m00 + m11 + m22
  408. if trace > 0 then
  409. local s = math.sqrt(1 + trace)
  410. local recip = 0.5/s
  411. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  412. else
  413. local i = 0
  414. if m11 > m00 then
  415. i = 1
  416. end
  417. if m22 > (i == 0 and m00 or m11) then
  418. i = 2
  419. end
  420. if i == 0 then
  421. local s = math.sqrt(m00-m11-m22+1)
  422. local recip = 0.5/s
  423. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  424. elseif i == 1 then
  425. local s = math.sqrt(m11-m22-m00+1)
  426. local recip = 0.5/s
  427. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  428. elseif i == 2 then
  429. local s = math.sqrt(m22-m00-m11+1)
  430. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  431. end
  432. end
  433. end
  434.  
  435. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  436. local xs, ys, zs = x + x, y + y, z + z
  437. local wx, wy, wz = w*xs, w*ys, w*zs
  438. local xx = x*xs
  439. local xy = x*ys
  440. local xz = x*zs
  441. local yy = y*ys
  442. local yz = y*zs
  443. local zz = z*zs
  444. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  445. end
  446.  
  447. function QuaternionSlerp(a, b, t)
  448. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  449. local startInterp, finishInterp;
  450. if cosTheta >= 0.0001 then
  451. if (1 - cosTheta) > 0.0001 then
  452. local theta = math.acos(cosTheta)
  453. local invSinTheta = 1/math.sin(theta)
  454. startInterp = math.sin((1-t)*theta)*invSinTheta
  455. finishInterp = math.sin(t*theta)*invSinTheta  
  456. else
  457. startInterp = 1-t
  458. finishInterp = t
  459. end
  460. else
  461. if (1+cosTheta) > 0.0001 then
  462. local theta = math.acos(-cosTheta)
  463. local invSinTheta = 1/math.sin(theta)
  464. startInterp = math.sin((t-1)*theta)*invSinTheta
  465. finishInterp = math.sin(t*theta)*invSinTheta
  466. else
  467. startInterp = t-1
  468. finishInterp = t
  469. end
  470. end
  471. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  472. end
  473.  
  474. --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  475.  
  476.  
  477. function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  478. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  479. end
  480.  
  481. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  482.         if hit.Parent==nil then
  483.                 return
  484.         end
  485.         h=hit.Parent:FindFirstChild("Humanoid")
  486.         for _,v in pairs(hit.Parent:children()) do
  487.         if v:IsA("Humanoid") then
  488.         h=v
  489.         end
  490.         end
  491.         if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  492.         h=hit.Parent.Parent:FindFirstChild("Humanoid")
  493.         end
  494.         if hit.Parent.className=="Hat" then
  495.         hit=hit.Parent.Parent:findFirstChild("Head")
  496.         end
  497.         if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  498.         if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  499.         --[[                if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  500.                         return
  501.                 end]]
  502. --                        hs(hit,1.2)
  503.                         c=Instance.new("ObjectValue")
  504.                         c.Name="creator"
  505.                         c.Value=game:service("Players").LocalPlayer
  506.                         c.Parent=h
  507.                         game:GetService("Debris"):AddItem(c,.5)
  508.                 Damage=math.random(minim,maxim)
  509. --                h:TakeDamage(Damage)
  510.                 blocked=false
  511.                 block=hit.Parent:findFirstChild("Block")
  512.                 if block~=nil then
  513.                 print(block.className)
  514.                 if block.className=="NumberValue" then
  515.                 if block.Value>0 then
  516.                 blocked=true
  517.                 if decreaseblock==nil then
  518.                 block.Value=block.Value-1
  519.                 end
  520.                 end
  521.                 end
  522.                 if block.className=="IntValue" then
  523.                 if block.Value>0 then
  524.                 blocked=true
  525.                 if decreaseblock~=nil then
  526.                 block.Value=block.Value-1
  527.                 end
  528.                 end
  529.                 end
  530.                 end
  531.                 if blocked==false then
  532. --                h:TakeDamage(Damage)
  533.                 h.Health=h.Health-Damage
  534.                 showDamage(hit.Parent,Damage,.5,BrickColor.new("New Yeller"))
  535.                 else
  536.                 h.Health=h.Health-(Damage/2)
  537.                 showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  538.                 end
  539.                 if Type=="Knockdown" then
  540.                 hum=hit.Parent.Humanoid
  541. hum.PlatformStand=true
  542. coroutine.resume(coroutine.create(function(HHumanoid)
  543. swait(1)
  544. HHumanoid.PlatformStand=false
  545. end),hum)
  546.                 local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  547. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  548. local bodvol=Instance.new("BodyVelocity")
  549. bodvol.velocity=angle*knockback
  550. bodvol.P=5000
  551. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  552. bodvol.Parent=hit
  553. rl=Instance.new("BodyAngularVelocity")
  554. rl.P=3000
  555. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  556. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  557. rl.Parent=hit
  558. game:GetService("Debris"):AddItem(bodvol,.5)
  559. game:GetService("Debris"):AddItem(rl,.5)
  560.                 elseif Type=="Normal" then
  561.                 vp=Instance.new("BodyVelocity")
  562.                 vp.P=500
  563.                 vp.maxForce=Vector3.new(math.huge,0,math.huge)
  564. --                vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  565.                 if KnockbackType==1 then
  566.                 vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  567.                 elseif KnockbackType==2 then
  568.                 vp.velocity=Property.CFrame.lookVector*knockback
  569.                 end
  570.                 if knockback>0 then
  571.                         vp.Parent=hit.Parent.Torso
  572.                 end
  573.                 game:GetService("Debris"):AddItem(vp,.5)
  574.                 elseif Type=="Up" then
  575.                 local bodyVelocity=Instance.new("BodyVelocity")
  576.                 bodyVelocity.velocity=vt(0,60,0)
  577.                 bodyVelocity.P=5000
  578.                 bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  579.                 bodyVelocity.Parent=hit
  580.                 game:GetService("Debris"):AddItem(bodyVelocity,1)
  581.                 rl=Instance.new("BodyAngularVelocity")
  582.                 rl.P=3000
  583.                 rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  584.                 rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  585.                 rl.Parent=hit
  586.                 game:GetService("Debris"):AddItem(rl,.5)
  587.                 elseif Type=="Snare" then
  588.                 bp=Instance.new("BodyPosition")
  589.                 bp.P=2000
  590.                 bp.D=100
  591.                 bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  592.                 bp.position=hit.Parent.Torso.Position
  593.                 bp.Parent=hit.Parent.Torso
  594.                 game:GetService("Debris"):AddItem(bp,1)
  595.                 elseif Type=="Target" then
  596.                 if Targetting==false then
  597.                 ZTarget=hit.Parent.Torso
  598.                 coroutine.resume(coroutine.create(function(Part)
  599.                 so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  600.                 swait(5)
  601.                 so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  602.                 end),ZTarget)
  603.                 TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  604.                 targetgui=Instance.new("BillboardGui")
  605.                 targetgui.Parent=ZTarget
  606.                 targetgui.Size=UDim2.new(10,100,10,100)
  607.                 targ=Instance.new("ImageLabel")
  608.                 targ.Parent=targetgui
  609.                 targ.BackgroundTransparency=1
  610.                 targ.Image="rbxassetid://4834067"
  611.                 targ.Size=UDim2.new(1,0,1,0)
  612.                 cam.CameraType="Scriptable"
  613.                 cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  614.                 dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  615.                 workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  616.                 Targetting=true
  617.                 RocketTarget=ZTarget
  618.                 for i=1,Property do
  619.                 --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  620.                 if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  621.                 swait()
  622.                 end
  623.                 --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  624.                 cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  625.                 dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  626.                 cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  627.                 end
  628.                 Targetting=false
  629.                 RocketTarget=nil
  630.                 targetgui.Parent=nil
  631.                 cam.CameraType="Custom"
  632.                 end
  633.                 end
  634.                         debounce=Instance.new("BoolValue")
  635.                         debounce.Name="DebounceHit"
  636.                         debounce.Parent=hit.Parent
  637.                         debounce.Value=true
  638.                         game:GetService("Debris"):AddItem(debounce,Delay)
  639.                         c=Instance.new("ObjectValue")
  640.                         c.Name="creator"
  641.                         c.Value=Player
  642.                         c.Parent=h
  643.                         game:GetService("Debris"):AddItem(c,.5)
  644.                 CRIT=false
  645.                 hitDeb=true
  646.                 AttackPos=6
  647.         end
  648. end
  649.  
  650. showDamage=function(Char,Dealt,du,Color)
  651.         m=Instance.new("Model")
  652.         m.Name=tostring(Dealt)
  653.         h=Instance.new("Humanoid")
  654.         h.Health=0
  655.         h.MaxHealth=0
  656.         h.Parent=m
  657.         c=Instance.new("Part")
  658.         c.Transparency=0
  659.         c.BrickColor=Color
  660.         c.Name="Head"
  661.         c.TopSurface=0
  662.         c.BottomSurface=0
  663.         c.formFactor="Plate"
  664.         c.Size=Vector3.new(1,.4,1)
  665.         ms=Instance.new("CylinderMesh")
  666.         ms.Scale=Vector3.new(.8,.8,.8)
  667.         if CRIT==true then
  668.                 ms.Scale=Vector3.new(1,1.25,1)
  669.         end
  670.         ms.Parent=c
  671.         c.Reflectance=0
  672.         Instance.new("BodyGyro").Parent=c
  673.         c.Parent=m
  674.         if Char:findFirstChild("Head")~=nil then
  675.         c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  676.         elseif Char.Parent:findFirstChild("Head")~=nil then
  677.         c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  678.         end
  679.         f=Instance.new("BodyPosition")
  680.         f.P=2000
  681.         f.D=100
  682.         f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  683.         f.position=c.Position+Vector3.new(0,3,0)
  684.         f.Parent=c
  685.         game:GetService("Debris"):AddItem(m,.5+du)
  686.         c.CanCollide=false
  687.         m.Parent=workspace
  688.         c.CanCollide=false
  689. end
  690.  
  691. VestHandle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(2.01999998, 1.39999998, 1.01999998))
  692. handleweld=weld(m,Character["Torso"],VestHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.52587891e-005, 0.300115585, 3.05175781e-005, 0.999999642, 0, 0, 0, 1, 0, 0, 0, 0.999999642))
  693. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(1, 0.76000005, 0.600000024))
  694. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.509597778, -0.490081787, 0.200000286, -0.999999642, 0, 0, 0, 0, 0.999999642, 0, 1, 0))
  695. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=104516854",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  696. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.600000024, 0.800000012))
  697. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000152587891, -0.999994516, -0.200134277, -4.47035475e-008, 0, 0.999999642, 0, 1, 0, -0.999999642, 0, -4.4703544e-008))
  698. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  699. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.620000005, 1.01999998))
  700. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700012207, -1.00999117, 1.52587891e-005, 0.999999046, 0, 0, 0, 1, 0, 0, 0, 0.999999046))
  701. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.620000005, 1.01999998))
  702. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699127197, -1.00999379, 0.000549316406, 0.999997914, 6.38506317e-005, -2.78951497e-015, -6.38804122e-005, 1.00000012, 2.10474918e-015, 2.78942159e-015, 1.39239913e-015, 0.999997854))
  703. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
  704. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609390259, 0.811340332, -0.0999908447, 3.08029073e-018, -2.69585922e-014, -0.999999642, -0.999999642, -6.39334685e-005, -1.35697087e-018, -6.39334467e-005, 1, -2.6958582e-014))
  705. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
  706. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
  707. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609359741, -0.788131714, -0.0999910831, 3.06354694e-018, -2.34616979e-014, -0.999999642, -0.999999642, -6.39629943e-005, -1.56279636e-018, -6.39629725e-005, 1, -2.34616895e-014))
  708. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
  709. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
  710. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609375, 0.0116882324, -0.0999908447, 3.06355067e-018, -2.34617301e-014, -0.999999642, -0.999999642, -6.39631544e-005, -1.56279822e-018, -6.39631326e-005, 1, -2.34617217e-014))
  711. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
  712. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
  713. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609313965, -0.388046265, -0.0999908447, 3.0635486e-018, -2.34617301e-014, -0.999998927, -0.999998927, -6.39631544e-005, -1.56279719e-018, -6.39630889e-005, 1, -2.34617047e-014))
  714. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
  715. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
  716. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.609329224, 0.411483765, -0.0999908447, 3.08028867e-018, -2.69585922e-014, -0.999998927, -0.999998927, -6.39334685e-005, -1.35696984e-018, -6.3933403e-005, 1, -2.69585617e-014))
  717. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
  718. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  719. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000305175781, -0.800010204, 0.89906311, -4.47035724e-008, 6.26018334e-015, 0.999997854, -8.34552054e-008, 1.00000012, -5.15634779e-015, -0.999997914, -5.35364961e-008, -4.47035653e-008))
  720. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  721. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.600000024, 0.800000012))
  722. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000228881836, -0.99998498, -0.199783325, -4.47038211e-008, -2.85946115e-012, -0.999997854, -6.3955762e-005, 1.00000012, 1.77753083e-015, 0.999997914, 6.39259815e-005, -4.47038175e-008))
  723. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  724. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 3.79999971, 0.200000003))
  725. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356018066, -0.311279297, -0.609542847, 0.865768671, 0.500441432, 0, -0.5004403, 0.865770638, 3.55271241e-015, 3.55271241e-015, 3.02253882e-015, 0.999997854))
  726. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  727. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  728. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000122070313, -0.799995899, 0.900177002, 1.49011559e-008, 0, -0.999995232, 0, 1, 0, 0.999995232, 0, 1.49011559e-008))
  729. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  730. FlagLogo=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","FlagLogo",Vector3.new(3, 1.99999988, 0.200000003))
  731. FlagLogoweld=weld(m,VestHandle,FlagLogo,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.14234924, -3.41108704, -0.610244751, 0.865850091, 0.500302911, -3.55240239e-015, -0.500302792, 0.865850449, 9.79956736e-019, 3.07633938e-015, 1.77642947e-015, 0.999999642))
  732. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
  733. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356628418, -2.31108093, -0.620269775, 0.865850091, 0.500302911, 7.10581953e-015, -0.500302792, 0.865850449, 9.79956736e-019, 6.15238443e-015, 3.55382075e-015, 0.999999642))
  734. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  735. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000036, 0.200000003, 0.400000036))
  736. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.354736328, -4.51108551, -0.620117188, 0.865849495, 0.500302911, 1.77640292e-014, -0.500302434, 0.865850449, 9.79956115e-019, 9.22842142e-015, 5.33121097e-015, 0.999998927))
  737. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  738. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 1.99999964, 0.200000003))
  739. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356216431, -3.41107178, -0.610137939, 0.865848899, 0.500302911, 1.77639292e-014, -0.500302076, 0.865850449, 9.79955495e-019, 1.53807173e-014, 8.88612016e-015, 0.999998212))
  740. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  741. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
  742. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.356292725, 1.6887207, -0.619628906, 0.865768075, 0.500441432, 0, -0.500439942, 0.865770638, 3.55270987e-015, 3.55270987e-015, 3.02253882e-015, 0.999997139))
  743. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  744. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Part",Vector3.new(0.200000003, 0.400000036, 1.19999993))
  745. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.589828491, 0.808547974, -0.0999956131, -3.90798369e-014, 8.06646416e-017, -0.999997854, -0.999997914, -6.36497934e-005, 3.90798369e-014, -6.36795739e-005, 1.00000012, 3.58011901e-015))
  746. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=12891705",Vector3.new(0, 0, 0),Vector3.new(0.200000003, 0.200000003, 0.200000003))
  747. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(1, 0.76000005, 0.600000024))
  748. Partweld=weld(m,VestHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.509597778, -0.490081787, -0.399998188, -0.999999642, 0, 0, 0, 0, 0.999999642, 0, 1, 0))
  749. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=104516854",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  750. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(0.200000003, 0.200000003, 1.4000001))
  751. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.05175781e-005, -1.10011411, -1.52587891e-005, 0.999999404, -4.47034765e-008, 0, -4.47034836e-008, -0.999999285, 0, 0, 0, -1))
  752. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=74322546",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.5, 1.5))
  753. local Decal1 = Instance.new("Decal",FlagLogo)
  754. Decal1.Texture = "http://www.roblox.com/asset/?id=147337085"
  755. Decal1.Face = "Front"
  756. local Decal2 = Instance.new("Decal",FlagLogo)
  757. Decal2.Texture = "http://www.roblox.com/asset/?id=147337085"
  758. Decal2.Face = "Back"
  759. Humanoid.WalkSpeed = 50
  760.  
  761. function ALLAHUAKBAR()
  762. attack = true
  763. local speak = {"ALLAHUAKBAR!!!!!!!!!!!!!!!"}
  764. local colors = {"Red","Red","Red"} -- The only 3 colors, adding more will error.
  765. local chat = game:GetService("Chat")
  766. chat:Chat(Head,speak[math.random(1,#speak)], colors[math.random(1,3)] )
  767. for i = 0,1,0.05 do
  768. swait()
  769. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  770. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  771. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  772. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  773. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  774. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  775. end
  776. so("rbxassetid://138081500",Torso,1,1)
  777. for i = 0,1,0.05 do
  778. swait()
  779. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  780. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  781. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(50)), 0.3)
  782. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  783. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  784. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  785. end
  786. for i = 1,20 do
  787. so("http://roblox.com/asset/?id=247893371",workspace,1,1)
  788. so("rbxassetid://134854740",Torso,1,1.3)
  789. so("rbxassetid://137994058",Torso,1,1)
  790. so("rbxassetid://165969964",Torso,1,1)
  791. local S = Instance.new("Explosion",workspace)
  792. S.Position = Torso.Position
  793. S.BlastPressure = 5
  794. S.BlastRadius = 50
  795. S.ExplosionType = 2
  796. end
  797. attack = false
  798. end
  799.  
  800. mouse.Button1Down:connect(function()
  801. ALLAHUAKBAR()
  802. end)
  803.  
  804. mouse.KeyDown:connect(function(k)
  805.         k=k:lower()
  806.        
  807. end)
  808.  
  809.  
  810. local sine = 0
  811. local change = 1
  812. local val = 0
  813.  
  814. while true do
  815. swait()
  816. sine = sine + change
  817. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  818. local velderp=RootPart.Velocity.y
  819. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  820. if equipped==true or equipped==false then
  821. if attack==false then
  822. idle=idle+1
  823. else
  824. idle=0
  825. end
  826. if idle>=500 then
  827. if attack==false then
  828. --Sheath()
  829. end
  830. end
  831. if RootPart.Velocity.y > 1 and hitfloor==nil then
  832. Anim="Jump"
  833. if attack==false then
  834. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  835. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  836. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(10)), 0.3)
  837. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  838. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  839. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  840. end
  841. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  842. Anim="Fall"
  843. if attack==false then
  844. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  845. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  846. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.3)
  847. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  848. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  849. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  850. end
  851. elseif torvel<1 and hitfloor~=nil then
  852. Anim="Idle"
  853. if attack==false then
  854. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(10)),.3)
  855. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-10)),.3)
  856. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(20)), 0.3)
  857. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-20)), 0.3)
  858. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  859. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  860. end
  861. elseif torvel>2 and hitfloor~=nil then
  862. Anim="Walk"
  863. if attack==false then
  864. change=3
  865. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  866. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  867. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(50*math.cos(sine/20)), math.rad(0), math.rad(10)), 0.3)
  868. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-50*math.cos(sine/20)), math.rad(0), math.rad(-10)), 0.3)
  869. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  870. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  871. end
  872. end
  873. end
  874. if #Effects>0 then
  875. --table.insert(Effects,{prt,"Block1",delay})
  876. for e=1,#Effects do
  877. if Effects[e]~=nil then
  878. --for j=1,#Effects[e] do
  879. local Thing=Effects[e]
  880. if Thing~=nil then
  881. local Part=Thing[1]
  882. local Mode=Thing[2]
  883. local Delay=Thing[3]
  884. local IncX=Thing[4]
  885. local IncY=Thing[5]
  886. local IncZ=Thing[6]
  887. if Thing[1].Transparency<=1 then
  888. if Thing[2]=="Block1" then
  889. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  890. Mesh=Thing[1].Mesh
  891. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  892. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  893. elseif Thing[2]=="Cylinder" then
  894. Mesh=Thing[1].Mesh
  895. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  896. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  897. elseif Thing[2]=="Blood" then
  898. Mesh=Thing[7]
  899. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  900. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  901. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  902. elseif Thing[2]=="Elec" then
  903. Mesh=Thing[1].Mesh
  904. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  905. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  906. elseif Thing[2]=="Disappear" then
  907. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  908. end
  909. else
  910. Part.Parent=nil
  911. table.remove(Effects,e)
  912. end
  913. end
  914. --end
  915. end
  916. end
  917. end
  918. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top