Advertisement
FloweyTheFlower

Roblox Scripts #60 bunny titan

Oct 11th, 2017
691
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 36.90 KB | None | 0 0
  1. ---Edited by BonnieKunG1s
  2. local p = game.Players.LocalPlayer
  3. local char = p.Character
  4. local mouse = p:GetMouse()
  5. local larm = char["Left Arm"]
  6. local rarm = char["Right Arm"]
  7. local lleg = char["Left Leg"]
  8. local rleg = char["Right Leg"]
  9. local hed = char.Head
  10. local torso = char.Torso
  11. local ASD = BrickColor.new("Really black")
  12. local hum = char.Humanoid
  13. local cam = game.Workspace.CurrentCamera
  14. local root = char.HumanoidRootPart
  15. local DD = false
  16. local FA = false
  17. local deb = false
  18. local shot = 0
  19. local l = game:GetService("Lighting")
  20. local rs = game:GetService("RunService").RenderStepped
  21. local stanceToggle = "Normal"
  22. math.randomseed(os.time())
  23. hum.WalkSpeed = 28
  24. char.Health:Destroy()
  25. hum.MaxHealth = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  26. wait(0.1)
  27. hum.Health = math.huge + 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
  28. z = Instance.new("Sound", char.Torso)
  29. z.SoundId = "rbxassetid://150401052"
  30. z.Looped = true
  31. z.Pitch = 1
  32. z.Volume = 10
  33. ----------------------------------------------------
  34. local SM = Instance.new("Smoke",torso)
  35. SM.Size = 15
  36. local S = Instance.new("Part",char)
  37. S.Size = Vector3.new(1,1,1)
  38. S.Material = "Neon"
  39. S.BrickColor = BrickColor.new("Really black")
  40. S.Transparency = 0
  41. S.Anchored = true
  42. S.CFrame = torso.CFrame*CFrame.new(0,0,0)
  43. local Ring = Instance.new("Part",S)
  44. Ring.Size = Vector3.new(1,1,1)
  45. Ring.BrickColor = BrickColor.new("Really black")
  46. Ring.Anchored = true
  47. Ring.CanCollide = false
  48. Ring.CFrame = S.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0)
  49. local Ring2 = Instance.new("SpecialMesh",Ring)
  50. Ring2.MeshId = "rbxassetid://3270017"
  51. Ring2.Scale = Vector3.new(0.1,0.1,0.1)
  52. local S2 = Instance.new("SpecialMesh",S)
  53. S2.MeshType = "Sphere"
  54. S2.Scale = Vector3.new(1,1,1)
  55. v = Instance.new("Sound")
  56. v.SoundId = "rbxassetid://0"
  57. v.Parent = char.Torso
  58. v.Looped = false
  59. v.Pitch = 1
  60. v.Volume = 1
  61. wait(.01)
  62. v:Play()
  63. local partasdeff = Instance.new("ParticleEmitter",S)
  64. partasdeff.Color = ColorSequence.new(Color3.new(0,0,0), Color3.new(204,130,2))
  65. partasdeff.LightEmission = .1
  66. partasdeff.Size = NumberSequence.new(0.2)
  67. partasdeff.Texture = "http://www.roblox.com/asset/?ID=300899516"
  68. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  69. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  70. partasdeff.Transparency = bbb
  71. partasdeff.Size = aaa
  72. partasdeff.ZOffset = .9
  73. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  74. partasdeff.LockedToPart = false
  75. partasdeff.EmissionDirection = "Top"
  76. partasdeff.Lifetime = NumberRange.new(1, 2)
  77. partasdeff.Rate = 1000
  78. partasdeff.Rotation = NumberRange.new(-100, 100)
  79. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  80. partasdeff.Speed = NumberRange.new(10)
  81. partasdeff.VelocitySpread = 300
  82. partasdeff.Enabled = true
  83. for i = 1,100 do
  84.     Ring2.Scale = Ring2.Scale + Vector3.new(2,2,2)
  85.     Ring.Transparency = Ring.Transparency + 0.01
  86.     S2.Scale = S2.Scale + Vector3.new(0.3,0.3,0.3)
  87.     S.Transparency = S.Transparency + 0.01
  88.     game:GetService("RunService").RenderStepped:wait()
  89. end
  90. S:remove()
  91. wait(1)
  92. SM:remove()
  93. hed.face:remove()
  94. char.Shirt:remove()
  95. char.Pants:remove()
  96. v = Instance.new("Sound")
  97.         v.SoundId = "rbxassetid://0"
  98.         v.Parent = torso
  99.         v.Looped = false
  100.         v.Pitch = 0.8
  101.         v.Volume = 1
  102.         wait(.01)
  103.         v:Play()
  104. z:Play()
  105. ----------------------------------------------------
  106. Debounces = {
  107. on = false;
  108. ks = false;
  109. CanAttack = true;
  110. CanJoke = true;
  111. NoIdl = false;
  112. Slashing = false;
  113. Slashed = false;
  114. Grabbing = false;
  115. Grabbed = false;
  116. }
  117. local Touche = {char.Name, }
  118. ----------------------------------------------------
  119. function lerp(a, b, t) -- Linear interpolation
  120.     return a + (b - a)*t
  121. end
  122.  
  123. function slerp(a, b, t) --Spherical interpolation
  124.     dot = a:Dot(b)
  125.     if dot > 0.99999 or dot < -0.99999 then
  126.         return t <= 0.5 and a or b
  127.     else
  128.         r = math.acos(dot)
  129.         return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  130.     end
  131. end
  132.  
  133. function matrixInterpolate(a, b, t)
  134.     local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  135.     local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  136.     local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  137.     local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector  right
  138.     local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector  up
  139.     local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector  back
  140.     local t = v1:Dot(v2)
  141.     if not (t < 0 or t == 0 or t > 0) then     -- Failsafe
  142.         return CFrame.new()
  143.     end
  144.     return CFrame.new(
  145.     v0.x, v0.y, v0.z,
  146.     v1.x, v1.y, v1.z,
  147.     v2.x, v2.y, v2.z,
  148.     v3.x, v3.y, v3.z)
  149. end
  150. ----------------------------------------------------
  151. function genWeld(a,b)
  152.     local w = Instance.new("Weld",a)
  153.     w.Part0 = a
  154.     w.Part1 = b
  155.     return w
  156. end
  157. function weld(a, b)
  158.     local weld = Instance.new("Weld")
  159.     weld.Name = "W"
  160.     weld.Part0 = a
  161.     weld.Part1 = b
  162.     weld.C0 = a.CFrame:inverse() * b.CFrame
  163.     weld.Parent = a
  164.     return weld;
  165. end
  166. ----------------------------------------------------
  167. function Lerp(c1,c2,al)
  168. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  169. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  170. for i,v in pairs(com1) do
  171. com1[i] = v+(com2[i]-v)*al
  172. end
  173. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  174. end
  175. ----------------------------------------------------
  176. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  177. local wld = Instance.new("Weld", wp1)
  178. wld.Part0 = wp0
  179. wld.Part1 = wp1
  180. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  181. end
  182. ----------------------------------------------------
  183. for i,v in pairs(char:children()) do
  184.     if v:IsA("Hat") then
  185.         v:Destroy()
  186.     end
  187. end
  188. for i,v in pairs(hed:children()) do
  189.     if v:IsA("Sound") then
  190.         v:Destroy()
  191.     end
  192. end
  193. --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  194. function HasntTouched(plrname)
  195. local ret = true
  196. for _, v in pairs(Touche) do
  197. if v == plrname then
  198. ret = false
  199. end
  200. end
  201. return ret
  202. end
  203. ----------------------------------------------------
  204. larm.Size = larm.Size * 5
  205. rarm.Size = rarm.Size * 5
  206. lleg.Size = lleg.Size * 5
  207. rleg.Size = rleg.Size * 5
  208. torso.Size = torso.Size * 5
  209. hed.Size = hed.Size * 5
  210. root.Size = root.Size * 5
  211. ----------------------------------------------------
  212. newWeld(torso, larm, -1.5, 0.5, 0)
  213. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  214. newWeld(torso, rarm, 1.5, 0.5, 0)
  215. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  216. newWeld(torso, hed, 0, 1.5, 0)
  217. newWeld(torso, lleg, -0.5, -1, 0)
  218. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  219. newWeld(torso, rleg, 0.5, -1, 0)
  220. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  221. newWeld(root, torso, 0, -1, 0)
  222. torso.Weld.C1 = CFrame.new(0, -1, 0)
  223. ----------------------------------------------------
  224. local Part = Instance.new("Part",hed)
  225. Part.BrickColor = BrickColor.new("Really black")
  226. Part.Size = Vector3.new(1,1,1)
  227. Part.CanCollide = false
  228. Part.Material = "Neon"
  229. local M = Instance.new("SpecialMesh",Part)
  230. M.MeshId = "rbxassetid://227430350"
  231. M.Scale = Vector3.new(10,10,10)
  232. local Part2 = Instance.new("Weld",Part)
  233. Part2.Part0 = hed
  234. Part2.Part1 = Part
  235. Part2.C0 = CFrame.new(0, 5, -1)
  236. -----------------------------------------------------
  237. local Head = Instance.new("Part",char)
  238. Head.Size = Vector3.new(1,1,1)
  239. Head.BrickColor = BrickColor.new("Really black")
  240. Head.CanCollide = false
  241. Head.TopSurface = 0
  242. Head.BottomSurface = 0
  243. local Head2 = Instance.new("SpecialMesh",Head)
  244. Head2.MeshType = "Head"
  245. Head2.Scale = Vector3.new(11.5,6.5,6.5)
  246. local Head3 = Instance.new("Weld",Head)
  247. Head3.Part0 = hed
  248. Head3.Part1 = Head
  249. Head3.C0 = CFrame.new(0,0,0)
  250.  
  251. -----------------------------------------------------
  252. local Glow = Instance.new("Part",char)
  253. Glow.Size = Vector3.new(1,1,1)
  254. Glow.BrickColor = BrickColor.new("Institutional white")
  255. Glow.CanCollide = false
  256. Glow.TopSurface = 0
  257. Glow.Material = "Neon"
  258. Glow.BottomSurface = 0
  259. local Glow2 = Instance.new("SpecialMesh",Glow)
  260. Glow2.MeshType = "Sphere"
  261. Glow2.Scale = Vector3.new(0.5,0.5,0.5)
  262. local Glow3 = Instance.new("Weld",Glow)
  263. Glow3.Part0 = Eye
  264. Glow3.Part1 = Glow
  265. Glow3.C0 = CFrame.new(0,0,-0.2)*CFrame.Angles(0,0,0)
  266.  
  267. local Glow = Instance.new("Part",char)
  268. Glow.Size = Vector3.new(1,1,1)
  269. Glow.BrickColor = BrickColor.new("Institutional white")
  270. Glow.CanCollide = false
  271. Glow.TopSurface = 0
  272. Glow.Material = "Neon"
  273. Glow.BottomSurface = 0
  274. local Glow2 = Instance.new("SpecialMesh",Glow)
  275. Glow2.MeshType = "Sphere"
  276. Glow2.Scale = Vector3.new(0.5,0.5,0.5)
  277. local Glow3 = Instance.new("Weld",Glow)
  278. Glow3.Part0 = Eye2
  279. Glow3.Part1 = Glow
  280. Glow3.C0 = CFrame.new(0,0,-0.2)*CFrame.Angles(0,0,0)
  281. -----------------------------------------------------
  282. local naeeym = Instance.new("BillboardGui",char)
  283. naeeym.Size = UDim2.new(0,100,0,40)
  284. naeeym.StudsOffset = Vector3.new(0,7,0)
  285. naeeym.Adornee = char.Head
  286. local tecks = Instance.new("TextLabel",naeeym)
  287. tecks.BackgroundTransparency = 1
  288. tecks.BorderSizePixel = 0
  289. tecks.Text = "Bunny"
  290. tecks.Font = "Bodoni"
  291. tecks.FontSize = "Size36"
  292. tecks.TextStrokeTransparency = 0.5
  293. tecks.TextColor3 = Color3.new(0,0,0)
  294. rrer = BrickColor.new("Really red")
  295. tecks.TextStrokeColor3 = rrer.Color
  296. tecks.Size = UDim2.new(1,0,0.5,0)
  297. local licht = Instance.new("PointLight",char.Torso)
  298. licht.Color = tecks.TextStrokeColor3
  299. licht.Range = 60
  300. licht.Brightness = 1
  301. licht.Enabled = false
  302. -----------------------------------------------------
  303. plr = game.Players.LocalPlayer
  304. base = Instance.new("ScreenGui",plr.PlayerGui)
  305. bbg = Instance.new("BillboardGui",plr.Character.Head)
  306. bbg.Size = UDim2.new(0,200,0,50)
  307. bbg.StudsOffset = Vector3.new(0,11,0)
  308. bbgTl = Instance.new("TextLabel",bbg)
  309. bbgTl.BackgroundTransparency = 1
  310. bbgTl.Size = UDim2.new(10,0,1,0)
  311. bbgTl.Position = UDim2.new(-4.5,0,0,0)
  312. bbgTl.Font = "Code"
  313. bbgTl.Text = " "
  314. bbgTl.TextSize = 25
  315. bbgTl.TextStrokeColor3 = Color3.new(1,0,0)
  316. bbgTl.TextColor3 = Color3.new(0,0,0)
  317. bbgTl.TextStrokeTransparency = 0
  318. bbgTl.TextWrapped = true
  319. plr.Chatted:connect(function(msg)
  320.     bbgTl.Text = msg
  321.     wait(5)
  322.     if bbgTl.Text == msg then
  323.         bbgTl.Text = " "
  324.     end
  325. end)
  326. -------------------------------------------------------------------
  327. function weld5(part0, part1, c0, c1)
  328.     weeld=Instance.new("Weld", part0)
  329.     weeld.Part0=part0
  330.     weeld.Part1=part1
  331.     weeld.C0=c0
  332.     weeld.C1=c1
  333.     return weeld
  334. end
  335. ----------------------------------------------------
  336. function newRay(start,face,range,wat)
  337.     local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  338.     hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  339.     return rey,hit,pos
  340. end
  341. ----------------------------------------------------
  342. mod5 = Instance.new("Model",char)
  343.  
  344. function FindNearestTorso(Position,Distance,SinglePlayer)
  345.     if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  346.         local List = {}
  347.         for i,v in pairs(workspace:GetChildren())do
  348.             if v:IsA("Model")then
  349.                 if v:findFirstChild("Torso")then
  350.                     if v ~= char then
  351.                         if(v.Torso.Position -Position).magnitude <= Distance then
  352.                             table.insert(List,v)
  353.                         end
  354.                     end
  355.                 end
  356.             end
  357.         end
  358.     return List
  359. end
  360.  
  361. function Landing()
  362.     part=Instance.new('Part',mod5)
  363.     part.Anchored=true
  364.     part.CanCollide=false
  365.     part.FormFactor='Custom'
  366.     part.Size=Vector3.new(.2,.2,.2)
  367.     part.CFrame=root.CFrame*CFrame.new(0,-2,0)
  368.     part.Transparency=.7
  369.     part.BrickColor=BrickColor.new('Really black')
  370.     mesh=Instance.new('SpecialMesh',part)
  371.     mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  372.     mesh.Scale=Vector3.new(10,5,10)
  373.  
  374.     for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do
  375.         if v:FindFirstChild('Humanoid') then
  376.             v.Humanoid:TakeDamage(math.random(20,30))
  377.             v.Humanoid.PlatformStand = true
  378.             v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  379.         end
  380.     end
  381.  
  382.     coroutine.resume(coroutine.create(function()
  383.         for i=0,3.8,0.05 do
  384.             wait()
  385.             part.CFrame=part.CFrame
  386.             part.Transparency=i
  387.             mesh.Scale=mesh.Scale+Vector3.new(1,0.2,1)
  388.             end
  389.         part.Parent = nil
  390.     end))
  391. end
  392. ----------------------------------------------------
  393. mod4 = Instance.new("Model",char)
  394.  
  395. ptez = {0.7, 0.8, 0.9, 1}
  396.  
  397. function FindNearestTorso(Position,Distance,SinglePlayer)
  398.     if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  399.         local List = {}
  400.         for i,v in pairs(workspace:GetChildren())do
  401.             if v:IsA("Model")then
  402.                 if v:findFirstChild("Torso")then
  403.                     if v ~= char then
  404.                         if(v.Torso.Position -Position).magnitude <= Distance then
  405.                             table.insert(List,v)
  406.                         end
  407.                     end
  408.                 end
  409.             end
  410.         end
  411.     return List
  412. end
  413.  
  414. ----------------------------------------------------
  415.  
  416. local acos = math.acos
  417. local sqrt = math.sqrt
  418. local Vec3 = Vector3.new
  419. local fromAxisAngle = CFrame.fromAxisAngle
  420.  
  421. local function toAxisAngle(CFr)
  422.         local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  423.         local Angle = math.acos((R00+R11+R22-1)/2)
  424.         local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  425.         A = A == 0 and 0.00001 or A
  426.         local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  427.         B = B == 0 and 0.00001 or B
  428.         local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  429.         C = C == 0 and 0.00001 or C
  430.         local x = (R21-R12)/sqrt(A)
  431.         local y = (R02-R20)/sqrt(B)
  432.         local z = (R10-R01)/sqrt(C)
  433.         return Vec3(x,y,z),Angle
  434. end
  435.  
  436. function ApplyTrig(Num,Func)
  437.         local Min,Max = Func(0),Func(1)
  438.         local i = Func(Num)
  439.         return (i-Min)/(Max-Min)
  440.         --[[if Func == "sin" then
  441.                 return (math.sin((1-Num)*math.pi)+1)/2
  442.         elseif Func == "cos" then
  443.                 return (math.cos((1-Num)*math.pi)+1)/2
  444.         end]]
  445. end
  446.  
  447. function LerpCFrame(CFrame1,CFrame2,Num)
  448.         local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  449.         return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  450. end
  451. mouse.KeyDown:connect(function(key)
  452.     if key == "b" then
  453.         if Debounces.CanAttack == true then
  454.         Debounces.CanAttack = false
  455.         Debounces.on = true
  456.         Debounces.NoIdl = true
  457.         for i = 1,20 do
  458.         rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(9,4,1) * CFrame.Angles(0.3,-0.5,1.55),.3)
  459.         larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-9,4,1) * CFrame.Angles(0.3,0.5,-1.55),.3)
  460.         hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0.4,0,0),.3)
  461.         torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(0.3,0,0),.3)
  462.         lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8,1) *CFrame.Angles(-0.3,0,-0.1),.3)
  463.         rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8,1) * CFrame.Angles(-0.3,0,0.1),.3)
  464.         if Debounces.on == false then break end
  465.             wait()
  466.         end
  467.         v = Instance.new("Sound")
  468.         v.SoundId = "rbxassetid://0"
  469.         v.Parent = torso
  470.         v.Looped = false
  471.         v.Pitch = 0.8
  472.         v.Volume = math.huge
  473.         wait(.01)
  474.         v:Play()
  475.         coroutine.resume(coroutine.create(function()
  476.             for i = 1,80 do
  477.             local H = Instance.new("Part",torso)
  478.             H.Size = Vector3.new(1,1,1)
  479.             H.BrickColor = BrickColor.new("White")
  480.             H.CanCollide = false
  481.             H.Anchored = true
  482.             H.CFrame = torso.CFrame*CFrame.new(0,-13,0)*CFrame.Angles(1.3,0,0)
  483.             local H2 = Instance.new("SpecialMesh",H)
  484.             H2.MeshId = "rbxassetid://3270017"
  485.             coroutine.resume(coroutine.create(function()
  486.             for i = 1,200 do
  487.             H2.Scale = H2.Scale + Vector3.new(5,5,5)
  488.             H.Transparency = H.Transparency + 0.05
  489.             wait(0.05)
  490.             end
  491.             H:remove()
  492.             end))
  493.             wait(0.005)
  494.             end
  495.             if Debounces.CanAttack == false then
  496.         Debounces.CanAttack = true
  497.         Debounces.on = false
  498.         Debounces.NoIdl = false
  499. end
  500.         end))
  501.         end
  502.     end
  503. end)
  504. mouse.KeyDown:connect(function(key)
  505.     if key == "k" then
  506.         if Debounces.CanAttack == true then
  507.         Debounces.CanAttack = false
  508.         Debounces.on = true
  509.         Debounces.NoIdl = true
  510.         for i = 1,20 do
  511.         rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.5,0,1) * CFrame.Angles(-.5,0,0),.3)
  512.         larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.5,0,1) * CFrame.Angles(-.5,-0,0),.3)
  513.         hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0.4,0,0),.3)
  514.         torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -10, 0) * CFrame.Angles(0.3,0,0),.3)
  515.         lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -6,-2) *CFrame.Angles(1.3,0,-0.1),.3)
  516.         rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -6,-2) * CFrame.Angles(1.3,0,0.1),.3)
  517.         if Debounces.on == false then break end
  518.             wait()
  519.         end
  520.         v = Instance.new("Sound")
  521.         v.SoundId = "rbxassetid://0"
  522.         v.Parent = torso
  523.         v.Looped = false
  524.         v.Pitch = 0.8
  525.         v.Volume = math.huge
  526.         wait(5)
  527.         v:Play()
  528.         coroutine.resume(coroutine.create(function()
  529.             if Debounces.CanAttack == false then
  530.         Debounces.CanAttack = true
  531.         Debounces.on = false
  532.         Debounces.NoIdl = false
  533. end
  534.         end))
  535.         end
  536.     end
  537. end)
  538. mouse.KeyDown:connect(function(key)
  539.     if key == "z" then
  540.         if Debounces.CanAttack == true then
  541.         Debounces.CanAttack = false
  542.         Debounces.on = true
  543.         Debounces.NoIdl = true
  544. for i = 1,20 do
  545.         rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,1,-3) * CFrame.Angles(1.55,0,0),.3)
  546.         larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,1,-3) * CFrame.Angles(1.55,0,0),.3)
  547.         hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0,0,0),.3)
  548.         torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -6, 0) * CFrame.Angles(-1.5,0,0),.3)
  549.         lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -7.6,-2) *CFrame.Angles(1.55,0,0),.3)
  550.         rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6,-2) * CFrame.Angles(1.55,0,0),.3)
  551.         if Debounces.on == false then break end
  552.     wait()
  553. end
  554. local Rock = Instance.new("Part",char)
  555. Rock.Size = Vector3.new(1,1,1)
  556. local Rock22 = Instance.new("SpecialMesh",Rock)
  557. Rock22.MeshId = "rbxassetid://433651599"
  558. Rock22.Scale = Vector3.new(0.25,0.25,0.25)
  559. local Rock2 = Instance.new("Weld",Rock)
  560. Rock2.Part0 = hed
  561. Rock2.Part1 = Rock
  562. Rock2.C0 = CFrame.new(0,20,0)*CFrame.Angles(0,-1.55,0)
  563. local PPA = Instance.new("Part",Rock)
  564. PPA.Size = Vector3.new(15,15,15)
  565. PPA.CanCollide = false
  566. local PPA2 = Instance.new("Weld",PPA)
  567. PPA2.Part0 = Rock
  568. PPA2.Part1 = PPA
  569. PPA2.C0 = CFrame.new(0,0,0)
  570. PPA.Touched:connect(function(hit)
  571.     if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil then
  572.         if not FA then FA = true
  573.         hit.Parent.Humanoid.PlatformStand = true
  574.         hit.Parent.Humanoid:TakeDamage(30)
  575.         local Fly = Instance.new("BodyVelocity",hit.Parent.Torso)
  576.         Fly.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  577.         Fly.velocity = mouse.hit.lookVector*560
  578.         wait(0.1)
  579.         Fly:remove()
  580.         wait(3)
  581.         FA = false
  582.         end
  583.     end
  584. end)
  585. wait(0.5)
  586. for i = 1,20 do
  587.         rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,5.5,0) * CFrame.Angles(3.1,0,0),.3)
  588.         larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,5.5,0) * CFrame.Angles(3.1,0,0),.3)
  589.         hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0,0,0),.3)
  590.         torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(0,0,0),.3)
  591.         lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8,0) *CFrame.Angles(0,0,0),.3)
  592.         rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8,0) * CFrame.Angles(0,0,0),.3)
  593.         if Debounces.on == false then break end
  594.     wait()
  595. end
  596. Rock2:remove()
  597. local Fly = Instance.new("BodyVelocity",Rock)
  598. Fly.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  599. Fly.velocity = mouse.hit.lookVector*200
  600. for i = 1,20 do
  601.         rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,1.5,-1) * CFrame.Angles(1.55,0,0),.3)
  602.         larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,1.5,-1) * CFrame.Angles(1.55,0,0),.3)
  603.         hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(-0.3,0,0),.3)
  604.         torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(-0.3,0,0),.3)
  605.         lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8,0) *CFrame.Angles(0,0,0),.3)
  606.         rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8,-2) * CFrame.Angles(0.5,0,0),.3)
  607.         if Debounces.on == false then break end
  608.     wait()
  609. end
  610. if Debounces.CanAttack == false then
  611.         Debounces.CanAttack = true
  612.         Debounces.on = false
  613.         Debounces.NoIdl = false
  614. end
  615. wait(2)
  616. Fly:remove()
  617. local SFXZ = Instance.new("Sound",Rock)
  618.         SFXZ.SoundId = "rbxassetid://134854740"
  619.         SFXZ.Volume = math.huge
  620.         SFXZ.Pitch = 1
  621.         SFXZ.Looped = false
  622.         wait(0.01)
  623.         SFXZ:Play()
  624. wait(3)
  625. Rock:remove()
  626. end
  627.     end
  628. end)
  629. mouse.KeyDown:connect(function(key)
  630.     if key == "e" then
  631.         if Debounces.CanAttack == true then
  632.         Debounces.CanAttack = false
  633.         Debounces.on = true
  634.         Debounces.NoIdl = true
  635.         for i = 1,20 do
  636.         rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,1,-3) * CFrame.Angles(1.3,0,0),.3)
  637.         larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,1,0) * CFrame.Angles(-0.5,0,0),.3)
  638.         hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0,0,0),.3)
  639.         torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -8, 0) * CFrame.Angles(-0.5,0,0),.3)
  640.         lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -3.3,-3.5) *CFrame.Angles(0.5,0,0),.3)
  641.         rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6,0.5) * CFrame.Angles(-1.1,0,0),.3)
  642.         if Debounces.on == false then break end
  643.     wait()
  644.         end
  645.         local HitBox = Instance.new("Part",char)
  646. HitBox.Size = Vector3.new(5,5,5)
  647. HitBox.CanCollide = false
  648. HitBox.Transparency = math.huge
  649. local HitBox2 = Instance.new("Weld",HitBox)
  650. HitBox2.Part0 = rarm
  651. HitBox2.Part1 = HitBox
  652. HitBox2.C0 = CFrame.new(0,-4.5,0)
  653. HitBox.Touched:connect(function(hit)
  654.     if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil then
  655.         if not DD then DD = true
  656.         HitBox:remove()
  657.         hit.Parent.Humanoid.PlatformStand = true
  658.         local We = Instance.new("Weld",hit.Parent.Torso)
  659.         We.Part0 = rarm
  660.         We.Part1 = hit.Parent.Torso
  661.         We.C0 = CFrame.new(0,-5,0)*CFrame.Angles(-1.55,0,0)
  662.         wait(1)
  663.         for i = 1,20 do
  664.         rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,4,0) * CFrame.Angles(3.1,0,1),.3)
  665.         larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,4,0) * CFrame.Angles(-3.1,0,-1),.3)
  666.         hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(1,0,0),.3)
  667.         torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -8, 0) * CFrame.Angles(-0.5,0,0),.3)
  668.         lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -3.3,-3.5) *CFrame.Angles(0.5,0,0),.3)
  669.         rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6,0.5) * CFrame.Angles(-1.1,0,0),.3)
  670.         if Debounces.on == false then break end
  671.         wait()
  672.         end
  673.         hit.Parent.Humanoid:TakeDamage(20)
  674.         for i = 1,20 do
  675.         rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(6,4,-1) * CFrame.Angles(1.55,0,-1),.3)
  676.         larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-6,4,-1) * CFrame.Angles(1.55,0,1),.3)
  677.         hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(-0.4,0,0),.3)
  678.         torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -8, 0) * CFrame.Angles(-0.5,0,0),.3)
  679.         lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -3.3,-3.5) *CFrame.Angles(0.5,0,0),.3)
  680.         rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6,0.5) * CFrame.Angles(-1.1,0,0),.3)
  681.         if Debounces.on == false then break end
  682.         wait()
  683.         end
  684.         for i = 1,20 do
  685.         rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(5,4,-1) * CFrame.Angles(1.55,0,-1.3),.3)
  686.         larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-5,4,-1) * CFrame.Angles(1.55,0,1.3),.3)
  687.         hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(-0.4,0,0),.3)
  688.         torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -8, 0) * CFrame.Angles(-0.5,0,0),.3)
  689.         lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -3.3,-3.5) *CFrame.Angles(0.5,0,0),.3)
  690.         rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6,0.5) * CFrame.Angles(-1.1,0,0),.3)
  691.         if Debounces.on == false then break end
  692.         wait()
  693.         end
  694.         local partasdeff = Instance.new("ParticleEmitter",hit.Parent.Torso)
  695.             partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0, 0))
  696.             partasdeff.LightEmission = .1
  697.             partasdeff.Size = NumberSequence.new(0.2)
  698.             partasdeff.Texture = "http://www.roblox.com/asset/?ID=380529823"
  699.             aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  700.             bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  701.             partasdeff.Transparency = bbb
  702.             partasdeff.Size = aaa
  703.             partasdeff.ZOffset = .9
  704.             partasdeff.Acceleration = Vector3.new(0, -5, 0)
  705.             partasdeff.LockedToPart = false
  706.             partasdeff.EmissionDirection = "Top"
  707.             partasdeff.Lifetime = NumberRange.new(1, 2)
  708.             partasdeff.Rate = 1000
  709.             partasdeff.Rotation = NumberRange.new(-100, 100)
  710.             partasdeff.RotSpeed = NumberRange.new(-100, 100)
  711.             partasdeff.Speed = NumberRange.new(10)
  712.             partasdeff.VelocitySpread = 300
  713.             partasdeff.Enabled = true
  714.             wait(1.5)
  715.         hit.Parent:BreakJoints()
  716.         We:remove()
  717.         partasdeff.Enabled = false
  718.         if Debounces.CanAttack == false then
  719.         Debounces.CanAttack = true
  720.         Debounces.on = false
  721.         Debounces.NoIdl = false
  722.         end
  723.         wait(3)
  724.         DD = false
  725.         end
  726.     end
  727. end)
  728. wait(5)
  729. if Debounces.CanAttack == false then
  730.         Debounces.CanAttack = true
  731.         Debounces.on = false
  732.         Debounces.NoIdl = false
  733. end
  734.     end
  735.     end
  736. end)
  737. mouse.KeyDown:connect(function(key)
  738.     if key == "r" then
  739.         if Debounces.CanAttack == true then
  740.         Debounces.CanAttack = false
  741.         Debounces.on = true
  742.         Debounces.NoIdl = true
  743. for i = 1,20 do
  744.         rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,1,0) * CFrame.Angles(0.5,0,0),.3)
  745.         larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,1,0) * CFrame.Angles(-0.5,0,0),.3)
  746.         hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0,0,0),.3)
  747.         torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(-0.5,0,0),.3)
  748.         lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8, -2) *CFrame.Angles(0.5,0,0),.3)
  749.         rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6, 1.2) * CFrame.Angles(-1.5,0,0),.3)
  750.         if Debounces.on == false then break end
  751.     wait()
  752. end
  753. local HitBox = Instance.new("Part",char)
  754. HitBox.Size = Vector3.new(5,5,5)
  755. HitBox.CanCollide = false
  756. HitBox.Transparency = math.huge
  757. local HitBox2 = Instance.new("Weld",HitBox)
  758. HitBox2.Part0 = rleg
  759. HitBox2.Part1 = HitBox
  760. HitBox2.C0 = CFrame.new(0,-1.1,0)
  761. local SFXZ = Instance.new("Sound",torso)
  762.         SFXZ.SoundId = "rbxassetid://0"
  763.         SFXZ.Volume = math.huge
  764.         SFXZ.Pitch = 0.5
  765.         SFXZ.Looped = false
  766.         wait(0.01)
  767.         SFXZ:Play()
  768. HitBox.Touched:connect(function(hit)
  769.     if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil then
  770.         local SFXZ = Instance.new("Sound",torso)
  771.             SFXZ.SoundId = "rbxassetid://743886825"
  772.             SFXZ.Volume = 1
  773.             SFXZ.Pitch = 0.5
  774.             SFXZ.Looped = false
  775.             SFXZ:Play()
  776.         HitBox:remove()
  777.         hit.Parent.Humanoid:TakeDamage(44)
  778.         hit.Parent.Humanoid.PlatformStand = true
  779.         local Fl = Instance.new("BodyVelocity",hit.Parent.Torso)
  780.             Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  781.             Fl.velocity = rleg.CFrame.lookVector*350
  782.             wait(0.1)
  783.             Fl:remove()
  784.     end
  785. end)
  786. for i = 1,20 do
  787.         rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,1,0) * CFrame.Angles(-0.5,0,0),.3)
  788.         larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,1,0) * CFrame.Angles(0.5,0,0),.3)
  789.         hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0) * CFrame.Angles(0,0,0),.3)
  790.         torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(0.5,0,0),.3)
  791.         lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8, 2) *CFrame.Angles(-0.5,0,0),.3)
  792.         rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -7.6, -1.2) * CFrame.Angles(1.5,0,0),.3)
  793.         if Debounces.on == false then break end
  794.     wait()
  795. end
  796. if Debounces.CanAttack == false then
  797.         Debounces.CanAttack = true
  798.         Debounces.on = false
  799.         Debounces.NoIdl = false
  800. HitBox:remove()
  801.             end
  802. end
  803. end
  804. end)
  805. ----------------------------------------------------
  806. mouse.KeyDown:connect(function(key)
  807.     if string.byte(key) == 48 then
  808.         char.Humanoid.WalkSpeed = 80
  809.     end
  810. end)
  811. mouse.KeyUp:connect(function(key)
  812.     if string.byte(key) == 48 then
  813.         char.Humanoid.WalkSpeed = 28
  814.     end
  815. end)
  816. ----------------------------------------------------
  817. local animpose = "Idle"
  818. local lastanimpose = "Idle"
  819. local sine = 0
  820. local change = 1
  821. local val = 0
  822. local ffing = false
  823. ----------------------------------------------------
  824. local x = Instance.new("Sound", char.Torso)
  825. x.SoundId = "http://www.roblox.com/asset/?id=0"
  826. x.Looped = true
  827. x.Volume = 1
  828. x.Pitch = 1
  829. local footsteps = false
  830. -------------------------------
  831. game:GetService("RunService").RenderStepped:connect(function()
  832. rarm.BrickColor = ASD
  833. larm.BrickColor = ASD
  834. rleg.BrickColor = ASD
  835. lleg.BrickColor = ASD
  836. hed.BrickColor = ASD
  837. torso.BrickColor = ASD
  838. --[[if char.Humanoid.Jump == true then
  839. jump = true
  840. else
  841. jump = false
  842. end]]
  843. char.Humanoid.FreeFalling:connect(function(f)
  844. if f then
  845. ffing = true
  846. else
  847. ffing = false
  848. end
  849. end)
  850. sine = sine + change
  851. if jumpn == true then
  852. animpose = "Jumping"
  853. elseif ffing == true then
  854. animpose = "Freefalling"
  855. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  856. animpose = "Idle"
  857. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  858. animpose = "Walking"
  859. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  860. animpose = "Running"
  861. end
  862. if animpose ~= lastanimpose then
  863. sine = 0
  864. if Debounces.NoIdl == false then
  865. if animpose == "Idle" then
  866. for i = 1, 2 do
  867. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(8,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.2)
  868. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-8,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2)
  869. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  870. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  871. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-3, -8.8, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  872. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(3, -8.8, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  873. end
  874. elseif animpose == "Walking" then
  875. for i = 1, 2 do
  876. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.3, .9, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(20)), 0.2)
  877. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.3, .9, 0)*CFrame.Angles(0, math.rad(1), math.rad(-10)), 0.2)
  878. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0)*CFrame.Angles(math.rad(-8), math.rad(0), math.rad(0)),0.2)
  879. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(0)), 0.2)
  880. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
  881. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
  882. end
  883. elseif animpose == "Running" then
  884. for i = 1, 2 do
  885. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.8, 0.9, .5) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(50)), 0.2)
  886. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.8, 1.2, 0-1*math.cos(sine/4)/2)*CFrame.Angles(math.rad(50-80*math.cos(sine/8)/2), math.rad(0), math.rad(0-70*math.cos(sine/8)/2)), 0.2)
  887. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0)*CFrame.Angles(math.rad(6+8*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2)
  888. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+4*math.cos(sine/4)/2), 0, math.rad(0)), 0.2)
  889. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4)
  890. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4)
  891. end
  892. wait()
  893. end
  894. else
  895. end
  896. end
  897. lastanimpose = animpose
  898. if Debounces.NoIdl == false then
  899. if animpose == "Idle" then
  900. if stanceToggle == "Normal" then
  901. change = 0.5
  902. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(8,1,0)*CFrame.new(0,0-.3*math.sin(tick()*1),0)*CFrame.Angles(0,0,0)*CFrame.Angles(0,0,0.3),.2)
  903. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-8,1,0)*CFrame.new(0,0-.3*math.sin(tick()*1),0)*CFrame.Angles(0,0,0)*CFrame.Angles(0,0,-0.3),.2)
  904. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,-.2)*CFrame.Angles(0-.1*math.sin(tick()*1),0,0)*CFrame.Angles(-0.3,0,0), 0.2)
  905. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(0, 0, 0), 0.2)
  906. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-3, -8.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  907. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(3, -8.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  908. elseif stanceToggle == "Sitting" then
  909. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(100-1*math.cos(sine/14)), math.rad(0), math.rad(20)), 0.2)
  910. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2, .9, -1)*CFrame.Angles(math.rad(78+1*math.cos(sine/14)), math.rad(0), math.rad(50)), 0.2)
  911. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.3) * CFrame.Angles(math.rad(-14+1*math.cos(sine/14)), math.rad(0), math.rad(0)),0.2)
  912. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(-10+1*math.cos(sine/14)), 0, math.rad(0)), 0.2)
  913. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10-1*math.cos(sine/14)), 0, 0), 0.2)
  914. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-50-1*math.cos(sine/14)), 0, 0), 0.2)
  915. end
  916. elseif animpose == "Walking" then
  917. if stanceToggle == "Normal" then
  918. change = 1
  919. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.6,0.8,0)*CFrame.Angles(0-.2*math.sin(tick()*2.5),0,0.2),.3)
  920. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.6,0.8,0)*CFrame.Angles(0+.2*math.sin(tick()*2.5),0,-0.2),.3)
  921. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0)*CFrame.Angles(-0.2,0,0),.3)
  922. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0,-1.8,0)*CFrame.new(0,0-.1*math.sin(tick()*2),0)*CFrame.Angles(0,0,0),.3)
  923. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8-0.3*math.cos(sine/14)/2, -.05 + math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + -math.sin(sine/14)/2.3, 0, 0), .4)
  924. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8+0.3*math.cos(sine/14)/2, -.05 + -math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + math.sin(sine/14)/2.3, 0, 0), .4)
  925. end
  926. elseif animpose == "Running" then
  927. change = 1
  928. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(7.7,0.5,0)*CFrame.Angles(0-.5*math.sin(tick()*7),0,0),.3)
  929. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-7.7,0.5,0)*CFrame.Angles(0+.5*math.sin(tick()*7),0,0),.3)
  930. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,7.5,0)*CFrame.Angles(math.rad(6+6*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2)
  931. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/4)/2), 0, math.rad(0)), 0.2)
  932. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-2.5, -8.8-0.80*math.cos(sine/6)/2.4, -.15 + math.sin(sine/6)/1.5) * CFrame.Angles(math.rad(-10) + -math.sin(sine/6)/1.7, 0, 0), .4)
  933. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(2.5, -8.8+0.80*math.cos(sine/6)/2.4, -.15 + -math.sin(sine/6)/1.5) * CFrame.Angles(math.rad(-10) + math.sin(sine/6)/1.7, 0, 0), .4)
  934. end
  935. end
  936. if animpose == "Walking" then
  937.     if footsteps == false then
  938.         x:Play()
  939.         footsteps = true
  940.     end
  941.     x.Pitch = 1.1
  942. elseif animpose == "Idle" then
  943.     x:Stop()
  944.     footsteps = false
  945. elseif animpose == "Running" then
  946.     x.Pitch = 1.2
  947.     if footsteps == false then
  948.         x:Play()
  949.         footsteps = true
  950.     end
  951. end
  952. end)
  953. char = game:service'Players'.LocalPlayer.Character
  954. m = game:service'Players'.LocalPlayer:GetMouse()
  955.  
  956. -----------------------------
  957. function Aesthetics()
  958.  
  959.  
  960.     char.Head.face.Texture = "http://www.roblox.com/asset/?id=47555230"
  961. end
  962.  
  963. Aesthetics()
  964.  
  965.  
  966. m.KeyDown:connect(function(k)
  967. if k == "z" then
  968. char.Head.face.Texture = "http://www.roblox.com/asset/?id=47555230"
  969. end
  970. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement