Advertisement
Guest User

Untitled

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