Advertisement
Ban43_GodOfEdits

eee

Apr 7th, 2019
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 67.95 KB | None | 0 0
  1. --[[
  2. ______ __ __ ____ __ ______
  3. / _/ _/ / \/ \ / __/___ __ _______/ /_ / / /
  4. / // / / /\/ /\ \ __/ /_/ __ \/ / / / ___/ __ \ / // /
  5. / // / / / /_/ \ \/_ __/ /_/ / /_/ / / / /_/ / / // /
  6. / // / /_/ \_\/_/ \____/\__,_/_/ /_.___/ _/ // /
  7. /__/__/ /__/__/
  8.  
  9. --]]
  10. --https://github.com/Mokiros/roblox-FE-compatibility
  11. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  12. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  13. local RealPlayer = Player
  14. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  15. wait'.5'
  16. local WrapMaterial="SmoothPlastic"
  17. local WrapColor=BrickColor.new("Brown")
  18. local BladeMaterial='Neon'
  19. local HandleMaterial='Neon'
  20. local LightColor=BrickColor.new("Cyan")
  21. local HandleColor=BrickColor.new("Really black")
  22. local BladeColor=BrickColor.new("Institutional white")
  23. local BladeRefl=.3
  24. local AttackOrbColor=BrickColor.new("White")
  25. local HealOrbColor=BrickColor.new("New Yeller")
  26.  
  27. local plr = game.Players.LocalPlayer
  28. local chr = plr.Character
  29. local maus = plr:GetMouse()
  30. local PGui=plr.PlayerGui
  31. local lleg = chr["Left Leg"]
  32. local rleg = chr["Right Leg"]
  33. local larm = chr["Left Arm"]
  34. local rarm = chr["Right Arm"]
  35. local hed = chr.Head
  36. local rutprt = chr.HumanoidRootPart
  37. local torso = chr.Torso
  38. local otheranims=false
  39. local armmovement=false
  40. chr.Animate.Disabled=true
  41. local sitting=false
  42. local fldb={['w']=false,['a']=false,['s']=false,['d']=false}
  43. local hitdb=false
  44. local Swing='Swing1'
  45. local RunSpeed=36
  46. local WlkSpeed=18
  47. local SneakSpeed=10
  48. local runnin=false
  49. local disabled=false
  50. local tik=0
  51. local spinvalue=0
  52. local death=Instance.new('Sound',rutprt)
  53. death.Pitch=1
  54. death.Volume=.5
  55. death.SoundId='http://www.roblox.com/asset?id=170399891'
  56. chr.Humanoid.Died:connect(function()
  57. death:play''
  58. end)
  59. local trailing=false
  60. local shootdb=false
  61. local idlesineinc=35
  62. local sneaking=false
  63. coroutine.wrap(function()
  64. for i,x in pairs(hed:GetChildren()) do if x:IsA('Sound') then x:Destroy() end end end)()
  65. function Lerp(a, b, i)
  66. local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
  67. local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
  68. local calx = com1[1] + (com2[1] - com1[1]) * i
  69. local caly = com1[2] + (com2[2] - com1[2]) * i
  70. local calz = com1[3] + (com2[3] - com1[3]) * i
  71. local cala = com1[4] + (com2[4] - com1[4]) * i
  72. local calb = com1[5] + (com2[5] - com1[5]) * i
  73. local calc = com1[6] + (com2[6] - com1[6]) * i
  74. return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc)
  75. end
  76. function TwnSingleNumber(s,f,m)
  77. local wot=s+(f-s)*m
  78. return wot
  79. end
  80. function TwnVector3(q,w,e)
  81. local begin={q.x,q.y,q.z}
  82. local ending={w.x,w.y,w.z}
  83. local bgx=begin[1]+(ending[1]-begin[1])*e
  84. local bgy=begin[2]+(ending[2]-begin[2])*e
  85. local bgz=begin[3]+(ending[3]-begin[3])*e
  86. return Vector3.new(bgx,bgy,bgz)
  87. end
  88. newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z)
  89. wld = Instance.new("Weld", wp1)
  90. wld.Part0 = wp0
  91. wld.Part1 = wp1
  92. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  93. end
  94. function Avg(a, b)
  95. return CFrame.new((a.X+b.X)/2,(a.Y+b.Y)/2,(a.Z+b.Z)/2)
  96. end
  97. local jump=Instance.new('Sound',rutprt)
  98. jump.Volume=.2
  99. jump.Pitch=1
  100. jump.SoundId='http://www.roblox.com/asset?id=170588191'
  101. newWeld(law, torso, larm, -1.5, 0.5, 0)
  102. newWeld(raw, torso, rarm, 1.5, 0.5, 0)
  103. newWeld(llw, torso, lleg, -.5, -2, 0)
  104. newWeld(rlw, torso, rleg, .5, -2, 0)
  105. newWeld(hw, torso, hed, 0, 1.5, 0)
  106. local rutwald=Instance.new('Weld',rutprt)
  107. rutwald.Part0=rutprt
  108. rutwald.Part1=torso
  109. rutprt.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
  110. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  111. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  112. rleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  113. lleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  114. local anim = "Idling"
  115. local lastanim = "Idling"
  116. local val = 0
  117. local syne = 0
  118. local num = 0
  119. local runtime = 0
  120. local TrailModel=Instance.new("Model",chr)
  121. TrailModel.Name="Trails"
  122. local Sword=Instance.new('Model',chr)
  123. Sword.Name='BlackIronBroadSword'
  124. local obj1=Instance.new('Part',Sword)
  125. obj1.Name='Handle'
  126. obj1.formFactor='Custom'
  127. obj1.Size=Vector3.new(.2,1.25,.2)
  128. obj1.BrickColor=HandleColor
  129. obj1.Material=HandleMaterial
  130. obj1.CanCollide=false
  131. obj1.TopSurface=10
  132. obj1.BottomSurface=10
  133. obj1.LeftSurface=10
  134. obj1.RightSurface=10
  135. obj1.FrontSurface=10
  136. obj1.BackSurface=10
  137. obj1:breakJoints()
  138. local objm1=Instance.new('CylinderMesh',obj1)
  139. local objw1=Instance.new('Weld',obj1)
  140. objw1.Part0=obj1
  141. objw1.Part1=torso
  142. objw1.C0=CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(37.5))
  143. local obj2=Instance.new('Part',Sword)
  144. obj2.Name='Handle'
  145. obj2.formFactor='Custom'
  146. obj2.Size=Vector3.new(.25,.1,.25)
  147. obj2.BrickColor=HandleColor
  148. obj2.Material=HandleMaterial
  149. obj2.CanCollide=false
  150. obj2.TopSurface=10
  151. obj2.BottomSurface=10
  152. obj2.LeftSurface=10
  153. obj2.RightSurface=10
  154. obj2.FrontSurface=10
  155. obj2.BackSurface=10
  156. obj2:breakJoints()
  157. local objm2=Instance.new('CylinderMesh',obj2)
  158. local objw2=Instance.new('Weld',obj2)
  159. objw2.Part0=obj2
  160. objw2.Part1=obj1
  161. objw2.C0=CFrame.new(0,-.625,0)*CFrame.Angles(0,0,0)
  162. local obj3=Instance.new('Part',Sword)
  163. obj3.Name='Handle'
  164. obj3.formFactor='Custom'
  165. obj3.Size=Vector3.new(.3,.1,.3)
  166. obj3.BrickColor=HandleColor
  167. obj3.Material=HandleMaterial
  168. obj3.CanCollide=false
  169. obj3.TopSurface=10
  170. obj3.BottomSurface=10
  171. obj3.LeftSurface=10
  172. obj3.RightSurface=10
  173. obj3.FrontSurface=10
  174. obj3.BackSurface=10
  175. obj3:breakJoints()
  176. local objm3=Instance.new('CylinderMesh',obj3)
  177. local objw3=Instance.new('Weld',obj3)
  178. objw3.Part0=obj3
  179. objw3.Part1=obj1
  180. objw3.C0=CFrame.new(0,-.725,0)*CFrame.Angles(0,0,0)
  181. local obj4=Instance.new('Part',Sword)
  182. obj4.Name='Handle'
  183. obj4.formFactor='Custom'
  184. obj4.Size=Vector3.new(.25,.1,.25)
  185. obj4.BrickColor=HandleColor
  186. obj4.Material=HandleMaterial
  187. obj4.CanCollide=false
  188. obj4.TopSurface=10
  189. obj4.BottomSurface=10
  190. obj4.LeftSurface=10
  191. obj4.RightSurface=10
  192. obj4.FrontSurface=10
  193. obj4.BackSurface=10
  194. obj4:breakJoints()
  195. local objm4=Instance.new('CylinderMesh',obj4)
  196. local objw4=Instance.new('Weld',obj4)
  197. objw4.Part0=obj4
  198. objw4.Part1=obj1
  199. objw4.C0=CFrame.new(0,.625,0)*CFrame.Angles(0,0,0)
  200. local obj5=Instance.new('Part',Sword)
  201. obj5.Name='Handle'
  202. obj5.formFactor='Custom'
  203. obj5.Size=Vector3.new(.3,.1,.3)
  204. obj5.BrickColor=HandleColor
  205. obj5.Material=HandleMaterial
  206. obj5.CanCollide=false
  207. obj5.TopSurface=10
  208. obj5.BottomSurface=10
  209. obj5.LeftSurface=10
  210. obj5.RightSurface=10
  211. obj5.FrontSurface=10
  212. obj5.BackSurface=10
  213. obj5:breakJoints()
  214. local objm5=Instance.new('CylinderMesh',obj5)
  215. local objw5=Instance.new('Weld',obj5)
  216. objw5.Part0=obj5
  217. objw5.Part1=obj1
  218. objw5.C0=CFrame.new(0,.725,0)*CFrame.Angles(0,0,0)
  219. local obj6=Instance.new('Part',Sword)
  220. obj6.Name='Handle'
  221. obj6.formFactor='Custom'
  222. obj6.Size=Vector3.new(1.2,.3,.35)
  223. obj6.BrickColor=HandleColor
  224. obj6.Material=HandleMaterial
  225. obj6.CanCollide=false
  226. obj6.TopSurface=10
  227. obj6.BottomSurface=10
  228. obj6.LeftSurface=10
  229. obj6.RightSurface=10
  230. obj6.FrontSurface=10
  231. obj6.BackSurface=10
  232. obj6:breakJoints()
  233. local objm6=Instance.new('SpecialMesh',obj6)
  234. objm6.MeshType='Sphere'
  235. local objw6=Instance.new('Weld',obj6)
  236. objw6.Part0=obj6
  237. objw6.Part1=obj1
  238. objw6.C0=CFrame.new(0,.775,0)*CFrame.Angles(0,0,0)
  239. local obj7=Instance.new('Part',Sword)
  240. obj7.Name='Handle'
  241. obj7.formFactor='Custom'
  242. obj7.Size=Vector3.new(1.2,.1,.35)
  243. obj7.BrickColor=HandleColor
  244. obj7.Material=HandleMaterial
  245. obj7.CanCollide=false
  246. obj7.TopSurface=10
  247. obj7.BottomSurface=10
  248. obj7.LeftSurface=10
  249. obj7.RightSurface=10
  250. obj7.FrontSurface=10
  251. obj7.BackSurface=10
  252. obj7:breakJoints()
  253. local objm7=Instance.new('SpecialMesh',obj7)
  254. objm7.MeshId='http://www.roblox.com/asset?id=3270017'
  255. objm7.Scale=Vector3.new(1.2,.175,2)
  256. local objw7=Instance.new('Weld',obj7)
  257. objw7.Part0=obj7
  258. objw7.Part1=obj1
  259. objw7.C0=CFrame.new(0,0,.775)*CFrame.Angles(math.rad(90),0,0)
  260.  
  261. local obj8=Instance.new('Part',Sword)
  262. obj8.Name='Handle'
  263. obj8.formFactor='Custom'
  264. obj8.Size=Vector3.new(.55,.1,.55)
  265. obj8.BrickColor=HandleColor
  266. obj8.Material=HandleMaterial
  267. obj8.CanCollide=false
  268. obj8.TopSurface=10
  269. obj8.BottomSurface=10
  270. obj8.LeftSurface=10
  271. obj8.RightSurface=10
  272. obj8.FrontSurface=10
  273. obj8.BackSurface=10
  274. obj8:breakJoints()
  275. local objm8=Instance.new('CylinderMesh',obj8)
  276. objm8.Scale=Vector3.new(1,.4,1)
  277. local objw8=Instance.new('Weld',obj8)
  278. objw8.Part0=obj8
  279. objw8.Part1=obj1
  280. objw8.C0=CFrame.new(0,0,.95)*CFrame.Angles(math.rad(90),0,0)
  281.  
  282. local obj9=Instance.new('Part',Sword)
  283. obj9.Name='Handle'
  284. obj9.formFactor='Custom'
  285. obj9.Size=Vector3.new(.55,.1,.55)
  286. obj9.BrickColor=HandleColor
  287. obj9.Material=HandleMaterial
  288. obj9.CanCollide=false
  289. obj9.TopSurface=10
  290. obj9.BottomSurface=10
  291. obj9.LeftSurface=10
  292. obj9.RightSurface=10
  293. obj9.FrontSurface=10
  294. obj9.BackSurface=10
  295. obj9:breakJoints()
  296. local objm9=Instance.new('CylinderMesh',obj9)
  297. objm9.Scale=Vector3.new(1.25,.35,1.25)
  298. local objw9=Instance.new('Weld',obj9)
  299. objw9.Part0=obj9
  300. objw9.Part1=obj1
  301. objw9.C0=CFrame.new(0,0,.95)*CFrame.Angles(math.rad(90),0,0)
  302.  
  303. local obj10=Instance.new('Part',Sword)
  304. obj10.Name='Handle'
  305. obj10.formFactor='Custom'
  306. obj10.Size=Vector3.new(.55,.1,.55)
  307. obj10.BrickColor=HandleColor
  308. obj10.Material=HandleMaterial
  309. obj10.CanCollide=false
  310. obj10.TopSurface=10
  311. obj10.BottomSurface=10
  312. obj10.LeftSurface=10
  313. obj10.RightSurface=10
  314. obj10.FrontSurface=10
  315. obj10.BackSurface=10
  316. obj10:breakJoints()
  317. local objm10=Instance.new('CylinderMesh',obj10)
  318. objm10.Scale=Vector3.new(1.5,.3,1.5)
  319. local objw10=Instance.new('Weld',obj10)
  320. objw10.Part0=obj10
  321. objw10.Part1=obj1
  322. objw10.C0=CFrame.new(0,0,1)*CFrame.Angles(math.rad(90),0,0)
  323.  
  324. local obj11=Instance.new('Part',Sword)
  325. obj11.Name='Handle'
  326. obj11.formFactor='Custom'
  327. obj11.Size=Vector3.new(.35,.2,3.5)
  328. obj11.BrickColor=HandleColor
  329. obj11.Material=HandleMaterial
  330. obj11.CanCollide=false
  331. obj11.TopSurface=10
  332. obj11.BottomSurface=10
  333. obj11.LeftSurface=10
  334. obj11.RightSurface=10
  335. obj11.FrontSurface=10
  336. obj11.BackSurface=10
  337. obj11:breakJoints()
  338. local objm11=Instance.new('SpecialMesh',obj11)
  339. objm11.MeshType='Wedge'
  340. objm11.Scale=Vector3.new(.16,1,1)
  341. local objw11=Instance.new('Weld',obj11)
  342. objw11.Part0=obj11
  343. objw11.Part1=obj1
  344. objw11.C0=CFrame.new(0,-.25,2.75)*CFrame.Angles(math.rad(90),math.rad(90),0)
  345.  
  346. local obj12=Instance.new('Part',Sword)
  347. obj12.Name='Handle'
  348. obj12.formFactor='Custom'
  349. obj12.Size=Vector3.new(.35,.2,3.5)
  350. obj12.BrickColor=HandleColor
  351. obj12.Material=HandleMaterial
  352. obj12.CanCollide=false
  353. obj12.TopSurface=10
  354. obj12.BottomSurface=10
  355. obj12.LeftSurface=10
  356. obj12.RightSurface=10
  357. obj12.FrontSurface=10
  358. obj12.BackSurface=10
  359. obj12:breakJoints()
  360. local objm12=Instance.new('SpecialMesh',obj12)
  361. objm12.MeshType='Wedge'
  362. objm12.Scale=Vector3.new(.16,1,1)
  363. local objw12=Instance.new('Weld',obj12)
  364. objw12.Part0=obj12
  365. objw12.Part1=obj1
  366. objw12.C0=CFrame.new(0,-.25,2.75)*CFrame.Angles(math.rad(90),math.rad(-90),0)
  367.  
  368. local obj13=Instance.new('Part',Sword)
  369. obj13.Name='Handle'
  370. obj13.formFactor='Custom'
  371. obj13.Size=Vector3.new(.35,.35,.35)
  372. obj13.BrickColor=HandleColor
  373. obj13.Material=HandleMaterial
  374. obj13.CanCollide=false
  375. obj13.TopSurface=10
  376. obj13.BottomSurface=10
  377. obj13.LeftSurface=10
  378. obj13.RightSurface=10
  379. obj13.FrontSurface=10
  380. obj13.BackSurface=10
  381. obj13:breakJoints()
  382. local objm13=Instance.new('BlockMesh',obj13)
  383. objm13.Scale=Vector3.new(.1605,.62175,.62175)
  384. local objw13=Instance.new('Weld',obj13)
  385. objw13.Part0=obj13
  386. objw13.Part1=obj1
  387. objw13.C0=CFrame.new(0,3.1775,3.1775)*CFrame.Angles(math.rad(45),math.rad(-90),0)
  388.  
  389. local obj14=Instance.new('Part',Sword)
  390. obj14.Name='Handle'
  391. obj14.formFactor='Custom'
  392. obj14.Size=Vector3.new(.35,.4,4)
  393. obj14.BrickColor=BladeColor
  394. obj14.Material=BladeMaterial
  395. obj14.Reflectance=BladeRefl
  396. obj14.CanCollide=false
  397. obj14.TopSurface=10
  398. obj14.BottomSurface=10
  399. obj14.LeftSurface=10
  400. obj14.RightSurface=10
  401. obj14.FrontSurface=10
  402. obj14.BackSurface=10
  403. obj14:breakJoints()
  404. local objm14=Instance.new('SpecialMesh',obj14)
  405. objm14.MeshType='Wedge'
  406. objm14.Scale=Vector3.new(.1495,1,1)
  407. local objw14=Instance.new('Weld',obj14)
  408. objw14.Part0=obj14
  409. objw14.Part1=obj1
  410. objw14.C0=CFrame.new(0,-.35,2.8)*CFrame.Angles(math.rad(90),math.rad(-90),0)
  411.  
  412.  
  413. local obj15=Instance.new('Part',Sword)
  414. obj15.Name='Handle'
  415. obj15.formFactor='Custom'
  416. obj15.Size=Vector3.new(.35,.4,4)
  417. obj15.BrickColor=BladeColor
  418. obj15.Material=BladeMaterial
  419. obj15.Reflectance=BladeRefl
  420. obj15.CanCollide=false
  421. obj15.TopSurface=10
  422. obj15.BottomSurface=10
  423. obj15.LeftSurface=10
  424. obj15.RightSurface=10
  425. obj15.FrontSurface=10
  426. obj15.BackSurface=10
  427. obj15:breakJoints()
  428. local objm15=Instance.new('SpecialMesh',obj15)
  429. objm15.MeshType='Wedge'
  430. objm15.Scale=Vector3.new(.1495,1,1)
  431. local objw15=Instance.new('Weld',obj15)
  432. objw15.Part0=obj15
  433. objw15.Part1=obj1
  434. objw15.C0=CFrame.new(0,-.35,2.8)*CFrame.Angles(math.rad(90),math.rad(90),0)
  435.  
  436. local obj16=Instance.new('Part',Sword)
  437. obj16.Name='Handle'
  438. obj16.formFactor='Custom'
  439. obj16.Size=Vector3.new(.35,.3,4)
  440. obj16.BrickColor=BladeColor
  441. obj16.Material=BladeMaterial
  442. obj16.Reflectance=BladeRefl
  443. obj16.CanCollide=false
  444. obj16.TopSurface=10
  445. obj16.BottomSurface=10
  446. obj16.LeftSurface=10
  447. obj16.RightSurface=10
  448. obj16.FrontSurface=10
  449. obj16.BackSurface=10
  450. obj16:breakJoints()
  451. local objm16=Instance.new('BlockMesh',obj16)
  452. objm16.Scale=Vector3.new(.1495,1,1)
  453. local objw16=Instance.new('Weld',obj16)
  454. objw16.Part0=obj16
  455. objw16.Part1=obj1
  456. objw16.C0=CFrame.new(0,0,2.8)*CFrame.Angles(math.rad(90),math.rad(90),0)
  457.  
  458. local obj17=Instance.new('Part',Sword)
  459. obj17.Name='Handle'
  460. obj17.formFactor='Custom'
  461. obj17.Size=Vector3.new(.35,.25,.25)
  462. obj17.BrickColor=BladeColor
  463. obj17.Material=BladeMaterial
  464. obj17.Reflectance=BladeRefl
  465. obj17.CanCollide=false
  466. obj17.TopSurface=10
  467. obj17.BottomSurface=10
  468. obj17.LeftSurface=10
  469. obj17.RightSurface=10
  470. obj17.FrontSurface=10
  471. obj17.BackSurface=10
  472. obj17:breakJoints()
  473. local objm17=Instance.new('SpecialMesh',obj17)
  474. objm17.MeshType='Wedge'
  475. objm17.Scale=Vector3.new(.1495,.61,1)
  476. local objw17=Instance.new('Weld',obj17)
  477. objw17.Part0=obj17
  478. objw17.Part1=obj1
  479. objw17.C0=CFrame.new(0,-.075,4.925)*CFrame.Angles(math.rad(90),math.rad(-90),0)
  480.  
  481.  
  482. local obj18=Instance.new('Part',Sword)
  483. obj18.Name='Handle'
  484. obj18.formFactor='Custom'
  485. obj18.Size=Vector3.new(.35,.25,.25)
  486. obj18.BrickColor=BladeColor
  487. obj18.Reflectance=BladeRefl
  488. obj18.Material=BladeMaterial
  489. obj18.CanCollide=false
  490. obj18.TopSurface=10
  491. obj18.BottomSurface=10
  492. obj18.LeftSurface=10
  493. obj18.RightSurface=10
  494. obj18.FrontSurface=10
  495. obj18.BackSurface=10
  496. obj18:breakJoints()
  497. local objm18=Instance.new('SpecialMesh',obj18)
  498. objm18.MeshType='Wedge'
  499. objm18.Scale=Vector3.new(.1495,.61,1)
  500. local objw18=Instance.new('Weld',obj18)
  501. objw18.Part0=obj18
  502. objw18.Part1=obj1
  503. objw18.C0=CFrame.new(0,-.075,4.925)*CFrame.Angles(math.rad(90),math.rad(90),0)
  504.  
  505. local obj19=Instance.new('Part',Sword)
  506. obj19.Name='Handle'
  507. obj19.formFactor='Custom'
  508. obj19.Size=Vector3.new(.35,.25,.25)
  509. obj19.BrickColor=BladeColor
  510. obj19.Material=BladeMaterial
  511. obj19.Reflectance=BladeRefl
  512. obj19.CanCollide=false
  513. obj19.TopSurface=10
  514. obj19.BottomSurface=10
  515. obj19.LeftSurface=10
  516. obj19.RightSurface=10
  517. obj19.FrontSurface=10
  518. obj19.BackSurface=10
  519. obj19:breakJoints()
  520. local objm19=Instance.new('BlockMesh',obj19)
  521. objm19.Scale=Vector3.new(.1495,.35,1)
  522. local objw19=Instance.new('Weld',obj19)
  523. objw19.Part0=obj19
  524. objw19.Part1=obj1
  525. objw19.C0=CFrame.new(0,0,3.9)*CFrame.Angles(math.rad(90),math.rad(90),0)
  526.  
  527. local obj20=Instance.new('Part',Sword)
  528. obj20.Name='Handle'
  529. obj20.formFactor='Custom'
  530. obj20.Size=Vector3.new(.35,.3,3.5)
  531. obj20.BrickColor=HandleColor
  532. obj20.Material=HandleMaterial
  533. obj20.CanCollide=false
  534. obj20.TopSurface=10
  535. obj20.BottomSurface=10
  536. obj20.LeftSurface=10
  537. obj20.RightSurface=10
  538. obj20.FrontSurface=10
  539. obj20.BackSurface=10
  540. obj20:breakJoints()
  541. local objm20=Instance.new('BlockMesh',obj20)
  542. objm20.Scale=Vector3.new(.16,1,1)
  543. local objw20=Instance.new('Weld',obj20)
  544. objw20.Part0=obj20
  545. objw20.Part1=obj1
  546. objw20.C0=CFrame.new(0,0,2.75)*CFrame.Angles(math.rad(90),math.rad(-90),0)
  547.  
  548. local obj21=Instance.new('Part',Sword)
  549. obj21.Name='Handle'
  550. obj21.formFactor='Custom'
  551. obj21.Size=Vector3.new(.25,1.15,4.25)
  552. obj21.Transparency=1
  553. obj21.BrickColor=HandleColor
  554. obj21.CanCollide=false
  555. obj21.TopSurface=10
  556. obj21.BottomSurface=10
  557. obj21.LeftSurface=10
  558. obj21.RightSurface=10
  559. obj21.FrontSurface=10
  560. obj21.BackSurface=10
  561. obj21:breakJoints()
  562. local objw21=Instance.new('Weld',obj21)
  563. objw21.Part0=obj21
  564. objw21.Part1=obj1
  565. objw21.C0=CFrame.new(0,0,3)*CFrame.Angles(math.rad(90),math.rad(-90),0)
  566. local gu=Instance.new(string.reverse('iuGecafruS'),obj21)
  567. gu.Name='noooplsdontremoveme'
  568. gu.Adornee=obj21
  569. gu.Face='Right'
  570. gu.CanvasSize=Vector2.new(450,200)
  571. local tb=Instance.new(string.reverse('lebaLtxeT'),gu)
  572. tb.Name='noooooooplsstap'
  573. tb.Size=UDim2.new(.25,0,.25,0)
  574. tb.Position=UDim2.new(.375,0,.375,0)
  575. tb.TextTransparency=.96
  576. tb.BackgroundTransparency=1
  577. tb.TextColor3=Color3.new(1,1,1)
  578. tb.TextScaled=true
  579. tb.BorderSizePixel=0
  580. tb.TextStrokeTransparency=.96
  581. tb.Text=string.reverse'777yobradec'
  582.  
  583. local obj22=Instance.new('Part',Sword)
  584. obj22.Name='Handle'
  585. obj22.formFactor='Custom'
  586. obj22.Size=Vector3.new(1.2,.1,.35)
  587. obj22.BrickColor=WrapColor
  588. obj22.Material=WrapMaterial
  589. obj22.CanCollide=false
  590. obj22.TopSurface=10
  591. obj22.BottomSurface=10
  592. obj22.LeftSurface=10
  593. obj22.RightSurface=10
  594. obj22.FrontSurface=10
  595. obj22.BackSurface=10
  596. obj22:breakJoints()
  597. local objm22=Instance.new('SpecialMesh',obj22)
  598. objm22.MeshId='http://www.roblox.com/asset?id=3270017'
  599. objm22.Scale=Vector3.new(1,.125,2)
  600. local objw22=Instance.new('Weld',obj22)
  601. objw22.Part0=obj22
  602. objw22.Part1=obj1
  603. objw22.C0=CFrame.new(0,0,1.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))
  604.  
  605. local obj23=Instance.new('Part',Sword)
  606. obj23.Name='Handle'
  607. obj23.formFactor='Custom'
  608. obj23.Size=Vector3.new(1.2,.1,.35)
  609. obj23.BrickColor=WrapColor
  610. obj23.Material=WrapMaterial
  611. obj23.CanCollide=false
  612. obj23.TopSurface=10
  613. obj23.BottomSurface=10
  614. obj23.LeftSurface=10
  615. obj23.RightSurface=10
  616. obj23.FrontSurface=10
  617. obj23.BackSurface=10
  618. obj23:breakJoints()
  619. local objm23=Instance.new('SpecialMesh',obj23)
  620. objm23.MeshId='http://www.roblox.com/asset?id=3270017'
  621. objm23.Scale=Vector3.new(.81,.125,2)
  622. local objw23=Instance.new('Weld',obj23)
  623. objw23.Part0=obj23
  624. objw23.Part1=obj1
  625. objw23.C0=CFrame.new(0,0,2.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))
  626.  
  627.  
  628.  
  629.  
  630. local clang=Instance.new('Sound',obj21)
  631. clang.Volume=.8
  632. clang.Pitch=1.15
  633. clang.SoundId='http://www.roblox.com/asset?id=155427306'
  634. local rustle=Instance.new('Sound',obj21)
  635. rustle.Volume=.8
  636. rustle.Pitch=1.15
  637. rustle.SoundId='http://www.roblox.com/asset?id=154162195'
  638. local swing=Instance.new('Sound',obj21)
  639. swing.Volume=.25
  640. swing.Pitch=1
  641. swing.SoundId='http://www.roblox.com/asset?id=160225846'
  642. local smack=Instance.new('Sound',obj21)
  643. smack.Volume=.05
  644. smack.Pitch=1.75
  645. smack.SoundId='http://www.roblox.com/asset?id=137579113'
  646. obj21.Touched:connect(function(hit)
  647. coroutine.wrap(function()
  648. if hit then
  649. for i,x in pairs(hit.Parent:GetChildren()) do if x:IsA('Humanoid') then hyoom=x end end
  650. local hawm=hit.Parent and hyoom and hit.Parent:findFirstChild('Torso') and hit.Parent.Parent
  651. if hawm and hit.Parent.ClassName=='Model' and hit.Parent~=chr and damaging and not hitdb then
  652. smack:play''
  653. hyoom.Health=hyoom.Health-(math.random(30,50)*(hyoom.MaxHealth/100))
  654. hitdb=true
  655. wait(.5)
  656. hitdb=false
  657. end
  658. local hawm=hit.Parent and hit.Parent:findFirstChild('Humanoid') and hit.Parent:findFirstChild('Torso') and hit.Parent.Parent
  659. if hawm and hit.Parent.ClassName=='Model' and hit.Parent~=chr and ((torso.Velocity*Vector3.new(1,0,1)).magnitude>RunSpeed-10 or rutprt:findFirstChild("SpinAttackVelocity")) and equipped and not armmovement then
  660. if otheranims and anim=="DashSwing" then
  661. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-(4*(hit.Parent.Humanoid.MaxHealth/100))
  662. local asd=Instance.new("BodyVelocity",hit.Parent.Humanoid.Parent.Torso)
  663. asd.maxForce=Vector3.new(1/0,1/0,1/0)
  664. asd.velocity=((obj23.CFrame.p-hit.Parent.Torso.CFrame.p).unit*-15)+Vector3.new(0,5,0)
  665. game:service'Debris':AddItem(asd,.1)
  666. hyoom.Sit=true
  667. else
  668. hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-(2*(hit.Parent.Humanoid.MaxHealth/100))
  669. end
  670. end
  671. end
  672. end)()
  673. end)
  674.  
  675. local asd=Instance.new("PointLight",hed)
  676. asd.Brightness=123
  677. asd.Shadows=false
  678. asd.Range=3
  679. asd.Color=BrickColor.new("Really black").Color
  680.  
  681. local footstep=Instance.new('Sound',rutprt)
  682. footstep.Pitch=1.235
  683. footstep.Volume=.02
  684. footstep.SoundId='http://www.roblox.com/asset?id=154162195'
  685.  
  686. local slide=Instance.new('Sound',rutprt)
  687. slide.Pitch=.675
  688. slide.Volume=.075
  689. slide.SoundId='http://www.roblox.com/asset?id=179650551'
  690.  
  691. maus.Button1Down:connect(function()
  692. if equipped and not otheranims and not sitting and not armmovement then
  693. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > RunSpeed-10 then
  694. otheranims=true
  695. anim="DashSwing"
  696. local dashvelocity=Instance.new("BodyVelocity",rutprt)
  697. dashvelocity.maxForce=Vector3.new(1/0,1/0,1/0)
  698. dashvelocity.Name="DashAttackVelocity"
  699. dashvelocity.velocity=((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*(RunSpeed*1.5)+Vector3.new(0,2.5,0)
  700. local dashrotvelo=Instance.new("BodyAngularVelocity",rutprt)
  701. dashrotvelo.Name="DashAttackRotVelocity"
  702. dashrotvelo.maxTorque=Vector3.new(0,math.huge,0)
  703. dashrotvelo.angularvelocity=Vector3.new(0,40,0)
  704. game:service'Debris':AddItem(dashvelocity,.5)
  705. game:service'Debris':AddItem(dashrotvelo,.5)
  706. for asdasd=1,5 do
  707. dashvelocity.velocity=dashvelocity.velocity-((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*RunSpeed*.3
  708. dashrotvelo.angularvelocity=dashrotvelo.angularvelocity-Vector3.new(0,8,0)
  709. wait(.085)
  710. end
  711. otheranims=false
  712. else
  713. trailing=true
  714. armmovement=true
  715. swing.Pitch=math.random(85,100)*.01
  716. if Swing=='Swing1' then
  717. armanim='Swing1P1'
  718. wait(.35)
  719. swing:play''
  720. damaging=true
  721. armanim='Swing1P2'
  722. wait(.45)
  723. Swing='Swing2'
  724.  
  725. elseif Swing=='Swing2' then
  726. armanim='Swing2P1'
  727. wait(.35)
  728. swing:play''
  729. damaging=true
  730. armanim='Swing2P2'
  731. wait(.45)
  732. Swing='Swing3'
  733.  
  734. elseif Swing=='Swing3' then
  735. armanim='Swing3P1'
  736. wait(.35)
  737. swing:play''
  738. damaging=true
  739. armanim='Swing3P2'
  740. wait(.45)
  741. Swing='Swing1'
  742. end
  743. trailing=false
  744. armmovement=false
  745. damaging=false
  746. end
  747. end
  748. end)
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755. plr.Chatted:connect(function(m)
  756. if m:lower():sub(1,3)=='/e ' then m=m:sub(4)
  757. if m:lower():sub(1,5)=='dance' and not otheranims and surfing then
  758. dnc=true
  759. anim='Dance'
  760. end
  761. end
  762. end)
  763.  
  764. maus.KeyDown:connect(function(kei)
  765. if (string.byte(kei)==48 or string.byte(kei)==47) and not otheranims and not sitting and not disabled and not sneaking then
  766. chr.Humanoid.WalkSpeed=RunSpeed
  767. end
  768. if kei=="v" and not otheranims and not sneaking and not sitting and not flying and not armmovement and not disabled and not lit then
  769. if (torso.Velocity*Vector3.new(1,0,1)).magnitude>=RunSpeed-2.5 then
  770. otheranims=true
  771. anim="Sliding"
  772. local tempvelocity=Instance.new('BodyVelocity',rutprt)
  773. tempvelocity.Name="TemporaryVelocity"
  774. tempvelocity.maxForce=Vector3.new(math.huge,0,math.huge)
  775. tempvelocity.velocity=((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*RunSpeed
  776. coroutine.resume(coroutine.create(function()
  777. local totesvelocity=RunSpeed
  778. repeat
  779. if (tempvelocity.velocity*Vector3.new(1,1,1)).magnitude<=1 then otheranims=false tempvelocity:destroy''
  780. elseif (tempvelocity.velocity*Vector3.new(1,1,1)).magnitude>1 then
  781. totesvelocity=totesvelocity-(.5*(RunSpeed/100))
  782. tempvelocity.velocity=((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*totesvelocity
  783. end
  784. wait''
  785. until tempvelocity.Parent==nil
  786. end))
  787. coroutine.resume(coroutine.create(function()
  788. repeat slide:play'' wait'1.35' until tempvelocity.Parent~=rutprt end))
  789. coroutine.resume(coroutine.create(function()
  790. repeat
  791. local rei=Ray.new(rleg.CFrame.p,((rleg.CFrame*CFrame.new(0,1.25,0)).p-rleg.CFrame.p).unit*-2)
  792. local parthit,point=Workspace:FindPartOnRay(rei)
  793. if parthit and point and parthit.CanCollide then
  794. local asdf=Instance.new('Part',Sword)
  795. asdf.CanCollide=false
  796. asdf.Anchored=true
  797. asdf.Name="Smokin' hawt"
  798. asdf.formFactor='Custom'
  799. asdf.Size=Vector3.new(.5,.5,.5)
  800. asdf.BrickColor=parthit.BrickColor
  801. asdf.CFrame=rleg.CFrame*CFrame.new(0,-.9,0)
  802. asdf.TopSurface=10
  803. asdf.Material='Neon'
  804. asdf.BottomSurface=10
  805. asdf.LeftSurface=10
  806. asdf.RightSurface=10
  807. asdf.FrontSurface=10
  808. asdf.BackSurface=10
  809. game:service'Debris':AddItem(asdf,1.5)
  810. local asdfg=Instance.new("SpecialMesh",asdf)
  811. asdfg.MeshType="Sphere"
  812. coroutine.wrap(function()
  813. for jkl=1,4,.15 do asdfg.Scale=Vector3.new(jkl,jkl,jkl) asdf.Transparency=asdf.Transparency+.05 asdf.CFrame=asdf.CFrame+Vector3.new(0,.05,0) wait'' end
  814. end)()
  815. end
  816. wait''
  817. until tempvelocity.Parent==nil
  818. end))
  819. end
  820. end
  821. if kei=='c' and not otheranims and not sitting and not flying and not lit and not disabled then
  822. if sneaking then
  823. sneaking=false
  824. chr.Humanoid.WalkSpeed=WlkSpeed
  825. elseif not sneaking then
  826. chr.Humanoid.WalkSpeed=SneakSpeed
  827. sneaking=true
  828. anim='Pre-Sneak'
  829. wait(.5)
  830. anim='Sneaking'
  831. end
  832. end
  833. if kei=='g' then
  834. if not armmovement and not otheranims and equipped and not sitting and not flying and not sneaking then
  835. trailing=false
  836. lit=true armmovement=true armanim='Glowing'
  837. light=Instance.new('Part',Sword)
  838. light.Name='LightOrbASD'
  839. light.formFactor='Custom'
  840. light.Size=Vector3.new(.6,.6,.6)
  841. light.BrickColor=LightColor
  842. light.Material="Neon"
  843. light.Transparency=.6
  844. light.CanCollide=false
  845. light.TopSurface=10
  846. light.BottomSurface=10
  847. light.LeftSurface=10
  848. light.RightSurface=10
  849. light.FrontSurface=10
  850. light.BackSurface=10
  851. light.Locked=true
  852. light:breakJoints()
  853. local lightm=Instance.new('SpecialMesh',light)
  854. lightm.MeshType='Sphere'
  855. lightw=Instance.new('Weld',light)
  856. lightw.Part0=light
  857. lightw.Part1=obj1
  858. lightw.C0=CFrame.new(0,5.5,0)*CFrame.Angles(0,0,0)
  859. lgt=Instance.new('PointLight',light)
  860. lgt.Brightness=123123
  861. lgt.Color=light.BrickColor.Color
  862. lgt.Shadows=true
  863. lgt.Range=0
  864. light2=Instance.new('Part',light)
  865. light2.Name='LightOrbASD2'
  866. light2.formFactor='Custom'
  867. light2.Size=Vector3.new(.25,.25,.25)
  868. light2.BrickColor=LightColor
  869. light2.Material="Neon"
  870. light2.CanCollide=false
  871. light2.TopSurface=10
  872. light2.BottomSurface=10
  873. light2.LeftSurface=10
  874. light2.RightSurface=10
  875. light2.FrontSurface=10
  876. light2.BackSurface=10
  877. light2.Locked=true
  878. light2:breakJoints()
  879. local lightm2=Instance.new('SpecialMesh',light2)
  880. lightm2.MeshType='Sphere'
  881. lightw2=Instance.new('Weld',light2)
  882. lightw2.Part0=light2
  883. lightw2.Part1=light
  884. lightw2.C0=CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  885. end end
  886. if kei=='e' and not otheranims and not armmovement and not disabled and not lit and not sneaking then
  887. otheranims=true
  888. anim="PreSuperJump"
  889. chr.Humanoid.WalkSpeed=0
  890. wait''
  891. local rang=Instance.new('Part',TrailModel)
  892. rang.formFactor='Custom'
  893. rang.Transparency=1
  894. rang.BrickColor=BrickColor.new("Institutional white")
  895. rang.Size=Vector3.new(10,10,10)
  896. rang.Name='rang'
  897. rang.Material="Neon"
  898. rang.TopSurface=10
  899. rang.BottomSurface=10
  900. rang.Locked=true
  901. rang.FrontSurface=10
  902. rang.LeftSurface=10
  903. rang.RightSurface=10
  904. rang.BackSurface=10
  905. rang.CanCollide=false
  906. rang.Anchored=true
  907. rang.CFrame=rutprt.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0)
  908. local rmsh=Instance.new('SpecialMesh',rang)
  909. rmsh.MeshId="http://www.roblox.com/asset/?id=3270017"
  910. rmsh.Scale=Vector3.new(2,2,1.5)
  911. game:service'Debris':AddItem(rang,.8)
  912. coroutine.wrap(function()
  913. for asdd=10,0,-.4 do
  914. rang.CFrame=rutprt.CFrame*CFrame.new(0,-2.5,0)*CFrame.Angles(math.rad(90),0,0)
  915. rmsh.Scale=Vector3.new(asdd,asdd,1.5)
  916. rang.Transparency=rang.Transparency-.05 wait'0'
  917. end
  918. end)()
  919. wait'.8'
  920. chr.Humanoid.WalkSpeed=WlkSpeed
  921. chr.Humanoid.Jump=true
  922. anim="SuperJump"
  923. local aasdd=Instance.new("BodyVelocity",rutprt)
  924. aasdd.maxForce=Vector3.new(0,1/0,0)
  925. aasdd.velocity=Vector3.new(0,111,0)
  926. game:service'Debris':AddItem(aasdd,.175)
  927. wait(.5)
  928. otheranims=false
  929. end
  930. if kei=='w' then fldb.w=true end
  931. if kei=='a' then fldb.a=true end
  932. if kei=='s' then fldb.s=true end
  933. if kei=='d' then fldb.d=true end
  934. if kei=='x' and not otheranims and not armmovement and equipped and not disabled and not lit and not sneaking then
  935. if not sitting then
  936. chr.Humanoid.WalkSpeed=0
  937. sitting=true
  938. anim='Sitting'
  939. elseif sitting then
  940. chr.Humanoid.WalkSpeed=WlkSpeed
  941. sitting=false
  942. end
  943. end
  944. if kei=='m' then
  945. if not armmovement and not otheranims and equipped and not sitting and not tpdb and not flying and not disabled and not sneaking then
  946. tpdb=true
  947. local ray=Ray.new(rutprt.CFrame.p,((rutprt.CFrame*CFrame.new(0,0,-1)).p-rutprt.CFrame.p).unit*30)
  948. local p,b=workspace:FindPartOnRay(ray,chr)
  949. if p and p.CanCollide then
  950. rutprt.CFrame=rutprt.CFrame*CFrame.new(0,0,-((rutprt.CFrame.p-b).magnitude))
  951. else
  952. rutprt.CFrame=rutprt.CFrame*CFrame.new(0,0,-30)
  953. end
  954. wait(2)
  955. tpdb=false
  956. end
  957. end
  958. if kei=="f" and not otheranims and not armmovement and not sitting and not lit and equipped and not sneaking and not disabled and not flying then
  959. otheranims=true
  960. trailing=true
  961. anim="SpinAttack"
  962. local spinvelocity=Instance.new("BodyAngularVelocity",rutprt)
  963. spinvelocity.Name="SpinAttackVelocity"
  964. spinvelocity.maxTorque=Vector3.new(0,math.huge,0)
  965. end
  966. if kei=='r' and not otheranims and not armmovement and not sitting and not lit and equipped and not sneaking then
  967. trailing=false
  968. runnin=false
  969. armmovement=true
  970. disabled=true
  971. armanim='Healing'
  972. chr.Humanoid.WalkSpeed=0
  973. heal=Instance.new('Part',TrailModel)
  974. heal.Name='healOrbASD'
  975. heal.formFactor='Custom'
  976. heal.Size=Vector3.new(.85,.85,.85)
  977. heal.BrickColor=HealOrbColor
  978. heal.Transparency=.6
  979. heal.Material="Neon"
  980. heal.Reflectance=.5
  981. heal.CanCollide=false
  982. heal.TopSurface=10
  983. heal.BottomSurface=10
  984. heal.LeftSurface=10
  985. heal.RightSurface=10
  986. heal.FrontSurface=10
  987. heal.BackSurface=10
  988. heal.Locked=true
  989. heal:breakJoints()
  990. local healm=Instance.new('SpecialMesh',heal)
  991. healm.MeshType='Sphere'
  992. healw=Instance.new('Weld',heal)
  993. healw.Part0=heal
  994. healw.Part1=torso
  995. healw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  996. local asd=Instance.new('PointLight',heal)
  997. asd.Brightness=123123
  998. asd.Color=heal.BrickColor.Color
  999. asd.Shadows=true
  1000. asd.Range=8
  1001. local heal2=Instance.new('Part',heal)
  1002. heal2.Name='healOrbASD2'
  1003. heal2.formFactor='Custom'
  1004. heal2.Size=Vector3.new(.4,.4,.4)
  1005. heal2.BrickColor=HealOrbColor
  1006. heal2.Material="Neon"
  1007. heal2.CanCollide=false
  1008. heal2.Reflectance=.5
  1009. heal2.TopSurface=10
  1010. heal2.BottomSurface=10
  1011. heal2.LeftSurface=10
  1012. heal2.RightSurface=10
  1013. heal2.FrontSurface=10
  1014. heal2.BackSurface=10
  1015. heal2.Locked=true
  1016. heal2:breakJoints()
  1017. local healm2=Instance.new('SpecialMesh',heal2)
  1018. healm2.MeshType='Sphere'
  1019. healw2=Instance.new('Weld',heal2)
  1020. healw2.Part0=heal2
  1021. healw2.Part1=heal
  1022. healw2.C0=CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  1023. other=Instance.new('Part',TrailModel)
  1024. other.Name='otherOrbASD'
  1025. other.formFactor='Custom'
  1026. other.Size=Vector3.new(.85,.85,.85)
  1027. other.BrickColor=HealOrbColor
  1028. other.Material="Neon"
  1029. other.Transparency=.6
  1030. other.Reflectance=.5
  1031. other.CanCollide=false
  1032. other.TopSurface=10
  1033. other.BottomSurface=10
  1034. other.LeftSurface=10
  1035. other.RightSurface=10
  1036. other.FrontSurface=10
  1037. other.BackSurface=10
  1038. other.Locked=true
  1039. other:breakJoints()
  1040. local otherm=Instance.new('SpecialMesh',other)
  1041. otherm.MeshType='Sphere'
  1042. otherw=Instance.new('Weld',other)
  1043. otherw.Part0=other
  1044. otherw.Part1=torso
  1045. otherw.C0=CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  1046. local asd2=Instance.new('PointLight',other)
  1047. asd2.Brightness=123123
  1048. asd2.Color=other.BrickColor.Color
  1049. asd2.Shadows=true
  1050. asd2.Range=8
  1051. local other2=Instance.new('Part',other)
  1052. other2.Name='otherOrbASD2'
  1053. other2.formFactor='Custom'
  1054. other2.Size=Vector3.new(.4,.4,.4)
  1055. other2.BrickColor=HealOrbColor
  1056. other2.CanCollide=false
  1057. other2.Material="Neon"
  1058. other2.Reflectance=.5
  1059. other2.TopSurface=10
  1060. other2.BottomSurface=10
  1061. other2.LeftSurface=10
  1062. other2.RightSurface=10
  1063. other2.FrontSurface=10
  1064. other2.BackSurface=10
  1065. other2.Locked=true
  1066. other2:breakJoints()
  1067. local otherm2=Instance.new('SpecialMesh',other2)
  1068. otherm2.MeshType='Sphere'
  1069. otherw2=Instance.new('Weld',other2)
  1070. otherw2.Part0=other2
  1071. otherw2.Part1=other
  1072. otherw2.C0=CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  1073. end
  1074. if kei=='z' and not armmovement and not otheranims and not disabled and not sitting and not lit and not shootdb and equipped and not sneaking then
  1075. armmovement=true
  1076. shootdb=true
  1077. armanim='Swing2P1'
  1078. wait(.25)
  1079. trailing=true
  1080. armanim='Swing2P2'
  1081. wait()
  1082. local blast=Instance.new('Part',TrailModel)
  1083. blast.Name='BlastOrb'
  1084. blast.formFactor='Custom'
  1085. blast.Size=Vector3.new(2,2,2)
  1086. blast.BrickColor=AttackOrbColor
  1087. blast.Transparency=.6
  1088. blast.CanCollide=false
  1089. blast.Material="Neon"
  1090. blast.TopSurface=10
  1091. blast.BottomSurface=10
  1092. blast.LeftSurface=10
  1093. blast.RightSurface=10
  1094. blast.FrontSurface=10
  1095. blast.BackSurface=10
  1096. blast.Locked=true
  1097. blast:breakJoints()
  1098. blast.CFrame=obj1.CFrame*CFrame.new(0,-6,0)
  1099. local whizz=Instance.new('Sound',blast)
  1100. whizz.Volume=.25
  1101. whizz.Pitch=2
  1102. whizz.Looped=true
  1103. whizz.SoundId='http://www.roblox.com/asset?id=133116870'
  1104. whizz:play''
  1105. local blastm=Instance.new('SpecialMesh',blast)
  1106. blastm.MeshType='Sphere'
  1107. local blastlt2=Instance.new('PointLight',blast)
  1108. blastlt2.Brightness=123123
  1109. blastlt2.Color=blast.BrickColor.Color
  1110. blastlt2.Shadows=true
  1111. blastlt2.Range=10
  1112. local blast2=Instance.new('Part',blast)
  1113. blast2.Name='BlastOrb'
  1114. blast2.formFactor='Custom'
  1115. blast2.Size=Vector3.new(1.25,1.25,1.25)
  1116. blast2.BrickColor=AttackOrbColor
  1117. blast2.Transparency=0
  1118. blast2.CanCollide=false
  1119. blast2.Anchored=true
  1120. blast2.Material="Neon"
  1121. blast2.TopSurface=10
  1122. blast2.BottomSurface=10
  1123. blast2.LeftSurface=10
  1124. blast2.RightSurface=10
  1125. blast2.FrontSurface=10
  1126. blast2.BackSurface=10
  1127. blast2.Locked=true
  1128. blast2:breakJoints()
  1129. local blastm2=Instance.new('SpecialMesh',blast2)
  1130. blastm2.MeshType='Sphere'
  1131. local blvel=Instance.new('BodyVelocity',blast)
  1132. blvel.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1133. blvel.velocity=Vector3.new(math.cos(syne)/5,0,math.sin(syne)/5)+(((obj1.CFrame*CFrame.new(0,-6,0)).p-(maus.Hit.p+Vector3.new(0,.5,0))).unit*-80)
  1134. game:service'Debris':AddItem(blast,30)
  1135. game:service'Debris':AddItem(blast2,30)
  1136. blast.Touched:connect(function(hit)
  1137. coroutine.wrap(function()
  1138. if hit then
  1139. for i,x in pairs(hit.Parent:GetChildren()) do if x:IsA('Humanoid') then hyoom=x end end
  1140. local hawm=hit.Parent and hyoom and hit.Parent:findFirstChild('Torso') and hit.Parent.Parent
  1141. if hawm and hit.Parent.ClassName=='Model' and hit.Parent~=chr then
  1142. hyoom.Health=hyoom.Health-(.8*(hyoom.MaxHealth/100))
  1143. end
  1144. end
  1145. end)()
  1146. end)
  1147. coroutine.resume(coroutine.create(function()
  1148. armmovement=false
  1149. trailing=false
  1150. wait(25)
  1151. shootdb=false
  1152. end))
  1153. coroutine.resume(coroutine.create(function()
  1154. repeat
  1155. blast2.CFrame=blast.CFrame
  1156. local pos1=blast.CFrame
  1157. wait(-1)
  1158. local pos2=blast.CFrame
  1159. blast2.CFrame=blast.CFrame
  1160. local dees=(pos1.p-pos2.p).magnitude
  1161. local treel=Instance.new('Part',TrailModel)
  1162. treel.Name='treelOrbASD'
  1163. treel.formFactor='Custom'
  1164. treel.Size=Vector3.new(.5,dees,.5)
  1165. treel.BrickColor=AttackOrbColor
  1166. treel.Anchored=true
  1167. treel.Transparency=0
  1168. treel.Material="Neon"
  1169. treel.CanCollide=false
  1170. treel.TopSurface=10
  1171. treel.BottomSurface=10
  1172. treel.LeftSurface=10
  1173. treel.RightSurface=10
  1174. treel.FrontSurface=10
  1175. treel.BackSurface=10
  1176. treel.Locked=true
  1177. treel:breakJoints()
  1178. treel.CFrame=CFrame.new(Avg(pos1,pos2).p,pos2.p)*CFrame.Angles(math.pi/2,0,0)
  1179. blvel.velocity=(((blast.CFrame).p-(maus.Hit.p)).unit*-80)
  1180. local asdf=Instance.new('PointLight',treel)
  1181. asdf.Color=treel.BrickColor.Color
  1182. asdf.Range=6
  1183. asdf.Shadows=true
  1184. asdf.Brightness=123123
  1185. local treelm=Instance.new('CylinderMesh',treel)
  1186. game:service'Debris':AddItem(treel,.6)
  1187. coroutine.wrap(function()
  1188. wait()
  1189. for asd=1.05,-0,-.075 do treelm.Scale=Vector3.new(asd,1,asd) wait(-1)
  1190. end
  1191. end)()
  1192. until not blast
  1193. end))
  1194. end
  1195. end)
  1196.  
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211.  
  1212.  
  1213.  
  1214.  
  1215.  
  1216. maus.KeyUp:connect(function(kei)
  1217. if (string.byte(kei)==48 or string.byte(kei)==47) and not otheranims and not sitting and not disabled and not sneaking then
  1218. chr.Humanoid.WalkSpeed=WlkSpeed
  1219. end
  1220. if kei=='w' then fldb.w=false end
  1221. if kei=='a' then fldb.a=false end
  1222. if kei=='s' then fldb.s=false end
  1223. if kei=='d' then fldb.d=false end
  1224. if kei=='g' and lit then
  1225. lit=false armmovement=false
  1226. if Sword:findFirstChild('LightOrbASD') then Sword.LightOrbASD:Destroy() end
  1227. end
  1228. if kei=="f" and otheranims and rutprt:findFirstChild("SpinAttackVelocity") then
  1229. otheranims=false
  1230. trailing=false
  1231. if rutprt:findFirstChild("SpinAttackVelocity") then rutprt.SpinAttackVelocity:Destroy'' end end
  1232. if kei=='r' and not lit and not otheranims and disabled and armmovement and not sneaking then
  1233. disabled=false armmovement=false chr.Humanoid.WalkSpeed=WlkSpeed
  1234. if TrailModel:findFirstChild('healOrbASD') then TrailModel.healOrbASD:Destroy() end
  1235. if TrailModel:findFirstChild('otherOrbASD') then TrailModel.otherOrbASD:Destroy() end
  1236. end
  1237. if kei=="v" and rutprt:findFirstChild("TemporaryVelocity") and otheranims then
  1238. otheranims=false
  1239. rutprt["TemporaryVelocity"]:destroy''
  1240. end
  1241. end)
  1242.  
  1243.  
  1244.  
  1245.  
  1246. local currenthealth=chr.Humanoid.Health
  1247.  
  1248. chr.Humanoid.Changed:connect(function(ch)
  1249. if ch=='Jump' then
  1250. if sitting then
  1251. chr.Humanoid.Jump=false
  1252. end
  1253. if sneaking then
  1254. sneaking=false
  1255. end
  1256. end
  1257. hp=chr.Humanoid.Health
  1258. if hp<currenthealth and currenthealth>2 then
  1259. local damagetaken=currenthealth-hp
  1260. chr.Humanoid.Health=currenthealth-damagetaken*.5
  1261. currenthealth=chr.Humanoid.Health
  1262. end
  1263. if ch=="PlatformStand" then
  1264. chr.Humanoid.PlatformStand=false
  1265. end
  1266. end)
  1267.  
  1268. chr.Humanoid.Jumping:connect(function()
  1269. jump:Play()
  1270. end)
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276. game:service'RunService'.RenderStepped:connect(function()
  1277. if rutprt:findFirstChild("SpinAttackVelocity") then
  1278. rutprt.SpinAttackVelocity.angularvelocity=TwnVector3(rutprt.SpinAttackVelocity.angularvelocity,Vector3.new(0,35,0),.01)
  1279. end
  1280. if sneaking and not runnin then
  1281. footstep.Volume=.05
  1282. footstep.Pitch=1
  1283. elseif not sneaking and not runnin then
  1284. footstep.Volume=.055
  1285. footstep.Pitch=1.235
  1286. elseif not sneaking and runnin then
  1287. footstep.Volume=.06
  1288. footstep.Pitch=1.235
  1289. end
  1290. if anim~=lastanim then
  1291. runtime=0
  1292. end
  1293. lastanim=anim
  1294. chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0)
  1295. syne=syne+.95
  1296. if not otheranims and not sitting and not sneaking then
  1297. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not chr.Humanoid.Jump then
  1298. anim="Idling"
  1299.  
  1300. elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude < RunSpeed-10 and not chr.Humanoid.Jump then
  1301. anim="Walking"
  1302.  
  1303. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > RunSpeed-10 and not chr.Humanoid.Jump then
  1304. anim="Sprinting"
  1305.  
  1306. elseif torso.Velocity.y>5 and chr.Humanoid.Jump then
  1307. anim='Jumping'
  1308.  
  1309. elseif (torso.Velocity.y < -5) and chr.Humanoid.Jump then
  1310. anim='Falling'
  1311.  
  1312. end
  1313. end
  1314.  
  1315. if sneaking then
  1316. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and torso.Velocity.y<1 and torso.Velocity.y>-1 and anim~='Pre-Sneak' then
  1317. anim="SneakIdle"
  1318.  
  1319. elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude < 25 and torso.Velocity.y<1 and torso.Velocity.y>-1 then
  1320. anim="SneakWalk"
  1321. end
  1322. end
  1323.  
  1324. if anim=="Idling" then
  1325. if lastanim=='Sprinting' then
  1326. idlesineinc=20
  1327. else
  1328. idlesineinc=35
  1329. end
  1330. if not armmovement and not equipped then
  1331. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(3)),.1)
  1332. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(-3)),.1)
  1333. objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(0,math.rad(0),-(math.cos(syne/idlesineinc)/25)+math.rad(37.5)),.1)
  1334. trailing=false
  1335. elseif equipped and not armmovement then
  1336. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.4+math.cos(syne/idlesineinc)/25,-.1)*CFrame.Angles(math.rad(50),0,math.rad(-5)),.1)
  1337. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(-3)),.1)
  1338. objw1.C0=Lerp(objw1.C0,CFrame.new(.3,0,.1)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(-65)),.1)
  1339. trailing=false
  1340. end
  1341. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(-2.5)),.1)
  1342. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/idlesineinc)/20,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(2.5)),.1)
  1343. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/idlesineinc)/50,0)*CFrame.Angles(math.cos(syne/idlesineinc)/40,0,0),.1)
  1344. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/idlesineinc)/20,0)*CFrame.Angles(math.cos(syne/idlesineinc)/35+math.rad(0),math.rad(0),math.rad(0)),.1)
  1345. end
  1346.  
  1347. if anim=="Walking" then
  1348. tik=tik+1
  1349. if tik==18 then
  1350. footstep:play''
  1351. elseif tik>=36 then tik=0
  1352. footstep:play''
  1353. end
  1354. if not armmovement and not equipped then
  1355. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(math.cos(syne/6)/1.25,math.rad(5),-(math.cos(syne/6.75)/15)+math.rad(3)),.1)
  1356. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(-(math.cos(syne/6)/1.25),0,-(math.cos(syne/6.75)/15)-math.rad(3)),.1)
  1357. objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(-(math.cos(syne/6)/8),math.rad(0),-(math.cos(syne/6)/8)+math.rad(37.5)),.1)
  1358. trailing=false
  1359. elseif equipped and not armmovement then
  1360. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.4+math.cos(syne/3)/10,-.1)*CFrame.Angles(math.cos(syne/6)/10+math.rad(50),0,math.cos(syne/3)/10+math.rad(-5)),.1)
  1361. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/15)/25,0)*CFrame.Angles(-(math.cos(syne/6)/1.25),0,-(math.cos(syne/6.75)/15)-math.rad(3)),.1)
  1362. objw1.C0=Lerp(objw1.C0,CFrame.new(.3,0,.1)*CFrame.Angles(math.rad(-5),math.rad(0),math.rad(-65)),.1)
  1363. trailing=false
  1364. end
  1365.  
  1366. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.9-math.cos(syne/6)/10,-(math.cos(syne/6)/1.125))*CFrame.Angles(math.cos(syne/6)/1.125,0,math.rad(-2.5)),.1)
  1367. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9-math.cos(syne/6)/10,math.cos(syne/6)/1.125)*CFrame.Angles(-(math.cos(syne/6)/1.125),0,math.rad(2.5)),.1)
  1368. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/3)/20,0,0),.1)
  1369. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/3.375)/20,math.cos(syne/3)/5)*CFrame.Angles(math.cos(syne/3)/20+math.rad(-3.5),math.cos(syne/6)/10,-math.cos(syne/6)/30+math.sin(rutprt.RotVelocity.y/2)/7.5),.1)
  1370. end
  1371.  
  1372. if anim=="Sprinting" then
  1373. tik=tik+1
  1374. if tik==13 then
  1375. footstep:play''
  1376. elseif tik>=26 then tik=0
  1377. footstep:play''
  1378. end
  1379. if not armmovement and not equipped then
  1380. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-55),0,math.rad(12.5)-math.cos(syne/4)/5),.1)
  1381. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-55),0,math.rad(-12.5)-math.cos(syne/4)/5),.1)
  1382. objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(-(math.cos(syne/4)/3.5),math.rad(0),-(math.cos(syne/4)/3.5)+math.rad(37.5)),.1)
  1383. trailing=false
  1384. elseif not armmovement and equipped then
  1385. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.1,(math.cos(syne/2.5)/5)+.4,-.1)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(40),0,math.rad(-20)),.1)
  1386. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.4,(math.cos(syne/2.5)/5)+.2,-.333)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(40),0,math.rad(45)),.1)
  1387. objw1.C0=Lerp(objw1.C0,CFrame.new(.3,.5,.1)*CFrame.Angles(math.rad(80),math.rad(-20),math.rad(-70)),.1)
  1388. trailing=true
  1389. end
  1390. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.6-math.cos(syne/4)/4,-(math.cos(syne/4)*2))*CFrame.Angles(math.cos(syne/4)*2,0,math.rad(-2.5)),.1)
  1391. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.6-math.cos(syne/4)/4,math.cos(syne/4)*2)*CFrame.Angles(-(math.cos(syne/4)*2),0,math.rad(2.5)),.1)
  1392. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(10),-math.cos(syne/4)/5,0),.1)
  1393. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.3+math.cos(syne/2.5)/15,math.cos(syne/2.5)/1.5)*CFrame.Angles(math.cos(syne/2.5)/10+math.rad(-15),math.cos(syne/4)/5,math.cos(syne/4)/20+math.sin(rutprt.RotVelocity.y/2)/4),.1)
  1394. end
  1395.  
  1396. if anim=="Jumping" then
  1397. if not armmovement and not equipped then
  1398. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.1)
  1399. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
  1400. objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.1)
  1401. elseif equipped and not armmovement then
  1402. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,-.1)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(30),0,math.rad(15)),.1)
  1403. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.45,-.2)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(10),0,math.rad(-5)),.1)
  1404. objw1.C0=Lerp(objw1.C0,CFrame.new(.2,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1)
  1405. end
  1406. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.4,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
  1407. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.1,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.1)
  1408. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(math.cos(syne/20)/40,0,0),.1)
  1409. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),.1)
  1410. end
  1411.  
  1412. if anim=="Falling" then
  1413. if not armmovement and not equipped then
  1414. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.1)
  1415. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
  1416. objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.1)
  1417. elseif equipped and not armmovement then
  1418. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.4,-.2)*CFrame.Angles(math.rad(70),0,math.rad(-20)),.1)
  1419. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.4,-.6)*CFrame.Angles(math.rad(50),0,math.rad(57)),.1)
  1420. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1)
  1421. end
  1422. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.4,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
  1423. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.1,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.1)
  1424. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(math.cos(syne/20)/40,0,0),.1)
  1425. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/20)/20,0)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),.1)
  1426. end
  1427.  
  1428. if anim=="Sliding" then
  1429. if not equipped then
  1430. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(-20),0,math.rad(60)),.1)
  1431. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
  1432. objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.1)
  1433. elseif equipped then
  1434. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(-20),0,math.rad(60)),.1)
  1435. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
  1436. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  1437. end
  1438. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
  1439. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.95,0)*CFrame.Angles(math.rad(0),0,math.rad(2.5)),.1)
  1440. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20),math.rad(-60),0),.1)
  1441. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.2,0)*CFrame.Angles(math.rad(45),math.rad(85),math.rad(0)),.1)
  1442. end
  1443.  
  1444. if anim=="DashSwing" then
  1445. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.1,.5,-.3)*CFrame.Angles(math.rad(65),0,math.rad(-20)),.1)
  1446. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.4,.3,-.4)*CFrame.Angles(math.rad(65),0,math.rad(45)),.1)
  1447. objw1.C0=Lerp(objw1.C0,CFrame.new(.3,.5,.1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-32.5)),.1)
  1448. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.5,-1.4,-1)*CFrame.Angles(math.rad(65),0,math.rad(7.5)),.1)
  1449. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.2,0)*CFrame.Angles(math.rad(-22.5),0,math.rad(2.5)),.1)
  1450. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-10),0,0),.1)
  1451. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,.1+rutprt.Weld.C0.y+.05,0)*CFrame.Angles(math.rad(5),math.rad(TwnSingleNumber(rutprt.Weld.C0:toEulerAnglesXYZ().y,179,.1)),math.rad(-12)),.1)
  1452. end
  1453.  
  1454. if anim=="SpinAttack" then
  1455. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.2,.35,-.5)*CFrame.Angles(math.cos(syne/30)/15+math.rad(rutprt.SpinAttackVelocity.angularvelocity.y*2),0,math.rad(-30)),.1)
  1456. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.2,.35,-.5)*CFrame.Angles(math.cos(syne/30)/15+math.rad(rutprt.SpinAttackVelocity.angularvelocity.y*2),0,math.rad(30)),.1)
  1457. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,-.15)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(87.5)),.1)
  1458. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.9,math.rad(20))*CFrame.Angles(math.rad(-20),0,math.rad(-2.5)),.1)
  1459. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.9,math.rad(20))*CFrame.Angles(math.rad(-20),0,math.rad(2.5)),.1)
  1460. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,-.25)*CFrame.Angles(math.rad(-20),math.rad(0),0),.1)
  1461. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,.5+math.cos(syne/20)/2,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(0)),.025)
  1462. end
  1463.  
  1464. if equipped then
  1465. objw1.Part1=rarm
  1466. objw1.C1=CFrame.new(-.4,-1,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(90))
  1467. elseif not equipped then
  1468. objw1.Part1=torso
  1469. objw1.C1=CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  1470. end
  1471.  
  1472. if anim=='Sitting' and equipped and sitting then
  1473. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.3,-.35)*CFrame.Angles(math.rad(40),0,math.rad(-37.5)),.25)
  1474. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.15,.3,-.35)*CFrame.Angles(math.rad(40),0,math.rad(37.5)),.25)
  1475. objw1.C0=Lerp(objw1.C0,CFrame.new(0,.4,-.3)*CFrame.Angles(math.rad(130),math.rad(60),math.rad(10)),.125)
  1476. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.6,-1,-.7)*CFrame.Angles(math.rad(70),0,math.rad(-12)),.25)
  1477. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.6,-1,-.7)*CFrame.Angles(math.rad(70),0,math.rad(12)),.25)
  1478. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),0,0),.25)
  1479. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,1,-.25)*CFrame.Angles(math.rad(-7.5),math.rad(0),math.rad(0)),.25)
  1480. end
  1481.  
  1482. if anim=="PreSuperJump" then
  1483. if not equipped and not armmovement then
  1484. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.05)
  1485. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.05)
  1486. objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.05)
  1487. elseif equipped and not armmovement then
  1488. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.4,-.2)*CFrame.Angles(math.rad(40),0,math.rad(-20)),.1)
  1489. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.4,-.6)*CFrame.Angles(math.rad(20),0,math.rad(57)),.1)
  1490. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1)
  1491. end
  1492. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-.4,.3)*CFrame.Angles(math.rad(-40),0,math.rad(-2.5)),.05)
  1493. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-.6,-.65)*CFrame.Angles(math.rad(10),0,math.rad(2.5)),.05)
  1494. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,.3)*CFrame.Angles(math.rad(40),0,0),.05)
  1495. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.6,.2)*CFrame.Angles(math.rad(-14),math.rad(0),math.rad(0)),.05)
  1496. end
  1497.  
  1498. if anim=="SuperJump" then
  1499. if not armmovement and not equipped then
  1500. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.4,.525,0)*CFrame.Angles(math.rad(-10),0,math.rad(20)),.1)
  1501. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.4,.525,0)*CFrame.Angles(math.rad(-10),0,math.rad(-20)),.1)
  1502. objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(28)),.1)
  1503. elseif equipped and not armmovement then
  1504. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.4,-.2)*CFrame.Angles(math.rad(50),0,math.rad(-20)),.1)
  1505. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.4,-.6)*CFrame.Angles(math.rad(30),0,math.rad(57)),.1)
  1506. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1)
  1507. end
  1508. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1.8,0)*CFrame.Angles(math.rad(-2.5),0,math.rad(-2.5)),.2)
  1509. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1.8,0)*CFrame.Angles(math.rad(-2.5),0,math.rad(2.5)),.2)
  1510. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,.3)*CFrame.Angles(math.rad(30),0,0),.1)
  1511. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  1512. chr.Humanoid.Jump=true
  1513. end
  1514.  
  1515. if armmovement then
  1516. if equipped and armanim=='Swing1P1' then
  1517. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,0)*CFrame.Angles(math.rad(179),0,math.rad(-22.5)),.125)
  1518. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.65,.6,-.475)*CFrame.Angles(math.rad(179),0,math.rad(40)),.125)
  1519. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(-20),math.rad(40)),.125)
  1520. end
  1521. if equipped and armanim=='Swing1P2' then
  1522. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,0)*CFrame.Angles(math.rad(29),0,math.rad(-27.5)),.3)
  1523. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.65,.6,-.475)*CFrame.Angles(math.rad(29),0,math.rad(30)),.3)
  1524. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(-20),math.rad(40)),.3)
  1525. end
  1526.  
  1527.  
  1528. if equipped and armanim=='Swing2P1' then
  1529. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,0)*CFrame.Angles(math.rad(99),0,math.rad(55)),.125)
  1530. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.4,.6,-.475)*CFrame.Angles(math.rad(99),0,math.rad(70)),.125)
  1531. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(90),math.rad(40)),.125)
  1532. end
  1533. if equipped and armanim=='Swing2P2' then
  1534. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(.65,.6,-.475)*CFrame.Angles(math.rad(59),0,math.rad(-80)),.3)
  1535. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.15,.45,0)*CFrame.Angles(math.rad(59),0,math.rad(-55)),.3)
  1536. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(90),math.rad(40)),.3)
  1537. end
  1538.  
  1539.  
  1540. if equipped and armanim=='Swing3P1' then
  1541. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,0)*CFrame.Angles(math.rad(29),0,math.rad(-17.5)),.3)
  1542. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.65,.6,-.475)*CFrame.Angles(math.rad(29),0,math.rad(30)),.3)
  1543. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(-20),math.rad(40)),.3)
  1544. end
  1545. if equipped and armanim=='Swing3P2' then
  1546. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,0)*CFrame.Angles(math.rad(179),0,math.rad(-42.5)),.125)
  1547. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.65,.6,-.475)*CFrame.Angles(math.rad(179),0,math.rad(60)),.125)
  1548. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(-20),math.rad(40)),.125)
  1549. end
  1550.  
  1551.  
  1552. if equipped and armanim=='Glowing' then
  1553. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.45,-.1)*CFrame.Angles(math.rad(40),0,math.rad(-10)),.1)
  1554. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.7,.25,-.4)*CFrame.Angles(math.rad(35),0,math.rad(50)),.1)
  1555. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)),.1)
  1556. lightw.C0=Lerp(lightw.C0,CFrame.new(math.cos(syne/4)*1.5,math.sin(syne/75)*1.75+3.5,-math.sin(syne/4)*1.5)*CFrame.Angles(0,0,0),.1)
  1557. end
  1558. if equipped and armanim=='Healing' then
  1559. chr.Humanoid.Health=chr.Humanoid.Health+.215
  1560. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1,.55,-.5)*CFrame.Angles(math.rad(100),0,math.rad(-30)),.125)
  1561. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.55,-.5)*CFrame.Angles(math.rad(100),0,math.rad(30)),.125)
  1562. objw1.C0=Lerp(objw1.C0,CFrame.new(-.1,.2,-.3)*CFrame.Angles(math.rad(10),math.rad(60),math.rad(0)),.125)
  1563. healw.C0=Lerp(healw.C0,CFrame.new(math.cos(syne/5)*4.5,math.sin(syne/45)*4-1.2,-math.sin(syne/5)*4.5)*CFrame.Angles(0,0,0),.1)
  1564. otherw.C0=Lerp(otherw.C0,CFrame.new(math.sin(syne/5)*4.5,-math.sin(syne/45)*4-1.2,-math.cos(syne/5)*4.5)*CFrame.Angles(0,0,0),.1)
  1565. end
  1566. if equipped and armanim=='ShootP1' then
  1567. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.3,.325,0)*CFrame.Angles(math.rad(29),0,math.rad(-30)),.2)
  1568. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-.85,.325,-.4)*CFrame.Angles(math.rad(9),0,math.rad(47.5)),.2)
  1569. objw1.C0=Lerp(objw1.C0,CFrame.new(-.75,.5,-.25)*CFrame.Angles(math.rad(-55),math.rad(35),math.rad(30)),.2)
  1570. end
  1571. if equipped and armanim=='ShootP2' then
  1572. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(.95,.375,-.4)*CFrame.Angles(math.rad(129),0,math.rad(-42.5)),.2)
  1573. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.2,.375,0)*CFrame.Angles(math.rad(129),0,math.rad(25)),.2)
  1574. objw1.C0=Lerp(objw1.C0,CFrame.new(-.75,1,-.25)*CFrame.Angles(math.rad(-55),math.rad(35),math.rad(30)),.2)
  1575. end
  1576. end
  1577.  
  1578.  
  1579. if anim=='Pre-Sneak' then
  1580. if not armmovement and not equipped then
  1581. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(25),0,math.rad(12)),.1)
  1582. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(25),0,math.rad(-12)),.1)
  1583. objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.1)
  1584. elseif equipped and not armmovement then
  1585. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.4,-.2)*CFrame.Angles(math.rad(70),0,math.rad(-20)),.1)
  1586. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.4,-.6)*CFrame.Angles(math.rad(50),0,math.rad(57)),.1)
  1587. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1)
  1588. end
  1589. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,-1,0)*CFrame.Angles(math.rad(-12.5),0,math.rad(-2.5)),.1)
  1590. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-1,-.5)*CFrame.Angles(math.rad(10),0,math.rad(2.5)),.1)
  1591. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(7),0,0),.1)
  1592. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.1,.2)*CFrame.Angles(math.rad(-14),math.rad(0),math.rad(0)),.1)
  1593. end
  1594.  
  1595. if anim=='SneakWalk' then
  1596. tik=tik+1
  1597. if tik>=34 then tik=0
  1598. footstep:play''
  1599. end
  1600. chr.Humanoid.WalkSpeed=SneakSpeed-math.cos(syne/5)*5
  1601. if not armmovement and not equipped then
  1602. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.cos(syne/10)/2.5+math.rad(5),0,math.rad(12)),.1)
  1603. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(-math.cos(syne/10)/2.5+math.rad(5),0,math.rad(-12)),.1)
  1604. objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.1)
  1605. elseif equipped and not armmovement then
  1606. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.4,-.2)*CFrame.Angles(math.rad(60),0,math.rad(-20)),.1)
  1607. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.4,-.6)*CFrame.Angles(math.rad(40),0,math.rad(62.5)),.1)
  1608. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1)
  1609. end
  1610. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55,math.cos(syne/10)/3-1,-math.sin(syne/10)/1.5-.4)*CFrame.Angles(math.sin(syne/10)/1.5-math.rad(2.5),0,math.rad(-2.5)),.1)
  1611. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55,-math.cos(syne/10)/3-1,math.sin(syne/10)/1.5-.4)*CFrame.Angles(-math.sin(syne/10)/1.5-math.rad(2.5),0,math.rad(2.5)),.1)
  1612. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(-math.cos(syne/5)/5+math.rad(9),-math.sin(syne/10)/6.1,0),.1)
  1613. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,math.cos(syne/5)/5-1.1,-math.cos(syne/5)/2)*CFrame.Angles(math.cos(syne/5)/5+math.rad(-14),math.sin(syne/10)/6,math.rad(0)),.1)
  1614. end
  1615.  
  1616. if anim=='SneakIdle' then
  1617. if not armmovement and not equipped then
  1618. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(25),0,math.rad(12)),.1)
  1619. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(25),0,math.rad(-12)),.1)
  1620. objw1.C0=Lerp(objw1.C0,CFrame.new(0,-2,-.6)*CFrame.Angles(math.rad(7.5),math.rad(0),math.rad(55)),.1)
  1621. elseif equipped and not armmovement then
  1622. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.15,.4,-.2)*CFrame.Angles(math.rad(70),0,math.rad(-20)),.1)
  1623. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1,.4,-.6)*CFrame.Angles(math.rad(50),0,math.rad(57)),.1)
  1624. objw1.C0=Lerp(objw1.C0,CFrame.new(0,0,0)*CFrame.Angles(math.rad(20),math.rad(10),math.rad(20)),.1)
  1625. end
  1626. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(7),0,0),.1)
  1627. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-1.1,.2)*CFrame.Angles(math.rad(-12),math.rad(0),math.rad(0)),.1)
  1628. end
  1629.  
  1630. if sitting then chr.Humanoid.WalkSpeed=0 end
  1631. if lit then
  1632. if lgt then
  1633. lgt.Range=TwnSingleNumber(lgt.Range,22.5,.1)
  1634. end
  1635. end
  1636.  
  1637. end)
  1638. local bin=Instance.new('HopperBin',plr.Backpack)
  1639. bin.Name='Sword'
  1640. bin.Selected:connect(function()
  1641. if not otheranims and not armmovement and not sitting and not flying then
  1642. equipped=true
  1643. objw22.Part1=torso
  1644. objw22.C0=CFrame.new(0,.6,-.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(35))
  1645. objw23.Part1=torso
  1646. objw23.C0=CFrame.new(0,.6,.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(35))
  1647. objw1.Part1=rarm
  1648. objw1.C1=CFrame.new(-.4,-1,0)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(90))
  1649. objw1.C0=CFrame.new(0,-2,-.6)*CFrame.Angles(-(math.cos(syne/6)/8),math.rad(0),-(math.cos(syne/6)/8)+math.rad(37.5))
  1650. end
  1651. end)
  1652. bin.Deselected:connect(function()
  1653. if not otheranims and not armmovement and not sitting and not flying then
  1654. equipped=false
  1655. objw22.Part1=obj1
  1656. objw22.C0=CFrame.new(0,0,1.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))
  1657. objw23.Part1=obj1
  1658. objw23.C0=CFrame.new(0,0,2.5)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0))
  1659. objw1.Part1=torso
  1660. objw1.C1=CFrame.new(0,0,0)*CFrame.Angles(0,0,0)
  1661. objw1.C0=CFrame.new(0,0,-.15)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(87.5))
  1662. end
  1663. end)
  1664. maus.TargetFilter=TrailModel
  1665.  
  1666. coroutine.wrap(function()
  1667. while true do
  1668. if trailing then
  1669. local pos1=obj1.CFrame*CFrame.new(0,-5,0)
  1670. wait()
  1671. local pos2=obj1.CFrame*CFrame.new(0,-5,0)
  1672. local dees=(pos1.p-pos2.p).magnitude
  1673. local treel=Instance.new('Part',TrailModel)
  1674. treel.Name='treelOrbASD'
  1675. treel.formFactor='Custom'
  1676. treel.Size=Vector3.new(.1,dees,.1)
  1677. treel.BrickColor=BladeColor--BrickColor.new(Color3.new(0,0,0))
  1678. treel.Anchored=true
  1679. treel.Transparency=.5
  1680. treel.CanCollide=false
  1681. treel.Material="Neon"
  1682. treel.TopSurface=10
  1683. treel.BottomSurface=10
  1684. treel.LeftSurface=10
  1685. treel.RightSurface=10
  1686. treel.FrontSurface=10
  1687. treel.BackSurface=10
  1688. treel.Locked=true
  1689. treel:breakJoints()
  1690. treel.CFrame=CFrame.new(Avg(pos1,pos2).p,pos2.p)*CFrame.Angles(math.pi/2,0,0)
  1691. local treelm=Instance.new('CylinderMesh',treel)
  1692. game:service'Debris':AddItem(treel,1)
  1693. coroutine.wrap(function()
  1694. for asd=.7,-0,-.1 do treelm.Scale=Vector3.new(asd,1,asd) wait(0)
  1695. end
  1696. end)()
  1697. elseif not trailing and not lit and armanim~='Healing' then
  1698. wait''
  1699. end
  1700. if lit then
  1701. local pos1=light2.CFrame
  1702. wait()
  1703. local pos2=light2.CFrame
  1704. local dees=(pos1.p-pos2.p).magnitude
  1705. local treel=Instance.new('Part',TrailModel)
  1706. treel.Name='treelOrbASD'
  1707. treel.formFactor='Custom'
  1708. treel.Size=Vector3.new(.1,dees,.1)
  1709. treel.BrickColor=LightColor
  1710. treel.Anchored=true
  1711. treel.Transparency=0
  1712. treel.CanCollide=false
  1713. treel.Material="Neon"
  1714. treel.TopSurface=10
  1715. treel.BottomSurface=10
  1716. treel.LeftSurface=10
  1717. treel.RightSurface=10
  1718. treel.FrontSurface=10
  1719. treel.BackSurface=10
  1720. treel.Locked=true
  1721. treel:breakJoints()
  1722. treel.CFrame=CFrame.new(Avg(pos1,pos2).p,pos2.p)*CFrame.Angles(math.pi/2,0,0)
  1723. local treelm=Instance.new('CylinderMesh',treel)
  1724. game:service'Debris':AddItem(treel,2)
  1725. coroutine.wrap(function()
  1726. for asd=.65,0,-.05 do treelm.Scale=Vector3.new(asd,1,asd) wait(0)
  1727. end
  1728. end)()
  1729. elseif not lit and armanim~='Healing' and not trailing then
  1730. wait''
  1731. end
  1732. if armanim=='Healing' then
  1733. local pos1=other.CFrame
  1734. local pos3=heal.CFrame
  1735. wait()
  1736. local pos4=heal.CFrame
  1737. local pos2=other.CFrame
  1738. local dees=(pos1.p-pos2.p).magnitude
  1739. local dee2=(pos3.p-pos4.p).magnitude
  1740. local treel=Instance.new('Part',TrailModel)
  1741. treel.Name='treel1TrailASD'
  1742. treel.formFactor='Custom'
  1743. treel.Size=Vector3.new(.1,dees,.1)
  1744. treel.BrickColor=HealOrbColor
  1745. treel.Anchored=true
  1746. treel.Transparency=0
  1747. treel.Reflectance=.5
  1748. treel.CanCollide=false
  1749. treel.Material="Neon"
  1750. treel.TopSurface=10
  1751. treel.BottomSurface=10
  1752. treel.LeftSurface=10
  1753. treel.RightSurface=10
  1754. treel.FrontSurface=10
  1755. treel.BackSurface=10
  1756. treel.Locked=true
  1757. treel:breakJoints()
  1758. treel.CFrame=CFrame.new(Avg(pos1,pos2).p,pos2.p)*CFrame.Angles(math.pi/2,0,0)
  1759. local treelm=Instance.new('CylinderMesh',treel)
  1760. game:service'Debris':AddItem(treel,2)
  1761. local treel2=Instance.new('Part',TrailModel)
  1762. treel2.Name='treel2TrailASD'
  1763. treel2.formFactor='Custom'
  1764. treel2.Size=Vector3.new(.1,dee2,.1)
  1765. treel2.BrickColor=HealOrbColor
  1766. treel2.Anchored=true
  1767. treel2.Transparency=0
  1768. treel2.Reflectance=.5
  1769. treel2.CanCollide=false
  1770. treel2.TopSurface=10
  1771. treel2.Material="Neon"
  1772. treel2.BottomSurface=10
  1773. treel2.LeftSurface=10
  1774. treel2.RightSurface=10
  1775. treel2.FrontSurface=10
  1776. treel2.BackSurface=10
  1777. treel2.Locked=true
  1778. treel2:breakJoints()
  1779. treel2.CFrame=CFrame.new(Avg(pos3,pos4).p,pos4.p)*CFrame.Angles(math.pi/2,0,0)
  1780. local treelm2=Instance.new('CylinderMesh',treel2)
  1781. game:service'Debris':AddItem(treel2,2)
  1782. coroutine.wrap(function()
  1783. for asd=.9,-0,-.075 do treelm2.Scale=Vector3.new(asd,1,asd) treelm.Scale=Vector3.new(asd,1,asd) wait(0)
  1784. end
  1785. end)()
  1786. elseif not trailing and not lit and armanim~='Healing' then
  1787. wait''
  1788. end
  1789. end
  1790. end)()
  1791.  
  1792. coroutine.resume(coroutine.create(function()
  1793. for i,x in pairs(chr:GetChildren()) do if x:IsA('Part') then x.Material='Neon' elseif x:IsA('Hat') then x.Handle.Material='Neon' end end end))
  1794. for lalal,lal in pairs(chr:GetChildren()) do if lal.ClassName=='Part' then
  1795. for lalalalal,lalalal in pairs(lal:GetChildren()) do if lalalal.ClassName=='CharacterMesh' then lalalal:Destroy() end end
  1796. elseif lal.ClassName=='CharacterMesh' then lal:Destroy() end end
  1797.  
  1798. wait'.5'
  1799. local pseudohead=hed:Clone()
  1800. for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
  1801. pseudohead.Name='PseudoHead'
  1802. pseudohead.Parent=chr.Head
  1803. local pseudoweld=Instance.new('Weld',torso)
  1804. pseudoweld.Part0=hed
  1805. pseudoweld.Name='PseudoHedWld'
  1806. pseudoweld.Part1=pseudohead
  1807. hed.Transparency=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement