xDDx

Untitled

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