XskillyX

Untitled

Nov 15th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 49.69 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2.  
  3. local Player,game,owner = owner,game
  4.  
  5. local RealPlayer = Player
  6.  
  7. do local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
  8.  
  9. Players = game:GetService("Players")
  10. Player = Players.XskillyX
  11. Bp = Player.Backpack
  12. Pg = Player.PlayerGui
  13. Char = Player.Character
  14. Head = Char.Head
  15. Torso = Char.Torso
  16. Hum = Char.Humanoid
  17. Humanoid = Hum
  18. Neck = Torso["Neck"]
  19. LS = Torso["Left Shoulder"]
  20. RS = Torso["Right Shoulder"]
  21. Ra = Char["Right Arm"]
  22. La = Char["Left Arm"]
  23. mouse = nil
  24. Mouse = nil
  25.  
  26. bets =
  27. {"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"," "}
  28. inew = Instance.new
  29. it = Instance.new
  30. bc = BrickColor.new
  31. vn = Vector3.new
  32. cn = CFrame.new
  33. ca = CFrame.Angles
  34. mpi = math.pi
  35. v3 = vn
  36. mr = math.rad
  37. br = BrickColor.new
  38. cf = CFrame.new
  39. ca = CFrame.Angles
  40. Colors = {"Really Red"}
  41. BladeColor = tostring(BrickColor.Random()) --Colors[math.random(1,#Colors)]
  42. TrailColor = BladeColor
  43. HopperName = "light saber"
  44. Rage = 100000
  45. MaxRage = Rage
  46. SwordType = "Single"
  47. LeftDebounce = {}
  48. RightDebounce = {}
  49. OtherDebounce = {}
  50. Anim = {key = {}}
  51. for i=1,#bets do table.insert(Anim.key,bets) end
  52. Anim.Move = "None"
  53. Anim.Click = false
  54. Anim.Button = false
  55. Anim.CanBerserk = 0
  56. Anim.ComboBreak = false
  57. Anim.Equipped = false
  58. keydown = false
  59. Speed = 2
  60. RageIncome = 500
  61. Left = false
  62. Right = false
  63. Anim.Act = false
  64. RealSpeed = 35
  65. DebounceSpeed = 0.85/Speed
  66. RageCost = {
  67. ["Berserk"] = 200;
  68. ["RotorBlade"] = 30;
  69. ["Blocking"] = 0.1;
  70. ["Boomerang"] = 30;
  71. ["RageRegening"] = -0.7;
  72. ["BoulderForce"] = 45;
  73. ["ForceWave"] = 65;
  74. ["ForceWave"] = 32;
  75. ["Teleport"] = 25;
  76. ["DualSpin"] = 4;
  77. }
  78. MagnitudeHit = {
  79. ["ForceWave"] = 500;
  80. }
  81. Damage = {
  82. ["RotorBlade"] = 8;
  83. ["BoulderForce"] = 100;
  84. ["Boomerang"] = 100;
  85. ["ForceWave"] = 100;
  86. ["DualSpin"] = 5;
  87. }
  88. Props = {}
  89. Props.MaxTeleDistance = 500
  90. Props.Buff = 1
  91. BlastMesh = Instance.new("FileMesh")
  92. BlastMesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  93. RingMesh = Instance.new("FileMesh")
  94. RingMesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  95. RockMesh = Instance.new("FileMesh")
  96. RockMesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  97. RockMesh.TextureId = "http://www.roblox.com/asset/?id=1290030"
  98. DiamondMesh = Instance.new("FileMesh")
  99. DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  100. RingMesh = Instance.new("FileMesh")
  101. RingMesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  102. RockMesh = Instance.new("FileMesh")
  103. RockMesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  104. RockMesh.TextureId = "http://www.roblox.com/asset/?id=1290030"
  105. DiamondMesh = Instance.new("FileMesh")
  106. DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  107. RockMesh = Instance.new("FileMesh")
  108. RockMesh.MeshId = "http://www.roblox.com/asset/?id=1290033"
  109. RockMesh.TextureId = "http://www.roblox.com/asset/?id=1290030"
  110. DiamondMesh = Instance.new("FileMesh")
  111. DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  112. DiamondMesh = Instance.new("FileMesh")
  113. DiamondMesh.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  114.  
  115. function rayCast(Pos, Dir, Max, Ignore)
  116. return Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  117. end
  118. function MinusRage(raggge)
  119. Rage = Rage - raggge
  120. if Rage < 0 then Rage = 0 end
  121. end
  122.  
  123. function r(zParent,zName)
  124. if zParent:findFirstChild(zName) ~= nil then
  125. zParent[zName]:Remove()
  126. else
  127. end
  128. end
  129. function rclass(zParent,zClass)
  130. local ch = zParent:GetChildren()
  131. for i=1,#ch do
  132. if (ch.className == zClass) then
  133. ch:Remove()
  134. else
  135. end
  136. end
  137. end
  138.  
  139. function fWeld(zName,zParent,zPart0,zPart1,zCoco,a,b,c,d,e,f)
  140. local funcw = Instance.new("Weld")
  141. funcw.Name = zName
  142. funcw.Parent = zParent
  143. funcw.Part0 = zPart0
  144. funcw.Part1 = zPart1
  145. if (zCoco == true) then
  146. funcw.C0 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
  147. else
  148. funcw.C1 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
  149. end
  150. return funcw
  151. end
  152. function Dash(ob,se,mes,of)
  153. local off = nil
  154. if of == nil then off = 0 else off = of end
  155. pcall(function()
  156. coroutine.resume(coroutine.create(function()
  157. local dashin = true
  158. local oldpos = (ob.CFrame *CFrame.new(0,off,0)).p
  159. coroutine.resume(coroutine.create(function()
  160. wait(se) dashin = false end))
  161. for i=1,9999 do
  162. if dashin == false then break end
  163. local newpos = (ob.CFrame *CFrame.new(0,off,0)).p --+ Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  164. local np = Instance.new("Part")
  165. np.BrickColor = BrickColor.new(TrailColor) np.CanCollide = false
  166. np.BottomSurface = 0 np.TopSurface = 0 np.Anchored = true np.Transparency = 0.4
  167. np.formFactor = "Custom" np.Parent = ob local mag = math.abs((newpos - oldpos).magnitude)
  168. local mp = nil
  169. if mes ~= nil then
  170. np.Size = Vector3.new(2,mag,2) mp = Instance.new("FileMesh",np) mp.MeshId = mes else
  171. np.Size = Vector3.new(0.4,0.4,mag) mp = Instance.new("BlockMesh",np) end
  172. np.CFrame = CFrame.new(newpos,oldpos)
  173. np.CFrame = np.CFrame + np.CFrame.lookVector* (mag/2)
  174. if mes == BlastMesh.MeshId then np.CFrame = np.CFrame *ca(mr(-90),0,0) else np.CFrame = np.CFrame *ca(0,0,mr(-45)) end
  175. oldpos = newpos
  176. coroutine.resume(coroutine.create(function()
  177. for i=1,0,-0.1 do
  178. np.Transparency = np.Transparency + 0.03
  179. --if mes ~= nil then
  180. --mp.Scale = Vector3.new(i,mag,i) else
  181. mp.Scale = Vector3.new(i,i,1) -- end
  182. wait()
  183. end
  184. np:Remove()
  185. end))
  186. wait(0.08)
  187. end
  188. end))
  189. end)
  190. end
  191. Sounds = {
  192. Boom = "http://www.roblox.com/asset/?id=16976189";
  193. SniperFire = "http://www.roblox.com/asset/?id=1369158";
  194. ShotgunFire2 = "http://www.roblox.com/asset/?id=1868836";
  195. MinigunFire = "http://www.roblox.com/asset/?id=2692806";
  196. MinigunCharge = "http://www.roblox.com/asset/?id=2692844";
  197. MinigunDischarge = "http://www.roblox.com/asset/?id=1753007";
  198. Flashbang = "http://www.roblox.com/asset/?id=16976189";
  199. Beep = "http://www.roblox.com/asset/?id=15666462";
  200. Smash = "http://www.roblox.com/asset/?id=2801263";
  201. Punch = "http://www.roblox.com/asset/?id=31173820";
  202. Slash = "rbxasset://sounds/swordslash.wav";
  203. Falcon = "http://www.roblox.com/asset/?id=1387390";
  204. Cast = "http://www.roblox.com/asset/?id=2101137";
  205. Spin = "http://www.roblox.com/asset/?id=1369159";
  206. Abscond = "http://www.roblox.com/asset/?id=2767090";
  207. ElectricalCharge = "http://www.roblox.com/asset/?id=2800815";
  208. FireExplosion = "http://www.roblox.com/asset/?id=3264793";
  209. SaberLightUp = "http://www.roblox.com/asset/?id=10209303";
  210. SaberSlash = "http://www.roblox.com/asset/?id=10209280";
  211. SaberHit = "http://www.roblox.com/asset/?id=44463749";
  212. EnergyBlast = "http://www.roblox.com/asset/?id=10209268";
  213. }
  214. function Sound(sid,pit,vol)
  215. local ss = Instance.new("Sound")
  216. ss.Name = "Sound"
  217. ss.Parent = Head
  218. ss.SoundId = sid
  219. ss.Pitch = pit
  220. ss.Volume = vol
  221. ss.PlayOnRemove = true
  222. wait()
  223. ss:Remove()
  224. end
  225.  
  226.  
  227. r(Char,"SwordPack")
  228. r(Char,"Suit")
  229. r(Char,"Saber" ..Player.Name)
  230. r(Pg,"Sabers")
  231. Suit = inew("Model")
  232. Suit.Name = "Suit"
  233. Suit.Parent = Char
  234. function p(pa,sh,x,y,z,c,a,tr,re,bc)
  235. local fp = it("Part",pa)
  236. fp.formFactor = "Custom"
  237. fp.Shape = sh
  238. fp.Size = v3(x,y,z)
  239. fp.CanCollide = c
  240. fp.Anchored = a
  241. fp.BrickColor = br(bc)
  242. fp.Transparency = tr
  243. fp.Reflectance = re
  244. fp.BottomSurface = 0
  245. fp.TopSurface = 0
  246. fp.CFrame = Torso.CFrame
  247. fp:BreakJoints()
  248. return fp
  249. end
  250. function weld(pa,p0,p1,x,y,z,a,b,c)
  251. local fw = it("Weld",pa)
  252. fw.Part0 = p0
  253. fw.Part1 = p1
  254. fw.C0 = cf(x,y,z) *ca(a,b,c)
  255. return fw
  256. end
  257. function ft(tab,nam)
  258. if tab == nil or nam == nil then print("U: Fail table") return false end
  259. for i=1,#tab do
  260. if tab == nam then
  261. return i
  262. else
  263. end
  264. end
  265. return nil
  266. end
  267. function spm(ty,pa,ssx,ssy,ssz)
  268. local sp = it("SpecialMesh",pa)
  269. sp.MeshType = ty
  270. sp.Scale = Vector3.new(ssx,ssy,ssz)
  271. return sp
  272. end
  273. Torso.Transparency = 1
  274. Torm = Instance.new("Model",Char)
  275. Torm.Name = "Saber" ..Player.Name
  276. Tor = p(Torm,"Block",1.98,1.98,1,false,false,0,0,"basda") Tor.Name = "Torso"
  277. Torw = weld(Tor,Torso,Tor,0,0,0,0,0,0)
  278. pcall(function() Char.Shirt:Clone().Parent = Torm end)
  279. pcall(function() Char.Pants:Clone().Parent = Torm end)
  280. function ShockWave(onb,scale,col)
  281. coroutine.resume(coroutine.create(function()
  282. local e1 = Instance.new("Part")
  283. e1.Anchored = true
  284. e1.formFactor = "Custom"
  285. e1.CanCollide = false
  286. e1.Size = Vector3.new(1,1,1)
  287. e1.BrickColor = BrickColor.new(col)
  288. e1.Transparency = 0.6
  289. e1.TopSurface = 0
  290. e1.BottomSurface = 0
  291. e1.Parent = Torm
  292. e1.CFrame = onb.CFrame
  293. e1.CFrame = e1.CFrame *CFrame.Angles(math.rad(-90),0,0)
  294. local e1m = Instance.new("SpecialMesh")
  295. e1m.MeshType = "FileMesh"
  296. e1m.Scale = Vector3.new(3,3,3)
  297. e1m.Parent = e1
  298. e1m.MeshId = RingMesh.MeshId
  299. local r1 = Instance.new("Part")
  300. r1.Anchored = true
  301. r1.formFactor = "Custom"
  302. r1.CanCollide = false
  303. r1.Size = Vector3.new(1,1,1)
  304. r1.BrickColor = BrickColor.new(col)
  305. r1.Transparency = 0.6
  306. r1.TopSurface = 0
  307. r1.BottomSurface = 0
  308. r1.Parent = Torm
  309. r1.CFrame = e1.CFrame *CFrame.Angles(math.rad(90),0,0)
  310. local r1m = Instance.new("SpecialMesh")
  311. r1m.MeshType = "FileMesh"
  312. r1m.Scale = Vector3.new(3,3,3)
  313. r1m.Parent = r1
  314. r1m.MeshId = BlastMesh.MeshId
  315. for i=1,30 do
  316. local pluscal = scale/38
  317. e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  318. r1m.Scale = r1m.Scale + Vector3.new(pluscal/1.5,pluscal/3,pluscal/1.5)
  319. r1.CFrame = r1.CFrame * CFrame.Angles(0,math.rad(6),0)
  320. wait()
  321. end
  322. for i=1,30 do
  323. local pluscal = scale/38
  324. e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  325. r1m.Scale = r1m.Scale + Vector3.new(pluscal/1.5,pluscal/4,pluscal/1.5)
  326. r1.CFrame = r1.CFrame * CFrame.Angles(0,math.rad(6),0)
  327. e1.Transparency = e1.Transparency + 0.1
  328. r1.Transparency = r1.Transparency + 0.1
  329. wait()
  330. end
  331. e1:Remove()
  332. r1:Remove()
  333. end))
  334. end
  335.  
  336. function Explode(onb,scale,col)
  337. coroutine.resume(coroutine.create(function()
  338. local e1 = Instance.new("Part")
  339. e1.Anchored = true
  340. e1.formFactor = "Custom"
  341. e1.CanCollide = false
  342. e1.Size = Vector3.new(1,1,1)
  343. e1.BrickColor = BrickColor.new(col)
  344. e1.Transparency = 0.6
  345. e1.TopSurface = 0
  346. e1.BottomSurface = 0
  347. e1.Parent = Torm
  348. e1.CFrame = onb.CFrame
  349. local e1m = Instance.new("SpecialMesh")
  350. e1m.MeshType = "Sphere"
  351. e1m.Parent = e1
  352. local r1 = Instance.new("Part")
  353. r1.Anchored = true
  354. r1.formFactor = "Custom"
  355. r1.CanCollide = false
  356. r1.Size = Vector3.new(1,1,1)
  357. r1.BrickColor = BrickColor.new(col)
  358. r1.Transparency = 0.6
  359. r1.TopSurface = 0
  360. r1.BottomSurface = 0
  361. r1.Parent = Torm
  362. r1.CFrame = e1.CFrame *CFrame.Angles(math.rad(180),0,0)
  363. local r1m = Instance.new("SpecialMesh")
  364. r1m.MeshType = "FileMesh"
  365. r1m.Scale = Vector3.new(3,3,3)
  366. r1m.Parent = r1
  367. r1m.MeshId = RingMesh.MeshId
  368. local r2 = Instance.new("Part")
  369. r2.Anchored = true
  370. r2.formFactor = "Custom"
  371. r2.CanCollide = false
  372. r2.Size = Vector3.new(1,1,1)
  373. r2.BrickColor = BrickColor.new(col)
  374. r2.Transparency = 0.6
  375. r2.TopSurface = 0
  376. r2.BottomSurface = 0
  377. r2.Parent = Torm
  378. r2.CFrame = e1.CFrame *CFrame.Angles(0,math.rad(180),0)
  379. local r2m = Instance.new("SpecialMesh")
  380. r2m.MeshType = "FileMesh"
  381. r2m.Parent = r2
  382. r2m.Scale = Vector3.new(3,3,3)
  383. r2m.MeshId = RingMesh.MeshId
  384. local bla = Instance.new("Part")
  385. bla.Anchored = true
  386. bla.formFactor = "Custom"
  387. bla.CanCollide = false
  388. bla.Size = Vector3.new(1,1,1)
  389. bla.BrickColor = BrickColor.new(col)
  390. bla.Transparency = 0.6
  391. bla.TopSurface = 0
  392. bla.BottomSurface = 0
  393. bla.Parent = Torm
  394. bla.CFrame = CFrame.new(e1.Position.x,e1.Position.y,e1.Position.z)
  395. local blam = Instance.new("SpecialMesh")
  396. blam.MeshType = "FileMesh"
  397. blam.Parent = bla
  398. blam.Scale = Vector3.new(5,5,5)
  399. blam.MeshId = BlastMesh.MeshId
  400. for i=1,30 do
  401. local pluscal = scale/38
  402. e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  403. r1m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  404. r2m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  405. blam.Scale = blam.Scale + Vector3.new(pluscal,pluscal/2,pluscal)
  406. bla.CFrame = bla.CFrame * CFrame.Angles(0,math.rad(12),0)
  407. r1.CFrame = r1.CFrame * CFrame.Angles(math.rad(6),0,0)
  408. r2.CFrame = r2.CFrame * CFrame.Angles(0,math.rad(6),0)
  409. wait()
  410. end
  411. for i=1,30 do
  412. local pluscal = scale/38
  413. e1m.Scale = e1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  414. r1m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  415. r2m.Scale = r1m.Scale + Vector3.new(pluscal,pluscal,pluscal)
  416. blam.Scale = blam.Scale + Vector3.new(pluscal/1.5,pluscal/3,pluscal/1.5)
  417. bla.CFrame = bla.CFrame * CFrame.Angles(0,math.rad(12),0)
  418. r1.CFrame = r1.CFrame * CFrame.Angles(math.rad(6),0,0)
  419. r2.CFrame = r2.CFrame * CFrame.Angles(0,math.rad(6),0)
  420. bla.Transparency = bla.Transparency + 0.1
  421. e1.Transparency = e1.Transparency + 0.1
  422. r1.Transparency = r1.Transparency + 0.1
  423. r2.Transparency = r2.Transparency + 0.1
  424. wait()
  425. end
  426. e1:Remove()
  427. r1:Remove()
  428. r2:Remove()
  429. end))
  430. end
  431. H1 = p(Torm,"Block",0.5,0.9,0.5,false,false,0,0.1,"Medium stone grey") spm("Head",H1,1,1.3,1)
  432. H1w = weld(Tor,Torso,H1,0.4,-0.7,0.5,0,0,mr(45))
  433. H2 = p(Torm,"Block",0.5,0.9,0.5,false,false,0,0.1,"Medium stone grey") spm("Head",H2,1,1.3,1)
  434. H2w = weld(Tor,H1,H2,0,-0.8,0,mr(180),0,0)
  435. Des1 = p(Torm,"Block",0.6,0.1,0.6,false,false,0,0.1,"Black") Instance.new("CylinderMesh",Des1)
  436. Des1w = weld(Tor,H1,Des1,0,0.5,0,0,0,0)
  437. Des2 = p(Torm,"Block",0.6,0.1,0.6,false,false,0,0.1,"Black") Instance.new("CylinderMesh",Des2)
  438. Des2w = weld(Tor,H2,Des2,0,0.5,0,0,0,0)
  439. Des21 = p(Torm,"Block",0.6,0.1,0.6,false,false,0,0.1,"Black") Des21m = Instance.new("CylinderMesh",Des21) Des21m.Scale = Vector3.new(1,0.6,1)
  440. Des21w = weld(Tor,H1,Des21,0,-0.55,0,0,0,0)
  441. Des22 = p(Torm,"Block",0.6,0.1,0.6,false,false,0,0.1,"Black") Des22m = Instance.new("CylinderMesh",Des22) Des22m.Scale = Vector3.new(1,0.6,1)
  442. Des22w = weld(Tor,H2,Des22,0,-0.55,0,0,0,0)
  443.  
  444. Blad1 = p(Torm,"Block",0.3,4,0.3,false,false,1,0.25,BladeColor) M1 = spm("Head",Blad1,1,1,1)
  445. Blad1w = weld(Tor,H1,Blad1,0,1.9,0,0,0,0)
  446. Blad2 = p(Torm,"Block",0.3,4,0.3,false,false,1,0.25,BladeColor) M2 = spm("Head",Blad2,1,1,1)
  447. Blad2w = weld(Tor,H2,Blad2,0,1.9,0,0,0,0)
  448. Glow1 = p(Torm,"Block",0.47,4.2,0.47,false,false,1,0,BladeColor) GM1 = spm("Head",Glow1,1,1,1)
  449. Glow1w = weld(Tor,H1,Glow1,0,1.9,0,0,0,0)
  450. Glow2 = p(Torm,"Block",0.47,4.2,0.47,false,false,1,0,BladeColor) GM2 = spm("Head",Glow2,1,1,1)
  451. Glow2w = weld(Tor,H2,Glow2,0,1.9,0,0,0,0)
  452.  
  453. r(Bp,HopperName)
  454. bin = inew("HopperBin")
  455. bin.Name = HopperName
  456. bin.Parent = Bp
  457.  
  458. Gui = Instance.new("ScreenGui",Pg)
  459. Gui.Name = "Sabers"
  460. Frame = Instance.new("Frame",Gui)
  461. Frame.BackgroundTransparency = 1 Frame.Size = UDim2.new(1,0,1,0)
  462. ImageGui = Instance.new("ImageLabel",Frame)
  463. ImageGui.Image = "http://www.roblox.com/asset/?id=51262246"
  464. ImageGui.BackgroundTransparency = 1
  465. ImageGui.Size = UDim2.new(0.3,0,0.075,0)
  466. HealthBar = Instance.new("ImageLabel",Frame)
  467. HealthBar.Image = "http://www.roblox.com/asset/?id=48965808"
  468. HealthBar.BorderSizePixel = 0
  469. HealthBar.Size = UDim2.new(0.23,0,0.017,0)
  470. HealthBar.Position = UDim2.new(0.06,0,0.017,0)
  471. RageBar = Instance.new("ImageLabel",Frame)
  472. RageBar.Image = "http://www.roblox.com/asset/?id=48965808"
  473. RageBar.BorderSizePixel = 0
  474. RageBar.Size = UDim2.new(0.165,0,0.012,0)
  475. RageBar.Position = UDim2.new(0.06,0,0.04,0)
  476. RageBar.BackgroundColor3 = BrickColor.new("Alder").Color
  477. SelectBar = Instance.new("ImageButton",Frame)
  478. SelectBar.Image = "http://www.roblox.com/asset/?id=48965808"
  479. SelectBar.BorderSizePixel = 0
  480. SelectBar.Size = UDim2.new(0.1,0,0.07,0)
  481. SelectBar.Position = UDim2.new(0.8,0,0.6,0)
  482. SelectBar.BackgroundColor3 = BrickColor.new(BladeColor).Color
  483. SelectrBar = Instance.new("TextLabel",SelectBar)
  484. SelectrBar.BackgroundTransparency = 1
  485. SelectrBar.BorderSizePixel = 0
  486. SelectrBar.Size = UDim2.new(0,0,0,0)
  487. SelectrBar.Position = UDim2.new(0.5,0,0.5,0)
  488. SelectrBar.Font = "ArialBold"
  489. SelectrBar.FontSize = "Size18"
  490. SelectBar.MouseButton1Up:connect(function()
  491. if Anim.Move ~= "None" then return end
  492. if Anim.Act == true then return end
  493. if Anim.Equipped == false then return end
  494. if SwordType == "Single" then
  495. Anim.Move = "Changing"
  496. Anims.ChangeToDual(0,1,0.065*Speed) SwordType = "Dual"
  497. Anim.Move = "None"
  498. else
  499. Anim.Move = "Changing"
  500. Anims.ChangeToSingle(0,1,0.065*Speed) SwordType = "Single"
  501. Anim.Move = "None"
  502. end
  503. end)
  504. coroutine.resume(coroutine.create(function()
  505. while true do
  506. wait(0.05)
  507. local hh = Hum.Health local hmh = Hum.MaxHealth
  508. HealthBar.Size = UDim2.new((hh/hmh)*0.23,0,0.017,0)
  509. if ((hh/hmh)*100) > 75 then
  510. HealthBar.BackgroundColor3 = BrickColor.new("Alder").Color
  511. elseif ((hh/hmh)*100) > 25 and ((hh/hmh)*100) < 76 then
  512. HealthBar.BackgroundColor3 = BrickColor.new("Deep orange").Color
  513. elseif ((hh/hmh)*100) < 26 then
  514. HealthBar.BackgroundColor3 = BrickColor.new("Bright red").Color
  515. end
  516. RageBar.Size = UDim2.new((Rage/MaxRage)*0.165,0,0.012,0)
  517. SelectrBar.Text = SwordType
  518. end
  519. end))
  520. -------
  521. function TellXPos(brick1,posd)
  522. local lb = p(nil,"Block",1,1,1,true,false,1,0.1,BladeColor)
  523. lb.CFrame = CFrame.new((brick1.CFrame *cf(-10,0,0)).p)
  524. local rb = p(nil,"Block",1,1,1,true,false,1,0.1,BladeColor)
  525. rb.CFrame = CFrame.new((brick1.CFrame *cf(10,0,0)).p)
  526. local posml = math.abs((posd - rb.Position).magnitude)
  527. local posmr = math.abs((posd - lb.Position).magnitude)
  528. if posml > posmr then
  529. return "left"
  530. else
  531. return "right"
  532. end
  533. end
  534. function GetNearPlayer(urpos,maxmag)
  535. if maxmag == nil then return nil end
  536. for i,v in pairs(game.Players:GetChildren()) do
  537. if v.Character ~= Char and v.Character ~= nil and v.Character:findFirstChild("Torso") ~= nil and math.abs((v.Character.Torso.Position-urpos).magnitude) < maxmag then
  538. return v.Character.Torso
  539. end
  540. end
  541. return nil
  542. end
  543. function Dmgz(hum,dmg)
  544. dmg = dmg*Props.Buff
  545. hum.Health = hum.Health - dmg
  546. Rage = Rage + ((dmg/1.25)*RageIncome)
  547. if Rage > MaxRage then Rage = MaxRage end
  548. end
  549. coroutine.resume(coroutine.create(function()
  550. while true do
  551. wait()
  552. if Right == true and Anim.Move == "ForceWave" then
  553. for i,v in pairs(workspace:GetChildren()) do
  554. coroutine.resume(coroutine.create(function()
  555. if v ~= Char and v ~= nil and v:findFirstChild("Torso") ~= nil and math.abs((v.Torso.Position-Blad2.Position).magnitude) < MagnitudeHit[Anim.Move] then
  556. local hit = v.Torso
  557. if hit ~= nil and hit.Parent:findFirstChild("Humanoid") ~= nil and ft(RightDebounce,hit.Parent.Name) == nil then
  558. Dmgz(hit.Parent.Humanoid,Damage[Anim.Move])
  559. table.insert(RightDebounce,hit.Parent.Name)
  560. wait(DebounceSpeed) local nf = ft(RightDebounce,hit.Parent.Name) if nf ~= nil then table.remove(RightDebounce,nf) end
  561. end
  562. else
  563. if v:IsA("BasePart") and v.Anchored == false and math.abs((v.Position-Blad2.Position).magnitude) < MagnitudeHit[Anim.Move] then v:BreakJoints() v.Velocity = cf(Blad2.Position,v.Position).lookVector*30 + Vector3.new(0,20,0) end
  564. end
  565. end))
  566. end -- for
  567. end
  568. end
  569. end))
  570. Blad1.Touched:connect(function(hit)
  571. if Left == true then
  572. if hit ~= nil and hit.Parent:findFirstChild("Humanoid") ~= nil and ft(LeftDebounce,hit.Parent.Name) == nil then
  573. coroutine.resume(coroutine.create(function()
  574. table.insert(LeftDebounce,hit.Parent.Name)
  575. wait(DebounceSpeed) local nf = ft(LeftDebounce,hit.Parent.Name) if nf ~= nil then table.remove(LeftDebounce,nf) end
  576. end))
  577. Sound(Sounds.SaberHit,1,1)
  578. Dmgz(hit.Parent.Humanoid,Damage[Anim.Move])
  579. else
  580. --if hit.Parent:findFirstChild("Humanoid") == nil and not hit:IsDescendantOf(Char) and hit.Anchored == false then hit:BreakJoints() hit.Velocity = cf(Blad1.Position,hit.Position).lookVector*30 end
  581. end
  582. end
  583. end)
  584.  
  585. Blad2.Touched:connect(function(hit)
  586. if Right == true then
  587. if hit ~= nil and hit.Parent:findFirstChild("Humanoid") ~= nil and ft(RightDebounce,hit.Parent.Name) == nil then
  588. coroutine.resume(coroutine.create(function()
  589. table.insert(RightDebounce,hit.Parent.Name)
  590. wait(DebounceSpeed) local nf = ft(RightDebounce,hit.Parent.Name) if nf ~= nil then table.remove(RightDebounce,nf) end
  591. end))
  592. Sound(Sounds.SaberHit,1,1)
  593. Dmgz(hit.Parent.Humanoid,Damage[Anim.Move])
  594. else
  595. --if hit.Parent:findFirstChild("Humanoid") == nil and not hit:IsDescendantOf(Char) and hit.Anchored == false then hit:BreakJoints() hit.Velocity = cf(Blad2.Position,hit.Position).lookVector*30 end
  596. end
  597. end
  598. end)
  599. LW = inew("Weld")
  600. RW = inew("Weld")
  601. Fla = p(Torm,"Block",1,2,1,false,false,1,0,BladeColor)
  602. Fra = p(Torm,"Block",1,2,1,false,false,1,0,BladeColor)
  603. Flaw = fWeld("Weld",Fla,Tor,Fla,true,-1.5,0.5,0,0,0,0)
  604. Fraw = fWeld("Weld",Fla,Tor,Fra,true,1.5,0.5,0,0,0,0)
  605. Flaw.C1 = CFrame.new(0,0.5,0)
  606. Fraw.C1 = CFrame.new(0,0.5,0)
  607.  
  608. Fll = p(Torm,"Block",1,2,1,false,false,1,0,BladeColor)
  609. Frl = p(Torm,"Block",1,2,1,false,false,1,0,BladeColor)
  610. Fllw = fWeld("Weld",Fll,Torso,Fll,true,0,0,0,0,0,0)
  611. Frlw = fWeld("Weld",Fll,Torso,Frl,true,0,0,0,0,0,0)
  612.  
  613. function FeetWeld(yesorno,lhh,rhh)
  614. if yesorno == false then
  615. lhh.Parent = nil
  616. rhh.Parent = nil
  617. Lh.Parent = Torso
  618. Rh.Parent = Torso
  619. Lh.Part0 = Tor
  620. Rh.Part0 = Tor
  621. Lh.Part1 = Char["Left Leg"]
  622. Rh.Part1 = Char["Right Leg"]
  623. return Lh,Rh
  624. else
  625. Rh.Parent = nil
  626. Lh.Parent = nil
  627. local hl,hr = it("Weld",Torso),it("Weld",Torso)
  628. hl.Part0 = Fll
  629. hr.Part0 = Frl
  630. hl.Part1 = Char["Left Leg"]
  631. hr.Part1 = Char["Right Leg"]
  632. hr.C1 = cf(-0.5,1.75,0)
  633. hl.C1 = cf(0.5,1.75,0)
  634. return hl,hr
  635. end
  636. end
  637. Anims = {}
  638. Anims.Equip = function(i1,i2,is)
  639. Anim.Act = true
  640. for i=i1,i2,is do
  641. RW.C1 = ca(mr(40*i),mr(20*i),0)
  642. RW.C0 = cf(-0.4*i,-0.1*i,0.4*i)
  643. wait()
  644. end
  645. H1w.Part0 = Ra
  646. H1w.Part1 = H1
  647. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(180),0) H1w.C1 = ca(mr(-90),0,0)
  648. Sound(Sounds.Slash,1,1)
  649. for i=i1,i2,is do
  650. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(90+(270*i)),0)
  651. LW.C1 = ca(mr(-80*i),mr(40*i),0)
  652. LW.C0 = cf(0.6*i,0.3*i,-1*i)
  653. RW.C1 = ca(mr(40+(-120*i)),mr(20+(-60*i)),0)
  654. RW.C0 = cf(-0.4+(-0.2*i),-0.1+(0.4*i),0.4+(-1.4*i))
  655. wait()
  656. end
  657. Sound(Sounds.SaberLightUp,3,1)
  658. for i=i1,i2,is do
  659. Blad1w.C0 = cf(0,0.95+(0.95*i),0)
  660. Blad2w.C0 = cf(0,0.95+(0.95*i),0)
  661. M1.Scale = Vector3.new(1,1*i,1)
  662. M2.Scale = Vector3.new(1,1*i,1)
  663. Blad1.Transparency = 0.9-(1*i)
  664. Blad2.Transparency = 0.9-(1*i)
  665. Glow1w.C0 = cf(0,0.95+(0.95*i),0)
  666. Glow2w.C0 = cf(0,0.95+(0.95*i),0)
  667. GM1.Scale = Vector3.new(1,1*i,1)
  668. GM2.Scale = Vector3.new(1,1*i,1)
  669. Glow1.Transparency = 1.05-(0.5*i)
  670. Glow2.Transparency = 1.05-(0.5*i)
  671. wait()
  672. end
  673. Anim.Act = false
  674. end
  675. Anims.UnEquip = function(i1,i2,is)
  676. Anim.Act = true
  677. Sound(Sounds.SaberLightUp,3,1)
  678. for i=i1,i2,is do
  679. Blad1w.C0 = cf(0,0.95+(0.95*i),0)
  680. Blad2w.C0 = cf(0,0.95+(0.95*i),0)
  681. M1.Scale = Vector3.new(1,1*i,1)
  682. M2.Scale = Vector3.new(1,1*i,1)
  683. Blad1.Transparency = 0.9-(1*i)
  684. Blad2.Transparency = 0.9-(1*i)
  685. Glow1w.C0 = cf(0,0.95+(0.95*i),0)
  686. Glow2w.C0 = cf(0,0.95+(0.95*i),0)
  687. GM1.Scale = Vector3.new(1,1*i,1)
  688. GM2.Scale = Vector3.new(1,1*i,1)
  689. Glow1.Transparency = 1.05-(0.5*i)
  690. Glow2.Transparency = 1.05-(0.5*i)
  691. wait()
  692. end
  693. Sound(Sounds.Slash,1,1)
  694. for i=i1,i2,is do
  695. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(90+(270*i)),0)
  696. LW.C1 = ca(mr(-80*i),mr(40*i),0)
  697. LW.C0 = cf(0.6*i,0.3*i,-1*i)
  698. RW.C1 = ca(mr(40+(-120*i)),mr(20+(-60*i)),0)
  699. RW.C0 = cf(-0.4+(-0.2*i),-0.1+(0.4*i),0.4+(-1.4*i))
  700. wait()
  701. end
  702. H1w.Part0 = Torso
  703. H1w.Part1 = H1
  704. H1w.C0 = cf(0.4,-0.7,0.5) *ca(0,0,mr(45))
  705. H1w.C1 = cf(0,0,0) *ca(0,0,0)
  706. for i=i1,i2,is do
  707. RW.C1 = ca(mr(40*i),mr(20*i),0)
  708. RW.C0 = cf(-0.4*i,-0.1*i,0.4*i)
  709. wait()
  710. end
  711. Anim.Act = false
  712. end
  713. Anims.ChangeToDual = function(i1,i2,is)
  714. Anim.Act = true
  715. for i=i1,i2,is*Speed do
  716. H1w.C0 = cf(0,-1.1,0) *ca(mr(-80*i),mr(50*i),0)
  717. wait()
  718. end
  719. Sound(Sounds.SaberHit,1,1)
  720. Sound(Sounds.SaberLightUp,2,0.5)
  721. H1w.Part0 = La
  722. H1w.Part1 = H1
  723. H2w.Part0 = Ra
  724. H2w.Part1 = H2
  725. H2w.C1 = ca(mr(-90),0,0)
  726. for i=i1,i2,is*Speed do
  727. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(-90+(-90*i)),mr(20+(-20*i)))
  728. H2w.C0 = cf(0,-1.1,0) *ca(0,mr(90+(90*i)),mr(-35+(-35*i)))
  729. LW.C1 = ca(mr(-80+(20*i)),mr(40+(-70*i)),0)
  730. LW.C0 = cf(0.6+(-0.6*i),0.3+(-0.3*i),-1+(0.5*i))
  731. RW.C1 = ca(mr(-80+(20*i)),mr(-40+(70*i)),0)
  732. RW.C0 = cf(-0.6+(0.6*i),0.3+(-0.3*i),-1+(0.5*i))
  733. wait()
  734. end
  735. Anim.Act = false
  736. end
  737. Anims.ChangeToSingle = function(i1,i2,is)
  738. Anim.Act = true
  739. for i=i2,i1,-is*Speed do
  740. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(-90+(-90*i)),mr(20+(-20*i)))
  741. H2w.C0 = cf(0,-1.1,0) *ca(0,mr(90+(90*i)),mr(-35+(-35*i)))
  742. LW.C1 = ca(mr(-80+(20*i)),mr(40+(-70*i)),0)
  743. LW.C0 = cf(0.6+(-0.6*i),0.3+(-0.3*i),-1+(0.5*i))
  744. RW.C1 = ca(mr(-80+(20*i)),mr(-40+(70*i)),0)
  745. RW.C0 = cf(-0.6+(0.6*i),0.3+(-0.3*i),-1+(0.5*i))
  746. wait()
  747. end
  748. H1w.Part0 = Ra
  749. H1w.Part1 = H1
  750. H2w.Part0 = H1
  751. H2w.Part1 = H2
  752. H2w.C1 = ca(0,0,0)
  753. H2w.C0 = cf(0,-0.8,0) *ca(mr(180),0,0)
  754. Sound(Sounds.SaberLightUp,2,0.5)
  755. Sound(Sounds.SaberHit,1,1)
  756. for i=i2,i1,-is*Speed do
  757. H1w.C0 = cf(0,-1.1,0) *ca(mr(-80*i),mr(50*i),0)
  758. wait()
  759. end
  760. Anim.Act = false
  761. end
  762. Anims.RotorBlade = function(i1,i2,is,RaigCost)
  763. local lolpos = (Torso.Position - mouse.hit.p).unit
  764. local allx = (lolpos.y*80)-10
  765. local ally = (((mouse.X-(mouse.ViewSizeX/2))/mouse.ViewSizeX)*1.8)*-90
  766. Anim.Act = true
  767. for i=i1,i2,is do
  768. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(40+(-40*i)),0)
  769. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(90*i),0)
  770. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(-40+(40*i)),0)
  771. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(((-90)+ally)*i),0)
  772. Torw.C1 = ca(0,mr(-90*i),0)
  773. wait()
  774. end
  775. DebounceSpeed = DebounceSpeed - (0.5*Speed)
  776. Hum.WalkSpeed = Hum.WalkSpeed + (8*Speed)
  777. Left = true
  778. Right = true
  779. Dash(Blad1,2/Speed,nil,2)
  780. Dash(Blad2,2/Speed,nil,2)
  781. H1w.C0 = cf(0,-1.1,0) *ca(0,0,0) H1w.C1 = cf(0,-0.4,0) *ca(mr(-90),0,0)
  782. local soundtime = 0
  783. for i=i1,i2*4,is do
  784. if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
  785. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(360*i),0)
  786. wait()
  787. end
  788. H1w.C0 = cf(0,-1.1,0) *ca(0,0,0) H1w.C1 = cf(0,0,0) *ca(mr(-90),0,0)
  789. DebounceSpeed = DebounceSpeed + (0.5*Speed)
  790. Hum.WalkSpeed = Hum.WalkSpeed - (8*Speed)
  791. Left = false
  792. Right = false
  793. for i=i2,i1,-is do
  794. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(40+(-40*i)),0)
  795. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(90*i),0)
  796. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(-40+(40*i)),0)
  797. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(((-90)+ally)*i),0)
  798. Torw.C1 = ca(0,mr(-90*i),0)
  799. wait()
  800. end
  801. Torw.C1 = ca(0,0,0)
  802. Anim.Act = false
  803. end
  804. -------
  805. Anims.Boomerang = function(i1,i2,is,RaigCost)
  806. MinusRage(RaigCost)
  807. local lolpos = (Head.Position - mouse.hit.p).unit
  808. local allx = (lolpos.y*80)-10
  809. Anim.Act = true
  810. for i=i1,i2,is do
  811. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(40+(-40*i)),0)
  812. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(60*i),0)
  813. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(-40+(40*i)),0)
  814. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-60*i),0)
  815. Torw.C1 = ca(0,mr(-60*i),0)
  816. H1w.C0 = cf(0,-1.1,0) *ca(mr(80*i),0,0)
  817. wait()
  818. end
  819. DebounceSpeed = DebounceSpeed - (0.5*Speed)
  820. Left = true
  821. Right = true
  822. Dash(Blad1,3.8/Speed,nil,2)
  823. Dash(Blad2,3.8/Speed,nil,2)
  824. H1w.C0 = cf(0,-1.1,0) *ca(0,0,0) H1w.C1 = cf(0,-0.4,0) *ca(mr(-90),0,0)
  825. local soundtime = 0
  826. for i=i1,i2,is/2 do
  827. if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
  828. H1w.C0 = cf(10*i,-1.1+(-15*i),0) *ca(mr(90),mr(720*i),0)
  829. wait()
  830. end
  831. for i=i1,i2,is/2 do
  832. if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
  833. H1w.C0 = cf(10+(-20*i),-16.1,0) *ca(mr(90),mr(720*i),0)
  834. wait()
  835. end
  836. for i=i1,i2,is/2 do
  837. if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end
  838. H1w.C0 = cf(-10+(10*i),-16.1+(15*i),0) *ca(mr(90),mr(720*i),0)
  839. wait()
  840. end
  841. H1w.C0 = cf(0,-1.1,0) *ca(0,0,0) H1w.C1 = cf(0,0,0) *ca(mr(-90),0,0)
  842. DebounceSpeed = DebounceSpeed + (0.5*Speed)
  843. Left = false
  844. Right = false
  845. for i=i2,i1,-is do
  846. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(40+(-40*i)),0)
  847. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(60*i),0)
  848. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(allx*i)),mr(-40+(40*i)),0)
  849. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-60*i),0)
  850. Torw.C1 = ca(0,mr(-60*i),0)
  851. H1w.C0 = cf(0,-1.1,0) *ca(mr(80*i),0,0)
  852. wait()
  853. end
  854. Torw.C1 = ca(0,0,0)
  855. Anim.Act = false
  856. end
  857. Anims.BoulderForce = function(i1,i2,is,RaigCost)
  858. MinusRage(RaigCost)
  859. Anim.Act = true
  860. for i=i1,i2,is do
  861. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(40+(-40*i)),0)
  862. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(50*i),0)
  863. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(-40+(40*i)),0)
  864. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-50*i),0)
  865. Torw.C1 = ca(0,mr(50*i),0)
  866. wait()
  867. end
  868. local bould = p(workspace,"Block",4,4,8,true,true,0,0,"Medium stone grey") bould.Name = "Boulder" bould.Material = "Concrete"
  869. local rm = RockMesh:Clone() rm.Scale = Vector3.new(3,3,4.8) rm.Parent = bould
  870. bould.Elasticity = 0 bould.Friction = 2 bould.CFrame = cf(Torso.Position.x+(math.random(-14,14)),Torso.Position.y-5,Torso.Position.z+(math.random(-14,14))) *CFrame.Angles(math.random(-33,33)/10,math.random(-33,33)/10,math.random(-33,33)/10)
  871. local warpdes = true
  872. local bpos = bould.Position
  873. Sound(Sounds.Cast,0.95,0.8)
  874. coroutine.resume(coroutine.create(function() repeat Functions.BrickWarpDesign(bould,9) wait() until warpdes == false end))
  875. for i=0,1,0.08 do bould.CFrame = CFrame.new(bpos.x,bpos.y,bpos.z) + Vector3.new(0,20*i,0) wait() end wait(1) bould.CFrame = CFrame.new(bpos.x,bpos.y+20,bpos.z) bould.CFrame = cf(bould.Position,mouse.hit.p)
  876. bould.Anchored = false wait() bould.Velocity = bould.CFrame.lookVector *(math.random(180,350)) bould.Touched:connect(function(hit) Functions.BoulderTouch(hit,bould) end)
  877. wait(0.5)
  878. warpdes = false
  879. game.Debris:AddItem(bould,10)
  880. for i=i2,i1,-is do
  881. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(40+(-40*i)),0)
  882. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(50*i),0)
  883. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(-40+(40*i)),0)
  884. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-50*i),0)
  885. Torw.C1 = ca(0,mr(50*i),0)
  886. wait()
  887. end
  888. Torw.C1 = ca(0,0,0)
  889. Anim.Act = false
  890. end
  891. Anims.ForceWave = function(i1,i2,is,RaigCost)
  892. local Hit, hitpos = rayCast(Torso.Position,((Torso.Position - Vector3.new(0,10000,0)) - Torso.Position),999.999,Player.Character)
  893. if Hit == nil then Anim.Act = false return end
  894. MinusRage(RaigCost)
  895. Anim.Act = true
  896. lh2,rh2 = FeetWeld(true,Lh,Rh)
  897. local bp2 = Instance.new("BodyPosition",Torso)
  898. bp2.maxForce = Vector3.new(0,math.huge,0)
  899. Humanoid.WalkSpeed = Humanoid.WalkSpeed - (RealSpeed-4)
  900. DebounceSpeed = DebounceSpeed + (1.1*Speed)
  901. bp2.position = Torso.Position + Vector3.new(0,25,0)
  902. Dash(Blad1,2.5/Speed)
  903. Dash(Blad2,2.5/Speed)
  904. local wav = p(Torm,"Block",0.1,0.1,0.1,true,false,0.3,0,BladeColor) wav.Anchored = true
  905. local wavm = BlastMesh:Clone()
  906. wavm.Parent = wav
  907. wavm.Scale = Vector3.new(15,6,15)
  908. local cff = Torso.CFrame - Vector3.new(0,0,0)
  909. coroutine.resume(coroutine.create(function()
  910. Dash(Blad1,4/Speed)
  911. Dash(Blad2,4/Speed)
  912. for i=i1,i2,is*Speed do
  913. LW.C1 = ca(mr(-80+(-100*i)),mr(40-(40*i)),mr(45*i))
  914. LW.C0 = cf(0.6,0.3+(1.4*i),-1+(1*i))
  915. RW.C1 = ca(mr(-80+(-100*i)),mr(-40+(40*i)),mr(-45*i))
  916. RW.C0 = cf(-0.6,0.3+(1.4*i),-1+(1*i))
  917. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  918. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  919. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  920. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  921. H1w.C0 = cf(0,-1.1+(-0.9*i),0) *ca(0,mr(360*i),0)
  922. H1w.C1 = ca(mr(-90+(40*i)),0,0)
  923. wait()
  924. end for i=i1,i2*3,is*Speed do H1w.C1 = ca(mr(-50),mr(360*i),0) wait() end end)) Sound(Sounds.Cast,0.45,1) for i=i1,i2*5,is do Functions.BrickWarpDesign(Torso,13) wav.CFrame = cff *ca(0,mr(180*i),0) wait() end
  925. for i=1,0.3,-0.14*Speed do wav.Transparency = i wait() end wav:Remove()
  926. for i=i2,i1,-is*Speed do
  927. LW.C1 = ca(mr(-80+(-100*i)),mr(40-(40*i)),mr(45*i))
  928. LW.C0 = cf(0.6,0.3+(1.4*i),-1+(1*i))
  929. RW.C1 = ca(mr(-80+(-100*i)),mr(-40+(40*i)),mr(-45*i))
  930. RW.C0 = cf(-0.6,0.3+(1.4*i),-1+(1*i))
  931. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  932. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  933. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  934. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  935. H1w.C0 = cf(0,-1.1+(-0.9*i),0) *ca(0,mr(360*i),0)
  936. H1w.C1 = ca(mr(-90+(40*i)),0,0)
  937. wait()
  938. end
  939. bp2:Remove()
  940. local bg = Instance.new("BodyGyro",Torso) bg.maxTorque = Vector3.new(math.huge,0,math.huge)
  941. local bp = Instance.new("BodyPosition",Torso) bp.position = Torso.Position bp.maxForce = Vector3.new(math.huge,1000000,math.huge)
  942. rpos = math.abs(hitpos.y - Torso.Position.y)
  943. rpos = rpos - 1.2
  944. local tpos = Torso.Position
  945. Hum.WalkSpeed = 0
  946. Hum.PlatformStand = true
  947. Dash(Blad2,1.6/Speed,RingMesh.MeshId)
  948. for i=i1,i2,is do
  949. bp.position = tpos - Vector3.new(0,rpos*i,0)
  950. Neck.C0 = cf(0,1-(0.5*i),-0.5*i) *ca(Neck.C1:toEulerAnglesXYZ())
  951. Torw.C1 = ca(mr(20*i),0,0)
  952. Torw.C0 = cf(0,-0.2*i,-0.2*i)
  953. lh2.C0 = cf(-0.5,-1.9+(1*i),-1.1*i) *ca(mr(10*i),mr(90),0)
  954. rh2.C0 = cf(0.5,-1.9+(1*i),0.1*i) *ca(mr(-95*i),mr(-90),0)
  955. LW.C1 = ca(mr(-80+(30*i)),mr(40),0)
  956. LW.C0 = cf(0.6,0.3-(0.3*i),-1+(0.3*i))
  957. RW.C1 = ca(mr(-80+(30*i)),mr(-40),0)
  958. RW.C0 = cf(-0.6,0.3-(0.3*i),-1+(0.3*i))
  959. H1w.C0 = cf(0,-1.1,0) *ca(mr(55*i),0,0)
  960. wait()
  961. end
  962. wait(0.25)
  963. Sound(Sounds.Boom,0.5,1)
  964. Sound(Sounds.EnergyBlast,0.9,1)
  965. Right = true
  966. ShockWave(Torso,50,BladeColor)
  967. wait(1.5)
  968. Right = false
  969. local t2pos = Torso.Position
  970. for i=i2,i1,-is do
  971. bp.position = t2pos - Vector3.new(0,1.5-(1.5*i),0)
  972. Neck.C0 = cf(0,1-(0.5*i),-0.5*i) *ca(Neck.C1:toEulerAnglesXYZ())
  973. Torw.C1 = ca(mr(20*i),0,0)
  974. Torw.C0 = cf(0,-0.2*i,-0.2*i)
  975. lh2.C0 = cf(-0.5,-1.9+(1*i),-1.1*i) *ca(mr(10*i),mr(90),0)
  976. rh2.C0 = cf(0.5,-1.9+(1*i),0.1*i) *ca(mr(-95*i),mr(-90),0)
  977. LW.C1 = ca(mr(-80+(30*i)),mr(40),0)
  978. LW.C0 = cf(0.6,0.3-(0.3*i),-1+(0.3*i))
  979. RW.C1 = ca(mr(-80+(30*i)),mr(-40),0)
  980. RW.C0 = cf(-0.6,0.3-(0.3*i),-1+(0.3*i))
  981. H1w.C0 = cf(0,-1.1,0) *ca(mr(55*i),0,0)
  982. wait()
  983. end
  984. DebounceSpeed = DebounceSpeed - (1.1*Speed)
  985. bp:Remove()
  986. bg:Remove()
  987. Hum.PlatformStand = false
  988. Hum.WalkSpeed = RealSpeed
  989. Torw.C1 = ca(0,0,0)
  990. Anim.Act = false
  991. Lh,Rh = FeetWeld(false,lh2,rh2)
  992. end
  993. Anims.DualSpin = function(i1,i2,is,RaigCost)
  994. MinusRage(RaigCost)
  995. Anim.Act = true
  996. for i=i1,i2,is*Speed do
  997. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(-180-(-90*i)),mr(0*i)) H1w.C1 = ca(mr(-90-(60*i)),0,mr(0*i))
  998. H2w.C0 = cf(0,-1.1,0) *ca(0,mr(180-(270*i)),mr(0*i)) H2w.C1 = ca(mr(-90+(-30*i)),0,0)
  999. LW.C1 = ca(mr(-60+(-40*i)),mr(-30+(-75*i)),mr(0*i))
  1000. LW.C0 = cf(0.13*i,0.5*i,-0.5+(0.5*i))
  1001. RW.C1 = ca(mr(-60+(-20*i)),mr(30+(45*i)),mr(0*i))
  1002. RW.C0 = cf(0.13*i,0.4*i,-0.5+(0.4*i))
  1003. wait()
  1004. end
  1005. DebounceSpeed = DebounceSpeed - (0.5*Speed) Right = true Left = true Dash(Blad1,2.6/Speed,nil,2) Dash(Blad2,2.6/Speed,nil,2) local x,y,z = Neck.C0:toEulerAnglesXYZ()
  1006. local soundtime = 0
  1007. for i=i1,i2*4,is*Speed do if soundtime == 10 then soundtime = 0 Sound(Sounds.SaberSlash,2.5,0.5) else soundtime = soundtime + 1 end Torw.C1 = ca(0,mr(i*360),0) Neck.C0 = cf(0,1,0) *ca(x,y,z+mr(-360*i)) wait() end Neck.C0 = cf(0,1,0) *ca(x,y,z)Torw.C1 = ca(0,0,0)
  1008. DebounceSpeed = DebounceSpeed + (0.5*Speed) for i=i2,i1,-is*Speed do
  1009. H1w.C0 = cf(0,-1.1,0) *ca(0,mr(-180-(-90*i)),mr(0*i)) H1w.C1 = ca(mr(-90-(60*i)),0,mr(0*i))
  1010. H2w.C0 = cf(0,-1.1,0) *ca(0,mr(180-(270*i)),mr(0*i)) H2w.C1 = ca(mr(-90+(-30*i)),0,0)
  1011. LW.C1 = ca(mr(-60+(-40*i)),mr(-30+(-75*i)),mr(0*i))
  1012. LW.C0 = cf(0.13*i,0.5*i,-0.5+(0.5*i))
  1013. RW.C1 = ca(mr(-60+(-20*i)),mr(30+(45*i)),mr(0*i))
  1014. RW.C0 = cf(0.13*i,0.4*i,-0.5+(0.4*i))
  1015. wait()
  1016. end Right = false Left = false
  1017. Anim.Act = false
  1018. end
  1019.  
  1020. ----------------------------
  1021. ----------------------------
  1022. ----------------------------
  1023. ----------------------------
  1024.  
  1025. Lh = Torso["Left Hip"]
  1026. Rh = Torso["Right Hip"]
  1027.  
  1028. Functions = {}
  1029. Functions.BoulderTouch = function(hit2,bould)
  1030. print(bould.Name)
  1031. for i,v in pairs(workspace:GetChildren()) do
  1032. if v ~= Char and v ~= nil and v:findFirstChild("Torso") ~= nil and v:findFirstChild("Humanoid") ~= nil then
  1033. if math.abs((v.Torso.Position-bould.Position).magnitude) < 11 and ft(RightDebounce,v.Name) == nil then
  1034. Sound(Sounds.Smash,1,1)
  1035. Dmgz(v.Humanoid,Damage["BoulderForce"])
  1036. table.insert(RightDebounce,v.Name)
  1037. print(v.Name)
  1038. coroutine.resume(coroutine.create(function()wait(DebounceSpeed) local nf = ft(RightDebounce,v.Name) if nf ~= nil then table.remove(RightDebounce,nf) end end))
  1039. end
  1040. else
  1041. if v ~= bould and v:IsA("BasePart") and v.Anchored == false and math.abs((v.Position-bould.Position).magnitude) < 11 then v:BreakJoints() v.Velocity = cf(bould.Position,v.Position).lookVector*10 + Vector3.new(0,10,0) end
  1042. end
  1043. end -- for
  1044. end
  1045. Functions.Sparkle = function(bb,scal,si)
  1046. if si == nil then si = 1 end
  1047. local rand = bb.Position + Vector3.new(math.random(-scal,scal),math.random(-scal,scal),math.random(-scal,scal))
  1048. local np = p(Torm,"Block",0.1,0.1,0.1,false,true,0.1,0.2,BladeColor)
  1049. np.CFrame = cf(rand.x,rand.y,rand.z) *ca(math.random(-33,33)/10,math.random(-33,33)/10,math.random(-33,33)/10)
  1050. local dm = DiamondMesh:Clone() dm.Scale = Vector3.new(0,0,0) dm.Parent = np
  1051. coroutine.resume(coroutine.create(function()
  1052. for i=0,1*si,0.1*si do
  1053. dm.Scale = Vector3.new(1*i,1.25*i,1*i)
  1054. wait()
  1055. end
  1056. end))
  1057. coroutine.resume(coroutine.create(function()
  1058. wait(0.1)
  1059. for i=0,1,0.1 do
  1060. np.Transparency = i
  1061. wait()
  1062. end
  1063. np:Remove()
  1064. end))
  1065. end
  1066. Functions.BrickWarpDesign = function(bb,scal)
  1067. local rand = bb.Position + Vector3.new(math.random(-scal,scal),math.random(-scal,scal),math.random(-scal,scal))
  1068. local mag = (rand - bb.Position).magnitude
  1069. local np = p(Torm,"Block",0.1,0.1,mag-3,false,true,0.1,0.2,BladeColor)
  1070. np.CFrame = cf(bb.Position,rand)
  1071. np.CFrame = np.CFrame + np.CFrame.lookVector*((scal/5)+(mag/2))
  1072. coroutine.resume(coroutine.create(function()
  1073. for i=0.1,1,0.05 do
  1074. np.Transparency = i
  1075. wait()
  1076. end
  1077. np:Remove()
  1078. end))
  1079. end
  1080. Functions.RageRegen = function()
  1081. local lostcontrol = false
  1082. local hpos = Torso.Position.y + 10
  1083. Anim.Move = "RageRegening"
  1084. Anim.Act = true
  1085. local wav = p(Torm,"Block",0.1,0.1,0.1,true,false,1,0,BladeColor) wav.Anchored = true
  1086. local wavm = BlastMesh:Clone()
  1087. wavm.Parent = wav
  1088. local wavv = 0
  1089. wavm.Scale = Vector3.new(5,3.5,5)
  1090. wav.CFrame = cf((Torso.CFrame * CFrame.new(0,-2.5,0)).p) *ca(0,mr(wavv),0)
  1091. local bp = Instance.new("BodyPosition",Torso)
  1092. bp.maxForce = Vector3.new(0,math.huge,0)
  1093. Humanoid.WalkSpeed = Humanoid.WalkSpeed - (RealSpeed-4)
  1094. bp.position = Torso.Position + Vector3.new(0,10,0)
  1095. local bpos = bp.position
  1096. coroutine.resume(coroutine.create(function()
  1097. lh2,rh2 = FeetWeld(true,Lh,Rh)
  1098. if SwordType == "Single" then
  1099. for i=0,1,0.1*Speed do
  1100. LW.C1 = ca(mr(-80+(-30*i)),mr(40-(40*i)),0)
  1101. LW.C0 = cf(0.6-(0.6*i),0.3+(0.5*i),-1+(1.7*i)) *ca(0,mr(120*i),0)
  1102. RW.C1 = ca(mr(-80+(-30*i)),mr(-40+(40*i)),0)
  1103. RW.C0 = cf(-0.6+(0.6*i),0.3+(0.5*i),-1+(1.7*i)) *ca(0,mr(-120*i),0)
  1104. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  1105. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  1106. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  1107. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  1108. wait()
  1109. end
  1110. else
  1111. for i=0,1,0.1*Speed do
  1112. LW.C1 = ca(mr(-60+(-50*i)),mr(-40-(-40*i)),0)
  1113. LW.C0 = cf(-0.1,0.8*i,-0.5+(1.2*i)) *ca(0,mr(120*i),0)
  1114. RW.C1 = ca(mr(-60+(-50*i)),mr(40+(-40*i)),0)
  1115. RW.C0 = cf(0.1,0.8*i,-0.5+(1.2*i)) *ca(0,mr(-120*i),0)
  1116. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  1117. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  1118. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  1119. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  1120. wait()
  1121. end
  1122. end
  1123. local function movezx(i1,i2,is,bp)
  1124. if SwordType == "Single" then
  1125. for i=i1,i2,is*Speed do
  1126. LW.C1 = ca(mr(-120+(20*i)),0,0)
  1127. LW.C0 = cf(0,0.8,0.7) *ca(0,mr(120+(20*i)),0)
  1128. RW.C1 = ca(mr(-120+(20*i)),0,0)
  1129. RW.C0 = cf(0,0.8,0.7) *ca(0,mr(-120+(-20*i)),0)
  1130. lh2.C1 = ca(mr(30+(-15*i)),0,mr(15+(-8*i)))
  1131. rh2.C1 = ca(mr(30+(-15*i)),0,mr(-15+(8*i)))
  1132. lh2.C0 = cf(-0.7,-1.9,0.35)
  1133. rh2.C0 = cf(0.7,-1.9,0.35)
  1134. bp.position = Vector3.new(bpos.x,(hpos+10)+(3*i),bpos.z)
  1135. wait()
  1136. end
  1137. else
  1138. for i=i1,i2,is*Speed do
  1139. LW.C1 = ca(mr(-110),mr(0),0)
  1140. LW.C0 = cf(-0.1,0.8,0.7) *ca(0,mr(120+(20*i)),0)
  1141. RW.C1 = ca(mr(-110),mr(0),0)
  1142. RW.C0 = cf(0.1,0.8,0.7) *ca(0,mr(-120+(-20*i)),0)
  1143. lh2.C1 = ca(mr(30+(-15*i)),0,mr(15+(-8*i)))
  1144. rh2.C1 = ca(mr(30+(-15*i)),0,mr(-15+(8*i)))
  1145. lh2.C0 = cf(-0.7,-1.9,0.35)
  1146. rh2.C0 = cf(0.7,-1.9,0.35)
  1147. bp.position = Vector3.new(bpos.x,(hpos+10)+(3*i),bpos.z)
  1148. wait()
  1149. end
  1150. end
  1151. end
  1152. local moved = 2
  1153. repeat
  1154. if Rage >= MaxRage or Anim.key.z == false then break end
  1155. if moved == 2 then moved = 1 movezx(0,1,0.025,bp) else moved = 2 movezx(1,0,-0.025,bp) end
  1156. until Rage >= MaxRage or Anim.key.z == false or lostcontrol == true
  1157. if SwordType == "Single" then
  1158. for i=1,0,-0.1*Speed do
  1159. LW.C1 = ca(mr(-80+(-30*i)),mr(40-(40*i)),0)
  1160. LW.C0 = cf(0.6-(0.6*i),0.3+(0.5*i),-1+(1.7*i)) *ca(0,mr(120*i),0)
  1161. RW.C1 = ca(mr(-80+(-30*i)),mr(-40+(40*i)),0)
  1162. RW.C0 = cf(-0.6+(0.6*i),0.3+(0.5*i),-1+(1.7*i)) *ca(0,mr(-120*i),0)
  1163. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  1164. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  1165. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  1166. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  1167. wait()
  1168. end
  1169. else
  1170. for i=1,0,-0.1*Speed do
  1171. LW.C1 = ca(mr(-60+(-50*i)),mr(-40-(-40*i)),0)
  1172. LW.C0 = cf(-0.1,0.8*i,-0.5+(1.2*i)) *ca(0,mr(120*i),0)
  1173. RW.C1 = ca(mr(-60+(-50*i)),mr(40+(-40*i)),0)
  1174. RW.C0 = cf(0.1,0.8*i,-0.5+(1.2*i)) *ca(0,mr(-120*i),0)
  1175. lh2.C1 = ca(mr(30*i),0,mr(15*i))
  1176. rh2.C1 = ca(mr(30*i),0,mr(-15*i))
  1177. lh2.C0 = cf(-0.5+(-0.2*i),-1.9,0.35*i)
  1178. rh2.C0 = cf(0.5+(0.2*i),-1.9,0.35*i)
  1179. wait()
  1180. end
  1181. end
  1182. Lh,Rh = FeetWeld(false,lh2,rh2)
  1183. wait(0.6)
  1184. Anim.Act = false
  1185. Anim.Move = "None"
  1186. end))
  1187. for i=1,0.3,-0.14*Speed do wav.Transparency = i wait() end
  1188. rpos = 0
  1189. Sound(Sounds.Cast,0.8,1)
  1190. repeat wait()
  1191. local Hit, hitpos = rayCast(Torso.Position,((Torso.Position - Vector3.new(0,10000,0)) - Torso.Position),999.999,Player.Character)
  1192. if Hit == nil then lostcontrol = true break end
  1193. hpos = hitpos.y if math.random(1,6) == 4 then Functions.Sparkle(Torso,8) end
  1194. if math.random(1,3) == 3 then Functions.BrickWarpDesign(Torso,10) end wavv = wavv + 10 Rage = Rage - (RageCost["RageRegening"]*RageIncome)
  1195. wav.CFrame = cf(Torso.Position.x,hpos+1.4,Torso.Position.z) *ca(0,mr(wavv),0)
  1196. until Rage >= MaxRage or Anim.key.z == false
  1197. for i=0.3,01,0.14*Speed do wav.Transparency = i wait() end wav:Remove()
  1198. bp:Remove()
  1199. Humanoid.WalkSpeed = Humanoid.WalkSpeed + (RealSpeed-4)
  1200. end
  1201. Functions.Teleport = function(i1,i2,is,RaigCost)
  1202. Anim.Act = true
  1203. for i=i1,i2,is*Speed do
  1204. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(40+(-40*i)),0)
  1205. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(50*i),0)
  1206. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(-40+(40*i)),0)
  1207. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-50*i),0)
  1208. Torw.C1 = ca(0,mr(50*i),0)
  1209. wait()
  1210. end
  1211. local tele = false
  1212. local tele2 = false -- for mouse
  1213. local mouseact = mouse.Button1Up:connect(function() tele2 = true end)
  1214. coroutine.resume(coroutine.create(function() Sound(Sounds.Cast,1.2,1) wait(12) tele = true end))
  1215. local telepos = Torso.Position
  1216. local telehit = nil
  1217. local wav = p(Torm,"Block",0.1,0.1,0.1,true,false,0.3,0.1,BladeColor) wav.Anchored = true
  1218. local wavm = BlastMesh:Clone()
  1219. wavm.Parent = wav
  1220. local wavv = 0
  1221. wavm.Scale = Vector3.new(3.5,2,3.5)
  1222. repeat
  1223. local mpos = mouse.hit.p + Vector3.new(0,2,0)
  1224. telehit,telepos = rayCast(mpos,((mpos - Vector3.new(0,10000,0)) - mpos),999.999,Player.Character)
  1225. wavv = wavv + 8 Functions.Sparkle(La,3) Functions.BrickWarpDesign(La,4)
  1226. if telehit ~= nil then wav.Transparency = 0 wav.CFrame = cf(telepos.x,telepos.y+1,telepos.z) *ca(0,mr(wavv),0) else wav.Transparency = 1 end
  1227. wait() until tele == true or tele2 == true mouseact:disconnect()
  1228. if telehit == nil or math.abs((Torso.Position - telepos).magnitude) > Props.MaxTeleDistance then
  1229. Sound(Sounds.Punch,1,1) for i=0.3,1,0.14 do wavm.Scale = Vector3.new(3.5+(5*i),2,3.5+(5*i)) wav.Transparency = i wait() end wav:Remove()
  1230. wav:Remove()
  1231. else
  1232. MinusRage(RaigCost)
  1233. for i=1,10 do wait() Functions.Sparkle(Torso,5,3) Functions.BrickWarpDesign(Torso,6) end
  1234. ShockWave(Torso,7,BladeColor)
  1235. Torso.CFrame = wav.CFrame + Vector3.new(0,2.2,0) Sound(Sounds.EnergyBlast,1.2,0.6)
  1236. ShockWave(Torso,7,BladeColor)
  1237. for i=1,10 do wait() Functions.Sparkle(Torso,5,3) Functions.BrickWarpDesign(Torso,6) end
  1238. for i=0.3,1,0.14 do wavm.Scale = Vector3.new(3.5+(5*i),2,3.5+(5*i)) wav.Transparency = i wait() end wav:Remove()
  1239. end
  1240. for i=i2,i1,-is*Speed do
  1241. LW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(40+(-40*i)),0)
  1242. LW.C0 = cf(0.6+(-0.9*i),0.3,-1+(1*i)) *ca(0,mr(50*i),0)
  1243. RW.C1 = cf(0,0.5*i,0) *ca(mr(-80+(-25*i)),mr(-40+(40*i)),0)
  1244. RW.C0 = cf(-0.6+(0.9*i),0.3,-1+(1*i)) *ca(0,mr(-50*i),0)
  1245. Torw.C1 = ca(0,mr(50*i),0)
  1246. wait()
  1247. end
  1248. Anim.Act = false
  1249. end
  1250.  
  1251. --------------------------------------------------------------------------------------------------------------
  1252. --------------------------------------------------------------------------------------------------------------
  1253. --------------------------------------------------------------------------------------------------------------
  1254. --------------------------------------------------------------------------------------------------------------
  1255. bin.Selected:connect(function(mm)
  1256. Mouse = mouse
  1257. mouse = mm
  1258. Torso["Left Hip"].Part0 = Tor
  1259. Torso["Right Hip"].Part0 = Tor
  1260. RS.Parent = nil
  1261. LS.Parent = nil
  1262. RW.Parent = Torso
  1263. RW.Part0 = Fra
  1264. RW.Part1 = Ra
  1265. LW.Parent = Torso
  1266. LW.Part0 = Fla
  1267. LW.Part1 = La
  1268. RW.C0 = CFrame.new(0,0,0) RW.C1 = CFrame.new(0,0,0)
  1269. LW.C0 = CFrame.new(0,0,0) LW.C1 = CFrame.new(0,0,0)
  1270. Anims.Equip(0,1,0.07*Speed)
  1271. Anim.Equipped = true
  1272. mouse.KeyDown:connect(function(key)
  1273. key:lower()
  1274. pcall(function() Anim.key[key:lower()] = true end)
  1275. keydown = true
  1276. if key == "z" and Anim.Move == "None" and not Anim.Act then
  1277. Functions.RageRegen()
  1278. end
  1279. if SwordType == "Single" then
  1280. if key == "e" and Anim.Move == "None" and not Anim.Act and RageCost["RotorBlade"] <= Rage then
  1281. Anim.Move = "RotorBlade"
  1282. Anims.RotorBlade(0,1,0.08*Speed,RageCost["RotorBlade"])
  1283. Anim.Move = "None"
  1284. elseif key == "q" and Anim.Move == "None" and not Anim.Act and RageCost["Boomerang"] <= Rage then
  1285. Anim.Move = "Boomerang"
  1286. Anims.Boomerang(0,1,0.08*Speed,RageCost["Boomerang"])
  1287. Anim.Move = "None"
  1288. elseif key == "f" and Anim.Move == "None" and not Anim.Act and RageCost["BoulderForce"] <= Rage then
  1289. Anim.Move = "BoulderForce"
  1290. Anims.BoulderForce(0,1,0.08*Speed,RageCost["BoulderForce"])
  1291. Anim.Move = "None"
  1292. elseif key == "r" and Anim.Move == "None" and not Anim.Act and RageCost["ForceWave"] <= Rage then
  1293. Anim.Move = "ForceWave"
  1294. Anims.ForceWave(0,1,0.08*Speed,RageCost["ForceWave"])
  1295. Anim.Move = "None"
  1296. elseif key == "t" and Anim.Move == "None" and not Anim.Act and RageCost["Teleport"] <= Rage then
  1297. Anim.Move = "Teleport"
  1298. Functions.Teleport(0,1,0.08*Speed,RageCost["Teleport"])
  1299. Anim.Move = "None"
  1300. end
  1301. elseif SwordType == "Dual" then
  1302. if key == "e" and Anim.Move == "None" and not Anim.Act and RageCost["DualSpin"] <= Rage then
  1303. Anim.Move = "DualSpin"
  1304. Anims.DualSpin(0,1,0.08*Speed,RageCost["DualSpin"])
  1305. Anim.Move = "None"
  1306. end
  1307. end
  1308. end)
  1309. mouse.KeyUp:connect(function(key)
  1310. pcall(function() Anim.key[key:lower()] = false end)
  1311. keydown = false
  1312. end)
  1313.  
  1314. mouse.Button1Down:connect(function() Anim.Button = true
  1315. if not Anim.Click and Anim.Move == "None" and not Anim.Act then
  1316. Anim.Click = true
  1317. if Anim.CanBerserk ~= 0 then Anim.CanBerserk = Anim.CanBerserk + 1 end
  1318. if Anim.CanBerserk == 0 and RageCost["Berserk"] <= Rage then
  1319. Rage = Rage - RageCost["Berserk"]
  1320. Anim.ComboBreak = true
  1321. Speed = Speed + 0.5
  1322. Anim.CanBerserk = Anim.CanBerserk + 1
  1323. --Anim.Move = "LeftPunch"
  1324. --Anims.LeftPunch(0,1,0.1*Speed,0) Anim.Move = "None"
  1325. elseif Anim.CanBerserk == 2 then
  1326. Anim.CanBerserk = 0
  1327. end
  1328. coroutine.resume(coroutine.create(function() local oldcomb = Anim.CanBerserk wait(0.5) if Anim.ComboBreak == true and Anim.CanBerserk == oldcomb then Anim.ComboBreak = false Speed = Speed -0.5 Anim.CanBerserk = 0 end end))
  1329. wait(0.1)
  1330. Anim.Click = false
  1331. end
  1332. end)
  1333. mouse.Button1Up:connect(function() Anim.Button = false
  1334. end)
  1335. end)
  1336. bin.Deselected:connect(function(mouse)
  1337. Anim.Equipped = false
  1338. if SwordType == "Dual" then Anims.ChangeToSingle(0,1,0.25*Speed) SwordType = "Single" end
  1339. Anims.UnEquip(1,0,-0.08*Speed)
  1340. RW.Parent = nil
  1341. LW.Parent = nil
  1342. RS.Parent = Torso
  1343. RS.Part0 = Torso
  1344. RS.Part1 = Ra
  1345. LS.Parent = Torso
  1346. LS.Part0 = Torso
  1347. LS.Part1 = La
  1348. if Rh.Parent == nil then
  1349. FeetWeld(false,Lh,Rh)
  1350. end
  1351. Torso["Left Hip"].Part0 = Torso
  1352. Torso["Right Hip"].Part0 = Torso
  1353. end)
  1354. Hum.WalkSpeed = RealSpeed
  1355. Rage = 100000
  1356. wait(5)
  1357. Workspace.ares200345.Humanoid.MaxHealth = math.huge
Add Comment
Please, Sign In to add comment