Diegolas97

Volcano

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