Advertisement
Guest User

TATTLETAIL_CUTE'S Handmade Titan Script#2

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