Advertisement
WagnerJunio07

Forgot Name

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