zed_isJayTheLionJR

DESTRUCTION2

Jan 24th, 2019
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 36.47 KB | None | 0 0
  1. -- x10Shield --
  2. local me = game:GetService("Players").LocalPlayer
  3. local ShieldSize = 5
  4. local canCollide = false
  5. local isLocked = false
  6. local defaultTransparency = 1
  7. local whitelist = {"", "", "", ""}
  8.  
  9. local scriptBreak = false
  10. local followPart = me.Character.HumanoidRootPart
  11. local actualList = {}
  12. local playerList = {}
  13. table.insert(playerList, me)
  14. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  15. for _,wplay in pairs(whitelist) do
  16. if v.Name:lower() == wplay:lower() then
  17. table.insert(playerList, v)
  18. end
  19. end
  20. end
  21.  
  22. local MainLocation = me.Character.Torso
  23.  
  24. function createShield()
  25. pcall(function()
  26. pcall(function()
  27. for i,v in pairs(MainLocation:GetChildren()) do
  28. if v.Name == "weinershield" then
  29. v:Destroy()
  30. end
  31. end
  32. end)
  33. local mod = Instance.new("Model", MainLocation)
  34. mod.Name = "weinershield"
  35. local p1 = Instance.new("Part", mod)
  36. p1.Name = "front"
  37. p1.Size = Vector3.new(ShieldSize,ShieldSize,1)
  38. p1.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z+(ShieldSize/2))
  39. local b = Instance.new("BlockMesh", p1)
  40. b.Scale = Vector3.new(1, 1, 0)
  41. local p2 = Instance.new("Part", mod)
  42. p2.Name = "back"
  43. p2.Size = Vector3.new(ShieldSize,ShieldSize,1)
  44. p2.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z-(ShieldSize/2))
  45. local b = Instance.new("BlockMesh", p2)
  46. b.Scale = Vector3.new(1, 1, 0)
  47. local p3 = Instance.new("Part", mod)
  48. p3.Name = "left"
  49. p3.Size = Vector3.new(1,ShieldSize,ShieldSize)
  50. p3.CFrame = CFrame.new(followPart.Position.X+(ShieldSize/2), followPart.Position.Y, followPart.Position.Z)
  51. local b = Instance.new("BlockMesh", p3)
  52. b.Scale = Vector3.new(0, 1, 1)
  53. local p4 = Instance.new("Part", mod)
  54. p4.Name = "right"
  55. p4.Size = Vector3.new(1,ShieldSize,ShieldSize)
  56. p4.CFrame = CFrame.new(followPart.Position.X-(ShieldSize/2), followPart.Position.Y, followPart.Position.Z)
  57. local b = Instance.new("BlockMesh", p4)
  58. b.Scale = Vector3.new(0, 1, 1)
  59. local p5 = Instance.new("Part", mod)
  60. p5.Name = "top"
  61. p5.Size = Vector3.new(ShieldSize,1,ShieldSize)
  62. p5.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y+(ShieldSize/2), followPart.Position.Z)
  63. local b = Instance.new("BlockMesh", p5)
  64. b.Scale = Vector3.new(1, 0, 1)
  65. local p6 = Instance.new("Part", mod)
  66. p6.Name = "bottom"
  67. p6.Size = Vector3.new(ShieldSize,1,ShieldSize)
  68. p6.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y-(ShieldSize/2), followPart.Position.Z)
  69. local b = Instance.new("BlockMesh", p6)
  70. b.Scale = Vector3.new(1, 0, 1)
  71. for i,v in pairs(mod:GetChildren()) do
  72. v.Anchored = true
  73. v.Transparency = defaultTransparency
  74. v.Material = "Neon"
  75. v.TopSurface = "Smooth"
  76. v.BottomSurface = "Smooth"
  77. v.CanCollide = canCollide
  78. end
  79. mod.ChildRemoved:connect(function(a)
  80. game:GetService("RunService").Stepped:wait()
  81. if a.ClassName == "Part" then
  82. createShield()
  83. end
  84. end)
  85. end)
  86. end
  87.  
  88. function updateShield()
  89. pcall(function()
  90. char = me.Character
  91. for i,v in pairs(MainLocation:findFirstChild("weinershield"):GetChildren()) do
  92. v.Anchored = true
  93. v.Transparency = defaultTransparency
  94. v.Material = "Neon"
  95. v.TopSurface = "Smooth"
  96. v.BottomSurface = "Smooth"
  97. v.CanCollide = canCollide
  98. end
  99. MainLocation:findFirstChild("weinershield").front.Size = Vector3.new(ShieldSize,ShieldSize,1)
  100. MainLocation:findFirstChild("weinershield").front.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z+(ShieldSize/2))
  101. MainLocation:findFirstChild("weinershield").back.Size = Vector3.new(ShieldSize,ShieldSize,1)
  102. MainLocation:findFirstChild("weinershield").back.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z-(ShieldSize/2))
  103. MainLocation:findFirstChild("weinershield").left.Size = Vector3.new(1,ShieldSize,ShieldSize)
  104. MainLocation:findFirstChild("weinershield").left.CFrame = CFrame.new(followPart.Position.X+(ShieldSize/2), followPart.Position.Y, followPart.Position.Z)
  105. MainLocation:findFirstChild("weinershield").right.Size = Vector3.new(1,ShieldSize,ShieldSize)
  106. MainLocation:findFirstChild("weinershield").right.CFrame = CFrame.new(followPart.Position.X-(ShieldSize/2), followPart.Position.Y, followPart.Position.Z)
  107. MainLocation:findFirstChild("weinershield").top.Size = Vector3.new(ShieldSize,1,ShieldSize)
  108. MainLocation:findFirstChild("weinershield").top.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y+(ShieldSize/2), followPart.Position.Z)
  109. MainLocation:findFirstChild("weinershield").bottom.Size = Vector3.new(ShieldSize,1,ShieldSize)
  110. MainLocation:findFirstChild("weinershield").bottom.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y-(ShieldSize/2), followPart.Position.Z)
  111. end)
  112. end
  113.  
  114.  
  115. local function CreateRegion3FromLocAndSize(Position, Size)
  116. local SizeOffset = Size/2
  117. local Point1 = Position - SizeOffset
  118. local Point2 = Position + SizeOffset
  119. return Region3.new(Point1, Point2)
  120. end
  121.  
  122. createShield()
  123. game:GetService("RunService").Heartbeat:connect(function()
  124. if not scriptBreak then
  125. local me = game:GetService("Players").LocalPlayer
  126. local char = workspace:findFirstChild(me.Name)
  127. actualList = {}
  128. for i,v in pairs(playerList) do
  129. pcall(function()
  130. table.insert(actualList, workspace:findFirstChild(v.Name))
  131. end)
  132. end
  133. if MainLocation:findFirstChild("weinershield") ~= nil then
  134. updateShield()
  135. else
  136. createShield()
  137. end
  138. pcall(function()
  139. local Region = CreateRegion3FromLocAndSize(followPart.Position, Vector3.new(ShieldSize+1,ShieldSize+1,ShieldSize+1))
  140. for _,Part in pairs(workspace:FindPartsInRegion3WithIgnoreList(Region,actualList,math.huge)) do
  141. if Part.Name ~= "Base" and not Part:isDescendantOf(MainLocation:findFirstChild("weinershield")) then
  142. Part:Destroy()
  143. end
  144. end
  145. end)
  146. pcall(function()
  147. for i,v in pairs(actualList) do
  148. if v:findFirstChild("Humanoid") ~= nil then
  149. v.Humanoid.MaxHealth = math.huge
  150. v.Humanoid.Health = math.huge
  151. else
  152. Instance.new("Humanoid", v)
  153. end
  154. end
  155. end)
  156. end
  157. end)
  158. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------==Made by LuisPambid==--
  159. --==Santoryu==--
  160.  
  161. --script:remove()
  162. local player=game.Players.LocalPlayer
  163. local char=player.Character
  164. repeat wait() until player and char
  165. local torso=char.Torso
  166. local head=char.Head
  167. local human=char.Humanoid
  168. local hat
  169. for i, v in pairs(char:children()) do if v:isA("Hat") then hat=v end end
  170. local arm={Left=char["Left Arm"], Right=char["Right Arm"]}
  171. local leg={Left=char["Left Leg"], Right=char["Right Leg"]}
  172. local c=function(f) coroutine.resume(coroutine.create(f)) end
  173. local p=function(f) pcall(f) end
  174. local add={
  175. Part=function(par, a, c, col, t, s, cf)
  176. local p=Instance.new("Part", par) p.TopSurface="Smooth" p.BottomSurface="Smooth" p.formFactor="Custom" p.Anchored=a p.CanCollide=c p.BrickColor=BrickColor.new(col) p.Transparency=t p.Size=s p.CFrame=cf or CFrame.new()
  177. return p
  178. end,
  179. Wedge=function(par, a, c, col, t, s, cf)
  180. local p=Instance.new("WedgePart", par) p.TopSurface="Smooth" p.BottomSurface="Smooth" p.formFactor="Custom" p.Anchored=a p.CanCollide=c p.BrickColor=BrickColor.new(col) p.Transparency=t p.Size=s p.CFrame=cf or CFrame.new()
  181. return p
  182. end,
  183. Weld=function(par, p1, cf)
  184. local w=Instance.new("Weld", par) w.Part0=w.Parent or par w.Part1=p1 w.C1=cf or CFrame.new()
  185. return w
  186. end,
  187. Mesh=function(ins, par, s, of, t)
  188. local m=Instance.new(ins, par) m.Scale=s or Vector3.new() m.Offset=of or Vector3.new() pcall(function() m.MeshType=t end)
  189. return m
  190. end
  191. }
  192. local scriptname="Santoryu" --Name here
  193. pcall(function() player.Backpack[scriptname]:remove() char[scriptname]:remove() char[scriptname.."B"]:remove() player.PlayerGui[scriptname]:remove() end)
  194. local model=Instance.new("Model", char) model.Name=scriptname
  195. local modelB=Instance.new("Model", char) modelB.Name=scriptname.."B"
  196. local gui=Instance.new("ScreenGui", player.PlayerGui) gui.Name=scriptname
  197. local sound=Instance.new("Sound", char)
  198. local bin=Instance.new("HopperBin", player.Backpack) bin.Name=model.Name
  199. local skincolor="White"
  200. local body={}
  201. local animate={}
  202. local obj={}
  203. function createParts()
  204. --==PARTS==--
  205. body.Head=head:clone() body.Head.Parent=model body.Head.BrickColor=BrickColor.new(skincolor) body.Head.Transparency=0
  206. body.Torso=add.Part(model, false, false, skincolor, 0, Vector3.new(2, 2, 1), nil)
  207. body.ArmLeft, body.ArmRight=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil), add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil)
  208. body.LegLeft, body.LegRight=add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil), add.Part(model, false, false, skincolor, 0, Vector3.new(1, 1, 1), nil)
  209. p(function() for i, v in pairs(char:children()) do v.Transparency=1 end end)
  210. p(function() for i, v in pairs(char:children()) do v["face"]:clone().Parent=body.Head v["face"]:remove() end end)
  211. p(function() for i, v in pairs(char:children()) do if v.ClassName=="Hat" then v:remove() end end end)
  212. --==WELDS==--
  213. body.HeadW=add.Weld(body.Head, body.Torso, CFrame.new(0, 1.5, 0))
  214. body.TorsoW=add.Weld(body.Torso, torso, nil)
  215. body.ArmLeftW, body.ArmRightW=add.Weld(body.ArmLeft, body.Torso, CFrame.new(-1.5, .5, 0)), add.Weld(body.ArmRight, body.Torso, CFrame.new(1.5, .5, 0))
  216. body.LegLeftW, body.LegRightW=add.Weld(body.LegLeft, body.Torso, CFrame.new(-.5, -1.5, 0)), add.Weld(body.LegRight, body.Torso, CFrame.new(.5, -1.5, 0))
  217. --==MESHES==--
  218. add.Mesh("BlockMesh", body.ArmLeft, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
  219. add.Mesh("BlockMesh", body.ArmRight, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
  220. add.Mesh("BlockMesh", body.LegLeft, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
  221. add.Mesh("BlockMesh", body.LegRight, Vector3.new(1, 2, 1), Vector3.new(0, -.5, 0), nil)
  222. ---------------------------------------------------------------------------------------
  223. animate={
  224. ["Head"]=function(cf) p(function() for i, v in pairs(model:children()) do v.Transparency=0 end end) leg.Left.Transparency=1 leg.Right.Transparency=1
  225. body.HeadW.C1=CFrame.new(0, 1.5, 0)*cf
  226. end;
  227. ["Torso"]=function(cf) p(function() for i, v in pairs(model:children()) do v.Transparency=0 end end) leg.Left.Transparency=1 leg.Right.Transparency=1
  228. body.TorsoW.C1=cf
  229. end;
  230. ["ArmLeft"]=function(cf) p(function() for i, v in pairs(model:children()) do v.Transparency=0 end end) leg.Left.Transparency=1 leg.Right.Transparency=1
  231. body.ArmLeftW.C1=CFrame.new(-1.5, .5, 0)*cf
  232. end;
  233. ["ArmRight"]=function(cf) p(function() for i, v in pairs(model:children()) do v.Transparency=0 end end) leg.Left.Transparency=1 leg.Right.Transparency=1
  234. body.ArmRightW.C1=CFrame.new(1.5, .5, 0)*cf
  235. end;
  236. ["LegLeft"]=function(cf) p(function() for i, v in pairs(model:children()) do v.Transparency=0 end end) leg.Left.Transparency=1 leg.Right.Transparency=1
  237. body.LegLeftW.C1=CFrame.new(-.5, -1.5, 0)*cf
  238. end;
  239. ["LegRight"]=function(cf) p(function() for i, v in pairs(model:children()) do v.Transparency=0 end end) leg.Left.Transparency=1 leg.Right.Transparency=1
  240. body.LegRightW.C1=CFrame.new(.5, -1.5, 0)*cf
  241. end;
  242. }
  243. --==Objects==--
  244. obj.LH=add.Part(model, false, false, "Really black", 0, Vector3.new(.5, 1, .2), nil)
  245. obj.LHW=add.Weld(obj.LH, body.ArmLeft, CFrame.new(-.3, -.5, -.2))
  246. obj.LH=add.Part(model, false, false, "Really black", 0, Vector3.new(.5, .2, .5), nil)
  247. obj.LHW=add.Weld(obj.LH, body.ArmLeft, CFrame.new(-.3, -.9, 0))
  248. --Right
  249. obj.HandleRight=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.25, 2, .25), nil)
  250. obj.HandleRightW=add.Weld(obj.HandleRight, body.ArmRight, CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, 0))
  251. for i=1, 5 do
  252. obj.DesignRight=add.Part(modelB, false, false, "White", 0, Vector3.new(.3, .1, .1), nil)
  253. obj.DesignRightW=add.Weld(obj.DesignRight, obj.HandleRight, CFrame.new(0, -1+i/3, 0)*CFrame.Angles(math.rad(45), 0, 0))
  254. end
  255. obj.GuardRight=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.5, .2, .5), nil)
  256. obj.GuardRightW=add.Weld(obj.GuardRight, obj.HandleRight, CFrame.new(0, 1.1, 0))
  257. obj.GuardRightB=add.Part(modelB, false, false, "White", 0, Vector3.new(.25, .2, .3), nil)
  258. obj.GuardRightBM=add.Mesh("BlockMesh", obj.GuardRightB, Vector3.new(.5, 1, 1), nil, nil)
  259. obj.GuardRightBW=add.Weld(obj.GuardRightB, obj.HandleRight, CFrame.new(0, 1.25, 0))
  260. obj.BladeRight=add.Part(modelB, false, false, "Mid gray", 0, Vector3.new(.2, 4, .25), nil) obj.BladeRight.Reflectance=.5
  261. obj.BladeRightM=add.Mesh("BlockMesh", obj.BladeRight, Vector3.new(.5, 1, 1), nil, nil)
  262. obj.BladeRightW=add.Weld(obj.BladeRight, obj.HandleRight, CFrame.new(0, 3, 0))
  263. obj.PointRight=add.Wedge(modelB, false, false, "Mid gray", 0, Vector3.new(.2, 1, .25), nil) obj.PointRight.Reflectance=.5
  264. obj.PointM=add.Mesh("SpecialMesh", obj.PointRight, Vector3.new(.5, 1, 1), nil, "Wedge")
  265. obj.PointW=add.Weld(obj.PointRight, obj.BladeRight, CFrame.new(0, 2.5, 0)*CFrame.Angles(math.rad(0), 0, 0))
  266. --Left
  267. obj.HandleLeft=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.25, 2, .25), nil)
  268. obj.HandleLeftW=add.Weld(obj.HandleLeft, body.ArmLeft, CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, 0))
  269. for i=1, 5 do
  270. obj.DesignLeft=add.Part(modelB, false, false, "White", 0, Vector3.new(.3, .1, .1), nil)
  271. obj.DesignLeftW=add.Weld(obj.DesignLeft, obj.HandleLeft, CFrame.new(0, -1+i/3, 0)*CFrame.Angles(math.rad(45), 0, 0))
  272. end
  273. obj.GuardLeft=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.5, .2, .5), nil)
  274. obj.GuardLeftW=add.Weld(obj.GuardLeft, obj.HandleRight, CFrame.new(0, 1.1, 0))
  275. obj.GuardLeftB=add.Part(modelB, false, false, "White", 0, Vector3.new(.25, .2, .3), nil)
  276. obj.GuardLeftBM=add.Mesh("BlockMesh", obj.GuardLeftB, Vector3.new(.5, 1, 1), nil, nil)
  277. obj.GuardLeftBW=add.Weld(obj.GuardLeftB, obj.HandleLeft, CFrame.new(0, 1.25, 0))
  278. obj.BladeLeft=add.Part(modelB, false, false, "Mid gray", 0, Vector3.new(.2, 4, .25), nil) obj.BladeLeft.Reflectance=.5
  279. obj.BladeLeftM=add.Mesh("BlockMesh", obj.BladeLeft, Vector3.new(.5, 1, 1), nil, nil)
  280. obj.BladeLeftW=add.Weld(obj.BladeLeft, obj.HandleLeft, CFrame.new(0, 3, 0))
  281. obj.PointLeft=add.Wedge(modelB, false, false, "Mid gray", 0, Vector3.new(.2, 1, .25), nil) obj.PointLeft.Reflectance=.5
  282. obj.PointM=add.Mesh("SpecialMesh", obj.PointLeft, Vector3.new(.5, 1, 1), nil, "Wedge")
  283. obj.PointW=add.Weld(obj.PointLeft, obj.BladeLeft, CFrame.new(0, 2.5, 0)*CFrame.Angles(math.rad(0), 0, 0))
  284. --Head
  285. obj.HandleHead=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.25, 2, .25), nil)
  286. obj.HandleHeadW=add.Weld(obj.HandleHead, body.Head, CFrame.new(0, -.25, -.5)*CFrame.Angles(0, 0, math.rad(90)))
  287. for i=1, 5 do
  288. obj.DesignHead=add.Part(modelB, false, false, "White", 0, Vector3.new(.3, .1, .1), nil)
  289. obj.DesignHeadW=add.Weld(obj.DesignHead, obj.HandleHead, CFrame.new(0, -1+i/3, 0)*CFrame.Angles(math.rad(45), 0, 0))
  290. end
  291. obj.GuardHead=add.Part(modelB, false, false, "Really black", 0, Vector3.new(.5, .2, .5), nil)
  292. obj.GuardHeadW=add.Weld(obj.GuardHead, obj.HandleHead, CFrame.new(0, 1.1, 0))
  293. obj.GuardHeadB=add.Part(modelB, false, false, "White", 0, Vector3.new(.25, .2, .3), nil)
  294. obj.GuardHeadBM=add.Mesh("BlockMesh", obj.GuardHeadB, Vector3.new(.5, 1, 1), nil, nil)
  295. obj.GuardHeadBW=add.Weld(obj.GuardHeadB, obj.HandleHead, CFrame.new(0, 1.25, 0))
  296. obj.BladeHead=add.Part(modelB, false, false, "Mid gray", 0, Vector3.new(.2, 4, .25), nil) obj.BladeHead.Reflectance=.5
  297. obj.BladeHeadM=add.Mesh("BlockMesh", obj.BladeHead, Vector3.new(.5, 1, 1), nil, nil)
  298. obj.BladeHeadW=add.Weld(obj.BladeHead, obj.HandleHead, CFrame.new(0, 3, 0))
  299. obj.PointHead=add.Wedge(modelB, false, false, "Mid gray", 0, Vector3.new(.2, 1, .25), nil) obj.PointHead.Reflectance=.5
  300. obj.PointM=add.Mesh("SpecialMesh", obj.PointHead, Vector3.new(.5, 1, 1), nil, "Wedge")
  301. obj.PointW=add.Weld(obj.PointHead, obj.BladeHead, CFrame.new(0, 2.5, 0)*CFrame.Angles(math.rad(0), 0, 0))
  302. end
  303. function removeParts()
  304. p(function()
  305. for i, v in pairs(model:children()) do v:remove() end for i, v in pairs(modelB:children()) do v:remove() end for i, v in pairs(char:children()) do v.Transparency=0 end
  306. end)
  307. end
  308. function play(id, pitch)
  309. c(function()
  310. local sound=Instance.new("Sound", workspace)
  311. sound.Pitch=pitch
  312. sound.SoundId=id
  313. sound:play()
  314. wait(.5)
  315. sound:remove()
  316. end)
  317. end
  318.  
  319. --Variables--
  320. local speed=32
  321. local mana=100
  322. local trailDeb=false
  323. local hitDeb=false
  324. local keyDeb=false
  325. local loopDeb=false
  326.  
  327. local label=Instance.new("TextLabel", gui)
  328. label.Position=UDim2.new(0, 0, 0, 100)
  329. label.Size=UDim2.new(0, 200, 0, 20)
  330. label.BorderColor=BrickColor.Black()
  331. label.BackgroundColor=BrickColor.White()
  332. label.TextColor=BrickColor.Black()
  333. label.Font="ArialBold"
  334. label.FontSize="Size18"
  335. label.Text="100"
  336. local charge=Instance.new("TextLabel", label) charge.Transparency=.5
  337. charge.Position=UDim2.new(0, 0, 0, 0)
  338. charge.Size=UDim2.new(1, 0, 1, 0)
  339. charge.BorderColor=BrickColor.Black()
  340. charge.BackgroundColor=BrickColor.Blue()
  341. charge.TextColor=BrickColor.Black()
  342. charge.Font="ArialBold"
  343. charge.FontSize="Size18"
  344. charge.Text=""
  345.  
  346. local attackLabel=Instance.new("TextLabel", gui)
  347. attackLabel.Position=UDim2.new(0, 0, 0, 150)
  348. attackLabel.Size=UDim2.new(0, 150, 0, 50)
  349. attackLabel.BorderColor=BrickColor.Black()
  350. attackLabel.BackgroundColor=BrickColor.Black()
  351. attackLabel.TextColor=BrickColor.White()
  352. attackLabel.Font="ArialBold"
  353. attackLabel.FontSize="Size18"
  354. attackLabel.Text="DemonSlash(Q)"
  355. local attackLabel2=Instance.new("TextLabel", attackLabel)
  356. attackLabel2.Position=UDim2.new(0, 0, 1, 0)
  357. attackLabel2.Size=UDim2.new(1, 0, 1, 0)
  358. attackLabel2.BorderColor=BrickColor.Black()
  359. attackLabel2.BackgroundColor=BrickColor.Black()
  360. attackLabel2.TextColor=BrickColor.White()
  361. attackLabel2.Font="ArialBold"
  362. attackLabel2.FontSize="Size18"
  363. attackLabel2.Text="PoundHo(E)"
  364. local attackLabel3=Instance.new("TextLabel", attackLabel2)
  365. attackLabel3.Position=UDim2.new(0, 0, 1, 0)
  366. attackLabel3.Size=UDim2.new(1, 0, 1, 0)
  367. attackLabel3.BorderColor=BrickColor.Black()
  368. attackLabel3.BackgroundColor=BrickColor.Black()
  369. attackLabel3.TextColor=BrickColor.White()
  370. attackLabel3.Font="ArialBold"
  371. attackLabel3.FontSize="Size18"
  372. attackLabel3.Text="ThousandWorlds(R)"
  373. local attackLabel4=Instance.new("TextLabel", attackLabel3)
  374. attackLabel4.Position=UDim2.new(0, 0, 1, 0)
  375. attackLabel4.Size=UDim2.new(1, 0, 1, 0)
  376. attackLabel4.BorderColor=BrickColor.Black()
  377. attackLabel4.BackgroundColor=BrickColor.Black()
  378. attackLabel4.TextColor=BrickColor.White()
  379. attackLabel4.Font="ArialBold"
  380. attackLabel4.FontSize="Size18"
  381. attackLabel4.Text="Charge(Z)"
  382. local attackLabel5=Instance.new("TextLabel", attackLabel4)
  383. attackLabel5.Position=UDim2.new(0, 0, 1, 0)
  384. attackLabel5.Size=UDim2.new(1, 0, 1, 0)
  385. attackLabel5.BorderColor=BrickColor.Black()
  386. attackLabel5.BackgroundColor=BrickColor.Black()
  387. attackLabel5.TextColor=BrickColor.White()
  388. attackLabel5.Font="ArialBold"
  389. attackLabel5.FontSize="Size18"
  390. attackLabel5.Text="GreatTwister(F)"
  391. local attackLabel6=Instance.new("TextLabel", attackLabel5)
  392. attackLabel6.Position=UDim2.new(0, 0, 1, 0)
  393. attackLabel6.Size=UDim2.new(1, 0, 1, 0)
  394. attackLabel6.BorderColor=BrickColor.Black()
  395. attackLabel6.BackgroundColor=BrickColor.Black()
  396. attackLabel6.TextColor=BrickColor.White()
  397. attackLabel6.Font="ArialBold"
  398. attackLabel6.FontSize="Size18"
  399. attackLabel6.Text="Block(X)"
  400.  
  401. function hit(h)
  402. for i, v in pairs(modelB:children()) do if h==v then return end end
  403. for i, v in pairs(model:children()) do if h==v then return end end
  404. if runDeb==true and h.Parent~=char and h.Name~="Trailz" and h.Name~="Base" and hitDeb==false then hitDeb=true print("GotHit") h:remove()
  405. p(function()
  406. local pYPos=h.Position.y-(h.Size.y/2)
  407. local sYPos=obj.PointHead.Position.y
  408. local p=h:clone() p.Parent=workspace p.Anchored=true p.CanCollide=false p.Name="Trailz"
  409. local p2=h:clone() p2.Parent=workspace p2.Anchored=true p2.CanCollide=false p.Name="Trailz"
  410. p.formFactor="Custom"
  411. p2.formFactor="Custom"
  412. p.Size=Vector3.new(h.Size.x, sYPos-pYPos, h.Size.z)
  413. p2.Size=Vector3.new(h.Size.x, p2.Size.y-(sYPos-pYPos), h.Size.z)
  414. p.CFrame=h.CFrame*CFrame.new(0, -p2.Size.y/2, 0)
  415. p2.CFrame=h.CFrame*CFrame.new(0, p.Size.y/2, 0)
  416. c(function()
  417. for i=0, 1, .05 do
  418. wait()
  419. p.Transparency=i p2.Transparency=i
  420. end
  421. p:remove() p2:remove()
  422. end)
  423. end) wait()
  424. hitDeb=false
  425. end
  426. end
  427. function computePos(pos, pos2)
  428. local pos3=Vector3.new(pos2.x, pos.y, pos2.z)
  429. torso.CFrame=CFrame.new(pos, pos3)
  430. return pos3
  431. end
  432. function nearTorso(pos, dis)
  433. local temp
  434. local distance=dis
  435. for i, v in pairs(workspace:children()) do
  436. if v:isA("Model") then
  437. temp=v:findFirstChild("Torso")
  438. local humanoid=v:findFirstChild("Humanoid")
  439. if temp and humanoid and v~=char and (temp.CFrame.p-pos).magnitude<distance then
  440. distance=(temp.CFrame.p-pos).magnitude
  441. return temp
  442. end
  443. end
  444. end
  445. end
  446. function trail(pos, cf)
  447. c(function()
  448. local old=(pos.CFrame*cf).p
  449. while trailDeb==true do
  450. wait()
  451. local new=(pos.CFrame*cf).p
  452. local mag=(old-new).magnitude
  453. local dis=(old+new)/2
  454. local trail=add.Part(model, true, false, "Pastel blue-green", 0, Vector3.new(.2, mag, .2), CFrame.new(dis, new)*CFrame.Angles(math.pi/2, 0, 0)) trail.Name="Trailz"
  455. local tMesh=add.Mesh("CylinderMesh", trail, Vector3.new(1, 1, 1), nil, nil)
  456. old=new
  457. c(function()
  458. for i=1, 0, -.2 do
  459. wait()
  460. trail.Mesh.Scale=trail.Mesh.Scale*Vector3.new(i, 1, i)
  461. end
  462. trail:remove()
  463. end)
  464. c(function()
  465. for i=0, 1, .2 do
  466. wait()
  467. trail.Transparency=i
  468. end
  469. end)
  470. end
  471. end)
  472. end
  473.  
  474. local Attacks={
  475. ["DemonSlash"]=function(mouse) human.WalkSpeed=0 computePos(torso.CFrame.p, mouse.Hit.p) mana=mana-5
  476. for i=0, 1, .1 do wait()
  477. animate.ArmLeft(CFrame.Angles(math.rad(90)*i, -math.rad(45)*i, math.rad(15)*i))
  478. animate.ArmRight(CFrame.Angles(math.rad(90)*i, math.rad(45)*i, -math.rad(15)*i))
  479. end
  480. trailDeb=true trail(obj.PointLeft, CFrame.new()) trail(obj.PointRight, CFrame.new())
  481. for i, v in pairs(modelB:children()) do
  482. connection=v.Touched:connect(hit)
  483. end
  484. play("rbxasset://sounds//swordslash.wav", 1)
  485. for i=0, 1, .2 do wait()
  486. torso.CFrame=torso.CFrame+torso.CFrame.lookVector*(10*i)
  487. animate.Torso(CFrame.new(0, -1.5*i, 0)*CFrame.Angles(-math.rad(45)*i, 0, 0))
  488. animate.ArmLeft(CFrame.Angles(math.rad(90), -math.rad(45)+(math.rad(45)*i), math.rad(15)-(math.rad(150)*i)))
  489. animate.ArmRight(CFrame.Angles(math.rad(90), math.rad(45)+(-math.rad(45)*i), -math.rad(15)-(-math.rad(150)*i)))
  490. animate.LegLeft(CFrame.new(0, 1.5*i, -.5*i)*CFrame.Angles(math.rad(45)*i, 0, 0))
  491. animate.LegRight(CFrame.Angles(-math.rad(45)*i, 0, 0))
  492. obj.HandleLeftW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, math.rad(90)*i)
  493. obj.HandleRightW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, -math.rad(90)*i)
  494. end
  495. wait(1)
  496. for i=1, 0, -.1 do wait()
  497. animate.Torso(CFrame.new(0, -1.5*i, 0)*CFrame.Angles(-math.rad(45)*i, 0, 0))
  498. animate.ArmLeft(CFrame.Angles(math.rad(90)*i, 0, -math.rad(90)*i))
  499. animate.ArmRight(CFrame.Angles(math.rad(90)*i, 0, math.rad(90)*i))
  500. animate.LegLeft(CFrame.new(0, 1.5*i, -.5*i)*CFrame.Angles(math.rad(45)*i, 0, 0))
  501. animate.LegRight(CFrame.Angles(-math.rad(45)*i, 0, 0))
  502. obj.HandleLeftW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, math.rad(135)*i)
  503. obj.HandleRightW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, -math.rad(135)*i)
  504. end
  505. trailDeb=false
  506. human.WalkSpeed=speed
  507. end;
  508. ["PoundHo"]=function(mouse) human.WalkSpeed=0
  509. for i=0, 1, .1 do wait()
  510. animate.Torso(CFrame.new(0, 2.5*i, -5*i)*CFrame.Angles(-math.rad(90)*i, 0, 0))
  511. animate.ArmLeft(CFrame.Angles(0, 0, -math.rad(90)*i))
  512. animate.ArmRight(CFrame.Angles(0, 0, math.rad(90)*i))
  513. obj.HandleLeftW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, math.rad(180)*i)
  514. end
  515. local spin=45
  516. local rotate=45
  517. trailDeb=true trail(obj.PointLeft, CFrame.new()) trail(obj.PointRight, CFrame.new()) trail(obj.PointHead, CFrame.new())
  518. for i, v in pairs(modelB:children()) do
  519. connection=v.Touched:connect(hit)
  520. end
  521. while loopDeb==true and mana>0 do wait() spin=spin+rotate mana=mana-1
  522. --[[local wind=add.Part(model, true, false, "Cyan", .5, Vector3.new(1, 1, 1), body.Torso.CFrame*CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(90), 0, 0)) wind.Name="Trailz"
  523. local windM=add.Mesh("SpecialMesh", wind, Vector3.new(1, 1, 1), nil, "File") windM.MeshId="http://www.roblox.com/asset/?id=3270017"
  524. c(function()
  525. for i=0, 3, .2 do wait()
  526. wind.CFrame=body.Torso.CFrame*CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(90), 0, 0)
  527. wind.Mesh.Scale=wind.Mesh.Scale+Vector3.new(i, i, i)
  528. end
  529. wind:remove()
  530. end)]]
  531. computePos((torso.CFrame*CFrame.new(0, 0, -1)*CFrame.Angles(-math.rad(90), 0, 0)).p, mouse.Hit.p)
  532. animate.Torso(CFrame.new(0, 2.5, -5)*CFrame.Angles(-math.rad(90), -math.rad(spin), 0))
  533. end
  534. trailDeb=false
  535. for i=1, 0, -.1 do wait() play("rbxasset://sounds//swordslash.wav", 1)
  536. animate.Torso(CFrame.new(0, 2.5*i, -5*i)*CFrame.Angles(-math.rad(90)*i, 0, 0))
  537. animate.ArmLeft(CFrame.Angles(0, 0, -math.rad(90)*i))
  538. animate.ArmRight(CFrame.Angles(0, 0, math.rad(90)*i))
  539. obj.HandleLeftW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, math.rad(180)*i)
  540. end
  541. human.WalkSpeed=speed
  542. end;
  543. ["ThousandWorlds"]=function(mouse) human.WalkSpeed=0 computePos(torso.CFrame.p, mouse.Hit.p) mana=mana-20
  544. for i=0, 1, .1 do wait()
  545. animate.ArmLeft(CFrame.new(.5*i, 0, -.5*i)*CFrame.Angles(math.rad(90)*i, 0, math.rad(45)*i))
  546. animate.ArmRight(CFrame.new(-.5*i, 0, -.5*i)*CFrame.Angles(math.rad(90)*i, 0, -math.rad(45)*i))
  547. obj.HandleLeftW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), math.rad(45)*i, math.rad(180)*i)
  548. obj.HandleRightW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), -math.rad(45)*i, 0)
  549. end
  550. trailDeb=true trail(obj.PointLeft, CFrame.new()) trail(obj.PointRight, CFrame.new())
  551. for i, v in pairs(modelB:children()) do
  552. connection=v.Touched:connect(hit)
  553. end
  554. for i=0, 50, 1 do wait() play("http://www.roblox.com/asset/?id=3931318", 1)
  555. obj.HandleLeftW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), math.rad(45), math.rad(180)+i)
  556. obj.HandleRightW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), -math.rad(45), i)
  557. end
  558. play("rbxasset://sounds//swordslash.wav", 1)
  559. for i=0, 1, .2 do wait()
  560. local fakeP=add.Part(workspace, true, false, "White", 0, Vector3.new(5, 5, 5), CFrame.new((torso.CFrame*CFrame.new(0, 0, 1.5)).p, torso.CFrame.p)*CFrame.Angles(math.rad(90), 0, 0)) fakeP.Name="Trailz"
  561. local mesh=add.Mesh("SpecialMesh", fakeP, Vector3.new(1, 1, 1), nil, "File") mesh.MeshId="http://www.roblox.com/asset/?id=20329976"
  562. c(function()
  563. for i=0, 1, .05 do
  564. wait()
  565. fakeP.Transparency=i
  566. end
  567. fakeP:remove()
  568. end)
  569. c(function()
  570. for i=1, 20, 1 do
  571. wait()
  572. mesh.Scale=Vector3.new(i, i/2, i)
  573. end
  574. end)
  575. torso.CFrame=torso.CFrame+torso.CFrame.lookVector*(20*i)
  576. animate.Torso(CFrame.new(0, -1.5*i, 0)*CFrame.Angles(-math.rad(45)*i, 0, 0))
  577. animate.ArmLeft(CFrame.new(.5*i, 0, -.5*i)*CFrame.Angles(math.rad(90)*i, 0, 0))
  578. animate.ArmRight(CFrame.new(-.5*i, 0, -.5*i)*CFrame.Angles(-math.rad(90)*i, 0, 0))
  579. obj.HandleLeftW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, -math.rad(90)*i)
  580. obj.HandleRightW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, math.rad(90)*i)
  581. animate.LegLeft(CFrame.new(0, 1.5*i, -.5*i)*CFrame.Angles(math.rad(45)*i, 0, 0))
  582. animate.LegRight(CFrame.Angles(-math.rad(45)*i, 0, 0))
  583. end
  584. trailDeb=false
  585. wait(3)
  586. for i=1, 0, -.1 do wait()
  587. animate.Torso(CFrame.new(0, -1.5*i, 0)*CFrame.Angles(-math.rad(45)*i, 0, 0))
  588. animate.ArmLeft(CFrame.new(.5*i, 0, -.5*i)*CFrame.Angles(math.rad(90)*i, 0, 0))
  589. animate.ArmRight(CFrame.new(-.5*i, 0, -.5*i)*CFrame.Angles(-math.rad(90)*i, 0, 0))
  590. obj.HandleLeftW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, -math.rad(90)*i)
  591. obj.HandleRightW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, math.rad(90)*i)
  592. animate.LegLeft(CFrame.new(0, 1.5*i, -.5*i)*CFrame.Angles(math.rad(45)*i, 0, 0))
  593. animate.LegRight(CFrame.Angles(-math.rad(45)*i, 0, 0))
  594. end
  595. human.WalkSpeed=speed
  596. end;
  597. ["Charge"]=function(mouse) human.WalkSpeed=0 computePos(torso.CFrame.p, mouse.Hit.p)
  598. for i=0, 1, .1 do wait()
  599. animate.Torso(CFrame.new(0, -1.5*i, 0)*CFrame.Angles(-math.rad(45)*i, 0, 0))
  600. animate.ArmLeft(CFrame.Angles(0, 0, -math.rad(180)-(-math.rad(90)*i)))
  601. animate.ArmRight(CFrame.Angles(0, 0, -math.rad(180)-(math.rad(90)*i)))
  602. animate.LegLeft(CFrame.new(0, 1.5*i, -.5*i)*CFrame.Angles(math.rad(45)*i, 0, 0))
  603. animate.LegRight(CFrame.Angles(-math.rad(45)*i, 0, 0))
  604. obj.HandleLeftW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, -math.rad(45)*i)
  605. obj.HandleRightW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, math.rad(45)*i)
  606. end
  607. while loopDeb==true do wait() if mana>=0 and mana<100 then mana=mana+1 end play("http://www.roblox.com/asset/?id=2101137", 1)
  608. local aura=add.Part(model, true, false, "Really black", .5, Vector3.new(1, 1, 1), torso.CFrame*CFrame.new(0, -4, 0)*CFrame.Angles(0, math.rad(math.random(-45, 45)), 0)) aura.Name="Trailz"
  609. local auraM=add.Mesh("SpecialMesh", aura, Vector3.new(1, 1, 1), nil, "File") auraM.MeshId="http://www.roblox.com/asset/?id=20329976"
  610. local aura2=add.Part(model, true, false, "Really black", .5, Vector3.new(5, 5, 5), torso.CFrame*CFrame.new(math.random(-15, 15), math.random(-15, 15), math.random(-15, 15))*CFrame.Angles(math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45)), math.rad(math.random(-45, 45))))
  611. aura2.Name="Trailz"
  612. c(function()
  613. for i=0, 3, .2 do wait()
  614. auraM.Scale=auraM.Scale+Vector3.new(i, i/2, i)
  615. end
  616. c(function()
  617. for i=.5, 1, .1 do
  618. wait()
  619. aura.Transparency=i aura2.Transparency=i
  620. end
  621. end)
  622. aura:remove() aura2:remove()
  623. end)
  624. end
  625. for i=1, 0, -.1 do wait()
  626. animate.Torso(CFrame.new(0, -1.5*i, 0)*CFrame.Angles(-math.rad(45)*i, 0, 0))
  627. animate.ArmLeft(CFrame.Angles(0, 0, (-math.rad(90)*i)))
  628. animate.ArmRight(CFrame.Angles(0, 0, (math.rad(90)*i)))
  629. animate.LegLeft(CFrame.new(0, 1.5*i, -.5*i)*CFrame.Angles(math.rad(45)*i, 0, 0))
  630. animate.LegRight(CFrame.Angles(-math.rad(45)*i, 0, 0))
  631. obj.HandleLeftW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, -math.rad(45)*i)
  632. obj.HandleRightW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90), 0, math.rad(45)*i)
  633. end
  634. human.WalkSpeed=speed
  635. end;
  636. ["GreatTwister"]=function(mouse) human.WalkSpeed=0 computePos(torso.CFrame.p, mouse.Hit.p) mana=mana-40
  637. for i=0, 1, .1 do wait()
  638. animate.Torso(CFrame.new(0, 0, -50*i))
  639. animate.ArmLeft(CFrame.Angles(0, 0, -math.rad(90)*i))
  640. animate.ArmRight(CFrame.Angles(0, 0, math.rad(90)*i))
  641. obj.HandleLeftW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90)+(-math.rad(90)*i), math.rad(180)*i, 0)
  642. obj.HandleRightW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90)+(-math.rad(90)*i), 0, 0)
  643. end
  644. trailDeb=true trail(obj.PointLeft, CFrame.new()) trail(obj.PointRight, CFrame.new())
  645. local tornado=add.Part(workspace, true, false, "Cyan", .5, Vector3.new(1, 1, 1), body.Torso.CFrame*CFrame.Angles(math.rad(180), 0, 0)) tornado.Name="Trailz"
  646. local tornadoM=add.Mesh("SpecialMesh", tornado, Vector3.new(1, 1, 1), nil, "File") tornadoM.MeshId="http://www.roblox.com/asset/?id=36755354"
  647. local spin=35
  648. for i=0, 50, 1 do wait() play("rbxasset://sounds//swordslash.wav", 1)
  649. animate.Torso(CFrame.new(0, 0, -50)*CFrame.Angles(0, -math.rad(i*45), 0))
  650. tornado.CFrame=body.Torso.CFrame*CFrame.new(0, 0, 0)*CFrame.Angles(math.rad(180), 0, 0)
  651. tornado.Size=Vector3.new(i, i, i)
  652. tornadoM.Scale=Vector3.new(i, i, i)
  653. end
  654. c(function() c(function()wait(10) tornado:remove() end) while true do wait() spin=spin+35 tornado.Touched:connect(hit) tornado.CFrame=tornado.CFrame*CFrame.new(0, 0, 0)*CFrame.Angles(0, math.rad(spin), 0) end end)
  655. for i=1, 0, -.1 do wait()
  656. animate.Torso(CFrame.new(0, 0, -50*i)*CFrame.Angles(0, -math.rad(i*45), 0))
  657. animate.Torso(CFrame.Angles(0, 0, 0))
  658. animate.ArmLeft(CFrame.Angles(0, 0, -math.rad(90)*i))
  659. animate.ArmRight(CFrame.Angles(0, 0, math.rad(90)*i))
  660. obj.HandleLeftW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90)+(-math.rad(90)*i), math.rad(180)*i, 0)
  661. obj.HandleRightW.C1=CFrame.new(0, -1.5, 0)*CFrame.Angles(-math.rad(90)+(-math.rad(90)*i), 0, 0)
  662. end
  663. trailDeb=false
  664. human.WalkSpeed=speed
  665. end;
  666. ["Block"]=function(mouse) human.WalkSpeed=0 computePos(torso.CFrame.p, mouse.Hit.p)
  667. for i=0, 1, .1 do wait()
  668. animate.ArmLeft(CFrame.Angles(math.rad(90)*i, -math.rad(45)*i, math.rad(15)*i))
  669. animate.ArmRight(CFrame.Angles(math.rad(90)*i, math.rad(45)*i, -math.rad(15)*i))
  670. end
  671. local shieldPart=add.Part(model, true, false, "White", 1, Vector3.new(10, 10, 1), torso.CFrame+torso.CFrame.lookVector*1.5)
  672. while loopDeb==true do wait() computePos(torso.CFrame.p, mouse.Hit.p) shieldPart.CFrame=torso.CFrame+torso.CFrame.lookVector*1.5
  673. shieldPart.Touched:connect(function(h) while runDeb==false do wait() end
  674. if h.Parent~=char and h.Parent~=modelB and h.Parent~=model and h.Name~="Trailz" and h.Name~="Base" and hitDeb==false then hitDeb=true print(h.Name)
  675. local fakeP=add.Part(workspace, true, false, "Bright yellow", 0, Vector3.new(1, 1, 1), CFrame.new(h.CFrame.p, torso.CFrame.p))
  676. local mesh=add.Mesh("SpecialMesh", fakeP, Vector3.new(1, 1, 1), nil, "File") mesh.MeshId="http://www.roblox.com/asset/?id=3270017"
  677. c(function()
  678. for i=0, 1, .05 do
  679. wait()
  680. fakeP.Mesh.Scale=fakeP.Mesh.Scale+Vector3.new(i, i, 0)
  681. end
  682. fakeP:remove()
  683. end)
  684. c(function()
  685. for i=0, 1, .05 do
  686. wait()
  687. fakeP.Transparency=i
  688. end
  689. end)
  690. h.Anchored=false
  691. local bp=Instance.new("BodyPosition", h) bp.maxForce=Vector3.new(math.huge, math.huge, math.huge) bp.position=(CFrame.new(torso.CFrame.p, h.CFrame.p)*CFrame.new(0, 0, -50)).p
  692. h.Velocity=Vector3.new(0, 0, 0) h.RotVelocity=Vector3.new(0, 0, 0)
  693. game.Debris:addItem(bp, .2)
  694. wait()
  695. hitDeb=false
  696. end
  697. end)
  698. end
  699. shieldPart:remove()
  700. for i=1, 0, -.1 do wait()
  701. animate.ArmLeft(CFrame.Angles(math.rad(90)*i, -math.rad(45)*i, math.rad(15)*i))
  702. animate.ArmRight(CFrame.Angles(math.rad(90)*i, math.rad(45)*i, -math.rad(15)*i))
  703. end
  704. human.WalkSpeed=speed
  705. end
  706. }
  707.  
  708. bin.Selected:connect(function(mouse) createParts() human.WalkSpeed=speed
  709. for i=0, 1, .1 do wait()
  710. animate.ArmLeft(CFrame.Angles(0, math.rad(45)*i, -math.rad(45)*i))
  711. animate.ArmRight(CFrame.Angles(0, -math.rad(45)*i, math.rad(45)*i))
  712. end
  713. human.Running:connect(function(speed)
  714. if speed>0 then while keyDeb==true do wait() end
  715. animate.ArmLeft(CFrame.Angles(0, math.rad(45), -math.rad(45)))
  716. animate.ArmRight(CFrame.Angles(0, -math.rad(45), math.rad(45)))
  717. body.LegLeft.Transparency=1 body.LegRight.Transparency=1
  718. leg.Left.Transparency=0 leg.Right.Transparency=0
  719. end
  720. end)
  721. mouse.KeyDown:connect(function(key)
  722. if key=="q" and keyDeb==false and mana>=5 then keyDeb=true runDeb=true
  723. Attacks.DemonSlash(mouse)
  724. keyDeb=false runDeb=false
  725. end
  726. if key=="e" and keyDeb==false and mana>=0 then keyDeb=true runDeb=true loopDeb=true
  727. Attacks.PoundHo(mouse)
  728. keyDeb=false runDeb=false
  729. end
  730. if key=="r" and keyDeb==false and mana>=20 then keyDeb=true runDeb=true loopDeb=true
  731. Attacks.ThousandWorlds(mouse)
  732. keyDeb=false runDeb=false
  733. end
  734. if key=="z" and keyDeb==false then keyDeb=true runDeb=true loopDeb=true
  735. Attacks.Charge(mouse)
  736. keyDeb=false runDeb=false
  737. end
  738. if key=="f" and keyDeb==false and mana>=40 then keyDeb=true runDeb=true loopDeb=true
  739. Attacks.GreatTwister(mouse)
  740. keyDeb=false runDeb=false
  741. end
  742. if key=="x" and keyDeb==false and mana>=0 then keyDeb=true runDeb=true loopDeb=true
  743. Attacks.Block(mouse)
  744. keyDeb=false runDeb=false
  745. end
  746. end)
  747. mouse.KeyUp:connect(function(key)
  748. if key=="e" and keyDeb==true then loopDeb=false end
  749. if key=="x" and keyDeb==true then loopDeb=false end
  750. if key=="z" and keyDeb==true then loopDeb=false end
  751. end)
  752. c(function() while true do wait() label.Text=mana charge.Size=UDim2.new(mana/100, 0, 1, 0) end end)
  753. end)
  754. bin.Deselected:connect(function() removeParts() end)--mediafire
Add Comment
Please, Sign In to add comment