Advertisement
Im_Meme

All Might

Aug 7th, 2018
562
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.02 KB | None | 0 0
  1. --[[
  2. ALL MIGHT
  3. By MonolithicDivinity
  4. This is likely to be kept updating as I find more bugs.
  5. [Commands]
  6. E to perform a SMASH, dealing a great amount of damage and flinging the opponent away
  7. Space to do a super jump, self explanitory.
  8. B to pause the theme song
  9. Do enjoy yourselves, and inform me of any bugs.
  10. --]]
  11.  
  12. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  13. local Player,game,owner = owner,game
  14. local RealPlayer = Player
  15. do
  16. print("FE Compatibility code by Mokiros")
  17. local rp = RealPlayer
  18. script.Parent = rp.Character
  19.  
  20. --RemoteEvent for communicating
  21. local Event = Instance.new("RemoteEvent")
  22. Event.Name = "UserInput_Event"
  23.  
  24. --Fake event to make stuff like Mouse.KeyDown work
  25. local function fakeEvent()
  26. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  27. t.connect = t.Connect
  28. return t
  29. end
  30.  
  31. --Creating fake input objects with fake variables
  32. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  33. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  34. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  35. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  36. end}
  37. --Merged 2 functions into one by checking amount of arguments
  38. CAS.UnbindAction = CAS.BindAction
  39.  
  40. --This function will trigger the events that have been :Connect()'ed
  41. local function te(self,ev,...)
  42. local t = m[ev]
  43. if t and t._fakeEvent then
  44. for _,f in pairs(t.Functions) do
  45. f(...)
  46. end
  47. end
  48. end
  49. m.TrigEvent = te
  50. UIS.TrigEvent = te
  51.  
  52. Event.OnServerEvent:Connect(function(plr,io)
  53. if plr~=rp then return end
  54. m.Target = io.Target
  55. m.Hit = io.Hit
  56. if not io.isMouse then
  57. local b = io.UserInputState == Enum.UserInputState.Begin
  58. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  59. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  60. end
  61. for _,t in pairs(CAS.Actions) do
  62. for _,k in pairs(t.Keys) do
  63. if k==io.KeyCode then
  64. t.Function(t.Name,io.UserInputState,io)
  65. end
  66. end
  67. end
  68. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  69. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  70. end
  71. end)
  72. Event.Parent = NLS([==[
  73. local Player = game:GetService("Players").LocalPlayer
  74. local Event = script:WaitForChild("UserInput_Event")
  75.  
  76. local Mouse = Player:GetMouse()
  77. local UIS = game:GetService("UserInputService")
  78. local input = function(io,a)
  79. if a then return end
  80. --Since InputObject is a client-side instance, we create and pass table instead
  81. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  82. end
  83. UIS.InputBegan:Connect(input)
  84. UIS.InputEnded:Connect(input)
  85.  
  86. local h,t
  87. --Give the server mouse data 30 times every second, but only if the values changed
  88. --If player is not moving their mouse, client won't fire events
  89. while wait(1/30) do
  90. if h~=Mouse.Hit or t~=Mouse.Target then
  91. h,t=Mouse.Hit,Mouse.Target
  92. Event:FireServer({isMouse=true,Target=t,Hit=h})
  93. end
  94. end]==],Player.Character)
  95.  
  96. ----Sandboxed game object that allows the usage of client-side methods and services
  97. --Real game object
  98. local _rg = game
  99.  
  100. --Metatable for fake service
  101. local fsmt = {
  102. __index = function(self,k)
  103. local s = rawget(self,"_RealService")
  104. if s then return s[k] end
  105. end,
  106. __newindex = function(self,k,v)
  107. local s = rawget(self,"_RealService")
  108. if s then s[k]=v end
  109. end,
  110. __call = function(self,...)
  111. local s = rawget(self,"_RealService")
  112. if s then return s(...) end
  113. end
  114. }
  115. local function FakeService(t,RealService)
  116. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  117. return setmetatable(t,fsmt)
  118. end
  119.  
  120. --Fake game object
  121. local g = {
  122. GetService = function(self,s)
  123. return self[s]
  124. end,
  125. Players = FakeService({
  126. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  127. },"Players"),
  128. UserInputService = FakeService(UIS,"UserInputService"),
  129. ContextActionService = FakeService(CAS,"ContextActionService"),
  130. }
  131. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  132. g.service = g.GetService
  133.  
  134. g.RunService = FakeService({
  135. RenderStepped = _rg:GetService("RunService").Heartbeat,
  136. BindToRenderStep = function(self,name,_,fun)
  137. self._btrs[name] = self.Heartbeat:Connect(fun)
  138. end,
  139. UnbindFromRenderStep = function(self,name)
  140. self._btrs[name]:Disconnect()
  141. end,
  142. },"RunService")
  143.  
  144. setmetatable(g,{
  145. __index=function(self,s)
  146. return _rg:GetService(s) or typeof(_rg[s])=="function"
  147. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  148. end,
  149. __newindex = fsmt.__newindex,
  150. __call = fsmt.__call
  151. })
  152. --Changing owner to fake player object to support owner:GetMouse()
  153. game,owner = g,g.Players.LocalPlayer
  154. end
  155.  
  156. wait(.1)
  157. local p = game.Players.LocalPlayer
  158. local char = p.Character
  159. local mouse = p:GetMouse()
  160. local larm = char["Left Arm"]
  161. local rarm = char["Right Arm"]
  162. local lleg = char["Left Leg"]
  163. local rleg = char["Right Leg"]
  164. local hed = char.Head
  165. local torso = char.Torso
  166. local hum = char["Humanoid"]
  167. local cam = game.Workspace.CurrentCamera
  168. local root = char.HumanoidRootPart
  169. local deb = false
  170. local CanAttack = true
  171. local shot = 0
  172. local animpose = "Idle"
  173. local lastanimpose = "Idle"
  174. local stanceToggle = "Normal"
  175. local l = game:GetService("Lighting")
  176. local rs = game:GetService("RunService").RenderStepped
  177. local rp = char.HumanoidRootPart
  178. local bd = char:WaitForChild("Body Colors")
  179. math.randomseed(os.time())
  180. hum.WalkSpeed = 9
  181. char.Health:Destroy()
  182. hum.MaxHealth = 100
  183. wait(0.1)
  184. hum.Health = hum.MaxHealth
  185. SIDs = {1498946889}
  186. local eColors={'',''}
  187. -------------------------------
  188. Debounces = {CanAttack = true, NoIdl = false, Slashing = false, Slashed = false, RPunch = false, RPunched = false, LPunch = false, LPunched = false, Reaping = false, Reaped = false}
  189.  
  190. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  191. ------------------------------------------------------------------------------------------------------------
  192. --this was made for easy cosmetic editing
  193. --by koku
  194. lite = Instance.new("PointLight")
  195. lite.Parent = torso
  196. lite.Brightness = 10
  197. lite.Range = 8
  198. lite.Color = Color3.new(0,0,0)
  199.  
  200. --funcs
  201. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) --Creds to KingAbsalom
  202. local wld = Instance.new("Weld", wp1)
  203. wld.Part0 = wp0
  204. wld.Part1 = wp1
  205. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  206. end
  207.  
  208. for i,v in pairs(game.Players.LocalPlayer.Character.Head:children()) do
  209. if v:IsA("Sound") then
  210. v:Destroy()
  211. end
  212. end
  213. spawn(function()
  214. while wait() do
  215. for i,v in pairs(game.Players.LocalPlayer.Character:children()) do
  216. if v:IsA("Accessory") then
  217. v:Destroy()
  218. end
  219. end
  220. for i,v in pairs(game.Players.LocalPlayer.Character:children()) do
  221. if v:IsA("Hat") then
  222. v:Destroy()
  223. end
  224. end
  225. end end)
  226. spawn(function()
  227. game.Players.LocalPlayer.Character.Shirt:Destroy()
  228. game.Players.LocalPlayer.Character.Pants:Destroy()
  229. end)
  230. ypcall(function()
  231.  
  232. local shirt = Instance.new("Shirt", game.Players.LocalPlayer.Character)
  233. shirt.Name = "Shirt"
  234. local pants = Instance.new("Pants", game.Players.LocalPlayer.Character)
  235. pants.Name = "Pants"
  236. --clothing
  237. wait(.1)
  238. game.Players.LocalPlayer.Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=368980206"
  239. game.Players.LocalPlayer.Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=368980663"
  240. game.Players.LocalPlayer.Character.Head.face:Remove()
  241. local face = Instance.new("Decal",hed)
  242. face.Texture="rbxassetid://2060629011"
  243. end)
  244. --skin
  245. bd.HeadColor = BrickColor.new("Pastel brown")
  246. bd.TorsoColor = BrickColor.new("Pastel brown")
  247. bd.LeftArmColor = BrickColor.new("Pastel brown")
  248. bd.RightArmColor = BrickColor.new("Pastel brown")
  249. bd.LeftLegColor = BrickColor.new("Pastel brown")
  250. bd.RightLegColor = BrickColor.new("Pastel brown")
  251. --betterhair by koku
  252.  
  253. larm.Size = larm.Size * 1.3
  254. rarm.Size = rarm.Size * 1.3
  255. lleg.Size = lleg.Size * 1.3
  256. rleg.Size = rleg.Size * 1.3
  257. torso.Size = torso.Size * 1.3
  258. hed.Size = hed.Size * 1.29
  259. root.Size = root.Size * 1.3
  260. newWeld(torso, larm, -.5, 0.5, 0)
  261. larm.Weld.C1 = CFrame.new(1, 0.5, 0)
  262. newWeld(torso, rarm, 1.5, 0.5, 0)
  263. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  264. newWeld(torso, hed, 0, 1.5, 0)
  265. newWeld(torso, lleg, -0.5, -1, 0)
  266. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  267. newWeld(torso, rleg, 0.5, -1, 0)
  268. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  269. newWeld(root, torso, 0, -1, 0)
  270. torso.Weld.C1 = CFrame.new(0, -1, 0)
  271. -------------
  272. hair = Instance.new("Part",game.Players.LocalPlayer.Character.Head)
  273. hair.BrickColor = BrickColor.new("Daisy orange")
  274. hair.Material = "Plastic"
  275. hair.Anchored = false
  276. hair.CanCollide = false
  277. hair.Archivable = false
  278. hair.Locked = true
  279. hair.Size = Vector3.new(1.5, 1.5, 1.5)
  280. hairm = Instance.new("SpecialMesh",hair)
  281. hairm.MeshType = "FileMesh"
  282. hairm.MeshId = "rbxassetid://1224124764"
  283. hairm.Scale = Vector3.new(0.07, .075, 0.073)
  284. newWeld(game.Players.LocalPlayer.Character.Head, hair, 0, 0, 0)
  285. hair.Weld.C1 = CFrame.new(-.6,.35,-.07) * CFrame.Angles(math.rad(180),math.rad(90),0)
  286. ----------------------------------------------------
  287. --------wait(.2)
  288. local p = game.Players.LocalPlayer
  289. local char = p.Character
  290. local mouse = p:GetMouse()
  291. local larm = char["Left Arm"]
  292. local rarm = char["Right Arm"]
  293. local lleg = char["Left Leg"]
  294. local rleg = char["Right Leg"]
  295. local hed = char.Head
  296. local torso = char.Torso
  297.  
  298. -------------------------------
  299.  
  300. --Converted with ttyyuu12345's model to script plugin v4
  301. function sandbox(var,func)
  302. local env = getfenv(func)
  303. local newenv = setmetatable({},{
  304. __index = function(self,k)
  305. if k=="script" then
  306. return var
  307. else
  308. return env[k]
  309. end
  310. end,
  311. })
  312. setfenv(func,newenv)
  313. return func
  314. end
  315. cors = {}
  316. mas = Instance.new("Model",game:GetService("Lighting"))
  317. ParticleEmitter0 = Instance.new("ParticleEmitter")
  318. ParticleEmitter0.Name = "ChargeAura"
  319. ParticleEmitter0.Parent = mas
  320. ParticleEmitter0.Speed = NumberRange.new(0.5, 1)
  321. ParticleEmitter0.Rotation = NumberRange.new(-180, 180)
  322. ParticleEmitter0.Color = ColorSequence.new(Color3.new(0.541176, 0.541176, 0.541176),Color3.new(1, 1, 1))
  323. ParticleEmitter0.Enabled = false
  324. ParticleEmitter0.LightEmission = 1
  325. ParticleEmitter0.Texture = "rbxassetid://1486899653"
  326. ParticleEmitter0.Transparency = NumberSequence.new(1,0.75,1)
  327. ParticleEmitter0.ZOffset = 0.5
  328. ParticleEmitter0.Size = NumberSequence.new(0.40000000596046,0.40000000596046)
  329. ParticleEmitter0.Lifetime = NumberRange.new(0.69999998807907, 0.69999998807907)
  330. ParticleEmitter0.LockedToPart = true
  331. ParticleEmitter0.Rate = 200
  332. ParticleEmitter0.RotSpeed = NumberRange.new(-50, 50)
  333. for i,v in pairs(mas:GetChildren()) do
  334. v.Parent = script
  335. pcall(function() v:MakeJoints() end)
  336. end
  337. mas:Destroy()
  338. for i,v in pairs(cors) do
  339. spawn(function()
  340. pcall(v)
  341. end)
  342. end
  343. glowey=ParticleEmitter0:Clone()
  344. glowey.Parent=torso
  345. glowey.Enabled=true
  346.  
  347. ------------------------------------------------------
  348. GroundWave = function()
  349.  
  350. local HandCF2 = CFrame.new(rp.Position - Vector3.new(0,3.3,0)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  351.  
  352. local asd = Instance.new("Part", rp)
  353.  
  354. asd.Anchored = true
  355. asd.CanCollide = false
  356. asd.Material = "Neon"
  357. asd.Locked = true
  358. asd.BrickColor=BrickColor.new("Institutional white")
  359. asd.Size = Vector3.new(1, 1, 1)
  360. asd.TopSurface = "Smooth"
  361. asd.BottomSurface = "Smooth"
  362. asd.Transparency = 0.35
  363. asd.CFrame = HandCF2
  364. wm = Instance.new("SpecialMesh", asd)
  365. wm.MeshId = "rbxassetid://20329976"
  366. coroutine.wrap(function()
  367. for i = 1, 14, 1 do
  368. wm.Scale = Vector3.new(1 + i*1.1, 1, 1 + i*1.1)
  369. asd.Size = wm.Scale
  370. asd.CFrame=CFrame.new(rp.Position - Vector3.new(0,3.3,0)) * CFrame.Angles(math.rad(0), math.rad(0)+i*math.random(-2,2), math.rad(0))
  371.  
  372. asd.Transparency = i/14
  373. wait()
  374. end
  375. wait()
  376.  
  377. asd:Destroy()
  378. end)()
  379.  
  380. end
  381. ----------------------------------
  382. spawn(function()
  383. while wait(.6) do
  384. if animpose~="Freefalling" then
  385. GroundWave()
  386. end
  387. end
  388. end)
  389. --------------------------------------------------
  390. --------------------------------------------------
  391.  
  392. mod = Instance.new("Model", char)
  393. function smash()
  394. part = Instance.new("Part", mod)
  395. part.Anchored = true
  396. part.CanCollide = false
  397. part.FormFactor = "Custom"
  398. part.Size = Vector3.new(0.2, 0.2, 0.2)
  399. part.CFrame = rarm.CFrame * CFrame.Angles(math.rad(0), 0, 0)
  400. part.Transparency = 0.7
  401. part.BrickColor = BrickColor.new("Institutional white")
  402. mesh = Instance.new("SpecialMesh", part)
  403. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  404. mesh.Scale = Vector3.new(4, 4, 4)
  405.  
  406. for i,v in pairs(FindNearestTorso(rarm.CFrame.p,5))do
  407. if v:FindFirstChild('Humanoid') then
  408. local Humanoid=v:FindFirstChild('Humanoid')
  409. Humanoid.Jump=true
  410. wait(.3)
  411.  
  412. Humanoid.Health=v.Humanoid.Health-(math.random(90,99))
  413. v:FindFirstChild("Head").Velocity = hed.CFrame.lookVector * 800
  414. spawn(function()
  415. wait(.4)
  416. v.Humanoid.PlatformStand=false
  417. end)
  418. end
  419. end
  420.  
  421. coroutine.resume(coroutine.create(function()
  422. for i = 0, 4, 0.2 do
  423. rs:wait()
  424. part.CFrame = rarm.CFrame
  425. part.Transparency = i
  426. mesh.Scale = mesh.Scale + Vector3.new(0.5, 1, 0.5)
  427. end
  428. part.Parent = nil
  429. end))
  430. end
  431. mod3 = Instance.new("Model", char)
  432. function FindNearestTorso(Position,Distance,SinglePlayer)
  433. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  434. local List = {}
  435. for i,v in pairs(workspace:GetChildren())do
  436. if v:IsA("Model")then
  437. if v:findFirstChild("Torso")then
  438. if v ~= char then
  439. if(v.Torso.Position -Position).magnitude <= Distance then
  440. table.insert(List,v)
  441. end
  442. end
  443. end
  444. end
  445. end
  446. return List
  447. end
  448.  
  449. mouse.KeyDown:connect(function(key)
  450. if key == "e" and Debounces.CanAttack == true then
  451. Debounces.CanAttack = false
  452. Debounces.NoIdl = true
  453. Debounces.ks = true
  454. Debounces.on = true
  455. for i = 1, 14 do
  456. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4, 0.9, 0.5) * CFrame.Angles(math.rad(0), math.rad(-40), math.rad(90)), 0.4)
  457. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.7, 0.9, -0.8) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(50)), 0.4)
  458. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(0), math.rad(60), 0), 0.4)
  459. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-60), 0), 0.4)
  460. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.15, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.4)
  461. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.15, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.4)
  462. if Debounces.on == false then
  463. break
  464. end
  465. rs:wait()
  466. end
  467. chrg = lleg.Touched:connect(function(ht)
  468. hit = ht.Parent
  469. if ht and hit:IsA("Model") then
  470. if hit:FindFirstChild("Humanoid") and hit.Name ~= p.Name then
  471. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  472. hit:FindFirstChild("Humanoid").PlatformStand = true
  473. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  474. end
  475. elseif ht and hit:IsA("Accessory") and hit.Parent.Name ~= p.Name and hit.Parent:FindFirstChild("Humanoid") then
  476. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  477. hit:FindFirstChild("Humanoid").PlatformStand = true
  478. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  479. end
  480. end)
  481. for i = 1, 8 do
  482. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2, 0.2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.6)
  483. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.6, 0.9, -0.8) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(50)), 0.6)
  484. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.2) * CFrame.Angles(math.rad(0), math.rad(-90), 0), 0.6)
  485. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(90), 0), 0.6)
  486. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-15)), 0.5)
  487. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.8, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-15)), 0.5)
  488. if Debounces.on == false then
  489. break
  490. end
  491. rs:wait()
  492. end
  493. smash()
  494. z = Instance.new("Sound", char)
  495. z.SoundId = "rbxassetid://200632875"
  496. z.Volume = 1
  497. z.Pitch = 0.8
  498. z1 = Instance.new("Sound", char)
  499. z1.SoundId = "rbxassetid://200632875"
  500. z1.Volume = 1
  501. z1.Pitch = 0.9
  502. z:Play()
  503. z1:Play()
  504. wait(1)
  505. z:Destroy()
  506. z1:Destroy()
  507. chrg:disconnect()
  508. if Debounces.CanAttack == false then
  509. Debounces.CanAttack = true
  510. Debounces.on = false
  511. Debounces.NoIdl = false
  512. end
  513. end
  514. end)
  515. --------------------------------------------
  516.  
  517. --debounces start
  518. Debounces = {
  519. CanAttack = true;
  520. CanJoke = true;
  521. NoIdl = false;
  522. Slashing = false;
  523. Slashed = false;
  524. Slapping = false;
  525. Slapped = false;
  526. ks = false;
  527. Reaping = false;
  528. Reaped = false;
  529. }
  530. mode = "normal"
  531. --debounces end
  532.  
  533. fat = Instance.new("BindableEvent", script)--artificial heartbeat
  534. fat.Name = "Heartbeat"
  535. script:WaitForChild("Heartbeat")
  536. frame = 0.033333333333333
  537. tf = 0
  538. allowframeloss = false
  539. tossremainder = false
  540. lastframe = tick()
  541. script.Heartbeat:Fire()
  542. game:GetService("RunService").Heartbeat:connect(function(s, p)
  543.  
  544. tf = tf + s
  545. if frame <= tf then
  546. if allowframeloss then
  547. script.Heartbeat:Fire()
  548. lastframe = tick()
  549. else
  550. for i = 1, math.floor(tf / frame) do
  551. script.Heartbeat:Fire()
  552. end
  553. lastframe = tick()
  554. end
  555. if tossremainder then
  556. tf = 0
  557. else
  558. tf = tf - frame * math.floor(tf / frame)
  559. end
  560. end
  561. end
  562. )
  563. local Touche = {char.Name, }
  564. function swait(num)
  565. if num == 0 or num == nil then
  566. fat.Event:wait()
  567. else
  568. for i = 0, num do
  569. fat.Event:wait()
  570. end
  571. end
  572. end
  573.  
  574. ----------------------------------------------------
  575. function weld5(part0, part1, c0, c1)
  576. weeld=Instance.new("Weld", part0)
  577. weeld.Part0=part0
  578. weeld.Part1=part1
  579. weeld.C0=c0
  580. weeld.C1=c1
  581. return weeld
  582. end
  583. ----------------------------------------------------
  584. mod=Instance.new('Model',char)
  585.  
  586. ------
  587. mod4 = Instance.new("Model",char)
  588.  
  589.  
  590.  
  591. -------------------------------
  592. mouse.KeyDown:connect(function(key)
  593. if string.byte(key) == 52 then
  594. if Debounces.CanAttack == true then
  595. if stanceToggle ~= "Floating" then
  596. char["Humanoid"].WalkSpeed = 50
  597.  
  598. elseif Debounces.CanAttack == false then
  599. elseif stanceToggle == "Floating" then
  600. wait()
  601. end
  602. end
  603. end
  604. end)
  605. mouse.KeyUp:connect(function(key)
  606. if string.byte(key) == 52 then
  607.  
  608. char["Humanoid"].WalkSpeed = 9
  609. end
  610. end)
  611. --------------------------------
  612.  
  613. function lerp(a, b, t) -- Linear interpolation
  614. return a + (b - a)*t
  615. end
  616.  
  617. function slerp(a, b, t) --Spherical interpolation
  618. dot = a:Dot(b)
  619. if dot > 0.99999 or dot < -0.99999 then
  620. return t <= 0.5 and a or b
  621. else
  622. r = math.acos(dot)
  623. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  624. end
  625. end
  626. -----
  627. function matrixInterpolate(a, b, t)
  628. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  629. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  630. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  631. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  632. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  633. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  634. local t = v1:Dot(v2)
  635. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  636. return CFrame.new()
  637. end
  638. return CFrame.new(
  639. v0.x, v0.y, v0.z,
  640. v1.x, v1.y, v1.z,
  641. v2.x, v2.y, v2.z,
  642. v3.x, v3.y, v3.z)
  643. end
  644. ----------------------------------------------------
  645. function genWeld(a,b)
  646. local w = Instance.new("Weld",a)
  647. w.Part0 = a
  648. w.Part1 = b
  649. return w
  650. end
  651. function weld(a, b)
  652. local weld = Instance.new("Weld")
  653. weld.Name = "W"
  654. weld.Part0 = a
  655. weld.Part1 = b
  656. weld.C0 = a.CFrame:inverse() * b.CFrame
  657. weld.Parent = a
  658. return weld;
  659. end
  660. NewSound = function(parent, pitch, volume, id, looped)
  661.  
  662. local s = Instance.new("Sound", parent)
  663. s.Pitch = pitch
  664. s.Volume = volume
  665. s.SoundId = "rbxassetid://" .. id
  666. s.Looped = looped
  667. return s
  668. end
  669.  
  670. CBP = {0.7, 0.75, 0.8, 0.85, 0.9, 0.95, 1}
  671. ----------------------------------------------------
  672. function FindNearestTorso(Position,Distance,SinglePlayer)
  673. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  674. local List = {}
  675. for i,v in pairs(workspace:GetChildren())do
  676. if v:IsA("Model")then
  677. if v:findFirstChild("Torso")then
  678. if v ~= char then
  679. if(v.Torso.Position -Position).magnitude <= Distance then
  680. table.insert(List,v)
  681. end
  682. end
  683. end
  684. end
  685. end
  686. return List
  687. end
  688.  
  689. function Lerp(c1,c2,al)
  690. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  691. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  692. for i,v in pairs(com1) do
  693. com1[i] = v+(com2[i]-v)*al
  694. end
  695. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  696. end
  697.  
  698. ----------------------------------------------------
  699. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  700. local wld = Instance.new("Weld", wp1)
  701. wld.Part0 = wp0
  702. wld.Part1 = wp1
  703. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  704. end
  705. ---------------------
  706. mouse.KeyDown:connect(function(key)
  707. if key == "b" and mus.Playing == true then
  708. mus:Pause()
  709. elseif key == "b" and mus.Playing == false then
  710. mus.SoundId = "http://www.roblox.com/asset/?id="..SIDs[math.random(1,#SIDs)]
  711. mus:Play()
  712. end
  713. end)
  714.  
  715. ----------------------------------------------------
  716. spawn(function()
  717. hum.MaxHealth=1000
  718. wait()
  719. hum.Health=hum.MaxHealth
  720. end)
  721. ----------------------------------------------------
  722.  
  723. mouse.KeyDown:connect(function(key)
  724. if key == " " and Debounces.CanAttack == true then
  725. Debounces.CanAttack = false
  726. Debounces.on = true
  727. Debounces.NoIdl = true
  728. do
  729. wait(.1)
  730. local rng = Instance.new("Part", char)
  731. rng.Anchored = true
  732. rng.BrickColor = BrickColor.new("Institutional white")
  733. rng.CanCollide = false
  734. rng.FormFactor = 3
  735. rng.Name = "Ring"
  736. rng.Size = Vector3.new(1, 1, 1)
  737. rng.Transparency = 0.35
  738. rng.TopSurface = 0
  739. rng.BottomSurface = 0
  740. rng.Position = torso.Position - Vector3.new(0, 5, 0)
  741. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  742. local rngm = Instance.new("SpecialMesh", rng)
  743. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  744. rngm.Scale = Vector3.new(1, 1, 2)
  745. x = Instance.new("Sound", char)
  746. x.SoundId = "http://www.roblox.com/asset/?id=169445602"
  747. x.Looped = false
  748. x.Pitch = 0.7
  749. x.Volume = 1
  750. x:Play()
  751. coroutine.wrap(function()
  752. for i = 1, 60, 2 do
  753. rngm.Scale = Vector3.new(2 + i * 2, 2 + i * 2, 1)
  754. rng.Transparency = i / 60
  755. wait()
  756. end
  757. wait()
  758. rng:Destroy()
  759. end)()
  760. hum.WalkSpeed = 80
  761. BV = Instance.new("BodyVelocity", torso)
  762. BV.maxForce = Vector3.new(0, 10000, 0)
  763. BV.P = 270000
  764. BV.velocity = Vector3.new(0, 2500, 0)
  765. wait(2)
  766. BV:Destroy()
  767. Debounces.on = false
  768. Debounces.NoIdl = false
  769. local ry, ht, ps
  770. x:Destroy()
  771. z = Instance.new("Sound", hed)
  772. z.SoundId = "rbxassetid://142070127"
  773. z.Volume = 1
  774. wait(0.1)
  775. z:Play()
  776. -- Landing()
  777. hum.WalkSpeed = 9
  778. if Debounces.CanAttack == false then
  779. Debounces.CanAttack = true
  780. end
  781. end
  782. end
  783. end)
  784. ----------------------------------------------------
  785. local animpose = "Idle"
  786. local lastanimpose = "Idle"
  787. local grab = false
  788. local sine = 0
  789. local change = 1
  790. local val = 0
  791. local ffing = false
  792. -------------------------------
  793. jump = false
  794. rs:connect(function()
  795.  
  796. if char.Humanoid.Jump == true then
  797. jump = true
  798. else
  799. jump = false
  800. end
  801. char.Humanoid.FreeFalling:connect(function(f)
  802.  
  803. if f then
  804. ffing = true
  805. else
  806. ffing = false
  807. end
  808. end
  809. )
  810. sine = sine + change
  811. if jump == true then
  812. animpose = "Jumping"
  813. else
  814. if ffing == true then
  815. animpose = "Freefalling"
  816. else
  817. if (torso.Velocity * Vector3.new(1, 0, 1)).magnitude < 2 then
  818. animpose = "Idle"
  819. else
  820. if (torso.Velocity * Vector3.new(1, 0, 1)).magnitude < 20 then
  821. animpose = "Walking"
  822. else
  823. if (torso.Velocity * Vector3.new(1, 0, 1)).magnitude > 20 then
  824. animpose = "Running"
  825. end
  826. end
  827. end
  828. end
  829. end
  830. local RightLeg = CFrame.new(0.5, -1, 0)
  831. local LeftLeg = CFrame.new(-0.5, -1, 0)
  832. local lefth = (torso.CFrame*LeftLeg)
  833. local righth = (torso.CFrame*RightLeg)
  834.  
  835. local speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
  836.  
  837. local TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100)
  838.  
  839. local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
  840. local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
  841. if animpose ~= lastanimpose then
  842. sine = 0
  843. if Debounces.NoIdl == false then
  844. if stanceToggle == "Normal" then
  845. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0.2)*CFrame.Angles(math.rad(-12-4*math.cos(sine/22)),math.rad(-12-2*math.cos(sine/22)),math.rad(12+2*math.cos(sine/22))), 0.3)
  846. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,-0.2)*CFrame.Angles(math.rad(20+4*math.cos(sine/22)),math.rad(-22-2*math.cos(sine/22)),math.rad(-15-2*math.cos(sine/22))), 0.3)
  847. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-12+2.5*math.cos(sine/22)),math.rad(0),math.rad(0)), 0.2)
  848. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-2+2*math.cos(sine/22)), math.rad(0), 0), 0.2)
  849. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(5), math.rad(-5)), 0.2)
  850. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(-5), math.rad(5)), 0.2)
  851. end
  852. wait()
  853. end
  854. end
  855. lastanimpose = animpose
  856. if Debounces.NoIdl == false then
  857. if animpose == "Idle" and stanceToggle == "Normal" then
  858. change = .5
  859. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3+0.005*math.cos(sine/10),0.6+0.01*math.cos(sine/10),0.2+0.1*math.cos(sine/10))*CFrame.Angles(math.rad(15-0*math.cos(sine/10)),math.rad(-15-0*math.cos(sine/10)),math.rad(-10+0*math.cos(sine/10))), 0.8)
  860. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(-0.5, 0.5, .1)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  861. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3-0.005*math.cos(sine/10),0.6+0.01*math.cos(sine/10),0.2+0.1*math.cos(sine/10))*CFrame.Angles(math.rad(15-0*math.cos(sine/10)),math.rad(15+0*math.cos(sine/10)),math.rad(10-0*math.cos(sine/10))), 0.8)
  862. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(.5, 0.5, .1)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  863. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.1 + 0.05 * math.cos(sine / 10)) * CFrame.Angles(math.rad(0), math.rad(-0 + 0 * math.cos(sine / 10)), math.rad(0)), 0.45)
  864. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, -.5, 0) * CFrame.Angles(math.rad(-8 - 1 * math.sin(sine / 10)), math.rad(0), math.rad(0)), 0.45)
  865. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0+4*math.cos(sine/10)), math.rad(0), 0), 0.1)
  866. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0-0.0*math.cos(sine/10), -1, 0) * CFrame.Angles(math.rad(0), math.rad(0+0*math.cos(sine/10)), 0), 0.1)
  867. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1.6, -0.14+0.00*math.cos(sine/10)) * CFrame.Angles(math.rad(-3-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1)
  868. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(-10-0*math.cos(sine/10)), math.rad(5+0*math.cos(sine/10))), 0.1)
  869. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, -0.00) * CFrame.Angles(math.rad(8-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1)
  870. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1.6, 0) * CFrame.Angles(math.rad(0), math.rad(10-0*math.cos(sine/10)), math.rad(-5+0*math.cos(sine/10))), 0.1)
  871. else
  872. if animpose == "Walking" and stanceToggle == "Normal" then
  873. change = .35
  874. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2, 0.5 - 0.05 * math.cos(sine / 2), math.sin(sine / 4) / 4) * CFrame.Angles(-math.sin(sine / 4) / 2.3, -math.sin(sine / 4) / 3, math.rad(10 + 7 * math.cos(sine / 2)) + root.RotVelocity.Y / 30), 0.4)
  875. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.7)
  876. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2, 0.5 + 0.05 * math.cos(sine / 2), -math.sin(sine / 4) / 4) * CFrame.Angles(math.sin(sine / 4) / 2.3, -math.sin(sine / 4) / 3, math.rad(-10 - 7 * math.cos(sine / 2)) + root.RotVelocity.Y / 30), 0.4)
  877. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.7)
  878. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -0.1 - 0.1 * math.cos(sine / 2)) * CFrame.Angles(math.rad(-10 - 4 * math.cos(sine / 2)), math.rad(0 - 8 * math.cos(sine / 4) / 2.3), math.rad(0)), 0.4)
  879. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, -.50, 0) * CFrame.Angles(math.rad(0), math.rad(0) - root.RotVelocity.Y / 10, math.rad(0)), 0.7)
  880. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -0.9 + 0.12 * math.cos(sine / 2), 0) * CFrame.Angles(math.rad(-4 + 2 * math.cos(sine / 2)), math.rad(0 + 14 * math.cos(sine / 4) / 2.3) + root.RotVelocity.Y / 30, math.rad(0) + root.RotVelocity.Y / 30), 0.4)
  881. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  882. lleg.Weld.C0 = lleg.Weld.C0:lerp(CFrame.new(-0.65, -1.5 - math.cos(sine / 4) * 0.3, 0 + math.sin(sine / 4) * 0.1) * CFrame.Angles(math.sin(sine / 4) * 3.4 * AngleThetaL.Z, AngleThetaL.X, math.sin(sine / 4) * 3 * -AngleThetaL.X - root.RotVelocity.Y / 20), 0.8)
  883. lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  884. rleg.Weld.C0 = rleg.Weld.C0:lerp(CFrame.new(0.65, -1.5 + math.cos(sine / 4) * 0.3, 0 - math.sin(sine / 4) * 0.1) * CFrame.Angles(math.sin(sine / 4) * 3.4 * -AngleThetaR.Z, AngleThetaR.X, math.sin(sine / 4) * 3 * AngleThetaR.X - root.RotVelocity.Y / 20), 0.8)
  885. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  886. else
  887. if animpose == "Running" and stanceToggle == "Normal" then
  888. change = .49
  889. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.24+.6*math.cos(sine/4)/1.4, 0.54, 0+0.8*math.cos(sine/4)) * CFrame.Angles(math.rad(6-140*math.cos(sine/4)/1.2), math.rad(0), math.rad(-20+70*math.cos(sine/4))), 0.2)
  890. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(-.5, .5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36)
  891. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.24 + 0.6 * math.cos(sine / 4) / 1.4, 0.54, 0 - 0.8 * math.cos(sine / 4)) * CFrame.Angles(math.rad(6 + 140 * math.cos(sine / 4) / 1.2), math.rad(0), math.rad(20 + 70 * math.cos(sine / 4))), 0.2)
  892. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  893. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 2, -0.2) * CFrame.Angles(math.rad(-8 + 12 * math.cos(sine / 2) / 1.5), math.rad(0 + 12 * math.cos(sine / 4)), math.rad(0)), 0.2)
  894. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0) - root.RotVelocity.Y / 10, math.rad(0)), 0.5)
  895. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1 + 0.2 * math.cos(sine / 2) / 1.7, 0) * CFrame.Angles(math.rad(-14 + 10 * math.cos(sine / 2) / 1.5), math.rad(0 - 12 * math.cos(sine / 4)) - root.RotVelocity.Y / 10, math.rad(0) + root.RotVelocity.Y / 20), 0.2)
  896. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  897. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.8 - 0.4 * math.cos(sine / 4) / 2, math.sin(sine / 4) / 2) * CFrame.Angles(math.rad(-10) + -math.sin(sine / 4) / 1.2, math.rad(0 + 12 * math.cos(sine / 4)) + root.RotVelocity.Y / 10, 0), 0.7)
  898. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(.1, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  899. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.8 + 0.4 * math.cos(sine / 4) / 2, -math.sin(sine / 4) / 2) * CFrame.Angles(math.rad(-10) + math.sin(sine / 4) / 1.2, math.rad(0 + 12 * math.cos(sine / 4)) + root.RotVelocity.Y / 10, 0), 0.7)
  900. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(-.1, 1.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  901. else
  902. if animpose == "Jumping" then
  903. change = .5
  904. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(20)), 0.2)
  905. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.36)
  906. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.2)
  907. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  908. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.2)
  909. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  910. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  911. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  912. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  913. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  914. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  915. else
  916. if animpose == "Freefalling" then
  917. change = .5
  918. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0) * CFrame.Angles(math.rad(-40), math.rad(20), math.rad(50)), 0.2)
  919. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.36)
  920. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0) * CFrame.Angles(math.rad(110), math.rad(-20), math.rad(-30)), 0.2)
  921. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.5)
  922. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(10), math.rad(0), 0), 0.2)
  923. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.2)
  924. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  925. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.5, -0.5) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  926. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  927. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, 0, 0.5) * CFrame.Angles(math.rad(30), math.rad(0), math.rad(0)), 0.2)
  928. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  929. end
  930. end
  931. end
  932. end
  933. end
  934. end
  935. end
  936.  
  937. )
  938.  
  939. local doe = 400
  940. coroutine.wrap(function()
  941. while 1 do
  942. swait()
  943. if doe <= 360 then
  944. doe = doe + 2
  945. else
  946. doe = 0
  947. end
  948. end
  949. end)()
  950. while true do
  951. swait()
  952. while true do
  953. swait()
  954. if rp:FindFirstChild("mus")==nil then
  955. mus = Instance.new("Sound",rp)
  956. mus.Name = "mus"
  957. mus.SoundId = "http://www.roblox.com/asset/?id="..SIDs[math.random(1,#SIDs)]
  958. mus.Looped = true
  959. mus.Volume = 6
  960. mus:Play()
  961. end
  962. end
  963. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement