Gokussjg

Untitled

Apr 24th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.90 KB | None | 0 0
  1. --[[
  2.  
  3. #GOD: made by iFractal
  4. getrenv()["lerp"]
  5.  
  6. ]]--
  7. local plr = game.Players.LocalPlayer
  8. local chr = plr.Character
  9. local maus = plr:GetMouse()
  10. local PGui=plr.PlayerGui
  11. local lleg = chr["Left Leg"]
  12. local rleg = chr["Right Leg"]
  13. local larm = chr["Left Arm"]
  14. local rarm = chr["Right Arm"]
  15. local hed = chr.Head
  16. local rutprt = chr.HumanoidRootPart
  17. local torso = chr.Torso
  18. local otheranims=false
  19. local swimming=false
  20.  
  21.  
  22.  
  23.  
  24.  
  25. ---//*DEBOUNCES
  26. canChangeFromC = true
  27. canChangeFromA = true
  28. canChangeFromCF = true
  29. canChangeFromSF = true
  30. canChangeFromPT = true
  31. canChangeFromGT = true
  32. canChangeFromUT = true
  33. ----
  34. canChangeFromMT = true
  35. ----*\\
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45. ---//*AUDIO FOR MODES
  46. ---
  47. dorado = Instance.new("Sound",chr) ---casualFighting
  48. dorado.SoundId = "rbxassetid://188095869"
  49. dorado.Volume = 2
  50. dorado.Looped = true
  51. ---
  52. marxA = Instance.new("Sound",chr) ---Annoyed
  53. marxA.SoundId = "rbxassetid://464032364"
  54. marxA.Pitch = 0.5
  55. marxA.Volume = 2
  56. marxA.Looped = true
  57. ---
  58. ----*\\
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65. --//*Instances
  66. AAura = Instance.new("ParticleEmitter")
  67. CFAura1 = Instance.new("ParticleEmitter")
  68. CFAura2 = Instance.new("ParticleEmitter")
  69. RuneP = Instance.new("Part",chr.Torso)
  70. RuneP.Parent = nil
  71. annoyedPOWERUP = Instance.new("Sound")
  72. casualFightingPOWERUP = Instance.new("Sound")
  73. ShieldP = Instance.new("Part")
  74. ShieldP.Parent = nil
  75. local ShieldM = Instance.new("SpecialMesh")
  76. ShieldHolder = Instance.new("Model",chr)
  77. RShieldP = Instance.new("Part")
  78. RShieldP.Parent = nil
  79. ---*\\
  80.  
  81.  
  82.  
  83.  
  84.  
  85. --//*MODES (in order of magnitude)
  86. local calm = true --default
  87. local annoyed = false
  88. local casualFighting = false
  89. local seriousFighting = false
  90. local planetaryThreat = false
  91. local galacticThreat = false
  92. local universalThreat = false
  93. ----
  94. local multiversalThreat = false
  95. -----*\\
  96. chr.Animate.Disabled=true
  97. local fldb={['w']=false,['a']=false,['s']=false,['d']=false}
  98. local RunSpeed=30
  99.  
  100. local WlkSpeed=16
  101. local SwimSpeed=14
  102. local SwimDashSpeed=28
  103. local anim = "Idling"
  104. local lastanim = "Idling"
  105. local val = 0
  106. local syne = 0
  107. local num = 0
  108. local runtime = 0
  109. local pseudohead=hed:Clone()
  110. for i,x in pairs(pseudohead:GetChildren()) do if not x.ClassName:find('Mesh') then x:Destroy() end end
  111. pseudohead.Name='PseudoHead'
  112. pseudohead.Parent=chr.Head
  113. local pseudoweld=Instance.new('Weld',torso)
  114. pseudoweld.Part0=hed
  115. pseudoweld.Name='PseudoHedWld'
  116. pseudoweld.Part1=pseudohead
  117. hed.Transparency=1
  118. coroutine.wrap(function()
  119. for i,x in pairs(hed:GetChildren()) do if x:IsA('Sound') then x:Destroy() end end end)()
  120. function Lerp(a, b, i)
  121. local com1 = {a.X, a.Y, a.Z, a:toEulerAnglesXYZ()}
  122. local com2 = {b.X, b.Y, b.Z, b:toEulerAnglesXYZ()}
  123. local calx = com1[1] + (com2[1] - com1[1]) * i
  124. local caly = com1[2] + (com2[2] - com1[2]) * i
  125. local calz = com1[3] + (com2[3] - com1[3]) * i
  126. local cala = com1[4] + (com2[4] - com1[4]) * i
  127. local calb = com1[5] + (com2[5] - com1[5]) * i
  128. local calc = com1[6] + (com2[6] - com1[6]) * i
  129. return CFrame.new(calx, caly, calz) * CFrame.Angles(cala, calb, calc)
  130. end
  131. function TwnSingleNumber(s,f,m)
  132. local wot=s+(f-s)*m
  133. return wot
  134. end
  135. function TwnVector3(q,w,e)
  136. local begin={q.x,q.y,q.z}
  137. local ending={w.x,w.y,w.z}
  138. local bgx=begin[1]+(ending[1]-begin[1])*e
  139. local bgy=begin[2]+(ending[2]-begin[2])*e
  140. local bgz=begin[3]+(ending[3]-begin[3])*e
  141. return Vector3.new(bgx,bgy,bgz)
  142. end
  143. newWeld = function(wld, wp0, wp1, wc0x, wc0y, wc0z)
  144. wld = Instance.new("Weld", wp1)
  145. wld.Part0 = wp0
  146. wld.Part1 = wp1
  147. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  148. end
  149. local angles = CFrame.Angles
  150. function clerp(a, b, t)
  151. return a:lerp(b, t)
  152. end
  153. newWeld(law, torso, larm, -1.5, 0.5, 0)
  154. newWeld(raw, torso, rarm, 1.5, 0.5, 0)
  155. newWeld(llw, torso, lleg, -.5, -2, 0)
  156. newWeld(rlw, torso, rleg, .5, -2, 0)
  157. newWeld(hw, torso, hed, 0, 1.5, 0)
  158. local rutwald=Instance.new('Weld',rutprt)
  159. rutwald.Part0=rutprt
  160. rutwald.Part1=torso
  161. rutprt.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
  162. larm.Weld.C1 = CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),0,0)
  163. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),0,0)
  164. rleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  165. lleg.Weld.C1=CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,0)
  166.  
  167.  
  168.  
  169. --Rage modes (maybe)
  170. casualR=false
  171. annoyedR=false
  172. casualFightingR=false
  173. seriousFightingR=false
  174. planetaryThreatR=false
  175. galacticThreatR=false
  176. universalThreatR=false
  177. miltiversalThreatR=false
  178. -----
  179.  
  180.  
  181.  
  182.  
  183. maus.KeyDown:connect(function(kei)
  184. if kei == "1" then
  185. if canChangeFromC == true then
  186. canChangeFromC = false
  187. calm = true -- active mode
  188. annoyed = false
  189. casualFighting = false
  190. seriousFighting = false
  191. planetaryThreat = false
  192. galacticThreat = false
  193. universalThreat = false
  194. multiversalThreat = false
  195. dorado:Stop()
  196. marxA:Stop()
  197. ---------EFFECTS
  198. CFAura1.Parent = nil
  199. CFAura2.Parent = nil
  200. AAura.Parent = nil
  201. ---------
  202. ---------DEBOUNCE ENABLE
  203. wait(1)
  204. canChangeFromCF = true
  205. canChangeFromA = true
  206. canChangeFromSF = true
  207. canChangeFromPT = true
  208. canChangeFromGT = true
  209. canChangeFromUT = true
  210. ----
  211. canChangeFromMT = true
  212. ---------
  213. end
  214. end
  215. end)
  216. maus.KeyDown:connect(function(kei)
  217. if kei == "2" then
  218. if canChangeFromA == true then
  219. canChangeFromA = false
  220. calm = false
  221. annoyed = true --active mode
  222. casualFighting = false
  223. seriousFighting = false
  224. planetaryThreat = false
  225. galacticThreat = false
  226. universalThreat = false
  227. multiversalThreat = false
  228. dorado:Stop()
  229. marxA:Play()
  230.  
  231. ---------EFFECTS
  232. CFAura1.Parent = nil
  233. CFAura2.Parent = nil
  234. AAura.Parent = chr.Torso
  235. annoyedPOWERUP.Parent = chr.Torso
  236. annoyedPOWERUP.Volume = 3
  237. annoyedPOWERUP.SoundId = "http://www.roblox.com/asset/?id = 447041606"
  238. annoyedPOWERUP:Play()
  239.  
  240. AAura.Texture = "rbxassetid://347730682"
  241. local color1 = Color3.new(127,0,0)
  242. local color2 = Color3.new(127,0,0)
  243. AAura.Color = ColorSequence.new(color1,color2)
  244. AAura.Size = NumberSequence.new(6,6,6,6,6,6)
  245. AAura.Lifetime = NumberRange.new(0.3,0.3,0.3,0.3,0.3)
  246. AAura.Rate = 20
  247. AAura.Transparency = NumberSequence.new(0.6,0.6,0.6,0.6,0.6,0.6)
  248. AAura.Speed = NumberRange.new(10,10,10,10,10,10)
  249. AAura.LockedToPart = true
  250. AExplodeP = Instance.new("Part",chr)
  251. AExplodeP.Anchored = true
  252. AExplodeP.TopSurface = 0
  253. AExplodeP.Material = "Neon"
  254. AExplodeP.BottomSurface = 0
  255. AExplodeP.CanCollide = false
  256. AExplodeP.CFrame = chr.Torso.CFrame
  257. AExplodeP.BrickColor = BrickColor.new("Really red")
  258. AExplodeP.Size = Vector3.new(1,1,1)
  259. AExplodeM = Instance.new("SpecialMesh",AExplodeP)
  260. AExplodeM.MeshType = "Sphere"
  261.  
  262.  
  263. AExplodeP2 = Instance.new("Part",chr)
  264. AExplodeP2.Anchored = true
  265. AExplodeP2.TopSurface = 0
  266. AExplodeP2.Material = "Neon"
  267. AExplodeP2.BottomSurface = 0
  268. AExplodeP2.CanCollide = false
  269. AExplodeP2.CFrame = chr.Torso.CFrame
  270. AExplodeP2.BrickColor = BrickColor.new("Really red")
  271. AExplodeP2.Size = Vector3.new(1,1,1)
  272. AExplodeM2 = Instance.new("FileMesh",AExplodeP2)
  273. AExplodeM2.MeshId = "rbxassetid://20329976"
  274. for i = 1,50,2 do wait()
  275. AExplodeM.Scale = Vector3.new(i,i,i)
  276. AExplodeP.Transparency = i/50
  277. AExplodeM2.Scale = Vector3.new(i,i-30,i)
  278. AExplodeP2.Transparency = i/50
  279. end
  280. AExplodeP:Remove()
  281. AExplodeP2:Remove()
  282. ---------
  283. ---------DEBOUNCE ENABLE
  284. wait(1)
  285. canChangeFromCF = true
  286. canChangeFromC = true
  287. canChangeFromSF = true
  288. canChangeFromPT = true
  289. canChangeFromGT = true
  290. canChangeFromUT = true
  291. ----
  292. canChangeFromMT = true
  293. ---------
  294. end
  295. end
  296. end)
  297. maus.KeyDown:connect(function(kei)
  298. if kei == "3" then
  299. if canChangeFromCF == true then
  300. canChangeFromCF = false
  301. calm = false
  302. annoyed = false
  303. casualFighting = true -- active mode
  304. seriousFighting = false
  305. planetaryThreat = false
  306. galacticThreat = false
  307. universalThreat = false
  308. multiversalThreat = false
  309. dorado:Play()
  310. marxA:Stop()
  311. ---------EFFECTS
  312. AAura.Parent = nil
  313.  
  314. casualFightingPOWERUP.Parent = chr.Torso
  315. casualFightingPOWERUP.Volume = 3
  316. casualFightingPOWERUP.SoundId = "http://www.roblox.com/asset/?id = 447041606"
  317. casualFightingPOWERUP:Play()
  318. CFAura1.Parent = chr.Torso
  319. CFAura1.Texture = "rbxassetid://347730682"
  320. local color1 = Color3.new(127,0,127)
  321. local color2 = Color3.new(127,0,127)
  322. local sequence = ColorSequence.new(color1,color2)
  323. CFAura1.Color = ColorSequence.new(color1,color2)
  324. CFAura1.Size = NumberSequence.new(6,6,6,6,6,6)
  325. CFAura1.Lifetime = NumberRange.new(0.3,0.3,0.3,0.3,0.3)
  326. CFAura1.Rate = 20
  327. CFAura1.Transparency = NumberSequence.new(0.6,0.6,0.6,0.6,0.6,0.6)
  328. CFAura1.Speed = NumberRange.new(10,10,10,10,10,10)
  329. CFAura1.LockedToPart = true
  330.  
  331. CFAura2.Parent = chr.Torso
  332.  
  333. CFAura2.Texture = "rbxassetid://269782022"
  334. local color1 = Color3.new(0,0,0)
  335. local color2 = Color3.new(0,0,0)
  336. local sequence = ColorSequence.new(color1,color2)
  337. CFAura2.Color = ColorSequence.new(color1,color2)
  338. CFAura2.Size = NumberSequence.new(6,6,6,6,6,6)
  339. CFAura2.Lifetime = NumberRange.new(0.2,0.2,0.2,0.2,0.2)
  340. CFAura2.Rate = 20
  341. CFAura2.Transparency =NumberSequence.new(0.4,0.4,0.4,0.4,0.4,0.4)
  342. CFAura2.Speed = NumberRange.new(10,10,10,10,10,10)
  343. CFAura2.LockedToPart = true
  344. CFExplodeP = Instance.new("Part",chr)
  345. CFExplodeP.Anchored = true
  346. CFExplodeP.CanCollide = false
  347. CFExplodeP.CFrame = chr.Torso.CFrame
  348. CFExplodeP.BrickColor = BrickColor.new("Magenta")
  349. CFExplodeP.Size = Vector3.new(1,1,1)
  350. CFExplodeM = Instance.new("SpecialMesh",CFExplodeP)
  351. CFExplodeM.MeshType = "FileMesh"
  352. CFExplodeM.MeshId = "http://www.roblox.com/Asset/?id=9982590"
  353. for i = 1,50,2 do wait()
  354. CFExplodeM.Scale = Vector3.new(i,i,i)
  355. CFExplodeP.Transparency = i/50
  356. end
  357. CFExplodeP:Remove()
  358. ---------DEBOUNCE ENABLE
  359. wait(1)
  360. canChangeFromC = true
  361. canChangeFromA = true
  362. canChangeFromSF = true
  363. canChangeFromPT = true
  364. canChangeFromGT = true
  365. canChangeFromUT = true
  366. ----
  367. canChangeFromMT = true
  368. ---------
  369. end
  370. end
  371. end)
  372.  
  373. ---//*MOVES
  374.  
  375.  
  376.  
  377. --*\\
  378.  
  379. maus.KeyDown:connect(function(kei)
  380. if string.byte(kei)==48 and not otheranims then
  381. runnin=true
  382. end
  383. if kei=='w' then fldb.w=true end
  384. if kei=='a' then fldb.a=true end
  385. if kei=='s' then fldb.s=true end
  386. if kei=='d' then fldb.d=true end
  387. end)
  388. maus.KeyUp:connect(function(kei)
  389. if string.byte(kei)==48 and not otheranims then
  390. runnin=false
  391. end
  392. if kei=='w' then fldb.w=false end
  393. if kei=='a' then fldb.a=false end
  394. if kei=='s' then fldb.s=false end
  395. if kei=='d' then fldb.d=false end
  396. end)
  397.  
  398.  
  399.  
  400.  
  401.  
  402. game:service'RunService'.RenderStepped:connect(function()
  403. if anim~=lastanim then
  404. runtime=0
  405. end
  406. lastanim=anim
  407. chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0)
  408. syne=syne+.95
  409. if not otheranims and not swimming then
  410. 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
  411. anim="Idling"
  412. 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
  413. anim="Walking"
  414. 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
  415. anim="Sprinting"
  416. elseif torso.Velocity.y>5 and chr.Humanoid.Jump then
  417. anim='Jumping'
  418. elseif (torso.Velocity.y < -5) and chr.Humanoid.Jump then
  419. anim='Falling'
  420. end
  421. end
  422.  
  423.  
  424. if anim=="Idling" then
  425. idlesineinc=35
  426. if casualFighting == true then
  427.  
  428.  
  429. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.4+math.cos(syne/idlesineinc)/25,-.3)*CFrame.Angles(math.rad(90),0,math.rad(-20)),.1)
  430. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1,.4+math.cos(syne/idlesineinc)/25,.5)*CFrame.Angles(math.rad(-10),math.rad(20-(math.cos(syne/idlesineinc)/35)),math.rad(-20)),.1)
  431. lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-1,-1.7-math.cos(syne/idlesineinc)/20,0.2)*CFrame.Angles(math.rad(0),math.cos(syne/idlesineinc)/55+math.rad(25),math.rad(-20)),.1)
  432. rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(1,-1.5-math.cos(syne/idlesineinc)/20,0)*CFrame.Angles(math.rad(0),math.cos(syne/idlesineinc)/55+math.rad(-30),math.rad(0)),.1)
  433. hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/idlesineinc)/50,0)*CFrame.Angles(math.cos(syne/idlesineinc)/40,math.rad(-70),0),.1)
  434. rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,-0.5+math.cos(syne/idlesineinc)/20,0)*CFrame.Angles(math.cos(syne/idlesineinc)/55+math.rad(-5),math.rad(60),math.rad(0)),.1)
  435. end
  436. if calm == true then
  437.  
  438. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(3)),.1)
  439. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.525+math.cos(syne/idlesineinc)/25,0)*CFrame.Angles(0,0,math.rad(-3)),.1)
  440. lleg.Weld.C0=clerp(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)
  441. rleg.Weld.C0=clerp(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)
  442. hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/idlesineinc)/50,0)*CFrame.Angles(math.cos(syne/idlesineinc)/40,0,0),.1)
  443. rutprt.Weld.C0=clerp(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)
  444. end
  445. if annoyed == true then
  446.  
  447. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.2,.3+math.cos(syne/idlesineinc)/25,0.2)*CFrame.Angles(math.rad(-50),0,math.rad(-40)),.1)
  448. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.2,.3+math.cos(syne/idlesineinc)/25,0.2)*CFrame.Angles(math.rad(-50),0,math.rad(40)),.1)
  449. lleg.Weld.C0=clerp(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)
  450. rleg.Weld.C0=clerp(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)
  451. hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/idlesineinc)/50,0)*CFrame.Angles(math.cos(syne/idlesineinc)/40,0,0),.1)
  452. rutprt.Weld.C0=clerp(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)
  453. end
  454. end
  455. if anim=="Walking" then
  456. rarm.Weld.C0=clerp(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)
  457. larm.Weld.C0=clerp(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)
  458. lleg.Weld.C0=clerp(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)
  459. rleg.Weld.C0=clerp(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)
  460. hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(-math.cos(syne/3)/20,0,0),.1)
  461. rutprt.Weld.C0=clerp(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)
  462. end
  463.  
  464. if anim=="Sprinting" then
  465.  
  466. if calm == true then
  467. RunSpeed = 25
  468. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-15),0,math.rad(12.5)),.1)
  469. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-15),0,math.rad(-12.5)),.1)
  470. lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-2,0)*CFrame.Angles(math.rad(-10),math.rad(-7),math.rad(-2.5)),.1)
  471. rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-2,0)*CFrame.Angles(math.rad(-10),math.rad(7),math.rad(2.5)),.1)
  472. hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.55,0)*CFrame.Angles(math.rad(15),0,0),.1)
  473. rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,1,0)*CFrame.Angles(math.rad(-15),0,math.sin(rutprt.RotVelocity.y/2)/2),.1)
  474. end
  475. if annoyed == true then
  476. RunSpeed = 50
  477. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-25),0,math.rad(12.5)),.1)
  478. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-25),0,math.rad(-12.5)),.1)
  479. lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-2,0)*CFrame.Angles(math.rad(-15),math.rad(-7),math.rad(-2.5)),.1)
  480. rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-2,0)*CFrame.Angles(math.rad(-15),math.rad(7),math.rad(2.5)),.1)
  481. hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.55,0)*CFrame.Angles(math.rad(15),0,0),.1)
  482. rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,1,0)*CFrame.Angles(math.rad(-25),0,math.sin(rutprt.RotVelocity.y/2)/2),.1)
  483. end
  484. if casualFighting == true then
  485. RunSpeed = 75
  486. rarm.Weld.C0=clerp(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)
  487. larm.Weld.C0=clerp(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)
  488. lleg.Weld.C0=clerp(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)
  489. rleg.Weld.C0=clerp(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)
  490. hed.Weld.C0=clerp(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)
  491. rutprt.Weld.C0=clerp(rutprt.Weld.C0,CFrame.new(0,-.3+math.cos(syne/2.5)/15,math.cos(syne/2.5))*CFrame.Angles(math.rad(-25),math.cos(syne/2.5)/10,math.sin(rutprt.RotVelocity.y/2)/4),.1)
  492. end
  493. end
  494. if anim=="Jumping" then
  495. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(50)),.1)
  496. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
  497. lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-2.3,0)*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
  498. rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-2,-.1)*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.1)
  499. hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.5+math.cos(syne/20)/50,0)*CFrame.Angles(math.cos(syne/20)/40,0,0),.1)
  500. rutprt.Weld.C0=clerp(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)
  501. end
  502.  
  503. if anim=="Falling" then
  504. rarm.Weld.C0=clerp(rarm.Weld.C0,CFrame.new(1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(70)),.035)
  505. larm.Weld.C0=clerp(larm.Weld.C0,CFrame.new(-1.5,.525,0)*CFrame.Angles(math.rad(10),0,math.rad(-70)),.035)
  506. lleg.Weld.C0=clerp(lleg.Weld.C0,CFrame.new(-.55,-1.2,0)*CFrame.Angles(math.rad(-14),0,math.rad(-2.5)),.035)
  507. rleg.Weld.C0=clerp(rleg.Weld.C0,CFrame.new(.55,-1.9,0)*CFrame.Angles(math.rad(0),0,math.rad(2.5)),.035)
  508. hed.Weld.C0=clerp(hed.Weld.C0,CFrame.new(0,1.5,-.3)*CFrame.Angles(math.rad(-40),0,0),.035)
  509. rutprt.Weld.C0=clerp(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)
  510. end
  511.  
  512. if runnin and not otheranims and not swimming then
  513. chr.Humanoid.WalkSpeed=RunSpeed
  514. elseif not runnin and not otheranims and not swimming then
  515. chr.Humanoid.WalkSpeed=WlkSpeed
  516. end
  517. end)
Add Comment
Please, Sign In to add comment