Advertisement
battleman22222

lord

Jul 2nd, 2017
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 82.69 KB | None | 0 0
  1. p = game.Players.battleman22222
  2. char = p.Character
  3. local s = Instance.new("Sound",char)
  4. s.SoundId = "http://www.roblox.com/asset/?id=415880409"
  5. s.Pitch = 0.98
  6. s.Volume = 3
  7. s.Looped = false
  8. wait(0.1)
  9. s:play()
  10.  
  11. local s = Instance.new("Sound",char)
  12. s.SoundId = "http://www.roblox.com/asset/?id=503328898"
  13. s.Pitch = 0.98
  14. s.Volume = 1
  15. s.Looped = true
  16. wait(0.1)
  17. s:play()
  18.  
  19. local l = game.Lighting
  20. local sky = Instance.new("Sky",l)
  21. sky.CelestialBodiesShown = false
  22. sky.SkyboxBk = "http://www.roblox.com/asset/?id=156925041"
  23. sky.SkyboxDn = "http://www.roblox.com/asset/?id=156925047"
  24. sky.SkyboxFt = "http://www.roblox.com/asset/?id=156925045"
  25. sky.SkyboxLf = "http://www.roblox.com/asset/?id=156925043"
  26. sky.SkyboxRt = "http://www.roblox.com/asset/?id=156925038"
  27. sky.SkyboxUp = "http://www.roblox.com/asset/?id=156925055"
  28. sky.StarCount = 0
  29. sky.Name = "GreenSpace"
  30.  
  31. --coolallball
  32. if game.Players.battleman22222.Character.Animate.Disabled==false then
  33. game.Players.battleman22222.Character.Animate.Disabled=true
  34. end
  35. wait()
  36. local Player=game.Players.battleman22222
  37. repeat wait()
  38. until Player
  39. local Char=Player.Character
  40. repeat wait()
  41. until Char
  42. local CurrentEffects={}
  43. local CurrentDamages={}
  44. local Human=Char.Humanoid
  45. local LArm=Char["Left Arm"]
  46. local RArm=Char["Right Arm"]
  47. local LLeg=Char["Left Leg"]
  48. local RLeg=Char["Right Leg"]
  49. local Torso=Char.Torso
  50. local RS=Torso["Right Shoulder"]
  51. local LS=Torso["Left Shoulder"]
  52. local RH=Torso["Right Hip"]
  53. local LH=Torso["Left Hip"]
  54. local Head=Char.Head
  55. local Neck=Torso.Neck
  56. local RootPart=Char.HumanoidRootPart
  57. local RootJoint=RootPart.RootJoint
  58. local equipped=false
  59. local Debounce=false
  60. local Anim="Idle"
  61. local chat = game:GetService("Chat")
  62. local Mouse=Player:GetMouse()
  63. local Lighting=game.Lighting
  64. local cf=CFrame.new
  65. local v3=Vector3.new
  66. local c3=Color3.new
  67. local it=Instance.new
  68. local angles=CFrame.Angles
  69. local rad=math.rad
  70. local ran=math.random
  71. local huge=math.huge
  72. local attacking=false
  73. local attacktype=1
  74. local Portalling=false
  75. local p = game.Players.battleman22222
  76. local char = p.Character
  77. local mouse = p:GetMouse()
  78. local larm = char["Left Arm"]
  79. local rarm = char["Right Arm"]
  80. local lleg = char["Left Leg"]
  81. local rleg = char["Right Leg"]
  82. local hed = char.Head
  83. local torso = char.Torso
  84. local hum = char.Humanoid
  85. local cam = game.Workspace.CurrentCamera
  86. local root = char.HumanoidRootPart
  87. local deb = false
  88. local shot = 0
  89. local debris=game:service"Debris"
  90. local l = game:GetService("Lighting")
  91. local rs = game:GetService("RunService").RenderStepped
  92. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  93. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  94. LSC0=cf(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  95. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  96. RSC0=cf(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  97. ROOTC0 = cf(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  98. r=game:service'RunService'.RenderStepped
  99. clerp=function(a,b,t)
  100. return a:lerp(b,t)
  101. end
  102.  
  103.  
  104. local Rainbow = { --This is the main color set. Try to use more than just a few, make it fade in order as well
  105. "Really black",
  106. }
  107.  
  108. Debounces = {
  109. CanAttack = true;
  110. NoIdl = false;
  111. Slashing = false;
  112. Slashed = false;
  113. RPunch = false;
  114. Invisible = false;
  115. RPunched = false;
  116. LPunch = false;
  117. LPunched = false;
  118. }
  119. local Touche = {char.Name, }
  120.  
  121.  
  122. function genWeld(a,b)
  123. local w = Instance.new("Weld",a)
  124. w.Part0 = a
  125. w.Part1 = b
  126. return w
  127. end
  128. function weld(a, b)
  129. local weld = Instance.new("Weld")
  130. weld.Name = "W"
  131. weld.Part0 = a
  132. weld.Part1 = b
  133. weld.C0 = a.CFrame:inverse() * b.CFrame
  134. weld.Parent = a
  135. return weld;
  136. end
  137. ----------------------------------------------------
  138. function Lerp(c1,c2,al)
  139. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  140. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  141. for i,v in pairs(com1) do
  142. com1[i] = v+(com2[i]-v)*al
  143. end
  144. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  145. end
  146. ----------------------------------------------------
  147. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  148. local wld = Instance.new("Weld", wp1)
  149. wld.Part0 = wp0
  150. wld.Part1 = wp1
  151. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  152. end
  153. ----------------------------------------------------
  154. function weld5(part0, part1, c0, c1)
  155. weeld=Instance.new("Weld", part0)
  156. weeld.Part0=part0
  157. weeld.Part1=part1
  158. weeld.C0=c0
  159. weeld.C1=c1
  160. return weeld
  161. end
  162. ----------------------------------------------------
  163. function HasntTouched(plrname)
  164. local ret = true
  165. for _, v in pairs(Touche) do
  166. if v == plrname then
  167. ret = false
  168. end
  169. end
  170. return ret
  171. end
  172. ----------------------------------------------------
  173. newWeld(torso, larm, -1.5, 0.5, 0)
  174. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  175. newWeld(torso, rarm, 1.5, 0.5, 0)
  176. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  177. newWeld(torso, hed, 0, 1.5, 0)
  178. newWeld(torso, lleg, -0.5, -1, 0)
  179. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  180. newWeld(torso, rleg, 0.5, -1, 0)
  181. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  182. newWeld(root, torso, 0, -1, 0)
  183. torso.Weld.C1 = CFrame.new(0, -1, 0)
  184.  
  185.  
  186.  
  187. p = Instance.new("Part")
  188. p.BrickColor = BrickColor.new("Really black")
  189. p.Transparency = 1
  190. TorsoColor = p.BrickColor
  191.  
  192. local Transforming = true
  193. Human.WalkSpeed = 0
  194. local fx = Instance.new("Part",Torso)
  195. wit = p.BrickColor.Color
  196. wit2 = Color3.new(255,255,255)
  197. local glowz = Instance.new("ParticleEmitter",fx)
  198. glowz.LightEmission = 1
  199. glowz.Texture = "rbxassetid://284205403"
  200. glowz.Color = ColorSequence.new(wit)
  201. glowz.Size = NumberSequence.new(5)
  202. glowz.Speed = NumberRange.new(25,50)
  203. glowz.LockedToPart = false
  204. glowz.Transparency = NumberSequence.new(0.75)
  205. glowz.RotSpeed = NumberRange.new(-2000,2000)
  206. glowz.Lifetime = NumberRange.new(1)
  207. glowz.Rate = 50000
  208. glowz.VelocitySpread = 9001
  209. local glowz2 = Instance.new("ParticleEmitter",fx)
  210. glowz2.LightEmission = 0.5
  211. glowz.Texture = "rbxassetid://284205403"
  212. glowz2.Color = ColorSequence.new(wit2)
  213. glowz2.Size = NumberSequence.new(5)
  214. glowz2.Speed = NumberRange.new(25,50)
  215. glowz2.LockedToPart = false
  216. glowz2.Transparency = NumberSequence.new(0.75)
  217. glowz2.RotSpeed = NumberRange.new(-2000,2000)
  218. glowz2.Lifetime = NumberRange.new(1)
  219. glowz2.Rate = 50000
  220. glowz2.VelocitySpread = 9001
  221. fx.Anchored = true
  222. fx.Material = "Neon"
  223. fx.CanCollide = false
  224. fx.Locked = true
  225. fx.Transparency = 1
  226. fx.Material = "Neon"
  227. fx.Size = Vector3.new(1,1,1)
  228. fx.TopSurface = "SmoothNoOutlines"
  229. fx.BottomSurface = "SmoothNoOutlines"
  230. fx.BrickColor = BrickColor.new("Institutional white")
  231. fxm = Instance.new("SpecialMesh",fx)
  232. fxm.MeshType = "Sphere"
  233. local sa2 = Instance.new("Sound",Torso)
  234. sa2.SoundId = "rbxassetid://93724183"
  235. sa2.Pitch = 0.5
  236. sa2.Volume = 5
  237. sa2.Looped = false
  238. sa2:Play()
  239. local value = 1
  240. fxm.Scale = Vector3.new(1,1,1)
  241. for i = 1, 20 do rs:wait()
  242. value = value - 0.05
  243. fx.Transparency = fx.Transparency - (1/20)
  244. fx.CFrame = Torso.CFrame
  245. fxm.Scale = fxm.Scale + Vector3.new(value,value,value)
  246. rs:wait()
  247. end
  248. ----------------------------------------------------
  249. GroundWave1 = function()
  250. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  251. local Colors = {"Institutional white", "Really black"}
  252. local wave = Instance.new("Part", Torso)
  253. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  254. wave.Anchored = true
  255. wave.CanCollide = false
  256. wave.Locked = true
  257. wave.Size = Vector3.new(1, 1, 1)
  258. wave.TopSurface = "Smooth"
  259. wave.BottomSurface = "Smooth"
  260. wave.Transparency = 0.35
  261. wave.CFrame = HandCF
  262. wm = Instance.new("SpecialMesh", wave)
  263. wm.MeshId = "rbxassetid://3270017"
  264. coroutine.wrap(function()
  265. for i = 1, 30, 1 do
  266. wm.Scale = Vector3.new(50, 50, 1 + i*50)
  267. wave.Size = wm.Scale
  268. wave.CFrame = HandCF
  269. wave.Transparency = i/30
  270. wait()
  271. end
  272. wait()
  273. wave:Destroy()
  274. end)()
  275. end
  276. ----------------------------------------------------
  277.  
  278.  
  279. GroundWave3 = function()
  280. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  281. local Colors = {"Institutional white", "Really black"}
  282. local wave = Instance.new("Part", torso)
  283. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  284. wave.Anchored = true
  285. wave.CanCollide = false
  286. wave.Locked = true
  287. wave.Size = Vector3.new(1, 1, 1)
  288. wave.TopSurface = "Smooth"
  289. wave.BottomSurface = "Smooth"
  290. wave.Transparency = 0.35
  291. wave.CFrame = HandCF
  292. wm = Instance.new("SpecialMesh", wave)
  293. wm.MeshId = "rbxassetid://3270017"
  294. coroutine.wrap(function()
  295. for i = 1, 14, 1 do
  296. wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
  297. wave.Size = wm.Scale
  298. wave.CFrame = HandCF
  299. wave.Transparency = i/14
  300. wait()
  301. end
  302. wait()
  303. wave:Destroy()
  304. end)()
  305. end
  306.  
  307.  
  308.  
  309.  
  310.  
  311. local acos = math.acos
  312. local sqrt = math.sqrt
  313. local Vec3 = Vector3.new
  314. local fromAxisAngle = CFrame.fromAxisAngle
  315.  
  316. local function toAxisAngle(CFr)
  317. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  318. local Angle = math.acos((R00+R11+R22-1)/2)
  319. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  320. A = A == 0 and 0.00001 or A
  321. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  322. B = B == 0 and 0.00001 or B
  323. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  324. C = C == 0 and 0.00001 or C
  325. local x = (R21-R12)/sqrt(A)
  326. local y = (R02-R20)/sqrt(B)
  327. local z = (R10-R01)/sqrt(C)
  328. return Vec3(x,y,z),Angle
  329. end
  330.  
  331. local acos = math.acos
  332. local sqrt = math.sqrt
  333. local Vec3 = Vector3.new
  334. local fromAxisAngle = CFrame.fromAxisAngle
  335.  
  336. local function toAxisAngle(CFr)
  337. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  338. local Angle = math.acos((R00+R11+R22-1)/2)
  339. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  340. A = A == 0 and 0.00001 or A
  341. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  342. B = B == 0 and 0.00001 or B
  343. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  344. C = C == 0 and 0.00001 or C
  345. local x = (R21-R12)/sqrt(A)
  346. local y = (R02-R20)/sqrt(B)
  347. local z = (R10-R01)/sqrt(C)
  348. return Vec3(x,y,z),Angle
  349. end
  350.  
  351. function ApplyTrig(Num,Func)
  352. local Min,Max = Func(0),Func(1)
  353. local i = Func(Num)
  354. return (i-Min)/(Max-Min)
  355. --[[if Func == "sin" then
  356. return (math.sin((1-Num)*math.pi)+1)/2
  357. elseif Func == "cos" then
  358. return (math.cos((1-Num)*math.pi)+1)/2
  359. end]]
  360. end
  361.  
  362. function LerpCFrame(CFrame1,CFrame2,Num)
  363. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  364. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  365. end
  366.  
  367.  
  368.  
  369. function Crater(Torso,Radius)
  370. Spawn(function()
  371. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  372. local Ignore = {}
  373. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  374. if v.Character ~= nil then
  375. Ignore[#Ignore+1] = v.Character
  376. end
  377. end
  378. local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  379. if Hit == nil then return end
  380. local Parts = {}
  381. for i = 1,360,10 do
  382. local P = Instance.new("Part",Torso.Parent)
  383. P.Anchored = true
  384. P.FormFactor = "Custom"
  385. P.BrickColor = BrickColor.new("Really black")
  386. P.Material = "Granite"
  387. P.TopSurface = "Smooth"
  388. P.BottomSurface = "Smooth"
  389. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  390. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  391. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  392. if math.random(0,5) == 0 then -- rubble
  393. local P = Instance.new("Part",Torso.Parent)
  394. P.Anchored = true
  395. P.FormFactor = "Custom"
  396. P.BrickColor = BrickColor.new("Really black")
  397. P.Material = Hit.Material
  398. P.TopSurface = "Smooth"
  399. P.BottomSurface = "Smooth"
  400. P.Size = Vector3.new(5,5,5)*(math.random(80,100)/100)
  401. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  402. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  403. end
  404. end
  405. for i = 0,1,0.05 do
  406. for i2,v in pairs(Parts) do
  407. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  408. end
  409. wait(0.02)
  410. end
  411. for i,v in pairs(Parts) do
  412. if v[1].Size.X > 2.1 then
  413. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  414. end
  415. v[1].Anchored = false
  416. end
  417. for i = 0,1,0.05 do
  418. for i2,v in pairs(Parts) do
  419. v[1].Transparency = i
  420. if i == 1 then
  421. v[1]:Destroy()
  422. elseif i >= 0.25 then
  423. v[1].CanCollide = false
  424. end
  425. end
  426. wait(0.02)
  427. end
  428. Parts = nil
  429. end)
  430. end
  431.  
  432.  
  433.  
  434. GroundWave = function()
  435. if Transforming == true then
  436. local value = 5
  437. local value2 = 10
  438. local value3 = 20
  439. local sa2 = Instance.new("Sound",Torso)
  440. sa2.SoundId = "rbxassetid://393621716"
  441. sa2.Pitch = 1
  442. sa2.Volume = 10
  443. sa2.Looped = false
  444. sa2:Play()
  445. local wave = Instance.new("Part", Torso)
  446. local glowz = Instance.new("ParticleEmitter",wave)
  447. glowz.LightEmission = 1
  448. glowz.Texture = "rbxassetid://284205403"
  449. glowz.Color = ColorSequence.new(wit)
  450. glowz.Size = NumberSequence.new(30)
  451. glowz.Speed = NumberRange.new(25,100)
  452. glowz.LockedToPart = false
  453. glowz.Transparency = NumberSequence.new(0.75)
  454. glowz.RotSpeed = NumberRange.new(-2000,2000)
  455. glowz.Lifetime = NumberRange.new(1)
  456. glowz.Rate = 50000
  457. glowz.VelocitySpread = 9001
  458. local glowz2 = Instance.new("ParticleEmitter",wave)
  459. glowz2.LightEmission = 1
  460. glowz.Texture = "rbxassetid://284205403"
  461. glowz2.Color = ColorSequence.new(wit)
  462. glowz2.Size = NumberSequence.new(30)
  463. glowz2.Speed = NumberRange.new(25,100)
  464. glowz2.LockedToPart = false
  465. glowz2.Transparency = NumberSequence.new(0.75)
  466. glowz2.RotSpeed = NumberRange.new(-2000,2000)
  467. glowz2.Lifetime = NumberRange.new(1)
  468. glowz2.Rate = 50000
  469. glowz2.VelocitySpread = 9001
  470. wave.BrickColor = BrickColor.new("Institutional white")
  471. wave.Anchored = true
  472. wave.CanCollide = false
  473. wave.Locked = true
  474. wave.Size = Vector3.new(1, 1, 1)
  475. wave.TopSurface = "Smooth"
  476. wave.BottomSurface = "Smooth"
  477. wave.Transparency = 0.35
  478. wave.CFrame = fx.CFrame
  479. wave.Material = "Neon"
  480. wm = Instance.new("SpecialMesh", wave)
  481. wm.MeshType = "Sphere"
  482. wm.Scale = Vector3.new(1,1,1)
  483. local wave2 = Instance.new("Part", Torso)
  484. wave2.BrickColor = TorsoColor
  485. wave2.Anchored = true
  486. wave2.CanCollide = false
  487. wave2.Locked = true
  488. wave2.Size = Vector3.new(1, 1, 1)
  489. wave2.TopSurface = "Smooth"
  490. wave2.BottomSurface = "Smooth"
  491. wave2.Transparency = 0.35
  492. wave2.CFrame = fx.CFrame
  493. wave2.Material = "Neon"
  494. wm2 = Instance.new("SpecialMesh", wave2)
  495. wm2.MeshType = "FileMesh"
  496. wm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  497. wm2.Scale = Vector3.new(1,1,1)
  498. local wave3 = Instance.new("Part", Torso)
  499. wave3.BrickColor = BrickColor.new("Really black")
  500. wave3.Anchored = true
  501. wave3.CanCollide = false
  502. wave3.Locked = true
  503. wave3.Size = Vector3.new(1, 1, 1)
  504. wave3.TopSurface = "Smooth"
  505. wave3.BottomSurface = "Smooth"
  506. wave3.Transparency = 0.35
  507. wave3.CFrame = fx.CFrame
  508. wave3.Material = "Neon"
  509. wm3 = Instance.new("SpecialMesh", wave3)
  510. wm3.MeshType = "FileMesh"
  511. wm3.MeshId = "http://www.roblox.com/asset/?id=3270017"
  512. wm3.Scale = Vector3.new(1,1,1)
  513. coroutine.wrap(function()
  514. for i = 1, 18, 1 do
  515. value = value - 0.5
  516. value2 = value2 - 0.75*1.5
  517. value3 = value3 - 0.475*1.5
  518. wm.Scale = wm.Scale + Vector3.new(value*3.5,value*3.5,value*3.5)
  519. wm2.Scale = wm.Scale + Vector3.new(value2*3.5,value2*3.5,0.5)
  520. wm3.Scale = wm.Scale + Vector3.new(value3*3.5,value3*3.5,0.25)
  521. --wave.Size = wm.Scale
  522. wave.CFrame = fx.CFrame
  523. wave.Transparency = i/14
  524. --wave2.Size = wm2.Scale
  525. wave2.CFrame = fx.CFrame
  526. wave2.Rotation = Vector3.new(90, 0, 0)
  527. wave2.Transparency = i/14
  528. --wave3.Size = wm3.Scale
  529. wave3.CFrame = fx.CFrame
  530. wave3.Rotation = Vector3.new(90, 0, 0)
  531. wave3.Transparency = i/14
  532. wait()
  533. glowz.Rate = 0
  534. glowz2.Rate = 0
  535. end
  536. wait()
  537. wave:Destroy()
  538. wave2:Destroy()
  539. wave3:Destroy()
  540. end)()
  541. elseif Transforming == false then
  542. wait()
  543. end
  544. end
  545.  
  546. for i = 1, 100 do rs:wait()
  547. fx.CFrame = Torso.CFrame
  548. end
  549.  
  550. spawn(function()
  551. while wait(1) do
  552. GroundWave()
  553. end
  554. end)
  555.  
  556. wait(4)
  557.  
  558. Transforming = false
  559.  
  560.  
  561.  
  562. local value2 = 1
  563. for i = 1, 20 do rs:wait()
  564. value2 = value2 - 0.05
  565. glowz.Rate = 0
  566. glowz2.Rate = 0
  567. fx.Transparency = fx.Transparency + (1/20)
  568. fx.CFrame = torso.CFrame
  569. fxm.Scale = fxm.Scale + Vector3.new(value2,value2,value2)
  570. rs:wait()
  571. end
  572. glowz:Destroy()
  573. glowz2:Destroy()
  574.  
  575. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  576. local valuer = 5
  577. local valuer2 = 10
  578. local valuer3 = 15
  579. local sa2 = Instance.new("Sound",torso)
  580. sa2.SoundId = "rbxassetid://130972023"
  581. sa2.Pitch = 1
  582. sa2.Volume = 5
  583. sa2.Looped = false
  584. sa2:Play()
  585. local sar2 = Instance.new("Sound",torso)
  586. sar2.SoundId = "rbxassetid://153274423"
  587. sar2.Pitch = 1
  588. sar2.Volume = 5
  589. sar2.Looped = false
  590. sar2:Play()
  591. local Mus = Instance.new("Sound",torso)
  592. Mus.SoundId = "rbxassetid://"
  593. Mus.Pitch = 1
  594. Mus.Volume = 6
  595. Mus.Looped = true
  596. Mus:Play()
  597. Crater(torso,67)
  598. local wave = Instance.new("Part", torso)
  599. wave.BrickColor = TorsoColor
  600. wave.Anchored = true
  601. wave.CanCollide = false
  602. wave.Locked = true
  603. wave.Size = Vector3.new(1, 1, 1)
  604. wave.TopSurface = "Smooth"
  605. wave.BottomSurface = "Smooth"
  606. wave.Transparency = 0.35
  607. wave.CFrame = HandCF
  608. wm = Instance.new("SpecialMesh", wave)
  609. wm.MeshId = "rbxassetid://3270017"
  610. local wave2 = Instance.new("Part", torso)
  611. wave2.BrickColor = BrickColor.new("Institutional white")
  612. wave2.Anchored = true
  613. wave2.CanCollide = false
  614. wave2.Locked = true
  615. wave2.Size = Vector3.new(1, 1, 1)
  616. wave2.TopSurface = "Smooth"
  617. wave2.BottomSurface = "Smooth"
  618. wave2.Transparency = 0.35
  619. wave2.CFrame = HandCF
  620. wm2 = Instance.new("SpecialMesh", wave2)
  621. wm2.MeshId = "rbxassetid://3270017"
  622. local wave3 = Instance.new("Part", torso)
  623. wave3.BrickColor = TorsoColor
  624. wave3.Anchored = true
  625. wave3.CanCollide = false
  626. wave3.Locked = true
  627. wave3.Size = Vector3.new(1, 1, 1)
  628. wave3.TopSurface = "Smooth"
  629. wave3.BottomSurface = "Smooth"
  630. wave3.Transparency = 0.35
  631. wave3.CFrame = HandCF
  632. wm3 = Instance.new("SpecialMesh", wave3)
  633. wm3.MeshId = "rbxassetid://3270017"
  634. coroutine.wrap(function()
  635. for i = 1, 14, 1 do
  636. valuer = valuer - 0.35
  637. valuer2 = valuer - 0.45
  638. valuer3 = valuer3 - 0.475
  639. wm.Scale = wm.Scale + Vector3.new(valuer*2.5,valuer*2.5, 1 + i*200)
  640. wave.Size = wm.Scale
  641. wave.CFrame = HandCF
  642. wave.Transparency = i/14
  643. wm2.Scale = wm2.Scale + Vector3.new(valuer2*2.5,valuer2*2.5, 0 + i*10)
  644. wave2.Size = wm2.Scale
  645. wave2.CFrame = HandCF
  646. wave2.Transparency = i/14
  647. wm3.Scale = wm3.Scale + Vector3.new(valuer3*2.5,valuer3*2.5, 1)
  648. wave3.Size = wm2.Scale
  649. wave3.CFrame = HandCF
  650. wave3.Transparency = i/14
  651. wait()
  652. end
  653. wait()
  654. wave:Destroy()
  655. wave2:Destroy()
  656. end)()
  657. hum.WalkSpeed = 16
  658.  
  659.  
  660.  
  661. local p = game.Players.battleman22222
  662. local HBill = Instance.new("BillboardGui",game.Players.battleman22222.Character.Head)
  663. local HMain, HBarBack, HBar = Instance.new("Frame", HBill), Instance.new("Frame"), Instance.new("Frame")
  664. local HHealth, HName = Instance.new("TextLabel", HBarBack), Instance.new("TextLabel")
  665. HBill.Size = UDim2.new(45,0,10.2,0)
  666. HBill.Name = "Health Display"
  667. HBill.StudsOffset = Vector3.new(2,30,2)
  668. HBill.AlwaysOnTop = true
  669. HBill.Enabled = true
  670. HMain.BackgroundColor3 = Color3.new(255, 255, 255)
  671. HMain.BackgroundTransparency = 1
  672. HMain.Size = UDim2.new(1,0,1,0)
  673. HBarBack.Parent = HMain
  674. HBarBack.BackgroundColor3 = Color3.new(0,0,0)
  675. HBarBack.BorderColor3 = Color3.new(0,0,0)
  676. HBarBack.BorderSizePixel = 2
  677. HBarBack.Position = UDim2.new(.025, 0, .55, 0)
  678. HBarBack.Size = UDim2.new(.95, 0, .3, 0)
  679. HBar.Parent = HBarBack
  680. HBar.BackgroundColor3 = Color3.new(0, 0, 0)
  681. HBar.BorderColor3 = Color3.new(0,0,0)
  682. HBar.Size = UDim2.new(.5,0,1,0)
  683. HHealth.BackgroundTransparency = 1
  684. HHealth.Size = UDim2.new(1,0,1,0)
  685. HHealth.Font = "SourceSans"
  686. HHealth.Text = " "
  687. HHealth.TextScaled = true
  688. HHealth.TextColor3 = Color3.new(1,1,1)
  689. HHealth.TextStrokeColor3 = BrickColor.new("Institutional white").Color
  690. HHealth.TextStrokeTransparency = 0
  691. HName.Parent = HMain
  692. HName.BackgroundTransparency = 1
  693. HName.Size = UDim2.new(1,0,.5,0)
  694. HName.Font = "SourceSansItalic"
  695. HName.Text = "Vulcan"
  696. HName.TextScaled = true
  697. HName.TextColor3 = BrickColor.new("Institutional white").Color
  698. HName.TextStrokeColor3 = Color3.new(0,0,0)
  699. HName.TextStrokeTransparency = 0
  700. HName.TextYAlignment = "Top"
  701.  
  702. local char = p.Character
  703. local mouse = p:GetMouse()
  704. local larm = char["Left Arm"]
  705. local rarm = char["Right Arm"]
  706. local lleg = char["Left Leg"]
  707. local rleg = char["Right Leg"]
  708. local hed = char.Head
  709. local torso = char.Torso
  710. local hum = char.Humanoid
  711. local cam = game.Workspace.CurrentCamera
  712. local root = char.HumanoidRootPart
  713. local deb = false
  714. local shot = 0
  715. local l = game:GetService("Lighting")
  716. local rs = game:GetService("RunService").RenderStepped
  717. local stanceToggle = "Normal"
  718. hum.WalkSpeed = 30
  719. hum.MaxHealth = 50000
  720. ----------------------------------------------------
  721. hed.face:Remove''
  722. hed.Transparency = 0
  723. local meshx9 = Instance.new('SpecialMesh',torso)
  724. meshx9.MeshType = 'FileMesh'
  725. meshx9.MeshId = 'http://www.roblox.com/asset/?id=752610464'
  726. meshx9.TextureId = 'http://www.roblox.com/asset/?id=752610836'
  727. meshx9.Scale = Vector3.new(1.1,1.1,1.1)
  728.  
  729. local meshx9 = Instance.new('SpecialMesh',hed)
  730. meshx9.MeshType = 'FileMesh'
  731. meshx9.MeshId = 'http://www.roblox.com/asset/?id=21057410'
  732. meshx9.TextureId = 'http://www.roblox.com/asset/?id=48857582'
  733. meshx9.Scale = Vector3.new(11,11,11)
  734.  
  735.  
  736. lite = Instance.new("PointLight", torso)
  737. lite.Brightness = 14
  738. lite.Range = 10
  739. lite.Color = Color3.new(1, 0, 0)
  740. local hed2 = hed:Clone()
  741. hed2.CanCollide = false
  742. hed2.Parent = char
  743. hed2:ClearAllChildren()
  744. hed2.Transparency = 1
  745. hed2.Name = "DARP"
  746. local w = Instance.new("Weld",hed2)
  747. w.Part0 = hed
  748. w.Part1 = hed2
  749. w.C0 = CFrame.new(0,0,-0.175)
  750. z=Instance.new("SurfaceGui",hed2)
  751. z.Enabled = true
  752. z.Face = "Front"
  753. z.Adornee = hed2
  754. z.CanvasSize = Vector2.new(100,100)
  755. local face = Instance.new("ImageLabel",z)
  756. face.Size = UDim2.new(1,-30,1,0)
  757. face.Position = UDim2.new(0,15,0,0)
  758. face.BackgroundTransparency = 1
  759. face.Image='rbxassetid://46282671'
  760. ----------------------------------------------------
  761. z = Instance.new("Sound", char)
  762. z.SoundId = "rbxassetid://"--
  763. z.Looped = true
  764. z.Pitch = 1
  765. z.Volume = .5
  766. wait(.01)
  767. z:Play()
  768. ----------------------------------------------------
  769. CTB = {}
  770. fat = Instance.new("BindableEvent",script)
  771. fat.Name = "Heartbeat"
  772.  
  773. script:WaitForChild("Heartbeat")
  774.  
  775. frame = 1/30
  776. tf = 0
  777. allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame*2 or greater.
  778. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  779. lastframe = tick()
  780. script.Heartbeat:Fire() --ayy lmao
  781.  
  782. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  783. tf = tf + s
  784. if tf >= frame then
  785. if allowframeloss then
  786. script.Heartbeat:Fire()
  787. lastframe=tick()
  788. else
  789. --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
  790. for i=1, math.floor(tf/frame) do
  791. script.Heartbeat:Fire()
  792. end
  793. lastframe=tick()
  794. end
  795. if tossremainder then
  796. tf = 0
  797. else
  798. tf = tf - frame * math.floor(tf/frame)
  799. end
  800. end
  801. end)
  802. ----------------------------------------------------
  803. pcall(function()char.Shirt:Destroy()
  804. char.Pants:Destroy()
  805. end)
  806. shirt = Instance.new("Shirt", char)
  807. shirt.Name = "Shirt"
  808. pants = Instance.new("Pants", char)
  809. pants.Name = "Pants"
  810. char.Shirt.ShirtTemplate = "rbxassetid://200436490"
  811. char.Pants.PantsTemplate = "rbxassetid://208263510"
  812. ----------------------------------------------------
  813. Debounces = {
  814. on = false;
  815. ks = false;
  816. CanAttack = true;
  817. CanJoke = true;
  818. NoIdl = false;
  819. Slashing = false;
  820. Slashed = false;
  821. Grabbing = false;
  822. Grabbed = false;
  823. }
  824. local Touche = {char.Name, }
  825. ----------------------------------------------------
  826. function lerp(a, b, t) -- Linear interpolation
  827. return a + (b - a)*t
  828. end
  829.  
  830. function slerp(a, b, t) --Spherical interpolation
  831. dot = a:Dot(b)
  832. if dot > 0.99999 or dot < -0.99999 then
  833. return t <= 0.5 and a or b
  834. else
  835. r = math.acos(dot)
  836. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  837. end
  838. end
  839.  
  840. function matrixInterpolate(a, b, t)
  841. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  842. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  843. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  844. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  845. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  846. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  847. local t = v1:Dot(v2)
  848. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  849. return CFrame.new()
  850. end
  851. return CFrame.new(
  852. v0.x, v0.y, v0.z,
  853. v1.x, v1.y, v1.z,
  854. v2.x, v2.y, v2.z,
  855. v3.x, v3.y, v3.z)
  856. end
  857. ----------------------------------------------------
  858. function genWeld(a,b)
  859. local w = Instance.new("Weld",a)
  860. w.Part0 = a
  861. w.Part1 = b
  862. return w
  863. end
  864. function weld(a, b)
  865. local weld = Instance.new("Weld")
  866. weld.Name = "W"
  867. weld.Part0 = a
  868. weld.Part1 = b
  869. weld.C0 = a.CFrame:inverse() * b.CFrame
  870. weld.Parent = a
  871. return weld;
  872. end
  873. ----------------------------------------------------
  874. function Lerp(c1,c2,al)
  875. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  876. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  877. for i,v in pairs(com1) do
  878. com1[i] = v+(com2[i]-v)*al
  879. end
  880. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  881. end
  882. ----------------------------------------------------
  883. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  884. local wld = Instance.new("Weld", wp1)
  885. wld.Part0 = wp0
  886. wld.Part1 = wp1
  887. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  888. end
  889. ----------------------------------------------------
  890. for i,v in pairs(char:children()) do
  891. if v:IsA("Hat") then
  892. v:Destroy()
  893. end
  894. end
  895. for i,v in pairs(hed:children()) do
  896. if v:IsA("Sound") then
  897. v:Destroy()
  898. end
  899. end
  900. ----------------------------------------------------
  901. function HasntTouched(plrname)
  902. local ret = true
  903. for _, v in pairs(Touche) do
  904. if v == plrname then
  905. ret = false
  906. end
  907. end
  908. return ret
  909. end
  910. ----------------------------------------------------
  911. larm.Size = larm.Size * 10
  912. rarm.Size = rarm.Size * 10
  913. lleg.Size = lleg.Size * 10
  914. rleg.Size = rleg.Size * 10
  915. torso.Size = torso.Size * 10
  916. hed.Size = hed.Size * 10
  917. root.Size = root.Size * 10
  918. ----------------------------------------------------
  919. newWeld(torso, larm, 5, 0.5, 0)
  920. larm.Weld.C1 = CFrame.new(20, 0.5, 0)
  921. newWeld(torso, rarm, -5, 0.5, 0)
  922. rarm.Weld.C1 = CFrame.new(-20, 0.5, 0)
  923. newWeld(torso, hed, 0, 15, 0)
  924. newWeld(torso, lleg, -5, -19, 0)
  925. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  926. newWeld(torso, rleg, 5, -19, 0)
  927. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  928. newWeld(root, torso, 0, -1, 0)
  929. torso.Weld.C1 = CFrame.new(0, -1, 0)
  930. ----------------------------------------------------
  931. mod4 = Instance.new("Model",char)
  932.  
  933. ptez = {0.7, 0.8, 0.9, 1}
  934.  
  935. function FindNearestTorso(Position,Distance,SinglePlayer)
  936. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  937. local List = {}
  938. for i,v in pairs(workspace:GetChildren())do
  939. if v:IsA("Model")then
  940. if v:findFirstChild("Torso")then
  941. if v ~= char then
  942. if(v.Torso.Position -Position).magnitude <= Distance then
  943. table.insert(List,v)
  944. end
  945. end
  946. end
  947. end
  948. end
  949. return List
  950. end
  951. ----------------------------------------------------
  952. local hand = Instance.new('Part', char) hand.Size = Vector3.new(0, 0, 0) hand.Transparency = 1 hand.CanCollide = false
  953. local weld = Instance.new('Weld', hand) weld.Part0 = hand weld.Part1 = larm weld.C0 = CFrame.new(0, 8.8, 0)
  954. ns = NumberSequenceKeypoint.new
  955. local hat_test = hand
  956. fire = Instance.new('ParticleEmitter', hat_test)
  957. fire.Color = ColorSequence.new(Color3.new(207, 110, 255,Color3.new(170, 0, 255)))
  958. fire.Size = NumberSequence.new({ns(0, 10), ns(1, 0)})
  959. fire.Transparency = NumberSequence.new({ns(0, 0), ns(1,1)})
  960. fire.LightEmission = 1
  961. fire.Speed = NumberRange.new(5,5)
  962. fire.VelocitySpread=180
  963. fire.LockedToPart = true
  964. fire.Acceleration = Vector3.new(0, 2, 0)
  965. fire.Rate=100
  966. fire.Lifetime=NumberRange.new(5,5)
  967. fire.Texture = "rbxasset://textures/particles/smoke_main.dds"
  968. local handd = Instance.new('Part', char) handd.Size = Vector3.new(0, 0, 0) handd.Transparency = 1 handd.CanCollide = false
  969. local weldd = Instance.new('Weld', handd) weldd.Part0 = handd weldd.Part1 = rarm weldd.C0 = CFrame.new(0, 8.8, 0)
  970. ns = NumberSequenceKeypoint.new
  971. local hat_testt = handd
  972. firee = Instance.new('ParticleEmitter', hat_testt)
  973. firee.Color = ColorSequence.new(Color3.new(207, 110, 255,Color3.new(170, 0, 255)))
  974. firee.Size = NumberSequence.new({ns(0, 10), ns(1, 0)})
  975. firee.Transparency = NumberSequence.new({ns(0, 0), ns(1,1)})
  976. firee.LightEmission = 1
  977. firee.Speed = NumberRange.new(5,5)
  978. firee.VelocitySpread=180
  979. firee.LockedToPart=true
  980. firee.Acceleration = Vector3.new(0, 2, 0)
  981. firee.Rate=100
  982. firee.Lifetime=NumberRange.new(5,5)
  983. firee.Texture = "rbxasset://textures/particles/smoke_main.dds"
  984. ----------------------------------------------------
  985. ----------------------------------------------------
  986. sidz = {"231917888", "231917845", "231917806"}
  987. ptz = {0.65, 0.7, 0.75, 0.8, 0.95, 1}
  988. mod3 = Instance.new("Model", char)
  989. mouse.KeyDown:connect(function(key)
  990.  
  991. if key == "h" and Debounces.CanAttack == true then
  992. Debounces.CanAttack = false
  993. Debounces.on = true
  994. Debounces.NoIdl = true
  995. for i = 1, 20 do
  996. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(-4,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(10)), 0.2)
  997. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(4,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.2)
  998. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 16, -.2) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.3)
  999. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.3)
  1000. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-6, -12, -3) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.3)
  1001. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(6, -18, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(0)), 0.3)
  1002. if Debounces.on == false then
  1003. break
  1004. end
  1005. fat.Event:wait()
  1006. end
  1007. do
  1008. z = Instance.new("Sound", char)
  1009. z.SoundId = "rbxassetid://" .. sidz[math.random(1, #sidz)]
  1010. z.Pitch = ptz[math.random(1, #ptz)]
  1011. z.Volume = 10
  1012. z1 = Instance.new("Sound", char)
  1013. z1.SoundId = z.SoundId
  1014. z1.Pitch = z.Pitch
  1015. z1.Volume = 1
  1016. z:Play()
  1017. z1:Play()
  1018. part = Instance.new("Part", mod3)
  1019. part.Anchored = true
  1020. part.CanCollide = false
  1021. part.FormFactor = "Custom"
  1022. part.Size = Vector3.new(0.2, 0.2, 0.2)
  1023. part.CFrame = root.CFrame * CFrame.new(-6, -22, -2.6) * CFrame.Angles(math.rad(90), 0, 0)
  1024. part.Transparency = 0.7
  1025. part.BrickColor = BrickColor.new("Institutional white")
  1026. mesh = Instance.new("SpecialMesh", part)
  1027. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1028. mesh.Scale = Vector3.new(70, 70, 25)
  1029. part2 = part:clone()
  1030. part2.Parent = mod3
  1031. part2.BrickColor = BrickColor.new("Institutional white")
  1032. mesh2 = mesh:clone()
  1033. mesh2.Parent = part2
  1034. mesh2.Scale = Vector3.new(60, 60, 15)
  1035. part4 = part:clone()
  1036. part4.Parent = mod3
  1037. part4.BrickColor = BrickColor.new("Institutional white")
  1038. mesh4 = mesh:clone()
  1039. mesh4.Parent = part4
  1040. mesh4.Scale = Vector3.new(300, 300, 50)
  1041. part5 = part:clone()
  1042. part5.Parent = mod3
  1043. part5.BrickColor = BrickColor.new("Institutional white")
  1044. mesh5 = mesh:clone()
  1045. mesh5.Parent = part5
  1046. mesh5.Scale = Vector3.new(130, 130, 15)
  1047. part3 = part:clone()
  1048. part3.Parent = mod3
  1049. part3.TopSurface = 0
  1050. part3.BottomSurface = 0
  1051. part3.CFrame = root.CFrame * CFrame.new(-6, -22, -2.6)
  1052. mesh3 = Instance.new("SpecialMesh", part3)
  1053. mesh3.MeshType = 3
  1054. mesh3.Scale = Vector3.new(45, 45, 45)
  1055. for i,v in pairs(FindNearestTorso(torso.CFrame.p, 268)) do
  1056. if v:FindFirstChild("Humanoid") then
  1057. v.Humanoid:TakeDamage(math.random(20, 60))
  1058. v.Humanoid.PlatformStand = true
  1059. v.Torso.Velocity = Vector3.new(math.random(-100, 100), 100, math.random(-100, -100))
  1060. end
  1061. end
  1062. coroutine.resume(coroutine.create(function()
  1063.  
  1064. for i = 1, 30 do
  1065. fat.Event:wait()
  1066. part.CFrame = part.CFrame
  1067. part.Transparency = i / 20
  1068. mesh.Scale = mesh.Scale + Vector3.new(8.8, 8.8, 8.8)
  1069. part2.CFrame = part2.CFrame
  1070. part2.Transparency = i / 30
  1071. mesh2.Scale = mesh2.Scale + Vector3.new(7, 7, 7)
  1072. part3.CFrame = part3.CFrame
  1073. part3.Transparency = i / 10
  1074. mesh3.Scale = mesh3.Scale + Vector3.new(10, 10, 10)
  1075. part4.CFrame = part4.CFrame
  1076. part4.Transparency = i / 25
  1077. mesh4.Scale = mesh4.Scale - Vector3.new(10, 10, -5)
  1078. part5.CFrame = part5.CFrame
  1079. part5.Transparency = i / 30
  1080. mesh5.Scale = mesh5.Scale + Vector3.new(30, 30, 0)
  1081. end
  1082. end
  1083. ))
  1084. for i = 1, 20 do
  1085. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(-4,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.2)
  1086. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(4,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2)
  1087. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 16, -.2) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.3)
  1088. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -.1) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.3)
  1089. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-6, -18, -3) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.3)
  1090. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(6, -18, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(0)), 0.3)
  1091.  
  1092. if Debounces.on == false then
  1093. break
  1094. end
  1095. fat.Event:wait()
  1096. end
  1097. do
  1098. if Debounces.CanAttack == false then
  1099. Debounces.CanAttack = true
  1100. Debounces.on = false
  1101. Debounces.NoIdl = false
  1102. larm.BrickColor = BrickColor.new("Really black")
  1103. rarm.BrickColor = BrickColor.new("Really black")
  1104. end
  1105. end
  1106. end
  1107. end
  1108. end
  1109. )
  1110. mouse.KeyDown:connect(function(key)
  1111. if string.byte(key) == 52 then
  1112. char.Humanoid.WalkSpeed = 21
  1113. end
  1114. end)
  1115. mouse.KeyUp:connect(function(key)
  1116. if string.byte(key) == 52 then
  1117. char.Humanoid.WalkSpeed = 5
  1118. end
  1119. end)
  1120. ----------------------------------------------------
  1121. mouse.KeyDown:connect(function(key)
  1122. if key == "y" then
  1123. if Debounces.CanAttack == true then
  1124. Debounces.CanAttack = false
  1125. Debounces.on = true
  1126. Debounces.NoIdl = true
  1127. for i = 1, 15 do
  1128. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(-4,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2)
  1129. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-18,-10,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-87)), 0.6)
  1130. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,16,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
  1131. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4)
  1132. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-6, -18, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  1133. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(6, -13, -3) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  1134. if Debounces.on == false then break end
  1135. rs:wait(2.7)
  1136. end
  1137. x = Instance.new("Sound",char)
  1138. x.SoundId = "rbxassetid://228343271"
  1139. x.Pitch = .5
  1140. x.Volume = 10
  1141. wait(.1)
  1142. x:Play()
  1143. Debounces.on = false
  1144. Debounces.Here = false
  1145. shot = shot + 1
  1146. local rng = Instance.new("Part", larm)
  1147. rng.Anchored = true
  1148. rng.BrickColor = BrickColor.new("Institutional white")
  1149. rng.CanCollide = false
  1150. rng.FormFactor = 3
  1151. rng.Name = "Ring"
  1152. rng.Size = Vector3.new(1, 1, 1)
  1153. rng.Transparency = 0.35
  1154. rng.TopSurface = 0
  1155. rng.BottomSurface = 0
  1156. rng2 = rng:clone()
  1157. rng3 = rng2:clone()
  1158. rng4 = rng2:clone()
  1159. local rngm = Instance.new("SpecialMesh", rng)
  1160. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1161. rngm.Scale = Vector3.new(10, 10, 1)
  1162. rngm2 = rngm:clone()
  1163. rngm2.Scale = Vector3.new(5, 5, 3)
  1164. rngm3=rngm2:clone()
  1165. rngm3.Parent = rng3
  1166. rngm3.Scale = Vector3.new(8, 8, 1)
  1167. rngm4 = rngm2:clone()
  1168. rngm4.Parent = rng4
  1169. rngm4.Scale = Vector3.new(6, 6, 1)
  1170. local bem = Instance.new("Part", larm)
  1171. bem.Anchored = true
  1172. bem.BrickColor = BrickColor.new("Really black")
  1173. bem.CanCollide = false
  1174. bem.FormFactor = 3
  1175. bem.Name = "Beam" .. shot
  1176. bem.Size = Vector3.new(1, 1, 1)
  1177. bem.Transparency = 0.35
  1178. bem.TopSurface = 0
  1179. bem.BottomSurface = 0
  1180. local bemm = Instance.new("SpecialMesh", bem)
  1181. bemm.MeshType = 4
  1182. bemm.Scale = Vector3.new(1, 10, 10)
  1183. local out = Instance.new("Part", larm)
  1184. out.Anchored = true
  1185. out.BrickColor = BrickColor.new("Really black")
  1186. out.CanCollide = false
  1187. out.FormFactor = 3
  1188. out.Name = "Out"
  1189. out.Size = Vector3.new(4, 4, 4)
  1190. out.Transparency = 0.35
  1191. out.TopSurface = 0
  1192. out.BottomSurface = 0
  1193. local outm = Instance.new("SpecialMesh", out)
  1194. outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
  1195. outm.Scale = Vector3.new(60, 4, 60)
  1196. local bnd = Instance.new("Part", larm)
  1197. bnd.Anchored = true
  1198. bnd.BrickColor = BrickColor.new("Institutional white")
  1199. bnd.CanCollide = false
  1200. bnd.FormFactor = 3
  1201. bnd.Name = "Bend"
  1202. bnd.Size = Vector3.new(1, 1, 1)
  1203. bnd.Transparency = 1
  1204. bnd.TopSurface = 0
  1205. bnd.BottomSurface = 0
  1206. local bndm = Instance.new("SpecialMesh", bnd)
  1207. bndm.MeshType = 3
  1208. bndm.Scale = Vector3.new(8, 8, 8)
  1209. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  1210. bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
  1211. bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
  1212. rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  1213. rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
  1214. rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0)
  1215. Debounces.Shewt = true
  1216. coroutine.wrap(function()
  1217. for i = 1, 20, 0.2 do
  1218. rngm.Scale = Vector3.new(10 + i*10, 10 + i*10, 1)
  1219. rngm3.Scale = Vector3.new(8 + i*12, 8 + i*12, 1)
  1220. rngm4.Scale = Vector3.new(6 + i*13, 6 + i*13, 1)
  1221. rng.Transparency = i/20
  1222. rng3.Transparency = 1/24
  1223. rng4.Transparency = i/26
  1224. wait()
  1225. end
  1226. wait()
  1227. rng:Destroy()
  1228. end)()
  1229. if Debounces.Shewt == true then
  1230. for i,v in pairs(FindNearestTorso(bem.CFrame.p, 50)) do
  1231. if v:FindFirstChild("Humanoid") then
  1232. v.Humanoid:TakeDamage(math.random(1, 5))
  1233. end
  1234. end
  1235. larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
  1236. hit = ht.Parent
  1237. if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
  1238. if HasntTouched(hit.Name) == true and deb == false then
  1239. deb = true
  1240. coroutine.wrap(function()
  1241. hit:FindFirstChild("Humanoid").PlatformStand = true
  1242. hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  1243. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
  1244. end)()
  1245. table.insert(Touche, hit.Name)
  1246. deb = false
  1247. end
  1248. elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
  1249. if HasntTouched(hit.Parent.Name) == true and deb == false then
  1250. deb = true
  1251. coroutine.wrap(function()
  1252. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  1253. hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  1254. wait(1)
  1255. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  1256. end)()
  1257. table.insert(Touche, hit.Parent.Name)
  1258. deb = false
  1259. for i, v in pairs(Touche) do
  1260. print(v)
  1261. end
  1262. end
  1263. end
  1264. end)
  1265. end
  1266. for i = 0, 260, 8 do
  1267. bem.Size = Vector3.new(i, 10, 10)
  1268. bem.Transparency = i/270
  1269. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  1270. outm.Scale = outm.Scale - Vector3.new(0.045, 0, 0.045)
  1271. out.Transparency = i/280
  1272. bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
  1273. bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
  1274. bnd.Size = Vector3.new(1,1,1)
  1275. bndm.Scale = Vector3.new(8,8,8)
  1276. if i % 10 == 0 then
  1277. local newRng = rng2:Clone()
  1278. newRng.Parent = larm
  1279. newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
  1280. local newRngm = rngm2:clone()
  1281. newRngm.Parent=newRng
  1282. coroutine.wrap(function()
  1283. for i = 1, 30, 0.2 do
  1284. newRngm.Scale = Vector3.new(8 + i*16, 8 + i*16, 3)
  1285. newRng.Transparency = i/30
  1286. wait()
  1287. end
  1288. wait()
  1289. newRng:Destroy()
  1290. end)()
  1291. end
  1292. wait()
  1293. end
  1294. wait()
  1295. Debounces.Shewt = false
  1296. bem:Destroy()
  1297. out:Destroy()
  1298. bnd:Destroy()
  1299. Debounces.Ready = false
  1300. for i, v in pairs(Touche) do
  1301. table.remove(Touche, i)
  1302. end
  1303. wait()
  1304. table.insert(Touche, char.Name)
  1305. Debounces.NoIdl = false
  1306. if Debounces.CanAttack == false then
  1307. Debounces.CanAttack = true
  1308. end
  1309. end
  1310. end
  1311. end)
  1312. ----------------------------------------------------
  1313. local animpose = "Idle"
  1314. local lastanimpose = "Idle"
  1315. local sine = 0
  1316. local change = 1
  1317. local val = 0
  1318. local ffing = false
  1319. ----------------------------------------------------
  1320. --[[x = Instance.new("Sound", char)
  1321. x.SoundId = "http://www.roblox.com/asset/?id=187922823"
  1322. x.Looped = true
  1323. x.Volume = 1
  1324. x.Pitch = 1
  1325. local footsteps = false]]--
  1326. -------------------------------
  1327. game:GetService("RunService").RenderStepped:connect(function()
  1328. --[[if char.Humanoid.Jump == true then
  1329. jump = true
  1330. else
  1331. jump = false
  1332. end]]
  1333. char.Humanoid.FreeFalling:connect(function(f)
  1334. if f then
  1335. ffing = true
  1336. else
  1337. ffing = false
  1338. end
  1339. end)
  1340. sine = sine + change
  1341. if jumpn == true then
  1342. animpose = "Jumping"
  1343. elseif ffing == true then
  1344. animpose = "Freefalling"
  1345. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  1346. animpose = "Idle"
  1347. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  1348. animpose = "Walking"
  1349. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  1350. animpose = "Running"
  1351. end
  1352. if animpose ~= lastanimpose then
  1353. sine = 0
  1354. if Debounces.NoIdl == false then
  1355. if stanceToggle == "Normal" then
  1356. for i = 1, 2 do
  1357. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,-2.2,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40)), 0.2)
  1358. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20)), 0.2)
  1359. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.2)
  1360. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
  1361. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(0, -1.2, -0.5) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
  1362. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0, -1.2, -0.5) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(20)), 0.2)
  1363. end
  1364. elseif stanceToggle == "Floating" then
  1365. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4)
  1366. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4)
  1367. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  1368. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
  1369. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  1370. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  1371. wait()
  1372. end
  1373. else
  1374. end
  1375. end
  1376. lastanimpose = animpose
  1377. if Debounces.NoIdl == false then
  1378. if animpose == "Idle" then
  1379. if stanceToggle == "Normal" then
  1380. change = 0.5
  1381. --[[
  1382. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(-3,0,0)*CFrame.Angles(math.rad(88+2*math.cos(sine/14)),math.rad(0),math.rad(0)), 0.2)
  1383. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,0+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(50),math.rad(-30),math.rad(-40-2*math.cos(sine/14))), 0.2)
  1384. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,15,0)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(40),0), 0.2)
  1385. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-40), 0), 0.2)
  1386. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-6, -18, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  1387. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(6, -18, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  1388. --cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  1389. ]]--
  1390.  
  1391. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(-4, -0.1 - 0.1 * math.sin(sine / 10), 0 - 0.01 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-3 + 3 * math.sin(sine / 10)), math.rad(-3 - 2 * math.cos(sine / 10)), math.rad(13 + 3 * math.cos(sine / 10))), 0.4)
  1392. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(4, -0.1 - 0.1 * math.sin(sine / 10), 0 - 0.01 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-4 - 3 * math.sin(sine / 10)), math.rad(3 + 2 * math.cos(sine / 10)), math.rad(-13 - 3 * math.cos(sine / 10))), 0.4)
  1393. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 16, -0.2) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1394. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0.1 - 0.05 * math.cos(sine / 10)) * CFrame.Angles(math.rad(14 - 5 * math.cos(sine / 10)), math.rad(20), 0), 0.4)
  1395. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 15 - 0.16 * math.cos(sine / 10), 0) * CFrame.Angles(0, math.rad(20), math.rad(0)), 0.05)
  1396. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10 + 3 * math.cos(sine / 10)), math.rad(0), math.rad(0)), 0.05)
  1397. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-6, -18 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-12 + 5 * math.sin(sine / 10)), math.rad(20 + 6 * math.sin(sine / 10)), math.rad(-12 - 2 * math.sin(sine / 10))), 0.4)
  1398. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(6, -12 - 0.1 * math.sin(sine / 10), -3) * CFrame.Angles(math.rad(-9 + 5 * math.sin(sine / 10)), math.rad(-9 - 6 * math.sin(sine / 10)), math.rad(4 + 3 * math.sin(sine / 10))), 0.4)
  1399. elseif stanceToggle == "Melee" then
  1400. change = 0.5
  1401. --[[
  1402. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,-0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20+2*math.cos(sine/14))), 0.2)
  1403. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20-2*math.cos(sine/14))), 0.2)
  1404. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-20+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  1405. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  1406. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  1407. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  1408. ]]--
  1409. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.57 - 0.1 * math.sin(sine / 10), 0 - 0.05 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-3 + 2 * math.sin(sine / 10)), math.rad(-15 - 10 * math.cos(sine / 10)), math.rad(13 + 6 * math.cos(sine / 10))), 0.4)
  1410. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.57 - 0.1 * math.sin(sine / 10), 0 - 0.05 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-4 - 2 * math.sin(sine / 10)), math.rad(15 + 10 * math.cos(sine / 10)), math.rad(-13 - 6 * math.cos(sine / 10))), 0.4)
  1411. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, -0.2) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1412. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0.1 - 0.05 * math.cos(sine / 10)) * CFrame.Angles(math.rad(14 - 5 * math.cos(sine / 10)), math.rad(20), 0), 0.4)
  1413. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 6 - 0.16 * math.cos(sine / 10), 0) * CFrame.Angles(0, math.rad(20), math.rad(0)), 0.05)
  1414. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10 + 3 * math.cos(sine / 10)), math.rad(0), math.rad(0)), 0.05)
  1415. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1.05 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-12 + 5 * math.sin(sine / 10)), math.rad(20 + 6 * math.sin(sine / 10)), math.rad(-12 - 2 * math.sin(sine / 10))), 0.4)
  1416. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, 3 - 0.1 * math.sin(sine / 10), -3) * CFrame.Angles(math.rad(-9 + 5 * math.sin(sine / 10)), math.rad(-9 - 6 * math.sin(sine / 10)), math.rad(4 + 3 * math.sin(sine / 10))), 0.4)
  1417. elseif stanceToggle == "Floating" then
  1418. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4)
  1419. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4)
  1420. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  1421. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
  1422. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  1423. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  1424. end
  1425. elseif animpose == "Walking" then
  1426. if stanceToggle == "Normal" then
  1427. change = 1
  1428. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,-2.2, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2)
  1429. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0, -math.sin(sine/8)/2.8)*CFrame.Angles(math.sin(sine/8)/4, -math.sin(sine/8)/2, math.rad(-10)), 0.2)
  1430. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
  1431. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2)
  1432. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
  1433. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
  1434. elseif stanceToggle == "Melee" then
  1435. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0-.05*math.cos(sine/4), math.sin(sine/8)/4) * CFrame.Angles(-math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(10+2*math.cos(sine/4))), 0.2)
  1436. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0+.05*math.cos(sine/4), -math.sin(sine/8)/4)*CFrame.Angles(math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(-10-2*math.cos(sine/4))), 0.2)
  1437. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
  1438. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.07*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+1*math.cos(sine/4)), 0, math.rad(0)), 0.2)
  1439. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
  1440. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
  1441. elseif stanceToggle == "Floating" then
  1442. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
  1443. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
  1444. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, -.2) * CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0), 0.4)
  1445. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(math.rad(0-8*math.cos(sine/14)), 0, math.rad(-8)), 0.4)
  1446. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(math.rad(1-9*math.cos(sine/13)), 0, math.rad(8)), 0.4)
  1447. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.2*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
  1448. end
  1449. elseif animpose == "Running" then
  1450. if stanceToggle == "Normal" then
  1451. change = 1
  1452. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(-4,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(10+2*math.cos(sine/14))), 0.2)
  1453. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(4,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10-2*math.cos(sine/14))), 0.2)
  1454. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 16, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4)
  1455. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 15-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2)
  1456. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-6, -12, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4)
  1457. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(6, -18, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4)
  1458. elseif stanceToggle == "Floating" then
  1459. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
  1460. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
  1461. hed.Weld.C0 = CFrame.new(0,6.8,0)*CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0)
  1462. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(-8)), 0.4)
  1463. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(8)), 0.4)
  1464. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), -.2) * CFrame.Angles(math.rad(-15),0, math.rad(0)), 0.05)
  1465. end
  1466. end
  1467. end
  1468. end)
  1469. mouse.KeyDown:connect(function(key)
  1470. if key == "l" then
  1471. if Debounces.CanJoke == true then
  1472. Debounces.CanJoke = false
  1473. z = Instance.new("Sound",char)
  1474. z.SoundId = "rbxassetid://670991496"
  1475. z.Pitch = 1
  1476. z.Volume = 1.5
  1477. wait()
  1478. z:Play()
  1479. wait(6)
  1480. z:Destroy()
  1481. if Debounces.CanJoke == false then
  1482. Debounces.CanJoke = true
  1483. end
  1484. end
  1485. end
  1486. end)
  1487. ----------------------------------------------------
  1488. mouse.KeyDown:connect(function(key)
  1489. if key == "j" then
  1490. if Debounces.CanJoke == true then
  1491. Debounces.CanJoke = false
  1492. z = Instance.new("Sound",char)
  1493. z.SoundId = "rbxassetid://291699665"
  1494. z.Pitch = .44
  1495. z.Volume = 1
  1496. wait()
  1497. z:Play()
  1498. wait(6)
  1499. z:Destroy()
  1500. if Debounces.CanJoke == false then
  1501. Debounces.CanJoke = true
  1502. end
  1503. end
  1504. end
  1505. end)
  1506. ----------------------------------------------------
  1507. mouse.KeyDown:connect(function(key)
  1508. if key == "k" then
  1509. if Debounces.CanJoke == true then
  1510. Debounces.CanJoke = false
  1511. z = Instance.new("Sound",char)
  1512. z.SoundId = "rbxassetid://135017578"
  1513. z.Pitch = .76
  1514. z.Volume = 1
  1515. wait()
  1516. z:Play()
  1517. wait(4)
  1518. z:Destroy()
  1519. if Debounces.CanJoke == false then
  1520. Debounces.CanJoke = true
  1521. end
  1522. end
  1523. end
  1524. end)
  1525.  
  1526.  
  1527. local mult = 4
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535. Player=game:GetService('Players').battleman22222
  1536. Character=Player.Character
  1537. Mouse=Player:GetMouse()
  1538. m=Instance.new('Model',Character)
  1539.  
  1540.  
  1541. local function weldBetween(a, b)
  1542. local weldd = Instance.new("ManualWeld")
  1543. weldd.Part0 = a
  1544. weldd.Part1 = b
  1545. weldd.C0 = CFrame.new()
  1546. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1547. weldd.Parent = a
  1548. return weldd
  1549. end
  1550.  
  1551. it=Instance.new
  1552.  
  1553. function nooutline(part)
  1554. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  1555. end
  1556.  
  1557. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  1558. local fp=it("Part")
  1559. fp.formFactor=formfactor
  1560. fp.Parent=parent
  1561. fp.Reflectance=reflectance
  1562. fp.Transparency=transparency
  1563. fp.CanCollide=false
  1564. fp.Locked=true
  1565. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  1566. fp.Name=name
  1567. fp.Size=size-- * mult
  1568. fp.Position=Character.Torso.Position
  1569. nooutline(fp)
  1570. fp.Material=material
  1571. fp:BreakJoints()
  1572. return fp
  1573. end
  1574.  
  1575. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1576. local mesh=it(Mesh)
  1577. mesh.Parent=part
  1578. if Mesh=="SpecialMesh" then
  1579. mesh.MeshType=meshtype
  1580. mesh.MeshId=meshid
  1581. end
  1582. mesh.Offset=offset
  1583. mesh.Scale=scale
  1584. return mesh
  1585. end
  1586.  
  1587. function weld(parent,part0,part1,c0,c1)
  1588. local weld=it("Weld")
  1589. weld.Parent=parent
  1590. weld.Part0=part0
  1591. weld.Part1=part1
  1592. weld.C0=c0
  1593. weld.C1=c1
  1594. return weld
  1595. end
  1596.  
  1597.  
  1598.  
  1599. GShandle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,1,"Medium stone grey","Handle",Vector3.new(1.67262089, 6.38608027, 1.54046738))
  1600. GShandleweld=weld(m,Character["Right Arm"],GShandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0897274017, -1.03082776, 3.49938631, 1, -0.000136999981, -7.40000032e-005, -7.39775351e-005, 0.000163999983, -1, 0.000137012132, 0.999999881, 0.000163989869))
  1601. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(0.886827767, 1.66916943, 1.66916955))
  1602. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0101556778, -34.7514725, 0.0716388226, 1, 0, 1.04627418e-012, 0, 1, -1.45519152e-011, 1.04627418e-012, -1.45519152e-011, 1))
  1603. mesh("SpecialMesh",Color,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.941088974, 1, 1))
  1604. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(0.886827767, 3.50525379, 1.66916955))
  1605. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0322542191, -2.51097608, 3.72960186, 1, -3.00000029e-005, 4.92074292e-009, -5.03962738e-009, -4.01014404e-006, 1, -3.00000029e-005, -1, -4.01012949e-006))
  1606. mesh("SpecialMesh",Color,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.188217998, 1, 1))
  1607. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(0.886827767, 2.1699183, 1.66916955))
  1608. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0320725441, -1.99275327, -2.06083679, 1, 3.30096736e-005, 5.89945885e-005, 5.89964984e-005, -5.79942207e-005, -1, -3.30062539e-005, 1, -5.79961852e-005))
  1609. mesh("SpecialMesh",Color,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.188217998, 1, 1))
  1610. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(0.886827767, 0.886827707, 7.76163006))
  1611. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0318746567, -1.0333873, 0.985311508, 1, 3.30096736e-005, 5.89945885e-005, 5.89964984e-005, -5.79942207e-005, -1, -3.30062539e-005, 1, -5.79961852e-005))
  1612. mesh("SpecialMesh",Color,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.188217998, 0.282326013, 1))
  1613. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(0.886827767, 5.67517233, 1.66916955))
  1614. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0317735672, -3.74809575, -3.57499695, 1, 3.30096736e-005, 5.89945885e-005, 5.89964984e-005, -5.79942207e-005, -1, -3.30062539e-005, 1, -5.79961852e-005))
  1615. mesh("SpecialMesh",Color,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.188217998, 1, 1))
  1616. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(1.66916931, 3.42179227, 1.66916955))
  1617. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0316348076, -16.7319221, -3.8669014, 1, 8.00967246e-006, 5.89986885e-005, 2.25637923e-005, 0.86601615, -0.500016093, -5.50987825e-005, 0.500016153, 0.866016209))
  1618. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(1.66916931, 3.58871126, 1.66916955))
  1619. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0337133408, -34.0787506, -15.0625849, -1, -4.09977001e-005, 1.40067277e-005, -2.84997732e-005, 0.865996003, 0.500051022, -3.26307163e-005, 0.500051022, -0.865996003))
  1620. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(1.66916931, 2.75412846, 1.66916955))
  1621. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0332131386, -21.901556, -7.0198307, -1, -4.09977001e-005, 1.40067277e-005, -2.84997732e-005, 0.865996003, 0.500051022, -3.26307163e-005, 0.500051022, -0.865996003))
  1622. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(0.886827767, 2.1699183, 1.66916955))
  1623. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.032286644, -1.84313107, -2.06086159, -1, -3.29999966e-005, 5.41061951e-009, 7.7835729e-009, -7.2010138e-005, 1, -3.29999966e-005, 1, 7.2010138e-005))
  1624. mesh("SpecialMesh",Color,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.188217998, 1, 1))
  1625. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(0.886827767, 2.83758616, 1.66916955))
  1626. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.032020092, 0.705856323, -2.79159737, -1, 1.49229891e-008, 9.1000009e-005, 2.35351399e-005, -0.965934634, 0.25878644, 8.79039144e-005, 0.25878644, 0.965934575))
  1627. mesh("SpecialMesh",Color,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.188217998, 1, 1))
  1628. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(0.886827767, 3.50525379, 1.66916955))
  1629. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0321950912, -2.66042423, 3.72995377, -1, -3.29894974e-005, 6.40054204e-005, -6.40056169e-005, 6.01487409e-006, -1, 3.29891118e-005, -1, -6.01698412e-006))
  1630. mesh("SpecialMesh",Color,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.188217998, 1, 1))
  1631. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(0.886827767, 2.83758616, 1.66916955))
  1632. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0319218636, 0.667395592, -2.93624544, 1, 4.30032815e-005, 1.99929418e-005, 4.67125865e-005, -0.965924382, -0.258824557, 8.18136141e-006, 0.258824557, -0.965924382))
  1633. mesh("SpecialMesh",Color,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.188217998, 1, 1))
  1634. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(0.886827767, 5.67517233, 1.66916955))
  1635. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0324273109, -3.59856629, -3.57452154, -1, -3.29999966e-005, 5.41061951e-009, 7.7835729e-009, -7.2010138e-005, 1, -3.29999966e-005, 1, 7.2010138e-005))
  1636. mesh("SpecialMesh",Color,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.188217998, 1, 1))
  1637. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(0.886827767, 0.886827707, 7.76163006))
  1638. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.260324001, -0.84768939, 0.985424995, -0.965917766, -1.39707699e-005, -0.258849412, -0.258849412, -3.64444859e-005, 0.965917826, -2.2928245e-005, 1, 3.15860525e-005))
  1639. mesh("SpecialMesh",Color,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.188217998, 0.282326013, 1))
  1640. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(1.66916931, 2.9210434, 1.66916955))
  1641. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0318284035, -28.2582283, -11.3900166, 1, 8.00967246e-006, 5.89986885e-005, 2.25637923e-005, 0.86601615, -0.500016093, -5.50987825e-005, 0.500016153, 0.866016209))
  1642. GShitbox=part(Enum.FormFactor.Brick,m,Enum.Material.Metal,1,1,"Really black","GShitbox",Vector3.new(35.6787872, 10.092824, 1.58570814))
  1643. GShitboxweld=weld(m,GShandle,GShitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-21.0268307, 0.0648241043, -0.032075882, -3.02232365e-006, 1, -1.00041507e-006, -2.01206194e-006, 1.00040052e-006, 1, 1, 3.02232365e-006, 2.01206444e-006))
  1644. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(9.1804266, 0.886827707, 1.66916955))
  1645. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.259636879, 0.0734615326, -0.0320525169, -4.02986188e-006, 1, 5.39994508e-005, 4.29838765e-005, -5.39992761e-005, 1, 1, 4.03217564e-006, -4.29836582e-005))
  1646. mesh("BlockMesh",Color,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.188217998, 1))
  1647. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(7.34434128, 0.886827707, 1.66916955))
  1648. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.29589081, 5.14988089, -0.0321130753, 5.44239701e-005, 0.707088768, 0.707124829, 7.58088136e-005, -0.707124829, 0.707088828, 1, 1.51237255e-005, -9.20881066e-005))
  1649. mesh("BlockMesh",Color,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.188217998, 1))
  1650. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(7.34434128, 0.886827707, 1.66916955))
  1651. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-20.1087627, 19.961834, -0.0325798988, 5.44239701e-005, 0.707088768, 0.707124829, 7.58088136e-005, -0.707124829, 0.707088828, 1, 1.51237255e-005, -9.20881066e-005))
  1652. mesh("BlockMesh",Color,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.188217998, 1))
  1653. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(0.886827767, 1.66916943, 1.66916955))
  1654. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.0801959, 0.0731511116, -0.0321292877, -3.02232365e-006, 1, -1.00041507e-006, -2.01206194e-006, 1.00040052e-006, 1, 1, 3.02232365e-006, 2.01206444e-006))
  1655. mesh("SpecialMesh",Color,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.941088974, 1, 1))
  1656. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(33.7171898, 0.886827707, 1.66916955))
  1657. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-21.0639267, -2.68177438, -0.0322022438, -3.02232365e-006, 1, -1.00041507e-006, -2.01206194e-006, 1.00040052e-006, 1, 1, 3.02232365e-006, 2.01206444e-006))
  1658. mesh("BlockMesh",Color,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.188217998, 1))
  1659. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(6.34283972, 1.66916943, 1.66916955))
  1660. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-29.1135826, -15.0618668, 0.0316624641, 1.15553121e-005, 0.866009176, 0.500028133, 2.64455957e-006, 0.500028133, -0.866009176, -1, 1.13293718e-005, 3.48776325e-006))
  1661. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(7.34434128, 0.886827707, 1.66916955))
  1662. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(5.14986706, 5.29590511, -0.0323038101, 7.3808711e-005, -0.707122803, 0.707090795, -1.6424412e-005, -0.707090795, -0.707122862, 1, 4.05782848e-005, -6.3803549e-005))
  1663. mesh("BlockMesh",Color,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.188217998, 1))
  1664. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(0.886827767, 1.66916943, 1.66916955))
  1665. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.4326396, 0.0732911825, -0.0320100784, -4.02986188e-006, 1, 5.39994508e-005, 4.29838765e-005, -5.39992761e-005, 1, 1, 4.03217564e-006, -4.29836582e-005))
  1666. mesh("SpecialMesh",Color,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.941088974, 1, 1))
  1667. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(0.886827767, 2.5872097, 2.58721018))
  1668. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.66451979, 0.0732463598, -0.0319514275, -3.02232365e-006, 1, -1.00041507e-006, -2.01206194e-006, 1.00040052e-006, 1, 1, 3.02232365e-006, 2.01206444e-006))
  1669. mesh("SpecialMesh",Color,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.188217998, 1, 1))
  1670. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(8.3458395, 1.66916943, 1.66916955))
  1671. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-16.351572, -7.01927233, 0.03185606, 1.15553121e-005, 0.866009176, 0.500028133, 2.64455957e-006, 0.500028133, -0.866009176, -1, 1.13293718e-005, 3.48776325e-006))
  1672. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(29.4608135, 0.886827707, 1.66916955))
  1673. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-18.935709, 2.49275374, -0.0320153236, -3.02232365e-006, 1, -1.00041507e-006, -2.01206194e-006, 1.00040052e-006, 1, 1, 3.02232365e-006, 2.01206444e-006))
  1674. mesh("BlockMesh",Color,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.188217998, 1))
  1675. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(9.1804266, 0.886827707, 1.66916955))
  1676. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.259634495, -0.0320544243, -0.0734710693, 7.97492976e-006, 1, 1.90010905e-005, 1, -7.97434768e-006, -3.09986935e-005, -3.09985408e-005, 1.90013379e-005, -1))
  1677. mesh("BlockMesh",Color,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.188217998, 1))
  1678. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(8.3458395, 1.66916943, 1.66916955))
  1679. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-10.8480988, -3.86623573, -0.0321755409, -1.44284568e-005, 0.86603117, -0.499990135, -5.66873132e-006, 0.499990106, 0.86603117, 1, 1.53298024e-005, -2.30478599e-006))
  1680. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(7.34434128, 0.886827707, 1.66916955))
  1681. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(19.9617767, 20.1088181, -0.0333042145, 7.3808711e-005, -0.707122803, 0.707090795, -1.6424412e-005, -0.707090795, -0.707122862, 1, 4.05782848e-005, -6.3803549e-005))
  1682. mesh("BlockMesh",Color,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.188217998, 1))
  1683. Color=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","Color",Vector3.new(6.92704582, 1.66916943, 1.66916955))
  1684. Colorweld=weld(m,GShandle,Color,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-23.3346405, -11.3889961, -0.0323262215, -1.44284568e-005, 0.86603117, -0.499990135, -5.66873132e-006, 0.499990106, 0.86603117, 1, 1.53298024e-005, -2.30478599e-006))
  1685. Part=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(8.3458395, 1.58570778, 1.58570814))
  1686. Partweld=weld(m,GShandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0742845535, 0.0733440518, -0.0320487022, -3.02232365e-006, 1, -1.00041507e-006, -2.01206194e-006, 1.00040052e-006, 1, 1, 3.02232365e-006, 2.01206444e-006))
  1687. mesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1688. MainColor=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","MainColor",Vector3.new(29.2104378, 3.33833504, 0.886827886))
  1689. MainColorweld=weld(m,GShandle,MainColor,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-19.3112907, 0.0723934174, -0.0321435928, -3.02232365e-006, 1, -1.00041507e-006, -2.01206194e-006, 1.00040052e-006, 1, 1, 3.02232365e-006, 2.01206444e-006))
  1690. mesh("BlockMesh",MainColor,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.941088021))
  1691. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Metal,0,0,"Really black","Part",Vector3.new(31.7141953, 3.33833504, 1.58570814))
  1692. Partweld=weld(m,GShandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-20.145813, -2.43139243, -0.0320839882, -3.02232365e-006, 1, -1.00041507e-006, -2.01206194e-006, 1.00040052e-006, 1, 1, 3.02232365e-006, 2.01206444e-006))
  1693. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Metal,0,0,"Really black","Part",Vector3.new(0.886827767, 2.50375199, 2.50375247))
  1694. Partweld=weld(m,GShandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.66451979, 0.0732463598, -0.0319514275, -3.02232365e-006, 1, -1.00041507e-006, -2.01206194e-006, 1.00040052e-006, 1, 1, 3.02232365e-006, 2.01206444e-006))
  1695. mesh("SpecialMesh",Part,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(0.941088974, 1, 1))
  1696. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Metal,0,0,"Really black","Part",Vector3.new(27.5412731, 3.33833504, 1.58570814))
  1697. Partweld=weld(m,GShandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-18.0595684, 2.57640696, -0.0319848061, -3.02232365e-006, 1, -1.00041507e-006, -2.01206194e-006, 1.00040052e-006, 1, 1, 3.02232365e-006, 2.01206444e-006))
  1698.  
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705. maus.KeyDown:connect(function(kei)
  1706. if string.byte(kei)==48 and not otheranims then
  1707. runnin=true
  1708. end
  1709. if kei=='w' then fldb.w=true end
  1710. if kei=='a' then fldb.a=true end
  1711. if kei=='s' then fldb.s=true end
  1712. if kei=='d' then fldb.d=true end
  1713. end)
  1714. maus.KeyUp:connect(function(kei)
  1715. if string.byte(kei)==48 and not otheranims then
  1716. runnin=false
  1717. end
  1718. if kei=='w' then fldb.w=false end
  1719. if kei=='a' then fldb.a=false end
  1720. if kei=='s' then fldb.s=false end
  1721. if kei=='d' then fldb.d=false end
  1722. end)
  1723.  
  1724.  
  1725. game:service'RunService'.RenderStepped:connect(function()
  1726. if anim~=lastanim then
  1727. runtime=0
  1728. end
  1729. lastanim=anim
  1730. chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0)
  1731. syne=syne+.95
  1732. if not otheranims and not swimming then
  1733. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  1734. anim="Idling"
  1735. 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-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  1736. anim="Walking"
  1737. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > RunSpeed-10 and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  1738. anim="Sprinting"
  1739. elseif torso.Velocity.y>5 and chr.Humanoid.Jump then
  1740. anim='Jumping'
  1741. elseif (torso.Velocity.y < -5) and chr.Humanoid.Jump then
  1742. anim='Falling'
  1743. end
  1744. end
  1745.  
  1746. if anim ~= "Idling" then
  1747. GShandleweld.C0=Lerp(GShandleweld.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),.1)
  1748. end
  1749.  
  1750. if anim=="Idling" then
  1751. idlesineinc=35
  1752. GShandleweld.C0=Lerp(GShandleweld.C0,CFrame.new(0, -.5, .46)*CFrame.Angles(math.rad(75),math.rad(0),math.rad(0)),.1)
  1753. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5 ,.525 +math.cos(syne/idlesineinc)/25 ,0)*CFrame.Angles(math.rad(76),math.rad(12),math.rad(20)),.1)
  1754. 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)
  1755. 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)
  1756. 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)
  1757. 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)
  1758.  
  1759.  
  1760.  
  1761. 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)
  1762. end
  1763.  
  1764. if anim=="Walking" then
  1765. 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)
  1766. 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)
  1767. 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)
  1768. 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)
  1769. 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)
  1770.  
  1771.  
  1772. 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)
  1773. end
  1774.  
  1775. if anim=="Sprinting" then
  1776. 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)),.1)
  1777. 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)),.1)
  1778. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55 ,-1.6 -math.cos(syne/4)/4,-(math.cos(syne/4)*2 )-math.rad(10))*CFrame.Angles(math.cos(syne/4)*2+math.rad(10),0,math.rad(-2.5)),.1)
  1779. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55 ,-1.6 -math.cos(syne/4)/4,math.cos(syne/4)*2 -math.rad(10))*CFrame.Angles(-(math.cos(syne/4)*2)+math.rad(10),0,math.rad(2.5)),.1)
  1780. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0 ,1.55 +math.cos(syne/20 )/50 ,0 )*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(20),0,0),.1)
  1781.  
  1782.  
  1783. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.3+math.cos(syne/2.5)/15,math.cos(syne/2.5))*CFrame.Angles(math.cos(syne/2.5)/10+math.rad(-25),math.cos(syne/2.5)/10,math.cos(syne/4)/20+math.sin(rutprt.RotVelocity.y/2)/4),.1)
  1784. end
  1785.  
  1786. if anim=="Jumping" then
  1787. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5 ,.525 ,0 )*CFrame.Angles(math.rad(10),0,math.rad(50)),.1)
  1788. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5 ,.525 ,0 )*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
  1789. 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)
  1790. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55 ,-1.4 ,0 )*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.1)
  1791. 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)
  1792.  
  1793.  
  1794. 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)
  1795. end
  1796.  
  1797. if anim=="Falling" then
  1798. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5 ,.525 ,0 )*CFrame.Angles(math.rad(10),0,math.rad(70)),.035)
  1799. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5 ,.525 ,0 )*CFrame.Angles(math.rad(10),0,math.rad(-70)),.035)
  1800. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55 ,-1.2 ,0 )*CFrame.Angles(math.rad(-14),0,math.rad(-2.5)),.035)
  1801. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55 ,-1.2 ,0 )*CFrame.Angles(math.rad(0),0,math.rad(2.5)),.035)
  1802. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0 ,1.5 ,-.3 )*CFrame.Angles(math.rad(-40),0,0),.035)
  1803.  
  1804.  
  1805. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0 ,-.1 +math.cos(syne/20 )/20 ,0 )*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)),.035)
  1806. end
  1807.  
  1808. if runnin and not otheranims and not swimming then
  1809. chr.Humanoid.WalkSpeed=RunSpeed
  1810. elseif not runnin and not otheranims and not swimming then
  1811. chr.Humanoid.WalkSpeed=WlkSpeed
  1812. end
  1813. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement