Wweroblox12121212

Untitled

May 10th, 2017
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.79 KB | None | 0 0
  1. for _,n in pairs (game.Players.LocalPlayer.Character:GetChildren()) do if n:IsA("Accoutrement") then n:Destroy() end end
  2.  
  3. mikymose = game.Players.LocalPlayer:GetMouse()
  4. chr = game.Players.LocalPlayer.Character
  5. function SoundFX(args)
  6. s = Instance.new("Sound", args[1])
  7. s.SoundId = "rbxassetid://"..args[2]
  8. s.Volume = args[3]
  9. s.Pitch = args[4]
  10. s.Name = args[5]
  11. return s
  12. end
  13. mikymose.KeyDown:Connect(function(onic)
  14. onic = onic:upper()
  15. if onic == "H" then
  16. lolwat = SoundFX({chr, "506001681", 1, 1, "succ"})
  17. wait()
  18. lolwat:Play()
  19. return
  20. end
  21. end)
  22.  
  23. local p = game.Players.LocalPlayer
  24. local char = p.Character
  25. local mouse = p:GetMouse()
  26. local larm = char["Left Arm"]
  27. local rarm = char["Right Arm"]
  28. local lleg = char["Left Leg"]
  29. local rleg = char["Right Leg"]
  30. local hed = char.Head
  31. local torso = char.Torso
  32. local hum = char.Humanoid
  33. local cam = game.Workspace.CurrentCamera
  34. local root = char.HumanoidRootPart
  35. local deb = false
  36. local shot = 0
  37. local debris=game:service"Debris"
  38.  
  39. local RbxUtility = LoadLibrary("RbxUtility")
  40. local Create = RbxUtility.Create
  41. local m = Create("Model")
  42.  
  43. local l = game:GetService("Lighting")
  44. local rs = game:GetService("RunService").RenderStepped
  45. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  46. math.randomseed(os.time())
  47. for i,v in pairs (game.Workspace:GetChildren()) do
  48. if v:IsA("Sound") then
  49. v:Destroy()
  50. end
  51. end
  52. ----------------------------------------------------
  53. z = Instance.new("Sound", torso)
  54. z.SoundId = "rbxassetid://0"-- Cartton Imortallity :381955589 -- My Heart: 154299074 -- Sao Crossing: 246056418 -- SAN HOLO DOnkeykong: 246056418 -- "Innocence" - Sword Art Online OP 2: 142357253 -- OnePunch Hero: 339250412 (Fav) -- Sethbling: 170902050
  55. z.Looped = true
  56. z.Volume = 1
  57. wait(.1)
  58. z:Play()
  59. ----------------------------------------------------
  60. function Tween(a,b,c)
  61. return a+(b-a)*c
  62. end
  63. ----------------------------------------------------
  64. function FindNearestTorso(Position,Distance,SinglePlayer)
  65. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  66. local List = {}
  67. for i,v in pairs(workspace:GetChildren())do
  68. if v:IsA("Model")then
  69. if v:findFirstChild("Torso")then
  70. if v ~= char then
  71. if(v.Torso.Position -Position).magnitude <= Distance then
  72. table.insert(List,v)
  73. end
  74. end
  75. end
  76. end
  77. end
  78. return List
  79. end
  80. ----------------------------------------------------
  81. local HBill = Instance.new("BillboardGui", hed)
  82. local HMain = Instance.new("Frame", HBill)
  83. local HBar = Instance.new("Frame")
  84. local HBarBack = Instance.new("Frame")
  85. local HHealth = Instance.new("TextLabel", HBarBack)
  86. local HName = Instance.new("TextLabel", HBarBack)
  87.  
  88. HBill.Size = UDim2.new(15,0,2.2,0)
  89. HBill.Name = "Health Display"
  90. HBill.StudsOffset = Vector3.new(0,4,0)
  91. HBill.AlwaysOnTop = true
  92. HBill.Enabled = true
  93.  
  94. HMain.BackgroundColor3 = Color3.new(0, 0, 0)
  95. HMain.BackgroundTransparency = 1
  96. HMain.Size = UDim2.new(1,0,1,0)
  97.  
  98. HBarBack.Parent = HMain
  99. HBarBack.BackgroundColor3 = Color3.new(0,0,0)
  100. HBarBack.BorderColor3 = Color3.new(0,0,0)
  101. HBarBack.BorderSizePixel = 2
  102. HBarBack.Position = UDim2.new(.025, 0, .55, 0)
  103. HBarBack.Size = UDim2.new(.95, 0, .3, 0)
  104.  
  105. HBar.Parent = HBarBack
  106. HBar.BackgroundColor3 = Color3.new(0, 1, 0)
  107. HBar.BorderColor3 = Color3.new(0,0,0)
  108. HBar.Size = UDim2.new(.5,0,1,0)
  109.  
  110. HHealth.BackgroundTransparency = 1
  111. HHealth.Size = UDim2.new(1,0,1,0)
  112. HHealth.Font = "SourceSansItalic"
  113. HHealth.Text = "[10/10]"
  114. HHealth.TextScaled = true
  115. HHealth.TextColor3 = Color3.new(1,1,1)
  116. HHealth.TextStrokeColor3 = Color3.new(85/255, 0, 127/255)
  117. HHealth.TextStrokeTransparency = 0
  118.  
  119. HName.Parent = HMain
  120. HName.BackgroundTransparency = 1
  121. HName.Size = UDim2.new(1,0,.5,0)
  122. HName.Font = "SourceSansItalic"
  123. HName.Text = "†The Reaper†"
  124. HName.TextScaled = true
  125. HName.TextColor3 = Color3.new(85/255, 0,127/255)
  126. HName.TextStrokeColor3 = Color3.new(0,0,0)
  127. HName.TextStrokeTransparency = 0
  128. HName.TextYAlignment = "Top"
  129.  
  130. local runServ = game:GetService("RunService").RenderStepped
  131. runServ:connect(function()
  132. HHealth.Text = "["..hum.Health.."]"
  133. HBar:TweenSize(UDim2.new((hum.Health/hum.MaxHealth),0,1,0), _, "Linear", .4)
  134. end)
  135.  
  136. Character = game:GetService("Players").localPlayer.Character
  137. Reaper = Instance.new("Model", Character.Head)
  138. Reaper.Name = "Eyes"
  139. e1 = Instance.new("Part")
  140. e1.Parent = Reaper
  141. e1.Locked = true
  142. e1.CanCollide = false
  143. e1.formFactor = "Symmetric"
  144. e1.Size = Vector3.new(-3.05,-5.05, -3.05)
  145. e1.Material = "Neon"
  146. e1.BrickColor = BrickColor.new("Really red")
  147. e1.Shape = "Ball"
  148. local weld = Instance.new("Weld")
  149. weld.Parent = e1
  150. weld.Part0 = e1
  151. weld.Part1 = Character.Head
  152. weld.C0 = CFrame.new(0.17, 0.01, 0.76)*CFrame.Angles(0, 0, 0)
  153. local Lite = Instance.new("PointLight",e1)
  154. Lite.Color = Lite.Parent.BrickColor.Color
  155. Lite.Range = 8
  156. Lite.Brightness = 5
  157. Lite.Shadows = true
  158. e2 = Instance.new("Part")
  159. e2.Parent = Reaper
  160. e2.Locked = true
  161. e2.CanCollide = false
  162. e2.formFactor = "Symmetric"
  163. e2.Size = Vector3.new(-3.05,-5.05, -3.05)
  164. e2.Material = "Neon"
  165. e2.BrickColor = BrickColor.new("Really red")
  166. e2.Shape = "Ball"
  167. local weld = Instance.new("Weld")
  168. weld.Parent = e2
  169. weld.Part0 = e2
  170. weld.Part1 = Character.Head
  171. weld.C0 = CFrame.new(-0.17, 0.01, 0.76)*CFrame.Angles(0, 0, 0)
  172. local Lite2 = Instance.new("PointLight",e2)
  173. Lite2.Color = Lite2.Parent.BrickColor.Color
  174. Lite2.Range = 8
  175. Lite2.Brightness = 5
  176. Lite2.Shadows = true
  177. rh = Instance.new("Part")
  178. rh.Parent = Reaper
  179. rh.Locked = true
  180. rh.CanCollide = false
  181. msh = Instance.new("SpecialMesh")
  182. rh.formFactor = "Symmetric"
  183. msh.MeshType = "FileMesh"
  184. msh.MeshId = "http://www.roblox.com/asset/?id=16150814"
  185. msh.TextureId = "http://www.roblox.com/asset/?id=16150799"
  186. msh.Parent = rh
  187. msh.Scale = Vector3.new(1.025, 1.025, 1.025)
  188. local weld = Instance.new("Weld")
  189. weld.Parent = rh
  190. rh.Transparency = 0
  191. weld.Part0 = rh
  192. weld.Part1 = Character.Head
  193. weld.C0 = CFrame.new(0, -0.045, 0)*CFrame.Angles(0, 0, 0)
  194.  
  195.  
  196. local function lerp(weld,beglerp,endlerp,speed)
  197. weld.C0 = beglerp:lerp(endlerp,speed)
  198. return weld.C0
  199. end
  200. local function lerp2(weld,beglerp,endlerp,speed)
  201. weld.C0 = beglerp:lerp(endlerp,speed)
  202. return weld.C1
  203. end
  204.  
  205. local speed = 0.2
  206. local angle = 0
  207. local anglespeed = 2
  208. local armspeed = 0.2
  209. local armangle = 0
  210. local armanglespeed = 2
  211. local legspeed = 0.2
  212. local legangle = 0
  213. local leganglespeed = 2
  214. local ignore = {}
  215. local on = true
  216. local damen = true
  217. local enabled = true
  218. local slamming = false
  219. local combo = 1
  220. local Player = game.Players.LocalPlayer
  221. local mouse = Player:GetMouse()
  222. local Char = Player.Character
  223. local Character = Char
  224. local Human = Char.Humanoid
  225. local Sounds = {"rbxassetid://200633148","rbxassetid://200632211","rbxassetid://2101137","rbxassetid://136523485"}
  226. local Head = Char.Head
  227. local LA = Char:findFirstChild("Left Arm")
  228. local RA = Char:findFirstChild("Right Arm")
  229. local LL = Char:findFirstChild("Left Leg")
  230. local RL = Char:findFirstChild("Right Leg")
  231. local T = Char:findFirstChild("Torso")
  232. local LS = T:findFirstChild("Left Shoulder")
  233. local RS = T:findFirstChild("Right Shoulder")
  234. local LH = T:findFirstChild("Left Hip")
  235. local RH = T:findFirstChild("Right Hip")
  236. local Neck = T:findFirstChild("Neck")
  237. local HM = Char:findFirstChild("HumanoidRootPart")
  238. local RJ = Char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  239. local WLS = Instance.new("Weld", T)
  240. WLS.C0 = CFrame.new(-1.5, 0.5, 0)
  241. WLS.C1 = CFrame.new(0, 0.5, 0)
  242. WLS.Part0 = T
  243. WLS.Part1 = LA
  244. local WRS = Instance.new("Weld", T)
  245. WRS.Part0 = T
  246. WRS.Part1 = RA
  247. WRS.C0 = CFrame.new(1.5, 0.5, 0)
  248. WRS.C1 = CFrame.new(0, 0.5, 0)
  249. local WLH = LH
  250. local WRH = RH
  251. local LSC0 = WLS.C0
  252. local RSC0 = WRS.C0
  253. local LHC0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  254. local LHC1 = CFrame.new(-0.5, 1 ,0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  255. local RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  256. local RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  257. local WRJ = RJ
  258. local RJC0 = WRJ.C0
  259. local RJC1 = WRJ.C1
  260. local NC0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  261. local NC1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  262. local Run = game:GetService("RunService")
  263. RJC = RJ:Clone()
  264. LSH = LS:Clone()
  265. RSH = RS:Clone()
  266. LHH = LH:Clone()
  267. RHH = RH:Clone()
  268. Anim = Char:FindFirstChild("Animate")
  269. if Anim ~= nil then
  270. Anim.Parent = nil
  271. end
  272. Animate = Human:FindFirstChild("Animator")
  273. if Animate ~= nil then
  274. Animate.Parent = nil
  275. end
  276. WLS.Parent = T
  277. WRS.Parent = T
  278. WLH.Parent = T
  279. WRH.Parent = T
  280. WRJ.Parent = T
  281.  
  282. m=Instance.new('Model',Character)
  283. it=Instance.new
  284. function nooutline(part)
  285. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  286. end
  287. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  288. local fp=it("Part")
  289. fp.formFactor=formfactor
  290. fp.Parent=parent
  291. fp.Reflectance=reflectance
  292. fp.Transparency=transparency
  293. fp.CanCollide=false
  294. fp.Locked=true
  295. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  296. fp.Name=name
  297. fp.Size=size
  298. fp.Position=Character.Torso.Position
  299. nooutline(fp)
  300. fp.Material=material
  301. fp:BreakJoints()
  302. return fp
  303. end
  304. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  305. local mesh=it(Mesh)
  306. mesh.Parent=part
  307. if Mesh=="SpecialMesh" then
  308. mesh.MeshType=meshtype
  309. mesh.MeshId=meshid
  310. end
  311. mesh.Offset=offset
  312. mesh.Scale=scale
  313. return mesh
  314. end
  315. function weld(parent,part0,part1,c0,c1)
  316. local weld=it("Weld")
  317. weld.Parent=parent
  318. weld.Part0=part0
  319. weld.Part1=part1
  320. weld.C0=c0
  321. weld.C1=c1
  322. return weld
  323. end
  324.  
  325. Claw=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,1,"Really black","Handle",Vector3.new(1, 1.5, 1))
  326. Clawweld=weld(m,Character["Right Arm"],Claw,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0149011612, 0.25, -0.0200300217, -1, 0, 0, 0, 0.999999881, 0, 0, 0, -1))
  327. Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1, 1.5, 1))
  328. Partweld=weld(m,Claw,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  329. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 1.10000002, 1.10000002))
  330. Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Dark stone grey","Part",Vector3.new(1, 0.200000003, 1))
  331. Partweld=weld(m,Claw,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.549998999, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  332. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.20000005, 1.20000005, 1.20000005))
  333. Part=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Institutional white","Part",Vector3.new(0.299999952, 1, 1.39999998))
  334. Partweld=weld(m,Claw,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.594539642, -0.0200266838, -0.508953333, -0.970295787, 0.241921946, 0, 0, 0, -1, -0.241921946, -0.970295787, 0))
  335. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=10681506",Vector3.new(0, 0, 0),Vector3.new(2, 1.5, 1))
  336.  
  337. Hitbox = Part
  338.  
  339. local Meshes={
  340. Blast="20329976",
  341. Crown="1323306",
  342. Ring="3270017",
  343. Claw="10681506",
  344. Crystal="9756362",
  345. Coil="9753878",
  346. Cloud="1095708",
  347. Skull="4770583",
  348. }
  349.  
  350. local function nooutlines(part)
  351. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  352. end
  353.  
  354. local function getmesh(mesh)
  355. return "rbxassetid://"..mesh
  356. end
  357.  
  358. local function effect(part,brickcolor,size,cframe,trans,transincrement,scaleby,loopwait,meshid,meshtype)
  359. local p = Instance.new("Part", part or workspace)
  360. p.Anchored = true
  361. p.CanCollide = false
  362. p.FormFactor = Enum.FormFactor.Custom
  363. p.Material = "SmoothPlastic"
  364. p.CFrame = cframe
  365. p.BrickColor = brickcolor
  366. p.Size = Vector3.new(1,1,1)
  367. p.Transparency = trans
  368. nooutlines(p)
  369. local m = Instance.new("SpecialMesh",p)
  370. if meshtype ~= nil and meshid == nil then
  371. m.MeshType = meshtype
  372. end
  373. if meshtype == nil and meshid ~= nil then
  374. m.MeshId = getmesh(meshid)
  375. end
  376. m.Scale = size
  377. coroutine.wrap(function()
  378. for i = 0,loopwait,0.1 do
  379. p.CFrame = p.CFrame
  380. p.Transparency = p.Transparency +transincrement
  381. m.Scale = m.Scale + scaleby
  382. wait(1/60)
  383. end
  384. p:Destroy()
  385. end)()
  386. return p
  387. end
  388.  
  389. function Rwait(long)
  390. if long == 0 or long == nil then
  391. Run.RenderStepped:wait()
  392. else
  393. for i = 0,long do
  394. Run.RenderStepped:wait()
  395. end
  396. end
  397. end
  398.  
  399. local PlaySound = function(part,volume,pitch,id,looped)
  400. local Sound = Instance.new("Sound", part)
  401. Sound.SoundId = id
  402. Sound.Pitch = pitch
  403. Sound.Volume = volume
  404. coroutine.wrap(function()
  405. wait()
  406. Sound:Play()
  407. if looped == nil then
  408. game.Debris:AddItem(Sound,10)
  409. end
  410. end)()
  411. if looped == true then
  412. Sound.Looped = true
  413. ThisSound = Sound
  414. end
  415. end
  416.  
  417. local function GetDistance(Obj,Mag)
  418. for _,v in pairs(workspace:GetChildren()) do
  419. if v:FindFirstChild('Humanoid') and v:FindFirstChild('Torso') and v ~= Char then
  420. local Mag2 = (v.Torso.Position - Obj.Position).magnitude
  421. if Mag2 < Mag then
  422. return v
  423. end
  424. end
  425. end
  426. end
  427.  
  428. local ShowDmg = function(totake)
  429. local modl = Instance.new("Model", workspace)
  430. modl.Name = tostring(totake)
  431. local prt = Instance.new("Part", modl)
  432. prt.CanCollide = false
  433. prt.BrickColor = BrickColor.Red()
  434. prt.Name = "Head"
  435. prt.CFrame = HM.CFrame *CFrame.new(0, 1.5, 0)
  436. prt.TopSurface = 0
  437. prt.BottomSurface = 0
  438. prt.FormFactor = 3
  439. prt.Size = Vector3.new(1, 0.2, 1)
  440. local bm = Instance.new("BlockMesh", prt)
  441. local hum = Instance.new("Humanoid", modl)
  442. hum.Health = 0
  443. hum.MaxHealth = 0
  444. hum.WalkSpeed = 0
  445. bodypos = Instance.new("BodyPosition", prt)
  446. bodypos.position = Head.Position +Vector3.new(0, 1, 0)
  447. bodypos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  448. game.Debris:AddItem(modl, 1)
  449. coroutine.resume(coroutine.create(function()
  450. for i = 1, 3 do
  451. bodypos.position = bodypos.position +Vector3.new(0, 0.5, 0)
  452. Rwait()
  453. end
  454. end))
  455. end
  456.  
  457. local function ChargeAt(Strength,lastfor)
  458. local BV = Instance.new("BodyVelocity",HM)
  459. BV.maxForce = Vector3.new(5e4,0,5e4)
  460. BV.velocity = HM.CFrame.lookVector *Strength
  461. if lastfor == nil then lastfor = 0.1 end
  462. game.Debris:AddItem(BV,lastfor)
  463. end
  464.  
  465. local function Damage(hit,mm,knockback)
  466. if hit ~= nil and hit.Parent ~= nil and damen == true and hit.Parent ~= Char and hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent:FindFirstChild("Humanoid").Health > 0 then
  467. if game.Players:FindFirstChild(hit.Parent) ~= nil and game.Players:FindFirstChild(hit.Parent).TeamColor == "Bright orange" then
  468. return
  469. end
  470. hit.Parent.Humanoid:TakeDamage(mm)
  471. if knockback ~= nil and knockback ~= 0 then
  472. local v = Instance.new("BodyVelocity",hit.Parent.Torso)
  473. v.maxForce = Vector3.new(5e4,0,5e4)
  474. v.P = 1e20
  475. v.velocity = HM.CFrame.lookVector *knockback
  476. game.Debris:AddItem(v,0.5)
  477. end
  478. coroutine.resume(coroutine.create(function()
  479. ShowDmg(mm)
  480. end))
  481. damen = false
  482. end
  483. end
  484.  
  485. local function MagDamage(magnitude,part,damg,knockback,ignoretime)
  486. if ignoretime == 0 or ignoretime == nil then
  487. ignoretime = 0.5
  488. end
  489. local Body = GetDistance(part,magnitude)
  490. if Body ~= nil and Body.Humanoid and Body ~= Char and not ignore[Body] then
  491. ignore[Body] = true
  492. Body.Humanoid:TakeDamage(damg)
  493. spawn(function()
  494. ShowDmg(damg)
  495. end)
  496. if knockback ~= nil and Body.Torso ~= nil then
  497. local v = Instance.new("BodyVelocity",Body.Torso)
  498. v.maxForce = Vector3.new(5e4,0,5e4)
  499. v.P = 1e20
  500. v.velocity = HM.CFrame.lookVector *knockback
  501. game.Debris:AddItem(v,0.1)
  502. end
  503. coroutine.resume(coroutine.create(function()
  504. wait(ignoretime)
  505. ignore[Body] = false
  506. end))
  507. end
  508. end
  509.  
  510. local function Rwait(long)
  511. if long == 0 or long == nil then
  512. Run.RenderStepped:wait()
  513. else
  514. for i = 0,long do
  515. Run.RenderStepped:wait()
  516. end
  517. end
  518. end
  519.  
  520. local function Slash1()
  521. for i = 1,10 do
  522. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2.3,0,-math.pi/5),armspeed*1.3)
  523. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,0,math.pi/10),armspeed*1.3)
  524. lerp(WLH,WLH.C0,LHC0,legspeed)
  525. lerp(WRH,WRH.C0,RHC0,legspeed)
  526. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,-math.pi/5),speed)
  527. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,math.pi/5),speed)
  528. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  529. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
  530. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
  531. end
  532. Rwait()
  533. end
  534. damen = true
  535. local dmgbx = Hitbox.Touched:connect(function(hit) Damage(hit,math.random(8,14),3) end)
  536. PlaySound(Claw,1,1.1,Sounds[1])
  537. for i = 1,13 do
  538. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/3,0,-math.pi/3),armspeed*1.3)
  539. lerp(WRS,WRS.C0,RSC0 *CFrame.new(0,0,-0.5) *CFrame.Angles(math.pi/2,0,-math.pi/3),armspeed*1.3)
  540. lerp(WLH,WLH.C0,LHC0,legspeed)
  541. lerp(WRH,WRH.C0,RHC0,legspeed)
  542. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,math.pi/5),speed)
  543. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,-math.pi/5),speed)
  544. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  545. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
  546. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
  547. end
  548. Rwait()
  549. end
  550. damen = false
  551. dmgbx:disconnect()
  552. end
  553.  
  554. local function Slash2()
  555. for i = 1,10 do
  556. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/8),armspeed*1.3)
  557. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/1.2,math.pi/2,math.pi/5),armspeed*1.3)
  558. lerp(WLH,WLH.C0,LHC0,legspeed)
  559. lerp(WRH,WRH.C0,RHC0,legspeed)
  560. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,-math.pi/5),speed)
  561. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,math.pi/5),speed)
  562. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  563. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
  564. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
  565. end
  566. Rwait()
  567. end
  568. damen = true
  569. local dmgbx = Hitbox.Touched:connect(function(hit) Damage(hit,math.random(8,14),3) end)
  570. PlaySound(Claw,1,1,Sounds[1])
  571. for i = 1,13 do
  572. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/7,0,-math.pi/4),armspeed*1.3)
  573. lerp(WRS,WRS.C0,RSC0 *CFrame.new(0,0,-0.5) *CFrame.Angles(math.pi/6,math.pi/5,0),armspeed*1.3)
  574. lerp(WLH,WLH.C0,LHC0,legspeed)
  575. lerp(WRH,WRH.C0,RHC0,legspeed)
  576. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,math.pi/5),speed)
  577. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,-math.pi/5),speed)
  578. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  579. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
  580. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
  581. end
  582. Rwait()
  583. end
  584. damen = false
  585. dmgbx:disconnect()
  586. end
  587.  
  588. local function Kick3()
  589. damen = true
  590. local dmgbx = RL.Touched:connect(function(hit) Damage(hit,math.random(5,8),10) end)
  591. PlaySound(RL,1,1.2,Sounds[2])
  592. ChargeAt(80,0.1)
  593. for i = 1,10 do
  594. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/5,0,0),armspeed)
  595. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,0,math.pi/5),armspeed)
  596. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.pi/7),legspeed*1.3)
  597. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.pi/2.5),legspeed*1.3)
  598. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(-math.pi/7,0,0),speed)
  599. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(math.pi/4,0,0),speed)
  600. Rwait()
  601. end
  602. damen = false
  603. dmgbx:disconnect()
  604. end
  605.  
  606. local function Slash4()
  607. damen = true
  608. local dmgbx = Hitbox.Touched:connect(function(hit) Damage(hit,math.random(8,14),3) end)
  609. PlaySound(Claw,1,1.2,Sounds[1])
  610. for i = 1,10 do
  611. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/8),armspeed*1.3)
  612. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/1.4,-math.pi/5,-math.pi/5),armspeed*1.3)
  613. lerp(WLH,WLH.C0,LHC0,legspeed)
  614. lerp(WRH,WRH.C0,RHC0,legspeed)
  615. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,math.pi/5),speed)
  616. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,-math.pi/5),speed)
  617. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  618. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
  619. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
  620. end
  621. Rwait()
  622. end
  623. damen = false
  624. dmgbx:disconnect()
  625. end
  626.  
  627. function ChargeClaw()
  628. damen = true
  629. local dmgbx = Hitbox.Touched:connect(function(hit) Damage(hit,math.random(14,30),50) end)
  630. PlaySound(Claw,1,0.7,Sounds[1])
  631. ChargeAt(100,0.1)
  632. for i = 1,100 do
  633. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/4),armspeed)
  634. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,math.pi/3,math.pi/2),armspeed)
  635. lerp(WLH,WLH.C0,LHC0,legspeed)
  636. lerp(WRH,WRH.C0,RHC0,legspeed)
  637. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,math.pi/5),speed)
  638. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,-math.pi/5),speed)
  639. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  640. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
  641. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
  642. end
  643. Rwait()
  644. end
  645. damen = false
  646. dmgbx:disconnect()
  647. end
  648.  
  649. function GrabClaw()
  650. damen = true
  651. PlaySound(Claw,1,0.7,Sounds[2])
  652. local dmgbx = LA.Touched:connect(function(hit) if slamming == false and hit.Parent ~= nil and hit.Parent:FindFirstChild("Humanoid").Health >= 0 and hit.Parent:FindFirstChild("Torso") ~= nil then grabweld = Instance.new("Weld",T) grabweld.Part0 = LA grabweld.Part1 = hit.Parent.Torso grabweld.C0 = CFrame.new(0,-1.5,0) grabweld.C0 = grabweld.C0 *CFrame.Angles(-math.pi/2,math.pi,0) slamming = true print(hit,grabweld,damen) Slam(hit) end end)
  653. for i = 1,100 do
  654. if slamming == true then break end
  655. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2,0,-math.pi/5),armspeed)
  656. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,0,math.pi/5),armspeed)
  657. lerp(WLH,WLH.C0,LHC0,legspeed)
  658. lerp(WRH,WRH.C0,RHC0,legspeed)
  659. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,-math.pi/5),speed)
  660. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,math.pi/5),speed)
  661. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  662. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
  663. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
  664. end
  665. Rwait()
  666. end
  667. if slamming == false then
  668. damen = false
  669. enabled = true
  670. end
  671. dmgbx:disconnect()
  672. end
  673.  
  674. function Slam(hit)
  675. slamming = true
  676. for i = 1,10 do
  677. hit.Parent.Humanoid.PlatformStand = true
  678. hit.Parent.Humanoid:ChangeState(1)
  679. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/1.1,0,-math.pi/3),armspeed)
  680. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,0,math.pi/5),armspeed)
  681. lerp(WLH,WLH.C0,LHC0,legspeed)
  682. lerp(WRH,WRH.C0,RHC0,legspeed)
  683. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,-math.pi/5),speed)
  684. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,math.pi/5),speed)
  685. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  686. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
  687. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
  688. end
  689. Rwait()
  690. end
  691. for i = 1,20 do
  692. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2.4,0,0),armspeed)
  693. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,0,math.pi/5),armspeed)
  694. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,-math.pi/2.4),legspeed)
  695. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.pi/2.4),legspeed)
  696. lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-0.6) *CFrame.Angles(math.pi/2.4,0,0),speed)
  697. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(0,0,math.pi/5),speed)
  698. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  699. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
  700. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.sin(legangle)),legspeed)
  701. end
  702. Rwait()
  703. end
  704. Human:ChangeState(2)
  705. Damage(hit,math.random(12,20))
  706. hit.Parent.Humanoid.PlatformStand = false
  707. grabweld:Destroy()
  708. local ok = effect(hit.Parent.Torso,BrickColor.White(),Vector3.new(),hit.Parent.Torso.CFrame *CFrame.Angles(-math.pi/2,0,0),0,0.1,Vector3.new(1,1,1),1,Meshes.Blast,nil)
  709. PlaySound(ok,1,1.49,Sounds[4])
  710. slamming = false
  711. damen = false
  712. enabled = true
  713. end
  714.  
  715. local click = mouse.Button1Down:connect(function()
  716. if on == false then return end
  717. if combo == 1 and enabled == true then
  718. enabled = false
  719. Slash1()
  720. enabled = true
  721. combo = 2
  722. coroutine.wrap(function()
  723. Rwait(400)
  724. if combo ~= 1 and enabled == true then
  725. combo = 1
  726. end
  727. end)()
  728. elseif combo == 2 and enabled == true then
  729. enabled = false
  730. Slash2()
  731. enabled = true
  732. combo = 3
  733. coroutine.wrap(function()
  734. Rwait(400)
  735. if combo ~= 1 and enabled == true then
  736. combo = 1
  737. end
  738. end)()
  739. elseif combo == 3 and enabled == true then
  740. enabled = false
  741. Kick3()
  742. enabled = true
  743. combo = 4
  744. coroutine.wrap(function()
  745. Rwait(400)
  746. if combo ~= 1 and enabled == true then
  747. combo = 1
  748. end
  749. end)()
  750. elseif combo == 4 and enabled == true then
  751. enabled = false
  752. Slash4()
  753. enabled = true
  754. combo = 1
  755. end
  756. end)
  757.  
  758. local keys = mouse.KeyDown:connect(function(key)
  759. key = key:lower()
  760. if enabled == false then return end
  761. if key == "z" and on == true and enabled == true then
  762. enabled = false
  763. ChargeClaw()
  764. enabled = true
  765. end
  766. if key == "x" and on == true and enabled == true then
  767. enabled = false
  768. GrabClaw()
  769. end
  770. end)
  771.  
  772. local function Cast(Pos,Dir,Amp,IgnoreList)
  773. return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit*Amp), IgnoreList)
  774. end
  775.  
  776. while true do
  777. local surface = Cast(HM.Position,(CFrame.new(HM.Position,HM.Position - Vector3.new(0,1,0))).lookVector,4,Char)
  778. if on == true then
  779. angle = (angle % 100) +anglespeed/10
  780. armangle = (armangle % 100) +armanglespeed/10
  781. legangle = (legangle % 100) +leganglespeed/10
  782. if action == "Idle" and enabled == true and surface ~= nil then
  783. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/8,0,0),armspeed)
  784. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,-math.pi/1.5,-math.pi/8),armspeed)
  785. lerp(WLH,WLH.C0,LHC0 *CFrame.new(-0.5,0,0),legspeed)
  786. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,-0.25,0) *CFrame.Angles(0,0,-math.pi/5),legspeed)
  787. lerp(WRJ,WRJ.C0,RJC0,speed)
  788. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(math.sin(angle*0.25)*0.05,0,0),speed)
  789. end
  790. if action == "Walk" and enabled == true and surface ~= nil then
  791. lerp(WLS,WLS.C0,LSC0 *CFrame.new(1.7,math.cos(armangle*0.25)*0.25,-1) *CFrame.Angles(math.pi/2,0,math.pi/1.9),armspeed)
  792. lerp(WRS,WRS.C0,RSC0 *CFrame.new(0,math.cos(armangle*0.25)*0.25,0) *CFrame.Angles(math.pi/2,0,math.pi/1.4),armspeed)
  793. lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,0.1-math.sin(angle*0.25)*0.25,0) *CFrame.Angles(0,0,-math.pi/30+math.sin(legangle)),legspeed)
  794. lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.1-math.sin(angle*0.25)*0.25,0) *CFrame.Angles(0,0,math.pi/30+math.sin(legangle)),legspeed)
  795. lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-0.2+math.sin(angle*0.25)*0.25) *CFrame.Angles(math.pi/8,0,0),speed)
  796. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(-math.pi/8,0,0),speed)
  797. end
  798. if HM.Velocity.Y >= 5 and enabled == true and surface == nil then
  799. action = "Jump"
  800. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/6,0,0),armspeed)
  801. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/4,0,0),armspeed)
  802. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.pi/10),legspeed)
  803. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.pi/5),legspeed)
  804. lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,math.pi/5,0),speed)
  805. lerp(Neck,Neck.C0,NC0 *CFrame.Angles(-math.pi/8,0,0),speed)
  806. Rwait()
  807. end
  808. if HM.Velocity.Y <= -5 and enabled == true and surface == nil then
  809. action = "Fall"
  810. lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/8,0,0),armspeed)
  811. lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/8,0,0),armspeed)
  812. lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.pi/10),legspeed)
  813. lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.pi/4),legspeed)
  814. lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(math.pi/8,0,0),speed)
  815. lerp(Neck,Neck.C0,NC0,speed)
  816. Rwait()
  817. end
  818. if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude <= 2 then
  819. action = "Idle"
  820. elseif Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
  821. action = "Walk"
  822. end
  823. end
  824. Rwait()
  825. end
Add Comment
Please, Sign In to add comment