Advertisement
Guest User

Untitled

a guest
May 24th, 2019
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 41.00 KB | None | 0 0
  1. local FeSource = nil;pcall(function()FeSource = game:GetService("HttpService"):GetAsync("https://raw.githubusercontent.com/WaverlyCole/FE-Compatibility-VoidSb-/master/translate.lua")end);
  2. local ScriptSource = nil;pcall(function()ScriptSource = game:GetService("HttpService"):GetAsync(ScriptLink)end);
  3. if not FeSource then error("Failed to grab update! Try again later.",0)end;if not ScriptSource then error("Failed to get link!",0)end;
  4. local FeConversion = loadstring(FeSource);local FeSucc,FeErr = pcall(FeConversion);if not FeSucc then warn(FeErr)error("Failed to initiate! Try again later.",0) end;
  5. local Script = loadstring(ScriptSource);local Succ,Err = pcall(Script);if not Succ then warn(Err)error("Error loading script.",0) end;
  6. --[[
  7. Fenrier's Rocket Hammer Script made by Fenrier.
  8. mediafire
  9. ]]
  10. Player = game:GetService("Players").LocalPlayer
  11. Character = Player.Character
  12. PlayerGui = Player.PlayerGui
  13. Backpack = Player.Backpack
  14. Torso = Character.Torso
  15. Head = Character.Head
  16. Humanoid = Character.Humanoid
  17. LeftArm = Character["Left Arm"]
  18. LeftLeg = Character["Left Leg"]
  19. RightArm = Character["Right Arm"]
  20. RightLeg = Character["Right Leg"]
  21. LS = Torso["Left Shoulder"]
  22. LH = Torso["Left Hip"]
  23. RS = Torso["Right Shoulder"]
  24. RH = Torso["Right Hip"]
  25. Neck = Torso.Neck
  26. it=Instance.new
  27. vt=Vector3.new
  28. cf=CFrame.new
  29. euler=CFrame.fromEulerAnglesXYZ
  30. angles=CFrame.Angles
  31. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  32. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  33. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  34. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  35. attack = false
  36. attacktype = 1
  37. damage = 5
  38. oridamage = 50
  39. attackdebounce = false
  40. MMouse=nil
  41. combo=0
  42. Charge=0
  43. con1=nil
  44. --player
  45. player = nil
  46. --save shoulders
  47. RSH, LSH = nil, nil
  48. --welds
  49. RW, LW = Instance.new("Weld"), Instance.new("Weld")
  50. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  51. if Character:findFirstChild("Rocket Hammer",true) ~= nil then
  52. Character:findFirstChild("Rocket Hammer",true).Parent = nil
  53. end
  54. if Player.PlayerGui:findFirstChild("WeaponGUI",true) ~= nil then
  55. Player.PlayerGui:findFirstChild("WeaponGUI",true).Parent = nil
  56. end
  57. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  58. local fp = it("Part")
  59. fp.formFactor = formfactor
  60. fp.Parent = parent
  61. fp.Reflectance = reflectance
  62. fp.Transparency = transparency
  63. fp.CanCollide = false
  64. fp.Locked=true
  65. fp.BrickColor = brickcolor
  66. fp.Name = name
  67. fp.Size = size
  68. fp.Position = Torso.Position
  69. fp.BottomSurface="Smooth"
  70. fp.TopSurface="Smooth"
  71. fp:BreakJoints()
  72. return fp
  73. end
  74. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  75. local mesh = it(Mesh)
  76. mesh.Parent = part
  77. if Mesh=="SpecialMesh" then
  78. mesh.MeshType = meshtype
  79. mesh.MeshId = meshid
  80. end
  81. mesh.Offset=offset
  82. mesh.Scale=scale
  83. return mesh
  84. end
  85. function weld(parent,part0,part1,c0)
  86. local weld = it("Weld")
  87. weld.Parent = parent
  88. weld.Part0 = part0
  89. weld.Part1 = part1
  90. weld.C0 = c0
  91. return weld
  92. end
  93. local fengui = it("GuiMain")
  94. fengui.Parent = Player.PlayerGui
  95. fengui.Name = "WeaponGUI"
  96. local fenframe = it("Frame")
  97. fenframe.Parent = fengui
  98. fenframe.BackgroundColor3 = Color3.new(255,255,255)
  99. fenframe.BackgroundTransparency = 1
  100. fenframe.BorderColor3 = Color3.new(17,17,17)
  101. fenframe.Size = UDim2.new(0.0500000007, 0, 0.100000001, 0)
  102. fenframe.Position=UDim2.new(0,1300,0,300)
  103. local fentext = it("TextLabel")
  104. fentext.Parent = fenframe
  105. fentext.Text = " "
  106. fentext.BackgroundTransparency = 0
  107. fentext.BackgroundColor3 = Color3.new(0,0,0)
  108. fentext.SizeConstraint = "RelativeXY"
  109. fentext.TextXAlignment = "Center"
  110. fentext.TextYAlignment = "Center"
  111. fentext.Position = UDim2.new(0,0,0,0)
  112. fentext.Size = UDim2.new(0.710000306,0,2.79999995,0)
  113. local fentext2 = it("TextLabel")
  114. fentext2.Parent = fenframe
  115. fentext2.Text = " "
  116. fentext2.BackgroundTransparency = 0
  117. fentext2.BackgroundColor3 = Color3.new(1,0,0)
  118. fentext2.SizeConstraint = "RelativeXY"
  119. fentext2.TextXAlignment = "Center"
  120. fentext2.TextYAlignment = "Center"
  121. fentext2.Position = UDim2.new(0,0,2.8,0)
  122. fentext2.Size = UDim2.new(0.710000306,0,-2.8*Charge,0)
  123. local modelzorz = Instance.new("Model")
  124. modelzorz.Parent = Character
  125. modelzorz.Name = "Rocket Hammer"
  126. local prt1=part(3,modelzorz,0,0,BrickColor.new("Navy blue"),"Part1",vt(0.5,0.5,0.5))
  127. local prt2=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part2",vt(0.5,0.5,0.5))
  128. local prt3=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part3",vt(0.5,0.5,0.5))
  129. local prt4=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part4",vt(0.5,0.5,0.5))
  130. local prt5=part(3,modelzorz,0,0,BrickColor.new("Medium stone grey"),"Part5",vt(0.5,0.5,0.5))
  131. local prt6=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part6",vt(0.5,0.5,0.5))
  132. local prt7=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part7",vt(0.5,0.5,0.5))
  133. local prt8=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part8",vt(0.5,0.5,0.5))
  134. local prt9=part(3,modelzorz,0,0,BrickColor.new("Really black"),"Part9",vt(0.5,0.5,0.5))
  135. local prt10=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part10",vt(0.5,0.5,0.5))
  136. local prt11=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part11",vt(0.5,0.5,0.5))
  137. local prt12=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part12",vt(0.5,0.5,0.5))
  138. local prt13=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part13",vt(0.5,0.5,0.5))
  139. local prt14=part(3,modelzorz,0,0,BrickColor.new("Dark red"),"Part14",vt(0.5,0.5,0.5))
  140. local prt15=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part15",vt(0.5,0.5,0.5))
  141. local prt16=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part16",vt(0.5,0.5,0.5))
  142. local prt17=part(3,modelzorz,0,0,BrickColor.new("Dark red"),"Part17",vt(0.5,0.5,0.5))
  143. local prt17b=part(3,modelzorz,0,1,BrickColor.new("Bright yellow"),"Part17b",vt(0.5,0.5,0.5))
  144. local prt18=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part18",vt(0.5,0.5,0.5))
  145. local prt19=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part19",vt(0.5,0.5,0.5))
  146. local prt20=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"Part20",vt(0.5,0.5,0.5))
  147. local prt21=part(3,modelzorz,0,0,BrickColor.new("Really black"),"Part21",vt(0.5,0.5,0.5))
  148. local prt22=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part22",vt(0.5,0.5,0.5))
  149. local prt23=part(3,modelzorz,0,0,BrickColor.new("Black"),"Part23",vt(0.5,0.5,0.5))
  150. local msh1=mesh("CylinderMesh",prt1,"","",vt(0,0,0),vt(1,2,1))
  151. local msh2=mesh("BlockMesh",prt2,"","",vt(0,0,0),vt(0.7,3,0.7))
  152. local msh3=mesh("BlockMesh",prt3,"","",vt(0,0,0),vt(1,1.5,1.3))
  153. local msh4=mesh("CylinderMesh",prt4,"","",vt(0,0,0),vt(1.5,1.5,1.5))
  154. local msh5=mesh("CylinderMesh",prt5,"","",vt(0,0,0),vt(1,1.6,1))
  155. local msh6=mesh("BlockMesh",prt6,"","",vt(0,0,0),vt(0.3,3,0.3))
  156. local msh7=mesh("CylinderMesh",prt7,"","",vt(0,0,0),vt(1.5,2.5,1.5))
  157. local msh8=mesh("CylinderMesh",prt8,"","",vt(0,0,0),vt(1.6,1.5,1.6))
  158. local msh9=mesh("CylinderMesh",prt9,"","",vt(0,0,0),vt(1.2,2.51,1.2))
  159. local msh10=mesh("CylinderMesh",prt10,"","",vt(0,0,0),vt(0.5,2,0.5))
  160. local msh11=mesh("CylinderMesh",prt11,"","",vt(0,0,0),vt(0.5,2,0.5))
  161. local msh12=mesh("BlockMesh",prt12,"","",vt(0,0,0),vt(1,5,1))
  162. local msh13=mesh("BlockMesh",prt13,"","",vt(0,0,0),vt(1,4,2))
  163. local msh14=mesh("BlockMesh",prt14,"","",vt(0,0,0),vt(2,2,2.1))
  164. local msh15=mesh("BlockMesh",prt15,"","",vt(0,0,0),vt(2.5,1,2.5))
  165. local msh16=mesh("BlockMesh",prt16,"","",vt(0,0,0),vt(2.5,1,3))
  166. local msh17=mesh("CylinderMesh",prt17,"","",vt(0,0,0),vt(3,3,3))
  167. local msh17b=mesh("CylinderMesh",prt17b,"","",vt(0,0,0),vt(3.001,3,3.01))
  168. local msh18=mesh("CylinderMesh",prt18,"","",vt(0,0,0),vt(3.2,1.5,3.2))
  169. local msh19=mesh("CylinderMesh",prt19,"","",vt(0,0,0),vt(3.2,1,3.2))
  170. local msh20=mesh("CylinderMesh",prt20,"","",vt(0,0,0),vt(3.2,1,3.2))
  171. local msh21=mesh("CylinderMesh",prt21,"","",vt(0,0,0),vt(2.5,1,2.5))
  172. local msh22=mesh("CylinderMesh",prt22,"","",vt(0,0,0),vt(0.5,2,0.5))
  173. local msh23=mesh("CylinderMesh",prt23,"","",vt(0,0,0),vt(0.5,2.1,0.5))
  174. local wld1=weld(prt1,prt1,Torso,euler(3.14,-1.57,0)*cf(0,-4,-0.5))
  175. local wld2=weld(prt2,prt2,prt1,euler(0,0,0)*cf(0,0,0))
  176. local wld3=weld(prt3,prt3,prt2,euler(0,0,0)*cf(0,1,0))
  177. local wld4=weld(prt4,prt4,prt3,euler(0,0,1.57)*cf(0,0.5,-0.1))
  178. local wld5=weld(prt5,prt5,prt4,euler(0,0,0)*cf(0,0,0))
  179. local wld6=weld(prt6,prt6,prt3,euler(1.57,0,0)*cf(0,0,0))
  180. local wld7=weld(prt7,prt7,prt6,euler(1.57,0,0)*cf(0,-0.8,0))
  181. local wld8=weld(prt8,prt8,prt7,euler(0,0,0)*cf(0,0,0))
  182. local wld9=weld(prt9,prt9,prt7,euler(0,0,0)*cf(0,0,0))
  183. local wld10=weld(prt10,prt10,prt7,euler(-0.2,0,0)*cf(0,1,0))
  184. local wld11=weld(prt11,prt11,prt1,euler(1.57+0.3,0,0)*cf(0,-0.5,0.3))
  185. local wld12=weld(prt12,prt12,prt1,euler(0,0,0)*cf(0,-2,0))
  186. local wld13=weld(prt13,prt13,prt12,euler(0,0,0)*cf(0,-1.75,0))
  187. local wld14=weld(prt14,prt14,prt13,euler(0,0,0)*cf(0,-1,0))
  188. local wld15=weld(prt15,prt15,prt14,euler(0,0,0)*cf(0,-0.6,0.4))
  189. local wld16=weld(prt16,prt16,prt14,euler(1.57,0,0)*cf(0,0.4,0.77))
  190. local wld17=weld(prt17,prt17,prt14,euler(1.57,0,0)*cf(0,0,-1.4))
  191. local wld17b=weld(prt17b,prt17b,prt17,euler(0,0,0)*cf(0,0,0))
  192. local wld18=weld(prt18,prt18,prt17,euler(0,0,0)*cf(0,0,0))
  193. local wld19=weld(prt19,prt19,prt17,euler(0,0,0)*cf(0,0.8,0))
  194. local wld20=weld(prt20,prt20,prt17,euler(0,0,0)*cf(0,-0.8,0))
  195. local wld21=weld(prt21,prt21,prt19,euler(0,0,0)*cf(0,0.01,0))
  196. local wld22=weld(prt22,prt22,prt13,euler(0.5,0,0)*cf(0,1.2,-0.6))
  197. local wld23=weld(prt23,prt23,prt22,euler(-1.2,0,0)*cf(0,0.6,0.5))
  198. local hitbox=part(3,modelzorz,0,1,BrickColor.new("Black"),"Hitbox",vt(3,3,3))
  199. local hitboxwld=weld(hitbox,hitbox,prt14,euler(0,0,0)*cf(0,0,0))
  200. local BoosterFire = Instance.new("Fire")
  201. BoosterFire.Parent = prt19
  202. BoosterFire.Heat = -25
  203. BoosterFire.Size = 1
  204. function MakeRocketPart(x,y,z)
  205. local prt=part(3,modelzorz,0,0,BrickColor.new("Dark stone grey"),"RocketPart",vt(0.5,0.5,0.5))
  206. local prta=part(3,modelzorz,0,0,BrickColor.new("Dark red"),"RocketPart",vt(0.5,0.5,0.5))
  207. local prtb=part(3,modelzorz,0,0,BrickColor.new("Bright yellow"),"RocketPart",vt(0.5,0.5,0.5))
  208. local prtc=part(3,modelzorz,0,0,BrickColor.new("Really black"),"RocketPart",vt(0.5,0.5,0.5))
  209. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(1.5,2.5,1.5))
  210. local msha=mesh("CylinderMesh",prta,"","",vt(0,0,0),vt(1.6,1.5,1.6))
  211. local mshb=mesh("SpecialMesh",prtb,"FileMesh","http://www.roblox.com/asset/?id=1778999",vt(0,0,0),vt(0.55,0.3,0.55))
  212. local mshc=mesh("CylinderMesh",prtc,"","",vt(0,0,0),vt(1.3,2.5,1.3))
  213. local wld=weld(prt,prt,prt14,euler(1.57,0,0)*cf(x,y,z))
  214. local wlda=weld(prta,prta,prt,euler(0,0,0)*cf(0,0,0))
  215. local wldb=weld(prtb,prtb,prt,euler(0,0,0)*cf(0,-0.8,0))
  216. local wldc=weld(prtc,prtc,prt,euler(0,0,0)*cf(0,0.01,0))
  217. local BoosterFire = Instance.new("Fire")
  218. BoosterFire.Parent = prt
  219. BoosterFire.Heat = -25
  220. BoosterFire.Size = 0.2
  221. end
  222. MakeRocketPart(0.8,0,0.5)
  223. MakeRocketPart(-0.8,0,0.5)
  224. MakeRocketPart(0,-0.8,0.5)
  225. if (script.Parent.className ~= "HopperBin") then
  226. Tool = Instance.new("HopperBin")
  227. Tool.Parent = Backpack
  228. Tool.Name = "Rocket Hammer"
  229. script.Parent = Tool
  230. end
  231. Bin = script.Parent
  232. local bg = it("BodyGyro")
  233. bg.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  234. bg.P = 20e+003
  235. bg.Parent = nil
  236. so = function(id,par,vol,pit)
  237. coroutine.resume(coroutine.create(function()
  238. local sou = Instance.new("Sound",par or workspace)
  239. sou.Volume=vol
  240. sou.Pitch=pit or 1
  241. sou.SoundId=id
  242. wait()
  243. sou:play()
  244. wait(6)
  245. sou:Remove()
  246. end))
  247. end
  248. function unequipweld()
  249. wld1.Part1=Torso
  250. wld1.C0=euler(3.14,-1.57,0)*cf(0,-4,-0.5)
  251. end
  252. function equipweld()
  253. wld1.Part1=RightArm
  254. wld1.C0=euler(1.57,0,0)*cf(0,1,0)
  255. end
  256. function hideanim()
  257. equipped=false
  258. wait(0.1)
  259. bg.Parent=nil
  260. unequipweld()
  261. end
  262. function equipanim()
  263. equipped=true
  264. wait(0.1)
  265. equipweld()
  266. RW.C0=cf(1.5, 0.5, 0) * euler(1,0,0)
  267. RW.C1=cf(0, 0.5, 0) * euler(0,-0.6,-0.2)
  268. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  269. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  270. end
  271. Damagefunc1=function(hit,Damage,Knockback)
  272. if hit.Parent==nil then
  273. return
  274. end
  275. CPlayer=Bin
  276. h=hit.Parent:FindFirstChild("Humanoid")
  277. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  278. if attackdebounce == false then
  279. attackdebounce = true
  280. coroutine.resume(coroutine.create(function()
  281. wait(0.2)
  282. attackdebounce = false
  283. end))
  284. Damage=Damage
  285. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  286. return
  287. end]]
  288. -- hs(hit,1.2)
  289. c=Instance.new("ObjectValue")
  290. c.Name="creator"
  291. c.Value=game.Players.LocalPlayer
  292. c.Parent=h
  293. game:GetService("Debris"):AddItem(c,.5)
  294. Damage=Damage+math.random(0,10)
  295. so("http://www.roblox.com/asset/?id=2697431",hit,5,0.4)
  296. MagicCircle(BrickColor.new("Bright red"),hit.CFrame,1,1,1,0,0,0,2,2,2)
  297. -- h:TakeDamage(Damage)
  298. -- showDamage(hit.Parent,Damage,.5)
  299. blocked=false
  300. block=hit.Parent:findFirstChild("Block")
  301. if block~=nil then
  302. print("herp")
  303. if block.Value>0 then
  304. blocked=true
  305. block.Value=block.Value-3
  306. print(block.Value)
  307. end
  308. end
  309. if blocked==false then
  310. -- h:TakeDamage(Damage)
  311. h.Health=h.Health-Damage
  312. showDamage(hit.Parent,Damage,.5)
  313. else
  314. h:TakeDamage(1)
  315. showDamage(hit.Parent,1,.5)
  316. end
  317. vp=Instance.new("BodyVelocity")
  318. vp.P=500
  319. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  320. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  321. vp.velocity=Torso.CFrame.lookVector*Knockback+Torso.Velocity/1.05
  322. if Knockback>0 then
  323. vp.Parent=hit.Parent.Torso
  324. end
  325. game:GetService("Debris"):AddItem(vp,.25)
  326. c=Instance.new("ObjectValue")
  327. c.Name="creator"
  328. c.Value=Player
  329. c.Parent=h
  330. game:GetService("Debris"):AddItem(c,.5)
  331. CRIT=false
  332. hitDeb=true
  333. AttackPos=6
  334. end
  335. end
  336. end
  337. Damagefunc2=function(hit,Damage,Knockback)
  338. if attackdebounce == false then
  339. attackdebounce = true
  340. coroutine.resume(coroutine.create(function()
  341. wait(0.1)
  342. attackdebounce = false
  343. end))
  344. if hit.Parent==nil then
  345. return
  346. end
  347. CPlayer=Bin
  348. blocked=false
  349. h=hit.Parent:FindFirstChild("Humanoid")
  350. if h~=nil and hit.Parent:FindFirstChild("Torso")~=nil then
  351. Damage=Damage
  352. c=it("ObjectValue")
  353. c.Name="creator"
  354. c.Value=game.Players.LocalPlayer
  355. c.Parent=h
  356. game:GetService("Debris"):AddItem(c,.5)
  357. -- print(c.Value)
  358. --[[ if math.random(0,99)+math.random()<=7.8 then
  359. CRIT=true
  360. Damage=Damage*2
  361. s=it("Sound")
  362. s.SoundId="http://www.roblox.com/asset/?id=2801263"
  363. s.Volume=1
  364. s.Pitch=2
  365. s.Parent=hit
  366. s.PlayOnRemove=true
  367. s.Parent=nil
  368.  
  369. end]]
  370. Damage=Damage+math.random(0,10)
  371. -- Blood(hit.CFrame*cf(math.random(-10,10)/10,math.random(-10,10)/10,0),math.floor(Damage/2))
  372. blocked=false
  373. block=hit.Parent:findFirstChild("Block")
  374. if block~=nil then
  375. print("herp")
  376. if block.Value>0 then
  377. blocked=true
  378. block.Value=block.Value-10
  379. print(block.Value)
  380. end
  381. end
  382. if blocked==false then
  383. -- h:TakeDamage(Damage)
  384. h.Health=h.Health-Damage
  385. showDamage(hit.Parent,Damage,.5)
  386. else
  387. h:TakeDamage(1)
  388. showDamage(hit.Parent,1,.5)
  389. end
  390. --if blocked==false then
  391. local angle = (hit.Position-(Torso.Position+Vector3.new(0,0,0))).unit
  392. print(angle)
  393. hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  394. rl=Instance.new("BodyAngularVelocity")
  395. rl.P=3000
  396. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  397. rl.angularvelocity=Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  398. rl.Parent=hit
  399. coroutine.resume(coroutine.create(function(vel)
  400. wait(1)
  401. vel:Remove()
  402. end),rl)
  403. --end
  404. local bodyVelocity=Instance.new("BodyVelocity")
  405. bodyVelocity.velocity=angle*40
  406. bodyVelocity.P=5000
  407. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  408. bodyVelocity.Parent=hit
  409. coroutine.resume(coroutine.create(function(Vel)
  410. wait(0.3)
  411. Vel:Remove()
  412. end),bodyVelocity)
  413. game:GetService("Debris"):AddItem(vp,1)
  414. c=it("ObjectValue")
  415. c.Name="creator"
  416. c.Value=Player
  417. c.Parent=h
  418. game:GetService("Debris"):AddItem(c,.5)
  419. CRIT=false
  420. hitDeb=true
  421. AttackPos=6
  422. end
  423. end
  424. end
  425. showDamage=function(Char,Dealt,du)
  426. m=Instance.new("Model")
  427. m.Name=tostring(Dealt)
  428. h=Instance.new("Humanoid")
  429. h.Health=0
  430. h.MaxHealth=0
  431. h.Parent=m
  432. c=Instance.new("Part")
  433. c.Transparency=0
  434. c.BrickColor=BrickColor:Red()
  435. if CRIT==true then
  436. c.BrickColor=BrickColor.new("Really red")
  437. end
  438. c.Name="Head"
  439. c.TopSurface=0
  440. c.BottomSurface=0
  441. c.formFactor="Plate"
  442. c.Size=Vector3.new(1,.4,1)
  443. ms=Instance.new("CylinderMesh")
  444. ms.Scale=Vector3.new(.8,.8,.8)
  445. if CRIT==true then
  446. ms.Scale=Vector3.new(1,1.25,1)
  447. end
  448. ms.Parent=c
  449. c.Reflectance=0
  450. Instance.new("BodyGyro").Parent=c
  451. c.Parent=m
  452. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  453. f=Instance.new("BodyPosition")
  454. f.P=2000
  455. f.D=100
  456. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  457. f.position=c.Position+Vector3.new(0,3,0)
  458. f.Parent=c
  459. game:GetService("Debris"):AddItem(m,.5+du)
  460. c.CanCollide=false
  461. m.Parent=workspace
  462. c.CanCollide=false
  463. end
  464. function MagicBlock(brickcolor,cframe,x1,y1,z1,x2,y2,z2)
  465. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  466. prt.Anchored=true
  467. prt.CFrame=cframe*cf(x2,y2,z2)
  468. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  469. coroutine.resume(coroutine.create(function()
  470. for i=0,1,0.1 do
  471. wait()
  472. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  473. prt.Transparency=i
  474. msh.Scale=msh.Scale+vt(0.2,0.2,0.2)
  475. end
  476. prt.Parent=nil
  477. end))
  478. end
  479. function MagicCircle(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
  480. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  481. prt.Anchored=true
  482. prt.CFrame=cframe*cf(x2,y2,z2)
  483. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  484. coroutine.resume(coroutine.create(function()
  485. for i=0,1,0.1 do
  486. wait()
  487. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  488. prt.Transparency=i
  489. msh.Scale=msh.Scale+vt(x3,y3,z3)
  490. end
  491. prt.Parent=nil
  492. end))
  493. end
  494. function SwirlEffect(brickcolor,cframe,x1,y1,z1,x2,y2,z2)
  495. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  496. prt.Anchored=true
  497. prt.CFrame=cframe*cf(x2,y2,z2)*euler(1.57,0,0)
  498. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  499. coroutine.resume(coroutine.create(function()
  500. for i=0,1,0.07 do
  501. wait()
  502. prt.CFrame=prt.CFrame*cf(0,0.5,0)*euler(0,0.5,0)
  503. prt.Transparency=i
  504. msh.Scale=msh.Scale+vt(0.4,1,0.4)
  505. end
  506. prt.Parent=nil
  507. end))
  508. end
  509. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x2,y2,z2)
  510. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  511. prt.Anchored=true
  512. prt.CFrame=cframe*cf(x2,y2,z2)
  513. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  514. coroutine.resume(coroutine.create(function()
  515. for i=0,1,0.1 do
  516. wait()
  517. prt.Transparency=i
  518. msh.Scale=msh.Scale+vt(0.05,0.05,0.05)
  519. end
  520. prt.Parent=nil
  521. end))
  522. end
  523. local function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , Ignore Descendants
  524. return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  525. end
  526. function oneslash()
  527. attack=true
  528. combo=1
  529. for i=0,1,0.1 do
  530. wait()
  531. RW.C0=cf(1.5-0.5*i, 0.5, -0.5*i) * euler(1+0.57*i,0,0)
  532. RW.C1=cf(0, 0.5, 0) * euler(0,-0.6-0.97*i,-0.2+1.2*i)
  533. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2-1.37*i)
  534. LW.C1=cf(0, 0.5, 0) * euler(0.5*i,0,0)
  535. end
  536. con1=hitbox.Touched:connect(function(hit) Damagefunc1(hit,30,40) end)
  537. so("http://roblox.com/asset/?id=10209640",hitbox,5,0.6)
  538. for i=0,1,0.2 do
  539. wait()
  540. for i=1,3 do
  541. MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2))
  542. end
  543. wld1.C0=euler(1.57+0.5*i,0,0)*cf(0,1,0)
  544. RW.C0=cf(1.5-0.5+0.5*i, 0.5, -0.5+0.5*i) * euler(1.57,0,0)
  545. RW.C1=cf(0, 0.5, 0) * euler(0,-1.57,1-2.5*i)
  546. LW.C0=cf(-1.5+0.5*i, 0.5, -0.5*i) * euler(0,0,-1.57)
  547. LW.C1=cf(0, 0.5, 0) * euler(0.5-2.5*i,0,0)
  548. end
  549. con1:disconnect()
  550. for i=0,1,0.1 do
  551. wait()
  552. wld1.C0=euler(2.07,0,0)*cf(0,1,0)
  553. RW.C0=cf(1.5, 0.5, 0) * euler(1.57,0,0)
  554. RW.C1=cf(0, 0.5, 0) * euler(0,-1.57,-1.5-0.2*i)
  555. LW.C0=cf(-1.5+0.5, 0.5, -0.5) * euler(0,0,-1.57)
  556. LW.C1=cf(0, 0.5, 0) * euler(0.5-2.5-0.2*i,0,0)
  557. end
  558. attack=false
  559. end
  560. function twoslash()
  561. attack=true
  562. combo=2
  563. for i=0,1,0.1 do
  564. wait()
  565. eul=1*i
  566. Torso.Neck.C0=necko*euler(0,0,-1*i)
  567. wld1.C0=euler(2.07-0.5*i,0,0)*cf(0,1,0)
  568. RW.C0=cf(1.5, 0.5, 0) * euler(1.57,0,0)
  569. RW.C1=cf(0, 0.5, 0) * euler(0,-1.57,-1.7+2*i)
  570. LW.C0=cf(-1.5+0.5, 0.5, -0.5) * euler(0,0,-1.57)
  571. LW.C1=cf(0, 0.5, 0) * euler(0.5-2.7,0,0)
  572. end
  573. con1=Torso.Touched:connect(function(hit) Damagefunc1(hit,10,10) end)
  574. so("http://roblox.com/asset/?id=10209640",hitbox,5,0.4)
  575. local vel2 = Instance.new("BodyVelocity")
  576. vel2.Parent = Torso
  577. vel2.maxForce = vt(4e+005,4e+005,4e+005)*1
  578. vel2.velocity = Head.CFrame.lookVector*70
  579. for i=0,1,0.1 do
  580. wait(0)
  581. MagicBlock(BrickColor.new("Bright stone grey"),Torso.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2))
  582. end
  583. con1:disconnect()
  584. vel2.Parent=nil
  585. attack=false
  586. end
  587. function threeslash()
  588. attack=true
  589. combo=3
  590. local vel2 = Instance.new("BodyVelocity")
  591. vel2.Parent = Torso
  592. vel2.maxForce = vt(4e+005,4e+005,4e+005)*1
  593. vel2.velocity = Head.CFrame.lookVector*20
  594. for i=0,1,0.1 do
  595. wait()
  596. eul=1-6.32*i
  597. end
  598. vel2.Parent=nil
  599. con1=hitbox.Touched:connect(function(hit) Damagefunc1(hit,30,60) end)
  600. so("http://roblox.com/asset/?id=10209640",hitbox,5,0.7)
  601. for i=0,1,0.15 do
  602. wait()
  603. for i=1,3 do
  604. MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2))
  605. end
  606. eul=1-2*i
  607. Torso.Neck.C0=necko*euler(0,0,-1+2*i)
  608. wld1.C0=euler(1.57+0.5*i,0,0)*cf(0,1,0)
  609. RW.C0=cf(1.5, 0.5, 0) * euler(1.57,0,0)
  610. RW.C1=cf(0, 0.5, 0) * euler(0,-1.57,0.3-2*i)
  611. LW.C0=cf(-1.5+0.5, 0.5, -0.5) * euler(0,0,-1.57)
  612. LW.C1=cf(0, 0.5, 0) * euler(-2.2,0,0)
  613. end
  614. for i=0,1,0.1 do
  615. wait()
  616. RW.C0=cf(1.5, 0.5, 0) * euler(1.57,0,0)
  617. RW.C1=cf(0, 0.5, 0) * euler(0,-1.57,0.3-2-0.1*i)
  618. LW.C0=cf(-1.5+0.5, 0.5, -0.5) * euler(0,0,-1.57)
  619. LW.C1=cf(0, 0.5, 0) * euler(-2.2,0,0)
  620. end
  621. con1:disconnect()
  622. attack=false
  623. end
  624. function GrandSlam()
  625. attack=true
  626. Humanoid.WalkSpeed=0
  627. for i=0,1,0.1 do
  628. wait(0)
  629. wld1.C0=euler(1.57+0.5*i,0,0)*cf(0,1,0)
  630. RW.C0=cf(1.5, 0.5, 0) * euler(1+2*i,0,0)
  631. RW.C1=cf(0, 0.5, 0) * euler(0,-0.6+0.6*i,-0.2+0.2*i)
  632. LW.C0=cf(-1.5, 0.5, 0) * euler(0.3*i,0,-0.2)
  633. end
  634. coroutine.resume(coroutine.create(function(v)
  635. wait()
  636. while attack==true do
  637. wait(0)
  638. bg.Parent = Torso
  639. local pos4 = vt(MMouse.Hit.p.x,Head.Position.Y,MMouse.Hit.p.z)
  640. bg.cframe = cf(Torso.Position,pos4) * euler(0,eul,0) * cf(0,0,0)
  641. end
  642. eul=0
  643. bg.Parent=nil
  644. end))
  645. so("http://roblox.com/asset/?id=10209640",hitbox,5,0.5)
  646. for i=0,1,0.1 do
  647. wait(0)
  648. for i=1,3 do
  649. MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2))
  650. end
  651. eul=1*i
  652. Torso.Neck.C0=necko*euler(0,0,-1*i)
  653. RW.C0=cf(1.5, 0.5, 0) * euler(3.2-1.63*i,0,1*i)
  654. RW.C1=cf(0, 0.5, 0) * euler(1.2*i,0,0)
  655. LW.C0=cf(-1.5, 0.5, 0) * euler(0.4-0.9*i,0,-0.2)
  656. end
  657. Charge=Charge+0.2
  658. local c = game.Workspace:GetChildren();
  659. for i = 1, #c do
  660. local hum = c[i]:findFirstChild("Humanoid")
  661. if hum ~= nil and hum.Health ~= 0 then
  662. local head = c[i]:findFirstChild("Head");
  663. if head ~= nil then
  664. local targ = head.Position - hitbox.Position;
  665. local mag = targ.magnitude;
  666. if mag <= 20 and c[i].Name ~= Player.Name then
  667. attackdebounce=false
  668. Damagefunc2(head,40,80)
  669. end
  670. end
  671. end
  672. end
  673. so("http://www.roblox.com/asset/?id=2697431",hitbox,5,0.2)
  674. MagicCircle(BrickColor.new("Bright red"),hitbox.CFrame,2,2,2,0,0,0,6,6,6)
  675. SwirlEffect(BrickColor.new("Bright red"),hitbox.CFrame,10,10,10,0,0,0)
  676. for i=1,8 do
  677. MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,2,2,2,math.random(-9,9),math.random(-9,9),math.random(-9,9))
  678. end
  679. wait(0.2)
  680. for i=1,8 do
  681. MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,2,2,2,math.random(-20,20),math.random(-20,20),math.random(-20,20))
  682. end
  683. attack=false
  684. wait(0)
  685. attack=true
  686. wait(0.3)
  687. for i=0,1,0.1 do
  688. wait(0)
  689. wld1.C0=euler(1.57+0.5-0.5*i,0,0)*cf(0,1,0)
  690. RW.C0=cf(1.5, 0.5, 0) * euler(1.57,0,1)
  691. RW.C1=cf(0, 0.5, 0) * euler(1.2-0.1*i,0,0)
  692. end
  693. for i=0,1,0.1 do
  694. wait(0)
  695. Torso.Neck.C0=necko*euler(0,0,-1+1*i)
  696. RW.C0=cf(1.5, 0.5, 0) * euler(1.57-0.57*i,0,1-1*i)
  697. RW.C1=cf(0, 0.5, 0) * euler(1.1-1.1*i,-0.6*i,-0.2*i)
  698. LW.C0=cf(-1.5, 0.5, 0) * euler(-0.5+0.5*i,0,-0.2)
  699. end
  700. Humanoid.WalkSpeed=16
  701. attack=false
  702. end
  703. function HammerCharge()
  704. attack=true
  705. for i=0,1,0.1 do
  706. wait()
  707. RW.C0=cf(1.5, 0.5, 0) * euler(1+0.57*i,0,0)
  708. RW.C1=cf(0, 0.5, 0) * euler(0,-0.6-0.97*i,-0.2+0.2*i)
  709. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57*i,0,-0.2+0.2*i)
  710. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  711. end
  712. con1=hitbox.Touched:connect(function(hit) Damagefunc1(hit,15,40) end)
  713. local vel2 = Instance.new("BodyVelocity")
  714. vel2.Parent = Torso
  715. vel2.maxForce = vt(4e+005,4e+005,4e+005)*1
  716. vel2.velocity = Head.CFrame.lookVector*30
  717. repeat
  718. wait(0)
  719. vel2.velocity = Head.CFrame.lookVector*30
  720. Charge=Charge+0.005
  721. MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2))
  722. until dashing==false
  723. con1:disconnect()
  724. vel2.Parent=nil
  725. for i=0,1,0.1 do
  726. wait()
  727. RW.C0=cf(1.5, 0.5, 0) * euler(1.57-0.57*i,0,0)
  728. RW.C1=cf(0, 0.5, 0) * euler(0,-1.57+0.97*i,-0.2*i)
  729. LW.C0=cf(-1.5, 0.5, 0) * euler(1.57-1.57*i,0,-0.2*i)
  730. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  731. end
  732. attack=false
  733. end
  734. function SuperbSlam()
  735. attack=true
  736. for i=0,1,0.1 do
  737. wait()
  738. RW.C0=cf(1.5, 0.5, 0) * euler(1-1.1*i,0,0)
  739. RW.C1=cf(0, 0.5, 0) * euler(0,-0.6+0.6*i,-0.2+0.2*i)
  740. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  741. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  742. end
  743. wait(0.2)
  744. so("http://roblox.com/asset/?id=10209640",hitbox,5,0.7)
  745. for i=0,1,0.2 do
  746. wait()
  747. RW.C0=cf(1.5, 0.5, 0) * euler(-0.1+2*i,0,0)
  748. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  749. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  750. end
  751. wld1.Part1=nil
  752. local basepart=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart",vt(0.5,0.5,0.5))
  753. basepart.Anchored=true
  754. basepart.CFrame=Torso.CFrame*cf(0,35,-10)
  755. bodypos=Instance.new("BodyPosition")
  756. bodypos.Parent=prt12
  757. bodypos.position = basepart.Position
  758. bodypos.maxForce = Vector3.new(4e+080, 4e+080, 4e+080)
  759. local bg2 = it("BodyGyro")
  760. bg2.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  761. bg2.P = 20e+003
  762. bg2.Parent=prt12
  763. bg2.cframe = Head.CFrame
  764. coroutine.resume(coroutine.create(function(gyro)
  765. while gyro.Parent~=nil do
  766. wait()
  767. for i=0,1,0.1 do
  768. wait()
  769. gyro.cframe=gyro.cframe*euler(0.5,0,0)
  770. end
  771. end
  772. end),bg2)
  773. wait(1)
  774. bodypos2=Instance.new("BodyPosition")
  775. bodypos2.Parent=RightArm
  776. bodypos2.position = basepart.Position
  777. bodypos2.maxForce = Vector3.new(4e+080, 4e+080, 4e+080)
  778. wait(0.5)
  779. bodypos2.Parent=nil
  780. basepart.Parent=nil
  781. bg2.Parent=nil
  782. wld1.Part1=RightArm
  783. bodypos.Parent=nil
  784. boom=false
  785. coroutine.resume(coroutine.create(function()
  786. while boom==false do
  787. wait()
  788. MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2))
  789. end
  790. end))
  791. for i=0,1,0.1 do
  792. wait()
  793. RW.C0=cf(1.5, 0.5, 0) * euler(-0.1+2-1.9*i,0,0)
  794. LW.C0=cf(-1.5, 0.5, 0) * euler(-0.4*i,0,-0.2)
  795. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  796. end
  797. coroutine.resume(coroutine.create(function()
  798. floor=false
  799. repeat
  800. wait(0.05)
  801. hit,pos = rayCast(Torso.Position, (CFrame.new(Torso.Position,Torso.Position - Vector3.new(0,6,0))).lookVector, 6, Character)
  802. if hit ~= nil then
  803. floor = true
  804. end
  805. until floor
  806. Charge=Charge+0.999
  807. so("http://www.roblox.com/asset/?id=2697431",hitbox,5,0.5)
  808. MagicCircle2(BrickColor.new("Bright red"),hitbox.CFrame*euler(1.57,0,0),300,4,300,0,-1.5,0)
  809. local c = game.Workspace:GetChildren();
  810. for i = 1, #c do
  811. local hum = c[i]:findFirstChild("Humanoid")
  812. if hum ~= nil and hum.Health ~= 0 then
  813. local head = c[i]:findFirstChild("Head");
  814. if head ~= nil then
  815. local targ = head.Position - hitbox.Position;
  816. local mag = targ.magnitude;
  817. if mag <= 70 and c[i].Name ~= Player.Name then
  818. attackdebounce=false
  819. Damagefunc2(head,1,80)
  820. end
  821. end
  822. end
  823. end
  824. wait(0.5)
  825. local basepart=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart",vt(0.5,0.5,0.5))
  826. basepart.Anchored=true
  827. basepart.CFrame=Torso.CFrame*cf(0,0,-50)*euler(-1.57,0,0)
  828. local c = game.Workspace:GetChildren();
  829. for i = 1, #c do
  830. local hum = c[i]:findFirstChild("Humanoid")
  831. if hum ~= nil and hum.Health ~= 0 then
  832. local head = c[i]:findFirstChild("Head");
  833. if head ~= nil then
  834. local targ = head.Position - basepart.Position;
  835. local mag = targ.magnitude;
  836. if mag <= 40 and c[i].Name ~= Player.Name then
  837. attackdebounce=false
  838. Damagefunc2(head,60,80)
  839. end
  840. end
  841. end
  842. end
  843. so("http://www.roblox.com/asset/?id=2697431",basepart,5,0.2)
  844. MagicCircle(BrickColor.new("Bright red"),basepart.CFrame,5,5,5,0,0,0,7,7,7)
  845. SwirlEffect(BrickColor.new("Bright red"),basepart.CFrame,15,15,15,0,0,0)
  846. for i=1,8 do
  847. MagicBlock(BrickColor.new("Bright red"),basepart.CFrame,2,2,2,math.random(-9,9),math.random(-9,9),math.random(-9,9))
  848. end
  849. wait(0.2)
  850. for i=1,8 do
  851. MagicBlock(BrickColor.new("Bright red"),basepart.CFrame,2,2,2,math.random(-25,25),math.random(-25,25),math.random(-25,25))
  852. end
  853. basepart.Parent=nil
  854. boom=true
  855. wait(1)
  856. for i=0,1,0.1 do
  857. wait()
  858. RW.C0=cf(1.5, 0.5, 0) * euler(1*i,0,0)
  859. RW.C1=cf(0, 0.5, 0) * euler(0,-0.6*i,-0.2*i)
  860. LW.C0=cf(-1.5, 0.5, 0) * euler(-0.4+0.4*i,0,-0.2)
  861. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  862. end
  863. attack=false
  864. end))
  865. end
  866. function HammerSmash()
  867. attack=true
  868. for i=0,1,0.1 do
  869. wait()
  870. wld1.C0=euler(1.57+0.2*i,0,-0.8*i)*cf(0,1,0)
  871. RW.C0=cf(1.5-0.5*i, 0.5+0.5*i, -0.5*i) * euler(1+1.5*i,0,-0.8*i)
  872. RW.C1=cf(0, 0.5, 0) * euler(0,-0.6+0.6*i,-0.2+0.2*i)
  873. LW.C0=cf(-1.5+0.5*i, 0.5+0.5*i, -0.5*i) * euler(2.5*i,0,-0.2+1*i)
  874. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  875. end
  876. so("http://roblox.com/asset/?id=10209640",hitbox,5,0.5)
  877. bg.Parent=Torso
  878. bg.cframe=Torso.CFrame
  879. local bp = Instance.new("BodyPosition")
  880. bp.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  881. bp.P = 10000
  882. local CF = Torso.CFrame
  883. bp.position = CF.p
  884. bp.Parent=Torso
  885. for i=0,1,0.2 do
  886. wait()
  887. for i=1,3 do
  888. MagicBlock(BrickColor.new("Bright red"),hitbox.CFrame,1,1,1,math.random(-2,2),math.random(-2,2),math.random(-2,2))
  889. end
  890. bp.position = CF.p - Vector3.new(0,2,0)
  891. Torso["Left Hip"].C0=LHC0*cf(-1*i,1.5*i,0)
  892. Torso["Right Hip"].C0=RHC0*cf(0,1.5*i,0)*euler(0,0,-0.5*i)
  893. wld1.C0=euler(1.57+0.2+0.3*i,0,-0.8)*cf(0,1,0)
  894. RW.C0=cf(1, 1-0.5*i, -0.5) * euler(2.5-2*i,0,-0.8)
  895. RW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  896. LW.C0=cf(-1, 1-0.5*i, -0.5) * euler(2.5-2*i,0,0.8)
  897. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  898. end
  899. Charge=Charge+0.4
  900. local basepart=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart",vt(0.5,0.5,0.5))
  901. basepart.Anchored=true
  902. basepart.CFrame=hitbox.CFrame
  903. local c = game.Workspace:GetChildren();
  904. for i = 1, #c do
  905. local hum = c[i]:findFirstChild("Humanoid")
  906. if hum ~= nil and hum.Health ~= 0 then
  907. local head = c[i]:findFirstChild("Head");
  908. if head ~= nil then
  909. local targ = head.Position - basepart.Position;
  910. local mag = targ.magnitude;
  911. if mag <= 20 and c[i].Name ~= Player.Name then
  912. attackdebounce=false
  913. Damagefunc2(head,40,80)
  914. end
  915. end
  916. end
  917. end
  918. so("http://www.roblox.com/asset/?id=2697431",basepart,5,0.2)
  919. MagicCircle(BrickColor.new("Bright red"),basepart.CFrame,5,5,5,0,0,0,7,7,7)
  920. SwirlEffect(BrickColor.new("Bright red"),basepart.CFrame,15,15,15,0,0,0)
  921. for i=1,8 do
  922. MagicBlock(BrickColor.new("Bright red"),basepart.CFrame,2,2,2,math.random(-9,9),math.random(-9,9),math.random(-9,9))
  923. end
  924. coroutine.resume(coroutine.create(function(MainPart)
  925. numb=0
  926. for i=1,10 do
  927. wait(0.1)
  928. numb=numb+9
  929. local basepart2=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart2",vt(0.5,0.5,0.5))
  930. basepart2.Anchored=true
  931. basepart2.CFrame=MainPart.CFrame*cf(numb,0,0)
  932. local c = game.Workspace:GetChildren();
  933. for i = 1, #c do
  934. local hum = c[i]:findFirstChild("Humanoid")
  935. if hum ~= nil and hum.Health ~= 0 then
  936. local head = c[i]:findFirstChild("Head");
  937. if head ~= nil then
  938. local targ = head.Position - basepart2.Position;
  939. local mag = targ.magnitude;
  940. if mag <= 10 and c[i].Name ~= Player.Name then
  941. attackdebounce=false
  942. Damagefunc2(head,10,80)
  943. end
  944. end
  945. end
  946. end
  947. so("http://www.roblox.com/asset/?id=2697431",basepart2,5,0.3)
  948. MagicCircle(BrickColor.new("Bright red"),basepart2.CFrame,1,1,1,0,0,0,5,5,5)
  949. SwirlEffect(BrickColor.new("Bright red"),basepart2.CFrame,3,3,3,0,0,0)
  950. coroutine.resume(coroutine.create(function(Part)
  951. wait(2)
  952. Part.Parent=nil
  953. end),basepart2)
  954. end
  955. MainPart.Parent=nil
  956. end),basepart)
  957. coroutine.resume(coroutine.create(function(MainPart)
  958. numb2=0
  959. for i=1,10 do
  960. wait(0.1)
  961. numb2=numb2+9
  962. local basepart2=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart2",vt(0.5,0.5,0.5))
  963. basepart2.Anchored=true
  964. basepart2.CFrame=MainPart.CFrame*cf(-numb2,0,0)
  965. local c = game.Workspace:GetChildren();
  966. for i = 1, #c do
  967. local hum = c[i]:findFirstChild("Humanoid")
  968. if hum ~= nil and hum.Health ~= 0 then
  969. local head = c[i]:findFirstChild("Head");
  970. if head ~= nil then
  971. local targ = head.Position - basepart2.Position;
  972. local mag = targ.magnitude;
  973. if mag <= 10 and c[i].Name ~= Player.Name then
  974. attackdebounce=false
  975. Damagefunc2(head,10,80)
  976. end
  977. end
  978. end
  979. end
  980. so("http://www.roblox.com/asset/?id=2697431",basepart2,5,0.3)
  981. MagicCircle(BrickColor.new("Bright red"),basepart2.CFrame,1,1,1,0,0,0,5,5,5)
  982. SwirlEffect(BrickColor.new("Bright red"),basepart2.CFrame,3,3,3,0,0,0)
  983. coroutine.resume(coroutine.create(function(Part)
  984. wait(2)
  985. Part.Parent=nil
  986. end),basepart2)
  987. end
  988. MainPart.Parent=nil
  989. end),basepart)
  990. coroutine.resume(coroutine.create(function(MainPart)
  991. numb3=0
  992. for i=1,10 do
  993. wait(0.1)
  994. numb3=numb3+9
  995. local basepart2=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart2",vt(0.5,0.5,0.5))
  996. basepart2.Anchored=true
  997. basepart2.CFrame=MainPart.CFrame*cf(0,numb3,0)
  998. local c = game.Workspace:GetChildren();
  999. for i = 1, #c do
  1000. local hum = c[i]:findFirstChild("Humanoid")
  1001. if hum ~= nil and hum.Health ~= 0 then
  1002. local head = c[i]:findFirstChild("Head");
  1003. if head ~= nil then
  1004. local targ = head.Position - basepart2.Position;
  1005. local mag = targ.magnitude;
  1006. if mag <= 10 and c[i].Name ~= Player.Name then
  1007. attackdebounce=false
  1008. Damagefunc2(head,10,80)
  1009. end
  1010. end
  1011. end
  1012. end
  1013. so("http://www.roblox.com/asset/?id=2697431",basepart2,5,0.3)
  1014. MagicCircle(BrickColor.new("Bright red"),basepart2.CFrame,1,1,1,0,0,0,5,5,5)
  1015. SwirlEffect(BrickColor.new("Bright red"),basepart2.CFrame,3,3,3,0,0,0)
  1016. coroutine.resume(coroutine.create(function(Part)
  1017. wait(2)
  1018. Part.Parent=nil
  1019. end),basepart2)
  1020. end
  1021. MainPart.Parent=nil
  1022. end),basepart)
  1023. coroutine.resume(coroutine.create(function(MainPart)
  1024. numb4=0
  1025. for i=1,10 do
  1026. wait(0.1)
  1027. numb4=numb4+9
  1028. local basepart2=part(3,workspace,0,1,BrickColor.new("Black"),"BasePart2",vt(0.5,0.5,0.5))
  1029. basepart2.Anchored=true
  1030. basepart2.CFrame=MainPart.CFrame*cf(0,-numb4,0)
  1031. local c = game.Workspace:GetChildren();
  1032. for i = 1, #c do
  1033. local hum = c[i]:findFirstChild("Humanoid")
  1034. if hum ~= nil and hum.Health ~= 0 then
  1035. local head = c[i]:findFirstChild("Head");
  1036. if head ~= nil then
  1037. local targ = head.Position - basepart2.Position;
  1038. local mag = targ.magnitude;
  1039. if mag <= 10 and c[i].Name ~= Player.Name then
  1040. attackdebounce=false
  1041. Damagefunc2(head,10,80)
  1042. end
  1043. end
  1044. end
  1045. end
  1046. so("http://www.roblox.com/asset/?id=2697431",basepart2,5,0.3)
  1047. MagicCircle(BrickColor.new("Bright red"),basepart2.CFrame,1,1,1,0,0,0,5,5,5)
  1048. SwirlEffect(BrickColor.new("Bright red"),basepart2.CFrame,3,3,3,0,0,0)
  1049. coroutine.resume(coroutine.create(function(Part)
  1050. wait(2)
  1051. Part.Parent=nil
  1052. end),basepart2)
  1053. end
  1054. MainPart.Parent=nil
  1055. end),basepart)
  1056. wait(0.2)
  1057. for i=1,8 do
  1058. MagicBlock(BrickColor.new("Bright red"),basepart.CFrame,2,2,2,math.random(-25,25),math.random(-25,25),math.random(-25,25))
  1059. end
  1060. wait(1)
  1061. bp.Parent=nil
  1062. bg.Parent=nil
  1063. for i=0,1,0.1 do
  1064. wait()
  1065. Torso["Left Hip"].C0=LHC0*cf(-1+1*i,1.5-1.5*i,0)
  1066. Torso["Right Hip"].C0=RHC0*cf(0,1.5-1.5*i,0)*euler(0,0,-0.5+0.5*i)
  1067. wld1.C0=euler(1.57+0.5-0.5*i,0,-0.8+0.8*i)*cf(0,1,0)
  1068. RW.C0=cf(1+0.5*i, 0.5, -0.5+0.5*i) * euler(0.5+0.5*i,0,-0.8+0.8*i)
  1069. RW.C1=cf(0, 0.5, 0) * euler(0,-0.6*i,-0.2*i)
  1070. LW.C0=cf(-1-0.5*i, 0.5, -0.5+0.5*i) * euler(0.5-0.5*i,0,0.8-1*i)
  1071. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1072. end
  1073. Torso["Left Hip"].C0=LHC0
  1074. Torso["Right Hip"].C0=RHC0
  1075. wld1.C0=euler(1.57,0,0)*cf(0,1,0)
  1076. attack=false
  1077. end
  1078. function HammerSpin()
  1079. attack=true
  1080. for i=0,1,0.1 do
  1081. wait()
  1082. RW.C0=cf(1.5, 0.5, 0) * euler(1,1*i,0)
  1083. RW.C1=cf(0, 0.5, 0) * euler(0,-0.6+0.6*i,-0.2+1.2*i)
  1084. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  1085. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1086. end
  1087. attack=false
  1088. end
  1089. combo=0
  1090. function ob1d(mouse)
  1091. if attack == true then return end
  1092. attackdebounce=false
  1093. hold=true
  1094. coroutine.resume(coroutine.create(function(v)
  1095. wait()
  1096. while attack==true do
  1097. wait(0)
  1098. bg.Parent = Torso
  1099. local pos4 = vt(MMouse.Hit.p.x,Head.Position.Y,MMouse.Hit.p.z)
  1100. bg.cframe = cf(Torso.Position,pos4) * euler(0,eul,0) * cf(0,0,0)
  1101. end
  1102. bg.Parent=nil
  1103. end))
  1104. if combo==0 then
  1105. oneslash()
  1106. elseif combo==1 then
  1107. twoslash()
  1108. elseif combo==2 then
  1109. threeslash()
  1110. end
  1111. coroutine.resume(coroutine.create(function()
  1112. wait(0.5)
  1113. if attack==false then
  1114. combo=0
  1115. eul=0
  1116. Torso.Neck.C0=necko
  1117. wld1.C0=euler(1.57,0,0)*cf(0,1,0)
  1118. RW.C0=cf(1.5, 0.5, 0) * euler(1,0,0)
  1119. RW.C1=cf(0, 0.5, 0) * euler(0,-0.6,-0.2)
  1120. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  1121. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)
  1122. end
  1123. end))
  1124. --[[wait(1)
  1125. eul=0
  1126. Torso.Neck.C0=necko
  1127. wld1.C0=euler(1.57,0,0)*cf(0,1,0)
  1128. RW.C0=cf(1.5, 0.5, 0) * euler(1,0,0)
  1129. RW.C1=cf(0, 0.5, 0) * euler(0,-0.6,-0.2)
  1130. LW.C0=cf(-1.5, 0.5, 0) * euler(0,0,-0.2)
  1131. LW.C1=cf(0, 0.5, 0) * euler(0,0,0)]]
  1132. end
  1133. function ob1u(mouse)
  1134. hold = false
  1135. end
  1136. buttonhold = false
  1137. eul=0
  1138. function key(key)
  1139. if attack == true then return end
  1140. if key=="z" then
  1141. GrandSlam()
  1142. end
  1143. if key=="x" then
  1144. dashing=true
  1145. HammerCharge()
  1146. end
  1147. if key=="c" then
  1148. HammerSmash()
  1149. end
  1150. if key=="v" then
  1151. HammerSpin()
  1152. end
  1153. if key=="f" then
  1154. SuperbSlam()
  1155. end
  1156. end
  1157. function key2(key)
  1158. if key=="x" then
  1159. dashing=false
  1160. end
  1161. end
  1162. function s(mouse)
  1163. mouse.Button1Down:connect(function() ob1d(mouse) end)
  1164. mouse.Button1Up:connect(function() ob1u(mouse) end)
  1165. mouse.KeyDown:connect(key)
  1166. mouse.KeyUp:connect(key2)
  1167. unsheathed = true
  1168. player = Player
  1169. ch = Character
  1170. MMouse = mouse
  1171. RSH = ch.Torso["Right Shoulder"]
  1172. LSH = ch.Torso["Left Shoulder"]
  1173. --
  1174. RSH.Parent = nil
  1175. LSH.Parent = nil
  1176. --
  1177. RW.Part0 = ch.Torso
  1178. RW.C0 = CFrame.new(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1179. RW.C1 = CFrame.new(0, 0.5, 0)
  1180. RW.Part1 = ch["Right Arm"]
  1181. RW.Parent = ch.Torso
  1182. --_G.R = RW
  1183. --
  1184. LW.Part0 = ch.Torso
  1185. LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1186. LW.C1 = CFrame.new(0, 0.5, 0)
  1187. LW.Part1 = ch["Left Arm"]
  1188. LW.Parent = ch.Torso
  1189. --_G.L = LW
  1190. --
  1191. equipanim()
  1192. end
  1193. function ds(mouse)
  1194. hideanim()
  1195. wait(0)
  1196. RW.Parent = nil
  1197. LW.Parent = nil
  1198. RSH.Parent = player.Character.Torso
  1199. LSH.Parent = player.Character.Torso
  1200. end
  1201. Bin.Selected:connect(s)
  1202. Bin.Deselected:connect(ds)
  1203. print("Fenrier's Rocket Hammer loaded.")
  1204. blownup=false
  1205. while blownup==false do
  1206. wait(0)
  1207. prt17b.Transparency=1-Charge
  1208. hitbox.Transparency=1
  1209. if Charge>0 and attack==false then
  1210. Charge=Charge-0.001
  1211. end
  1212. if Charge>=1 and blownup==false then
  1213. blownup=true
  1214. Charge=1
  1215. BOOM=Instance.new("Explosion")
  1216. BOOM.Parent=workspace
  1217. BOOM.Position=hitbox.Position
  1218. BOOM.BlastRadius=20
  1219. so("http://www.roblox.com/asset/?id=2101148",hit,5,0.4)
  1220. print("Good job taking care of your hammer. It blew up.")
  1221. end
  1222. fentext2.Size = UDim2.new(0.710000306,0,-2.8*Charge,0)
  1223. end
  1224. -- mediafire
  1225. --[[
  1226. Copyrighted (C) Fenrier 2013
  1227. ]]--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement