Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 55.51 KB | None | 0 0
  1. --[[ Godspeed ]]--
  2. -------------------------------------------------------
  3. --[[
  4.  
  5. This script was created by WafflesAreVeryGood or Nobody#3907
  6.  
  7. --]]
  8. -------------------------------------------------------
  9. --[[ Reference ]]--
  10. --[[
  11. Burn Function
  12. hurt(char.Head, 15, "Burn", {char, {Color = Color3.new(0,1,1), Time = 1, Rate = 20, Damage = {1,5}}})
  13.  
  14. Freeze Function
  15. hurt(char.Head, 0, "Freeze", {char, 1})
  16.  
  17. Stun Function
  18. hurt(char.Head, 0, "Stun", {char, 0.2})
  19. --]]
  20. -------------------------------------------------------
  21. math.randomseed(tick())
  22. print("You are using a script created by WafflesAreVeryGood!")
  23. warn("--------Global Message--------")
  24. warn(game:GetService("MarketplaceService"):GetProductInfo(1720721621).Description)
  25. warn("------------------------------")
  26. --[[Changeable Variables]]--
  27. local settings = {}
  28. --ShowDamage settings
  29. settings.Damage = {
  30. Color = nil,
  31. StrokeColor = nil,
  32. Font = nil,
  33. }
  34. settings.ShowDamageEnabled = false
  35. settings.CustomAnim = true
  36. settings.Song = 1513216381
  37. local soundlist = {
  38. HardHit1 = "rbxassetid://565207203",
  39. HardHit2 = "rbxassetid://541909913",
  40. HardHit3 = "rbxassetid://541909983",
  41. WeakHit1 = "rbxassetid://558642292",
  42. WeakHit2 = "rbxassetid://541907812",
  43. Slice1 = "rbxassetid://260429964",
  44. Slice2 = "rbxassetid://260430015",
  45. Explosion1 = "rbxassetid://138186576",
  46. Explosion2 = "rbxassetid://157878578",
  47. Woosh1 = "rbxassetid://541909867",
  48. Woosh2 = "rbxassetid://541909763",
  49. Freeze = "rbxassetid://268249319",
  50. Thaw = "rbxassetid://1578580965",
  51. Burn = "rbxassetid://298181829",
  52.  
  53. }
  54. local attack_data = {
  55. {
  56. Name = "Godspeed",
  57. Description = "Enable the godspeed. [TOGGLE]",
  58. Key = "G",
  59. },
  60. {
  61. Name = "Left Punch",
  62. Description = "Punch.",
  63. Key = "Q",
  64. },
  65. {
  66. Name = "Right Punch",
  67. Description = "Punch again.",
  68. Key = "E",
  69. },
  70. {
  71. Name = "Slam",
  72. Description = "Slam downwards, good spike move.",
  73. Key = "R",
  74. },
  75. {
  76. Name = "Uppercut",
  77. Description = "Jump into the air and do an uppercut.",
  78. Key = "Y",
  79. },
  80. {
  81. Name = "Power Punch",
  82. Description = "Punch but stronger.",
  83. Key = "F",
  84. },
  85. {
  86. Name = "Run",
  87. Description = "Hold shift to gotta go fast.",
  88. Key = "Shift",
  89. },
  90.  
  91. }
  92.  
  93. --[[Important Variables]]--
  94. local plr = owner
  95. local char = plr.Character
  96. local input = game:GetService('UserInputService')
  97. ----
  98. local joints = {"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}
  99. local torso,head,rootpart = char.Torso,char.Head,char.HumanoidRootPart
  100. local rs = torso["Right Shoulder"]
  101. local ls = torso["Left Shoulder"]
  102. local rh = torso["Right Hip"]
  103. local lh = torso["Left Hip"]
  104. local neck = torso.Neck
  105. local rj = rootpart["RootJoint"]
  106. local humanoid = char:FindFirstChildOfClass("Humanoid")
  107. ----
  108. local huge = Vector3.new(math.huge, math.huge, math.huge)
  109. local attacking = false
  110. local cananim = true
  111. local animpose = "Idle"
  112. local timestate = "None"
  113. local lastpose = animpose
  114. local movespeed = 0
  115. local playermass = 0
  116. for i,v in pairs(char:GetChildren()) do
  117. if v:IsA("BasePart") then
  118. playermass = playermass + v:GetMass()
  119. end
  120. end
  121. local timedata = {}
  122. ----
  123. --[[ Anti-Decompile ]]--
  124. script.Parent = owner
  125. script:Destroy()
  126. end)
  127. --[[ Moves Gui ]]--
  128.  
  129. local mgui = Instance.new("ScreenGui")
  130. mgui.Name = "MovesGui"
  131. local bg = Instance.new("Frame")
  132. bg.BackgroundColor3 = Color3.new(61/255,61/255,61/255)
  133. bg.Position = UDim2.new(0,504,0,164)
  134. bg.Name = "Background"
  135. bg.Size = UDim2.new(-0.035,379,0,225)
  136. bg.Visible = false
  137. bg.Parent = mgui
  138. local container = Instance.new("ScrollingFrame")
  139. container.Name = "Container"
  140. container.BackgroundColor3 = Color3.new(70/255,70/255,70/255)
  141. container.BorderSizePixel = 0
  142. container.Visible = true
  143. container.Position = UDim2.new(0,16,0,46)
  144. container.Size = UDim2.new(0,132,0,162)
  145. container.CanvasSize = UDim2.new(0,0,0,10)
  146. container.ScrollBarThickness = 4
  147. container.Parent = bg
  148. local copy = Instance.new("TextButton")
  149. copy.Name = "Move"
  150. copy.BackgroundColor3 = Color3.new(77/255,77/255,77/255)
  151. copy.BorderSizePixel = 0
  152. copy.Position = UDim2.new(0,4,0,4)
  153. copy.Size = UDim2.new(0,118,0,29)
  154. copy.Font = "SourceSansLight"
  155. copy.Text = "Move Name"
  156. copy.TextColor3 = Color3.new(197/255,0,0)
  157. copy.TextSize = 20
  158. copy.Visible = false
  159. copy.Parent = container
  160. local atkinfo = container:Clone()
  161. for _,v in pairs(atkinfo:GetChildren()) do v:Destroy() end
  162. atkinfo.Name = "AtkInfo"
  163. atkinfo.Visible = true
  164. atkinfo.Position = UDim2.new(0,167,0,50)
  165. atkinfo.Size = UDim2.new(0,159,0,165)
  166. atkinfo.Parent = bg
  167. local movename = Instance.new("TextLabel")
  168. movename.Name = "MoveName"
  169. movename.BackgroundColor3 = Color3.new(77/255,77/255,77/255)
  170. movename.BorderSizePixel = 0
  171. movename.Position = UDim2.new(0,4,0,4)
  172. movename.Size = UDim2.new(0,150,0,30)
  173. movename.Font = "SourceSansLight"
  174. movename.TextColor3 = Color3.new(197/255,0,0)
  175. movename.TextSize = 20
  176. movename.Text = "same"
  177. movename.Parent = atkinfo
  178. local movedesc = movename:Clone()
  179. movedesc.Position = UDim2.new(0,4,0,47)
  180. movedesc.Size = UDim2.new(0,150,0,133)
  181. movedesc.Text = "Move Description"
  182. movedesc.TextSize = 18
  183. movedesc.Name = "MoveDesc"
  184. movedesc.TextXAlignment = "Left"
  185. movedesc.TextYAlignment = "Top"
  186. movedesc.TextWrapped = true
  187. movedesc.Parent = atkinfo
  188. local title = movedesc:Clone()
  189. title.Name = "Title"
  190. title.Font = "SourceSansLight"
  191. title.Text = "Moves List"
  192. title.TextSize = 28
  193. title.BackgroundColor3 = Color3.new(36/255,36/255,36/255)
  194. title.Position = UDim2.new(0,0,0,0)
  195. title.Size = UDim2.new(1,0,0,30)
  196. title.TextXAlignment = "Center"
  197. title.TextYAlignment = "Center"
  198. title.Parent = bg
  199. local toggle = copy:Clone()
  200. toggle.BackgroundColor3 = Color3.new(61/255,61/255,61/255)
  201. toggle.Position = UDim2.new(0,0,0,288)
  202. toggle.Size = UDim2.new(0,70,0,20)
  203. toggle.Visible = true
  204. toggle.Font = "SourceSans"
  205. toggle.Text = "Toggle Moves"
  206. toggle.Name = "Toggle"
  207. toggle.TextSize = 14
  208. toggle.Parent = mgui
  209. mgui.Parent = plr:FindFirstChildOfClass("PlayerGui")
  210. toggle.MouseButton1Click:connect(function()
  211. bg.Visible = not bg.Visible
  212. end)
  213. local pos = copy.Position -UDim2.new(0,0,0,29)
  214. for _,data in pairs(attack_data) do
  215. local new = copy:Clone()
  216. pos = pos +UDim2.new(0,0,0,29)
  217. container.CanvasSize = container.CanvasSize +UDim2.new(0,0,0,29)
  218. new.Position = pos
  219. new.Text = data.Name.."["..data.Key.."]"
  220. new.Visible = true
  221. spawn(function()
  222. swait()
  223. if not new.TextFits then
  224. new.TextScaled = true
  225. end
  226. end)
  227. new.Parent = container
  228. new.MouseButton1Click:connect(function()
  229. movename.Text = data.Name
  230. movedesc.Text = data.Description
  231. spawn(function()
  232. swait()
  233. if not movename.TextFits then
  234. movename.TextScaled = true
  235. else
  236. movename.TextScaled = false
  237. end
  238. if not movedesc.TextFits then
  239. movename.TextScaled = true
  240. else
  241. movename.TextScaled = false
  242. end
  243. end)
  244. end)
  245. end
  246. --[[ Functions ]]--
  247.  
  248. function addattack(keycode, func)
  249. if keycode ~= "MouseClick" then
  250. input.InputBegan:connect(function(inp)
  251. if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
  252. func()
  253. end
  254. end)
  255. else
  256. mouse.Button1Down:connect(function()
  257. func()
  258. end)
  259. end
  260. end
  261. function attackend(keycode, func)
  262. input.InputEnded:connect(function(inp)
  263. if inp.KeyCode == keycode and not input:GetFocusedTextBox() then
  264. func()
  265. end
  266. end)
  267. end
  268. function swait(t)
  269. if t then
  270. for i = 0, t do
  271. game:GetService('RunService').Stepped:wait(0)
  272. end
  273. else
  274. game:GetService('RunService').Stepped:wait(0)
  275. end
  276. return true
  277. end
  278. function fade(obj, dest, grow)
  279. spawn(function()
  280. local oldcf = obj.CFrame
  281. for i = 0, 10 do
  282. if grow then
  283. obj.Size = obj.Size +Vector3.new(1,1,1)
  284. obj.CFrame = oldcf
  285. end
  286. obj.Transparency = obj.Transparency +0.1
  287. swait()
  288. end
  289. if dest then
  290. obj:Destroy()
  291. end
  292. end)
  293. end
  294. function replacejoint(name)
  295. local j = torso:FindFirstChild(name)
  296. if not j then j = char.HumanoidRootPart:FindFirstChild(name) end
  297. if j then
  298. if true then
  299. local already = j.Parent:FindFirstChild(j.Name.." Replacement")
  300. local new = Instance.new("Weld")
  301. local c0 = j.C0
  302. local c1 = j.C1
  303. new.Part0 = j.Part0
  304. j.Part0 = nil
  305. new.Name = j.Name.." Replacement"
  306. if already then c0 = already.C0 c1 = already.C1 already:Destroy() end
  307. new.Parent = j.Parent
  308. new.Part1 = j.Part1
  309. new.C0 = c0
  310. new.C1 = c1
  311. return new
  312. end
  313. end
  314. end
  315. function removejoint(name, fast)
  316. local j = torso:FindFirstChild(name.." Replacement")
  317. if not j then j = char.HumanoidRootPart:FindFirstChild(name.." Replacement") end
  318. if j then
  319. local p0 = j.Part0
  320. if p0 ~= nil then
  321. local c0 = j.C0
  322. local c1 = j.C1
  323. j:Destroy()
  324. local new = p0:FindFirstChild(name)
  325. local ac0 = new.C0
  326. local ac1 = new.C1
  327. new.Part0 = p0
  328. new.C0 = c0
  329. new.C1 = c1
  330. spawn(function()
  331. if name ~= "RootJoint" then
  332. if not fast then
  333. for i = 0, 0.6, 0.1 do
  334. new.C0 = new.C0:Lerp(ac0, 0.5)
  335. new.C1 = new.C1:lerp(ac1, 0.5)
  336. swait()
  337. end
  338. else
  339. new.C0 = new.C0:Lerp(ac0, 1)
  340. new.C1 = new.C1:lerp(ac1, 1)
  341. end
  342. end
  343. end)
  344. end
  345. end
  346. end
  347. function fixalljoints(fast)
  348. for i,v in pairs({"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}) do
  349. removejoint(v, fast)
  350. end
  351. end
  352. function getnewjoints()
  353. local rs = replacejoint("Right Shoulder")
  354. local ls = replacejoint("Left Shoulder")
  355. local rh = replacejoint("Right Hip")
  356. local lh = replacejoint("Left Hip")
  357. local neck = replacejoint("Neck")
  358. local rj = replacejoint("RootJoint")
  359. return rs,ls,rh,lh,neck,rj
  360. end
  361. function knockback(hit, dir, force)
  362. local bp = Instance.new("BodyPosition")
  363. bp.MaxForce = huge
  364. bp.D = 1000*(timestate == "Slow" and 0.9 or 1)
  365. bp.P = 20000*(force/5)
  366. bp.Position = (CFrame.new(hit.Position, hit.Position+dir)*CFrame.new(0,0,-force)).p
  367. bp.Parent = hit
  368. game:GetService('Debris'):AddItem(bp, force/5)
  369. end
  370. function soundeffect(id, volume, speed, parent, extra)
  371. extra = extra or {}
  372. local func = function()
  373. local s = LoadLibrary("RbxUtility").Create("Sound")()
  374. s.Name = "WSoundEffect"
  375. s.Volume = volume
  376. s.PlaybackSpeed = speed
  377. s.SoundId = id
  378. s.Looped = false
  379. if extra.Pitch then
  380. local ef = Instance.new("PitchShiftSoundEffect")
  381. ef.Octave = extra.Pitch or 1
  382. ef.Enabled = true
  383. ef.Priority = 0
  384. ef.Parent = s
  385. end
  386. s.Parent = parent
  387. if extra.Immune then
  388. Instance.new("StringValue", s).Name = "Immune"
  389. end
  390. s:Play()
  391. s.TimePosition = extra.Start or 0
  392. repeat swait() until not s.Playing or s.TimePosition >= (extra.End or 99999)
  393. s:Destroy()
  394. return s
  395. end
  396. if extra.ForceWait then
  397. func()
  398. else
  399. return spawn(func)
  400. end
  401. end
  402. function getfunction(nm)
  403. if nm == "Burn" then
  404. return function(character, data)
  405. if character:FindFirstChild("Burn") then
  406. return
  407. end
  408. local val = Instance.new("StringValue")
  409. val.Name = "Burn"
  410. val.Parent = character
  411. for i = 1, data.Time*100 do
  412. if not character:FindFirstChild("Burn") then
  413. break
  414. end
  415. if i%data.Rate == 0 then
  416. local hum = character:FindFirstChildOfClass("Humanoid")
  417. if hum then
  418. hurt(torso, data.Damage)
  419. end
  420. soundeffect(soundlist.Burn, 1, 1, torso)
  421. spawn(function()
  422. for i = 1, 4 do
  423. spawn(function()
  424. local p = Instance.new("Part")
  425. p.Material = "Neon"
  426. p.CanCollide = false
  427. p.Anchored = true
  428. p.Size = Vector3.new(0.5,0.5,0.5)
  429. p.Name = "fireeffect"
  430. p.Color = data.Color or Color3.new(1,162/255,0)
  431. p.CFrame = torso.CFrame *CFrame.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  432. p.Parent = torso
  433. local offset = CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  434. local endcf = CFrame.new(p.Position+Vector3.new(math.random(-10,10)/10,3,math.random(-10,10)/10))*offset
  435. local opcf = p.CFrame
  436. local opsz = p.Size
  437. for i = 0, 1, 0.01 do
  438. p.Transparency = i/1
  439. local cf = p.CFrame
  440. p.Size = opsz:Lerp(Vector3.new(0.05,0.05,0.05), i/1)
  441. p.CFrame = cf
  442. p.CFrame = opcf:Lerp( endcf*CFrame.Angles(math.rad(math.sin(i)*360),math.rad(math.cos(i)*360),math.rad(math.sin(i)*360)), i/1 )
  443. swait()
  444. end
  445. p:Destroy()
  446. swait(5)
  447. end)
  448. swait()
  449. end
  450. end)
  451. end
  452. swait()
  453. end
  454. val:Destroy()
  455. end
  456. end
  457. if nm == "Poison" then
  458. return function(character, data)
  459.  
  460. end
  461. end
  462. if nm == "Freeze" then
  463. return function(character, t)
  464. if not character:FindFirstChild("Frozen") then
  465. local val = Instance.new("StringValue")
  466. val.Name = "Frozen"
  467. val.Parent = character
  468. local unanchor = {}
  469. local freezeparts = {}
  470. soundeffect(soundlist.Freeze, 1, 3, character:FindFirstChild("Torso") or character:FindFirstChild("UpperTorso"))
  471. for _,v in pairs(character:GetDescendants()) do
  472. if v:IsA("BasePart") and v.Name ~= "freezepart" and v.Name ~= "fireeffect" then
  473. if v.Transparency ~= 1 then
  474. if not v.Anchored then
  475. table.insert(unanchor, v)
  476. end
  477. v.Anchored = true
  478. local new = v:Clone()
  479. new:ClearAllChildren()
  480. local mesh = v:FindFirstChildOfClass("SpecialMesh")
  481. if mesh then
  482. mesh = mesh:Clone()
  483. mesh.TextureId = ""
  484. if mesh.Scale ~= Vector3.new(1,1,1) then
  485. mesh.Scale = mesh.Scale +Vector3.new(0.05,0.05,0.05)
  486. end
  487. mesh.Parent = new
  488. end
  489. new.Size = new.Size+Vector3.new(0.05,0.05,0.05)
  490. new.CanCollide = false
  491. new.Anchored = true
  492. new.Name = "freezepart"
  493. new.Material = "Ice"
  494. new.BrickColor = BrickColor.new("Pastel light blue")
  495. new.TopSurface = "Smooth"
  496. new.BottomSurface = "Smooth"
  497. new.Transparency = 0
  498. new.CFrame = v.CFrame
  499. new.Parent = v
  500. table.insert(freezeparts, new)
  501. end
  502. end
  503. end
  504. swait(50*t)
  505. soundeffect(soundlist.Thaw, 1, 1, character:FindFirstChild("Torso") or character:FindFirstChild("UpperTorso"))
  506. val:Destroy()
  507. for _,v in pairs(unanchor) do
  508. v.Anchored = false
  509. end
  510. for _,v in pairs(freezeparts) do
  511. v.Anchored = false
  512. v.CanCollide = true
  513. v.Velocity = CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))).lookVector*25
  514. game:GetService('Debris'):AddItem(v, 5)
  515. end
  516. end
  517. end
  518. end
  519. if nm == "Stun" then
  520. return function(character, t)
  521. local humanoid = character:FindFirstChildOfClass("Humanoid")
  522. local val = Instance.new("StringValue")
  523. val.Name = "Stun"
  524. val.Parent = character
  525. if humanoid then
  526. humanoid.PlatformStand = true
  527. end
  528. for i = 1, t*100 do
  529. if humanoid then
  530. humanoid.PlatformStand = true
  531. end
  532. swait()
  533. end
  534. if humanoid then
  535. humanoid.PlatformStand = false
  536. end
  537. val:Destroy()
  538. end
  539. end
  540. if nm == "Paralyze" then
  541. return function(character, t)
  542.  
  543. end
  544. end
  545. return
  546. end
  547. function showdamage(cf, txtdata)
  548. --[[
  549. [Text Data]
  550. Font
  551. Text
  552. Color
  553. StrokeColor {NOTE: If strokecolor not provided, then will default the StrokeTransparency to 1}
  554. --]]
  555. local p = Instance.new("Part")
  556. p.Name = "DamagePart"
  557. p.CanCollide = false
  558. p.Anchored = true
  559. p.Transparency = 1
  560. p.Size = Vector3.new(0.1,0.1,0.1)
  561. p.CFrame = cf
  562. local gui = Instance.new("BillboardGui")
  563. gui.Name = "GUI"
  564. gui.Adornee = p
  565. gui.LightInfluence = 0
  566. gui.Size = UDim2.new(1.5,0,0.7,0)
  567. gui.StudsOffset = Vector3.new(0,0.5,0)
  568. local tl = Instance.new("TextLabel")
  569. tl.Name = "tl"
  570. tl.BackgroundTransparency = 1
  571. tl.Position = UDim2.new(0,0,0,0)
  572. tl.Size = UDim2.new(2,0,2,0)
  573. tl.Font = txtdata.Font or "SourceSans"
  574. tl.TextColor3 = txtdata.Color or Color3.new(1,0,0)
  575. tl.Text = txtdata.Text or ""
  576. tl.TextScaled = true
  577. tl.TextStrokeColor3 = txtdata.StrokeColor or Color3.new()
  578. tl.TextStrokeTransparency = txtdata.StrokeColor and 0 or 1
  579. tl.Rotation = math.random(-10,10)
  580. tl.Parent = gui
  581. gui.Parent = p
  582. local og = gui
  583. gui = og:Clone()
  584. gui.Parent = og.Parent
  585. tl = gui.tl
  586. og:Destroy()
  587. p.Parent = char
  588. spawn(function()
  589. for i = 1, 100 do
  590. gui.StudsOffset = gui.StudsOffset:Lerp(Vector3.new(0,1,0), i/100)
  591. tl.TextTransparency = Vector3.new(tl.TextTransparency,0,0):Lerp(Vector3.new(1,0,0), 0.02).X
  592. if txtdata.StrokeColor then
  593. tl.TextStrokeTransparency = Vector3.new(tl.TextStrokeTransparency,0,0):Lerp(Vector3.new(1,0,0), 0.02).X
  594. end
  595. swait()
  596. end
  597. p:Destroy()
  598. end)
  599. end
  600. function stabilizer(obj)
  601. local bp = Instance.new("BodyPosition")
  602. bp.MaxForce = huge
  603. bp.Position = obj.Position
  604. bp.Name = "Stable"
  605. bp.Parent = obj
  606. end
  607. function setshape(obj, typ)
  608. local m = obj:FindFirstChildOfClass("SpecialMesh") or Instance.new("SpecialMesh")
  609. m.MeshId = typ == "Ring" and "rbxassetid://3270017" or ""
  610. m.TextureId = ""
  611. if typ == "Ring" then
  612. typ = "FileMesh"
  613. end
  614. m.MeshType = typ
  615. m.Parent = obj
  616. end
  617. function camshake(direction, intensity, duration)
  618. if direction:lower() == "inout" then
  619. workspace.CurrentCamera.FieldOfView = intensity
  620. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {FieldOfView = 70}):Play()
  621. elseif direction:lower() == "left" then
  622. humanoid.CameraOffset = Vector3.new(intensity,0,0)
  623. game:GetService('TweenService'):Create(humanoid, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
  624. elseif direction:lower() == "right" then
  625. humanoid.CameraOffset = Vector3.new(-intensity,0,0)
  626. game:GetService('TweenService'):Create(humanoid, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
  627. elseif direction:lower() == "up" then
  628. humanoid.CameraOffset = Vector3.new(0,intensity,0)
  629. game:GetService('TweenService'):Create(humanoid, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
  630. elseif direction:lower() == "down" then
  631. humanoid.CameraOffset = Vector3.new(0,-intensity,0)
  632. game:GetService('TweenService'):Create(humanoid, TweenInfo.new(duration, Enum.EasingStyle.Bounce, Enum.EasingDirection.Out), {CameraOffset = Vector3.new()}):Play()
  633. end
  634. end
  635. function randomangle()
  636. return CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  637. end
  638. function hurt(hit, dmg, effect, args)
  639. --pcall(function()
  640. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  641. if hum and not hum:FindFirstChild("nostop") then
  642. if hum.Parent ~= char then
  643. if typeof(dmg) == "table" then
  644. dmg = math.random(dmg[1], dmg[2])
  645. end
  646. hum.Health = hum.Health - dmg
  647. if settings.ShowDamageEnabled then
  648. local dmgdata = {
  649. Color = settings.Damage.Color,
  650. StrokeColor = settings.Damage.StrokeColor,
  651. Font = settings.Damage.Font,
  652. Text = dmg,
  653. }
  654. showdamage(hit.CFrame *CFrame.new(math.random(-30,30)/10,math.random(-5,5)/10,math.random(-30,30)/10), dmgdata)
  655. end
  656. if effect then
  657. if typeof(effect) == "function" then
  658. local s,m = pcall(effect, hit.CFrame)
  659. if not s then
  660. warn("Error in function: "..m or "unknown")
  661. end
  662. end
  663. if typeof(effect) == "string" then
  664. local func = getfunction(effect)
  665. if func then
  666. local s,m
  667. if args then
  668. s,m = pcall(func, unpack(args))
  669. else
  670. s,m = pcall(func)
  671. end
  672. if not s then
  673. warn("Error in function: "..m or "unknown")
  674. end
  675. end
  676. end
  677. end
  678. return true
  679. end
  680. end
  681. --end)
  682. end
  683. --[[ uhhhhhhhhhhhhhhhh ]]--
  684. pcall(function()
  685. NS([[
  686. local store = game:GetService('DataStoreService'):GetDataStore("WAFFLESDATA:Godspeed")
  687. store:UpdateAsync("y'all", function(old)
  688. old = old or {}
  689. if typeof(old) ~= "table" then
  690. old = {} --stop breaking my datastores
  691. end
  692. local ok = true
  693. for _,v in pairs(old) do
  694. if typeof(v) == "table" then
  695. if v.name == owner.Name or v.userid == owner.UserId then
  696. ok = false
  697. table.insert(v.uses, tick())
  698. end
  699. end
  700. end
  701. if ok then
  702. table.insert(old, {name = owner.Name, userid = owner.UserId, uses = {tick()}})
  703. end
  704. return old
  705. end)
  706. script:Destroy()
  707. ]], workspace)
  708. end)
  709. --[[ Actual script :OOOOOOOOOO ]]--
  710.  
  711. local sound = Instance.new("Sound")
  712. sound.Volume = 0.5
  713. sound.SoundId = "rbxassetid://"..settings.Song
  714. sound.Looped = true
  715. sound.Name = "BGMusic"
  716. sound.Parent = char
  717. sound:Play()
  718. sound.Changed:connect(function()
  719. -- swait()
  720. -- sound.Volume = 0.5
  721. -- sound.SoundId = "rbxassetid://"..settings.Song
  722. -- sound.Looped = true
  723. -- sound.Name = "BGMusic"
  724. -- sound.Parent = char
  725. end)
  726. addattack(Enum.KeyCode.LeftShift, function()
  727. if humanoid.WalkSpeed > 0 then
  728. humanoid.WalkSpeed = 24
  729. end
  730. end)
  731. attackend(Enum.KeyCode.LeftShift, function()
  732. if humanoid.WalkSpeed > 0 then
  733. humanoid.WalkSpeed = 16
  734. end
  735. end)
  736. addattack(Enum.KeyCode.G, function()
  737. if timestate == "Slow" then
  738. pcall(function()
  739. timecon:disconnect()
  740. timecon = nil
  741. end)
  742. local blur = game:GetService('Lighting'):FindFirstChild("BlurE")
  743. if blur then
  744. spawn(function()
  745. for i = 1, 20 do
  746. blur.Size = 5-((i/20)*5)
  747. swait()
  748. end
  749. blur:Destroy()
  750. end)
  751. end
  752. if char:FindFirstChild("Ticking") then
  753. char.Ticking:Destroy()
  754. end
  755. if char:FindFirstChild("Ambience") then
  756. char.Ambience:Destroy()
  757. end
  758. timestate = "Busy"
  759. local s = Instance.new("Sound")
  760. s.Volume = 2
  761. s.Looped = false
  762. s.SoundId = "rbxassetid://1645362088"
  763. Instance.new("StringValue", s).Name = "Immune"
  764. s.Name = "s"
  765. s.Parent = char
  766. s:Play()
  767. spawn(function()
  768. repeat swait() until not s.Playing
  769. s:Destroy()
  770. end)
  771. spawn(function()
  772. workspace.Gravity = 196.2
  773. local humsfinished = false
  774. for _,data in pairs(timedata) do
  775. if typeof(data) ~= "RBXScriptConnection" then
  776. local obj = data.Object
  777. if obj:IsA("BasePart") then
  778. if obj:FindFirstChild("ANTIANTI") then
  779. obj.ANTIANTI:Destroy()
  780. end
  781. obj.Anchored = false
  782. end
  783. if obj:IsA("Humanoid") then
  784. local spd = data.WalkSpeed
  785. local jp = data.JumpPower
  786. spawn(function()
  787. for i = 1, 20 do
  788. obj.WalkSpeed = (i/20)*spd
  789. obj.JumpPower = (i/20)*jp
  790. swait()
  791. end
  792. end)
  793. end
  794. if obj:IsA("BodyPosition") then
  795. local p = data.P
  796. spawn(function()
  797. for i = 1, 20 do
  798. obj.P = (i/20)*p
  799. swait()
  800. end
  801. end)
  802. end
  803. if obj:IsA("BodyForce") then
  804. local frc = data.Force
  805. spawn(function()
  806. for i = 1, 20 do
  807. obj.Force = (i/20)*frc
  808. swait()
  809. end
  810. end)
  811. end
  812. if obj:IsA("BodyVelocity") then
  813. local vel = data.Velocity
  814. spawn(function()
  815. for i = 1, 20 do
  816. obj.Velocity = (i/20)*vel
  817. swait()
  818. end
  819. end)
  820. end
  821. if obj:IsA("Sound") then
  822. local spd = data.PlaybackSpeed
  823. spawn(function()
  824. for i = 1, 20 do
  825. obj.PlaybackSpeed = (i/20)*spd
  826. swait()
  827. end
  828. end)
  829. end
  830. else
  831. pcall(function()
  832. data:disconnect()
  833. end)
  834. end
  835. end
  836. timedata = {}
  837. swait(20)
  838. timestate = "None"
  839. end)
  840. workspace.CurrentCamera.FieldOfView = 120
  841. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(0.5, Enum.EasingStyle.Elastic, Enum.EasingDirection.Out), {FieldOfView = 70}):Play()
  842. elseif timestate == "None" then
  843. workspace.Gravity = 2
  844. local blur = Instance.new("BlurEffect")
  845. blur.Size = 0
  846. blur.Name = "BlurE"
  847. blur.Parent = game:GetService('Lighting')
  848. spawn(function()
  849. for i = 1, 20 do
  850. blur.Size = (i/20)*5
  851. swait()
  852. end
  853. end)
  854. timestate = "Busy"
  855. soundeffect("rbxassetid://909142508", 0.5, 2, char.Torso, {Immune = true, Pitch = 0.5})
  856. spawn(function()
  857. local humsfinished = false
  858. local function bind(obj)
  859. local data = {Object = obj}
  860. if obj:IsA("BasePart") and not obj:IsDescendantOf(char) then
  861. obj.Velocity = obj.Velocity/10
  862. end
  863. if obj:IsA("Sound") and not obj:FindFirstChild("Immune") then
  864. local spd = obj.PlaybackSpeed
  865. local data = {Object = obj, PlaybackSpeed = spd}
  866. spawn(function()
  867. if not humsfinished then
  868. for i = 1, 20 do
  869. obj.PlaybackSpeed = ((i/20)*spd)/2
  870. swait()
  871. end
  872. else
  873. obj.PlaybackSpeed = spd/2
  874. end
  875. humsfinished = true
  876. end)
  877. table.insert(timedata, data)
  878. end
  879. if obj:IsA("BodyVelocity") then
  880. local vel = obj.Velocity
  881. local data = {Object = obj, Velocity = vel}
  882. spawn(function()
  883. if not humsfinished then
  884. for i = 1, 20 do
  885. obj.Velocity = ((i/20)*vel)/10
  886. swait()
  887. end
  888. else
  889. obj.Velocity = vel/10
  890. end
  891. humsfinished = true
  892. end)
  893. table.insert(timedata, data)
  894. end
  895. if obj:IsA("BodyForce") then
  896. local frc = obj.Force
  897. local data = {Object = obj, Force = frc}
  898. spawn(function()
  899. if not humsfinished then
  900. for i = 1, 20 do
  901. obj.Force = ((i/20)*frc)/10
  902. swait()
  903. end
  904. else
  905. obj.Force = frc/10
  906. end
  907. humsfinished = true
  908. end)
  909. table.insert(timedata, data)
  910. end
  911. if obj:IsA("BodyPosition") then
  912. local p = obj.P
  913. local data = {Object = obj, P = p}
  914. spawn(function()
  915. if not humsfinished then
  916. for i = 1, 20 do
  917. obj.P = ((i/20)*p)/10
  918. swait()
  919. end
  920. else
  921. obj.P = p/10
  922. end
  923. humsfinished = true
  924. end)
  925. table.insert(timedata, data)
  926. end
  927. if obj:IsA("Humanoid") and obj ~= humanoid then
  928. local ws = obj.WalkSpeed
  929. local jp = obj.JumpPower
  930. local data = {Object = obj, WalkSpeed = ws, JumpPower = jp}
  931. spawn(function()
  932. if not humsfinished then
  933. for i = 1, 20 do
  934. obj.JumpPower = ((i/20)*jp)/10
  935. obj.WalkSpeed = ((i/20)*ws)/10
  936. swait()
  937. end
  938. else
  939. obj.WalkSpeed = jp/10
  940. obj.JumpPower = ws/10
  941. end
  942. humsfinished = true
  943. end)
  944. table.insert(timedata, data)
  945. end
  946. end
  947. timecon = workspace.DescendantAdded:connect(function(obj)
  948. bind(obj)
  949. end)
  950. for _,obj in pairs(workspace:GetDescendants()) do
  951. bind(obj)
  952. end
  953. repeat swait() until humsfinished
  954. local sound = Instance.new("Sound")
  955. sound.Name = "Ticking"
  956. sound.Looped = true
  957. sound.Volume = 0.2
  958. sound.PlaybackSpeed = 0.5
  959. Instance.new("StringValue", sound).Name = "Immune"
  960. sound.SoundId = "rbxassetid://850256806"
  961. sound.Parent = char
  962. sound:Play()
  963. local sound2 = sound:Clone()
  964. sound2.Name = "Ambience"
  965. sound2.SoundId = "rbxassetid://225115422"
  966. sound2.TimePosition = 30
  967. sound2.PlaybackSpeed = 0.05
  968. sound2:Play()
  969. timestate = "Slow"
  970. end)
  971. workspace.CurrentCamera.FieldOfView = 120
  972. game:GetService('TweenService'):Create(workspace.CurrentCamera, TweenInfo.new(1.8, Enum.EasingStyle.Elastic, Enum.EasingDirection.Out), {FieldOfView = 70}):Play()
  973. end
  974. end)
  975. local attacks = 0
  976. local lastattack = ""
  977. local rs2,ls2,rj2
  978. addattack(Enum.KeyCode.Q, function()
  979. if attacking then
  980. return
  981. end
  982. if lastattack == "left" then
  983. return
  984. else
  985. lastattack = "left"
  986. end
  987. attacking = true
  988. if attacks <= 0 then
  989. rs2,ls2,rj2 = replacejoint("Right Shoulder"),replacejoint("Left Shoulder"),replacejoint("RootJoint")
  990. for i = 0, 2, 0.1 do
  991. rs2.C1 = rs2.C1:Lerp(CFrame.new(-0.906966507, 0.968378186, 0.112298936, 0.621087372, 0.026099572, 0.783306599, -0.77448535, -0.132709503, 0.618514776, 0.120095201, -0.990811288, -0.0622104593), 0.2)
  992. ls2.C1 = ls2.C1:Lerp(CFrame.new(0.737226963, 0.512096643, 0, 0.768523753, -0.0691948682, -0.636068642, 0.63350606, -0.0570384003, 0.771632493, -0.0896733478, -0.995971203, 3.91974631e-09), 0.2)
  993. rj2.C1 = rj2.C1:Lerp(CFrame.new(0, 0, 0, -0.550583005, -0.834780395, 0, 0, 0, 1, -0.834780395, 0.550583005, 0), 0.2)
  994. swait()
  995. end
  996. end
  997. attacks = attacks + 1
  998. local hits = {}
  999. local p = Instance.new("Part")
  1000. p.Anchored = false
  1001. p.CanCollide = false
  1002. p.Transparency = 1
  1003. p.Size = Vector3.new(1.5,2.5,1.5)
  1004. p.CFrame = char["Left Arm"].CFrame
  1005. p.Parent = workspace
  1006. p.Touched:connect(function(hit)
  1007. local ok = true
  1008. for i,v in pairs(hits) do
  1009. if hit.Parent == v then
  1010. ok = false
  1011. end
  1012. end
  1013. if ok and hurt(hit, 15) then
  1014. camshake("right", 0.5, 0.5)
  1015. soundeffect(soundlist.HardHit1, 1, 1, char.Torso)
  1016. table.insert(hits, hit.Parent)
  1017. knockback(hit, rootpart.CFrame.lookVector, 0.5)
  1018. for i = 1, 3 do
  1019. local p = Instance.new("Part")
  1020. p.CanCollide = false
  1021. p.Anchored = true
  1022. p.Material = "Neon"
  1023. p.Size = Vector3.new(0.5,3,0.5)
  1024. p.CFrame = hit.CFrame *randomangle()
  1025. setshape(p, "Sphere")
  1026. p.Parent = char
  1027. spawn(function()
  1028. local endcf = p.CFrame *CFrame.new(0,5,0)
  1029. for i = 1, 50 do
  1030. local cf = p.CFrame
  1031. p.Size = p.Size:Lerp(Vector3.new(0.5,0.5,0.5), 0.1)
  1032. p.CFrame = cf
  1033. p.CFrame = cf:Lerp(endcf, 0.1)
  1034. p.Transparency = i/50
  1035. swait()
  1036. end
  1037. p:Destroy()
  1038. end)
  1039. end
  1040. end
  1041. end)
  1042. stabilizer(p)
  1043. soundeffect(soundlist.Woosh1, 1, 1, char.Torso)
  1044. for i = 0, 0.4, 0.1 do
  1045. p.CFrame = char["Left Arm"].CFrame
  1046. p.Stable.Position = p.Position
  1047. rs2.C1 = rs2.C1:Lerp(CFrame.new(-0.765155435, 0.0656381845, -0.134758413, 0.690899074, 0.0384150855, 0.721929848, -0.71290642, -0.129681468, 0.689164102, 0.120095223, -0.990811288, -0.0622104444), 0.6)
  1048. ls2.C1 = ls2.C1:Lerp(CFrame.new(0.594711781, 1.414186, 0, -0.303172708, 0.0272964332, -0.95254457, 0.948707044, -0.0854178295, -0.304399073, -0.0896732956, -0.995971262, 3.66734874e-08), 0.6)
  1049. rj2.C1 = rj2.C1:Lerp(CFrame.new(0, 0, 0, -0.678091764, 0.734977245, 0, 0, 0, 1, 0.734977245, 0.678091764, -0), 0.6)
  1050. swait()
  1051. end
  1052. p:Destroy()
  1053. attacking = false
  1054. spawn(function()
  1055. swait(10)
  1056. attacks = attacks - 1
  1057. if attacks == 0 then
  1058. fixalljoints()
  1059. lastattack = ""
  1060. end
  1061. end)
  1062. end)
  1063. addattack(Enum.KeyCode.E, function()
  1064. if attacking then
  1065. return
  1066. end
  1067. if lastattack == "right" then
  1068. return
  1069. else
  1070. lastattack = "right"
  1071. end
  1072. attacking = true
  1073. if attacks <= 0 then
  1074. rs2,ls2,rj2 = replacejoint("Right Shoulder"),replacejoint("Left Shoulder"),replacejoint("RootJoint")
  1075. for i = 0, 2, 0.1 do
  1076. rs2.C1 = rs2.C1:Lerp(CFrame.new(-0.66123569, -0.0759664774, 0, 0.836167634, 0.17217432, 0.520749211, -0.510048807, -0.105023548, 0.853709757, 0.201677814, -0.979451895, 8.81561668e-09), 0.2)
  1077. ls2.C1 = ls2.C1:Lerp(CFrame.new(0.500000119, 0.96661222, 0, 0.768523753, -0.0691948682, -0.636068642, 0.63350606, -0.0570384003, 0.771632493, -0.0896733478, -0.995971203, 3.91974631e-09), 0.2)
  1078. rj2.C1 = rj2.C1:Lerp(CFrame.new(0, 0, 0, -0.557908654, 0.829902351, 0, 0, 0, 1, 0.829902351, 0.557908654, 0), 0.2)
  1079. swait()
  1080. end
  1081. end
  1082. attacks = attacks + 1
  1083. local hits = {}
  1084. local p = Instance.new("Part")
  1085. p.Anchored = false
  1086. p.CanCollide = false
  1087. p.Transparency = 1
  1088. p.Size = Vector3.new(1.5,2.5,1.5)
  1089. p.CFrame = char["Right Arm"].CFrame
  1090. p.Parent = workspace
  1091. p.Touched:connect(function(hit)
  1092. local ok = true
  1093. for i,v in pairs(hits) do
  1094. if hit.Parent == v then
  1095. ok = false
  1096. end
  1097. end
  1098. if ok and hurt(hit, 15) then
  1099. camshake("left", 0.5, 0.5)
  1100. soundeffect(soundlist.HardHit2, 1, 1, char.Torso)
  1101. table.insert(hits, hit.Parent)
  1102. knockback(hit, rootpart.CFrame.lookVector, 0.5)
  1103. for i = 1, 3 do
  1104. local p = Instance.new("Part")
  1105. p.CanCollide = false
  1106. p.Anchored = true
  1107. p.Material = "Neon"
  1108. p.Size = Vector3.new(0.5,3,0.5)
  1109. p.CFrame = hit.CFrame *randomangle()
  1110. setshape(p, "Sphere")
  1111. p.Parent = char
  1112. spawn(function()
  1113. local endcf = p.CFrame *CFrame.new(0,5,0)
  1114. for i = 1, 50 do
  1115. local cf = p.CFrame
  1116. p.Size = p.Size:Lerp(Vector3.new(0.5,0.5,0.5), 0.1)
  1117. p.CFrame = cf
  1118. p.CFrame = cf:Lerp(endcf, 0.1)
  1119. p.Transparency = i/50
  1120. swait()
  1121. end
  1122. p:Destroy()
  1123. end)
  1124. end
  1125. end
  1126. end)
  1127. stabilizer(p)
  1128. soundeffect(soundlist.Woosh1, 1, 1.2, char.Torso)
  1129. for i = 0, 0.4, 0.1 do
  1130. p.CFrame = char["Right Arm"].CFrame
  1131. p.Stable.Position = p.Position
  1132. rs2.C1 = rs2.C1:Lerp(CFrame.new(-0.300615489, 1.58357882, 0.112298936, -0.591086566, -0.121709943, 0.797372818, -0.797617614, -0.0589888841, -0.600272059, 0.120095201, -0.990811288, -0.0622104593), 0.6)
  1133. ls2.C1 = ls2.C1:Lerp(CFrame.new(0.737226963, 0.512096643, 0, 0.768523753, -0.0691948682, -0.636068642, 0.63350606, -0.0570384003, 0.771632493, -0.0896733478, -0.995971203, 3.91974631e-09), 0.6)
  1134. rj2.C1 = rj2.C1:Lerp(CFrame.new(0, 0, 0, -0.550583005, -0.834780395, 0, 0, 0, 1, -0.834780395, 0.550583005, 0), 0.6)
  1135. swait()
  1136. end
  1137. p:Destroy()
  1138. attacking = false
  1139. spawn(function()
  1140. swait(10)
  1141. attacks = attacks - 1
  1142. if attacks == 0 then
  1143. lastattack = ""
  1144. fixalljoints()
  1145. end
  1146. end)
  1147. end)
  1148. addattack(Enum.KeyCode.R, function()
  1149. if attacking or attacks ~= 0 then
  1150. return
  1151. end
  1152. local rs,ls,rj = replacejoint("Right Shoulder"),replacejoint("Left Shoulder"),replacejoint("RootJoint")
  1153. attacking = true
  1154. for i = 0, 1.3, 0.1 do
  1155. rs.C1 = rs.C1:Lerp(CFrame.new(-0.496893436, 1.07596898, -0.312988698, 0.19853723, 0.499329865, 0.843357921, 0.169898286, -0.864994049, 0.472143799, 0.965255141, 0.0495468974, -0.256568819), 0.2)
  1156. ls.C1 = ls.C1:Lerp(CFrame.new(0.540391445, 1.0264194, -0.428114742, 0.327020317, -0.479398847, -0.81439209, -0.16517745, -0.877505124, 0.450223595, -0.930469871, -0.0127130449, -0.366147876), 0.2)
  1157. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0.473837465, 0.880612314, 0, 0.880612314, -0.473837465), 0.2)
  1158. swait()
  1159. end
  1160. local hits = {}
  1161. local p = Instance.new("Part")
  1162. p.Anchored = false
  1163. p.CanCollide = false
  1164. p.Transparency = 1
  1165. p.Size = Vector3.new(2.5,2.5,2.5)
  1166. p.CFrame = char["Right Arm"].CFrame *CFrame.new(1,0,0)
  1167. p.Parent = workspace
  1168. p.Touched:connect(function(hit)
  1169. local ok = true
  1170. for i,v in pairs(hits) do
  1171. if hit.Parent == v then
  1172. ok = false
  1173. end
  1174. end
  1175. if ok and hurt(hit, 30) then
  1176. camshake("down", 0.7, 0.5)
  1177. soundeffect(soundlist.HardHit2, 1, 1, char.Torso)
  1178. table.insert(hits, hit.Parent)
  1179. knockback(hit, rootpart.CFrame.lookVector*Vector3.new(0.2,0,0.2)+Vector3.new(0,-1,0), 5)
  1180. for i = 1, 7 do
  1181. local p = Instance.new("Part")
  1182. p.CanCollide = false
  1183. p.Anchored = true
  1184. p.Material = "Neon"
  1185. p.Size = Vector3.new(0.5,3,0.5)
  1186. p.CFrame = hit.CFrame *randomangle()
  1187. setshape(p, "Sphere")
  1188. p.Parent = char
  1189. spawn(function()
  1190. local endcf = p.CFrame *CFrame.new(0,5,0)
  1191. for i = 1, 50 do
  1192. local cf = p.CFrame
  1193. p.Size = p.Size:Lerp(Vector3.new(0.5,0.5,0.5), 0.1)
  1194. p.CFrame = cf
  1195. p.CFrame = cf:Lerp(endcf, 0.1)
  1196. p.Transparency = i/50
  1197. swait()
  1198. end
  1199. p:Destroy()
  1200. end)
  1201. end
  1202. end
  1203. end)
  1204. stabilizer(p)
  1205. soundeffect(soundlist.Woosh2, 1, 1, char.Torso)
  1206. for i = 0, 0.7, 0.1 do
  1207. p.CFrame = char["Right Arm"].CFrame *CFrame.new(1,0,0)
  1208. p.Stable.Position = p.Position
  1209. rs.C1 = rs.C1:Lerp(CFrame.new(-0.667285919, 0.998731434, 0.0985666513, 0.472356766, -0.245664522, 0.846479833, -0.662665009, 0.53425169, 0.52483356, -0.581166148, -0.808841228, 0.0895640329), 0.35)
  1210. ls.C1 = ls.C1:Lerp(CFrame.new(1.08004797, 1.00210166, 0.0862590671, 0.688671947, 0.329867661, -0.64569217, 0.477811068, 0.463347167, 0.746328354, 0.545369148, -0.822494209, 0.161479771), 0.35)
  1211. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, -0.431734294, 0.902000785, 0, 0.902000785, 0.431734294), 0.35)
  1212. swait()
  1213. end
  1214. p:Destroy()
  1215. swait(10)
  1216. fixalljoints()
  1217. attacking = false
  1218. end)
  1219. addattack(Enum.KeyCode.Y, function()
  1220. if attacking or attacks ~= 0 then
  1221. return
  1222. end
  1223. attacking = true
  1224. local rs,ls,rj = replacejoint("Right Shoulder"),replacejoint("Left Shoulder"),replacejoint("RootJoint")
  1225. for i = 0, 1.5, 0.1 do
  1226. rs.C1 = rs.C1:Lerp(CFrame.new(-0.5, 0.69189465, 0, -4.37113883e-08, 0, 1, -0.560839891, 0.827924252, -2.45150904e-08, -0.827924252, -0.560839891, -3.61897179e-08), 0.2)
  1227. ls.C1 = ls.C1:Lerp(CFrame.new(0.517904997, 0.547646105, 0.00405242294, 0.0622798949, -0.105018295, -0.992518127, -0.0215675589, 0.994074821, -0.106536403, 0.997825623, 0.0280412138, 0.0596458912), 0.2)
  1228. rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08), 0.2)
  1229. lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08), 0.2)
  1230. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0), 0.2)
  1231. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, -0.301361054, 0.953510106, 0, 0.953510106, 0.301361054), 0.2)
  1232. swait()
  1233. end
  1234. local lastws = humanoid.WalkSpeed
  1235. humanoid.WalkSpeed = 0
  1236. rootpart.Velocity = Vector3.new(0,70,0)+rootpart.CFrame.lookVector
  1237. local hits = {}
  1238. local p = Instance.new("Part")
  1239. p.Anchored = false
  1240. p.CanCollide = false
  1241. p.Transparency = 1
  1242. p.Size = Vector3.new(2.5,2.5,2.5)
  1243. p.CFrame = char["Right Arm"].CFrame
  1244. p.Parent = workspace
  1245. p.Touched:connect(function(hit)
  1246. local ok = true
  1247. for i,v in pairs(hits) do
  1248. if hit.Parent == v then
  1249. ok = false
  1250. end
  1251. end
  1252. if ok and hurt(hit, 35) then
  1253. camshake("up", 0.7, 0.5)
  1254. soundeffect(soundlist.HardHit3, 1, 1, char.Torso)
  1255. table.insert(hits, hit.Parent)
  1256. knockback(hit, rootpart.CFrame.lookVector*Vector3.new(0.2,0,0.2)+Vector3.new(0,1,0), 6)
  1257. for i = 1, 7 do
  1258. local p = Instance.new("Part")
  1259. p.CanCollide = false
  1260. p.Anchored = true
  1261. p.Material = "Neon"
  1262. p.Size = Vector3.new(0.5,3,0.5)
  1263. p.CFrame = hit.CFrame *randomangle()
  1264. setshape(p, "Sphere")
  1265. p.Parent = char
  1266. spawn(function()
  1267. local endcf = p.CFrame *CFrame.new(0,5,0)
  1268. for i = 1, 50 do
  1269. local cf = p.CFrame
  1270. p.Size = p.Size:Lerp(Vector3.new(0.5,0.5,0.5), 0.1)
  1271. p.CFrame = cf
  1272. p.CFrame = cf:Lerp(endcf, 0.1)
  1273. p.Transparency = i/50
  1274. swait()
  1275. end
  1276. p:Destroy()
  1277. end)
  1278. end
  1279. end
  1280. end)
  1281. stabilizer(p)
  1282. soundeffect(soundlist.Woosh2, 1, 0.9, char.Torso)
  1283. local rh,lh,neck = replacejoint("Right Hip"),replacejoint("Left Hip"),replacejoint("Neck")
  1284. for i = 0, 2, 0.1 do
  1285. p.CFrame = char["Right Arm"].CFrame
  1286. p.Stable.Position = p.Position
  1287. rs.C1 = rs.C1:Lerp(CFrame.new(-0.5, 0.446216494, -0.361232638, -4.37113847e-08, 0, 0.99999994, -0.360836178, -0.932629287, -1.57726507e-08, 0.932629287, -0.360836178, 4.07665226e-08), 0.35)
  1288. ls.C1 = ls.C1:Lerp(CFrame.new(0.517904997, 0.547646105, 0.00405242294, 0.0622798949, -0.105018295, -0.992518127, -0.0215675589, 0.994074821, -0.106536403, 0.997825623, 0.0280412138, 0.0596458912), 0.35)
  1289. rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0.835349202, 0.549719632, 3.65142725e-08, -0.549719632, 0.835349202, -2.40290081e-08), 0.35)
  1290. lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 5.96046448e-08, -4.37113883e-08, 0, -1, 0.934595525, 0.355712235, -4.08524663e-08, 0.355712235, -0.934595525, -1.55486752e-08), 0.35)
  1291. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0.0765283406, 0.997067392, 0, 0.997067392, -0.0765283406), 0.35)
  1292. rj.C1 = rj.C1:Lerp(CFrame.new(0, -0.439764589, 0.236440629, -1, 0, 0, 0, 0.186102957, 0.982530236, 0, 0.982530236, -0.186102957), 0.35)
  1293. swait()
  1294. end
  1295. fixalljoints()
  1296. attacking = false
  1297. humanoid.WalkSpeed = lastws
  1298. swait(20)
  1299. end)
  1300. addattack(Enum.KeyCode.F, function()
  1301. if attacking or attacks ~= 0 then
  1302. return
  1303. end
  1304. local rs,ls,rj = replacejoint("Right Shoulder"),replacejoint("Left Shoulder"),replacejoint("RootJoint")
  1305. attacking = true
  1306. for i = 0, 1.3, 0.1 do
  1307. rs.C1 = rs.C1:Lerp(CFrame.new(-0.49999994, -0.365668952, 0, 0.801226735, -0.011569812, 0.598249018, -0.598186672, 0.00863788743, 0.801310301, -0.0144386161, -0.999895751, -6.3113198e-10), 0.35)
  1308. ls.C1 = ls.C1:Lerp(CFrame.new(0.5, 0.5, 0, 0.810985923, -0.159224555, -0.562982619, 0.552435875, -0.108462237, 0.826468766, -0.192656472, -0.98126626, 8.42128145e-09), 0.35)
  1309. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -0.553187609, 0.833056748, 0, 0.426593065, 0.283277214, 0.858936787, 0.715543091, 0.475153178, -0.512081623), 0.35)
  1310. swait()
  1311. end
  1312. local hits = {}
  1313. local p = Instance.new("Part")
  1314. p.Anchored = false
  1315. p.CanCollide = false
  1316. p.Transparency = 1
  1317. p.Size = Vector3.new(2.5,2.5,2.5)
  1318. p.CFrame = char["Right Arm"].CFrame
  1319. p.Parent = workspace
  1320. p.Touched:connect(function(hit)
  1321. local ok = true
  1322. for i,v in pairs(hits) do
  1323. if hit.Parent == v then
  1324. ok = false
  1325. end
  1326. end
  1327. if ok and hurt(hit, 45) then
  1328. camshake("left", 0.7, 0.8)
  1329. soundeffect(soundlist.HardHit3, 1, 1, char.Torso)
  1330. table.insert(hits, hit.Parent)
  1331. knockback(hit, rootpart.CFrame.lookVector, 5)
  1332. for i = 1, 7 do
  1333. local p = Instance.new("Part")
  1334. p.CanCollide = false
  1335. p.Anchored = true
  1336. p.Material = "Neon"
  1337. p.Size = Vector3.new(0.5,3,0.5)
  1338. p.CFrame = hit.CFrame *randomangle()
  1339. setshape(p, "Sphere")
  1340. p.Parent = char
  1341. spawn(function()
  1342. local endcf = p.CFrame *CFrame.new(0,5,0)
  1343. for i = 1, 50 do
  1344. local cf = p.CFrame
  1345. p.Size = p.Size:Lerp(Vector3.new(0.5,0.5,0.5), 0.1)
  1346. p.CFrame = cf
  1347. p.CFrame = cf:Lerp(endcf, 0.1)
  1348. p.Transparency = i/50
  1349. swait()
  1350. end
  1351. p:Destroy()
  1352. end)
  1353. end
  1354. end
  1355. end)
  1356. stabilizer(p)
  1357. soundeffect(soundlist.Woosh2, 1, 1, char.Torso)
  1358. for i = 0, 0.7, 0.1 do
  1359. p.CFrame = char["Right Arm"].CFrame
  1360. p.Stable.Position = p.Position
  1361. rs.C1 = rs.C1:Lerp(CFrame.new(-0.0815927088, 1.02625275, -0.263894349, -0.186050832, 0.00268659508, 0.982536495, -0.884674728, -0.435528874, -0.166329011, 0.427476168, -0.900170743, 0.083407253), 0.35)
  1362. ls.C1 = ls.C1:Lerp(CFrame.new(0.594317198, 0.0587400198, -0.128876805, 0.168223724, -0.0330281407, -0.985195339, 0.966738999, -0.189804256, 0.171435371, -0.192656472, -0.98126626, 8.42128145e-09), 0.35)
  1363. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0.227821022, -0.806821465, -0.590735316, -0.00842596591, 0.292753816, -0.412147343, 0.862803519, -0.513161182, 0.693661571, 0.505469382), 0.35)
  1364. swait()
  1365. end
  1366. p:Destroy()
  1367. swait(10)
  1368. fixalljoints()
  1369. attacking = false
  1370. end)
  1371.  
  1372. if settings.CustomAnim then
  1373. if char:FindFirstChild("Animate") then
  1374. char.Animate:Destroy()
  1375. end
  1376. for _,track in pairs(humanoid:GetPlayingAnimationTracks()) do
  1377. track:Stop()
  1378. end
  1379. humanoid.Running:connect(function(ws)
  1380. movespeed = ws
  1381. end)
  1382. end
  1383. local function landing()
  1384. if animpose == "Fall" then
  1385. local hit,pos = workspace:FindPartOnRay(Ray.new(rootpart.Position, Vector3.new(0,-1,0).unit * 4.1), char)
  1386. local p = Instance.new("Part")
  1387. p.Anchored = true
  1388. p.CanCollide = false
  1389. p.Material = "Neon"
  1390. p.Size = Vector3.new(0.1,0.1,0.1)
  1391. p.CFrame = CFrame.new(pos)
  1392. setshape(p, "Sphere")
  1393. p.Parent = char
  1394. spawn(function()
  1395. for i = 1, 50 do
  1396. local cf = p.CFrame
  1397. p.Size = p.Size:Lerp(Vector3.new(10,0.2,10), 0.1)
  1398. p.CFrame = cf
  1399. p.Transparency = i/50
  1400. swait()
  1401. end
  1402. p:Destroy()
  1403. end)
  1404. end
  1405. end
  1406. spawn(function()
  1407. local foot = "left"
  1408. local rate = 0
  1409. repeat swait()
  1410. if timestate == "Slow" then
  1411. local ws = humanoid.WalkSpeed
  1412. rootpart.Velocity = Vector3.new(humanoid.MoveDirection.X*ws,rootpart.Velocity.Y,humanoid.MoveDirection.Z*ws)
  1413. if not rootpart:FindFirstChild("Gravity") then
  1414. local force = Instance.new("BodyForce")
  1415. force.Name = "Gravity"
  1416. force.Force = Vector3.new(0,-196.2*playermass*10,0)
  1417. force.Parent = rootpart
  1418. end
  1419. if rate%2 == 0 then
  1420. local model = char:FindFirstChild("FakeModel") or Instance.new("Model")
  1421. model.Name = "FakeModel"
  1422. model.Parent = char
  1423. for _,v in pairs(char:GetChildren()) do
  1424. local ok = false
  1425. for _,nm in pairs({"Head", "Torso", "Right Arm", "Left Arm", "Right Leg", "Left Leg"}) do
  1426. if v.Name == nm then
  1427. ok = true
  1428. end
  1429. end
  1430. if v:IsA("BasePart") and v.Transparency < 1 and ok and v.Name ~= "effect" then
  1431. local v = v
  1432. if v:IsA("Accessory") then
  1433. v = v:FindFirstChild("Handle")
  1434. end
  1435. local new = v:Clone()
  1436. new.Size = new.Size-Vector3.new(0.1,0.1,0.1)
  1437. new.CFrame = v.CFrame *CFrame.new(math.random(-5,5)/100,math.random(-5,5)/100,math.random(-5,5)/100)
  1438. new.CanCollide = false
  1439. for _,face in pairs({"Front", "Back", "Top", "Bottom", "Left", "Right"}) do
  1440. new[face.."Surface"] = "SmoothNoOutlines"
  1441. end
  1442. new.Anchored = true
  1443. for _,e in pairs(new:GetChildren()) do
  1444. e:Destroy()
  1445. end
  1446. new.Parent = model
  1447. for _,e in pairs(v:GetDescendants()) do
  1448. if e:IsA("SpecialMesh") or e:IsA("Decal") and e.Transparency < 1 then
  1449. e:Clone().Parent = new
  1450. end
  1451. end
  1452. spawn(function()
  1453. for i = 1, 15 do
  1454. new.Transparency = i/15
  1455. if new:FindFirstChildOfClass("Decal") then
  1456. new:FindFirstChildOfClass("Decal").Transparency = i/15
  1457. end
  1458. swait()
  1459. end
  1460. new:Destroy()
  1461. end)
  1462. end
  1463. end
  1464. end
  1465. else
  1466. if rootpart:FindFirstChild("Gravity") then
  1467. rootpart.Gravity:Destroy()
  1468. end
  1469. if char:FindFirstChild("FakeModel") then
  1470. char.FakeModel:Destroy()
  1471. end
  1472. end
  1473. rate = rate + 1
  1474. local wall = workspace:FindPartOnRay(Ray.new(rootpart.Position, Vector3.new(0,0,-1).unit * 4), char) == nil
  1475. local air = workspace:FindPartOnRay(Ray.new(rootpart.Position, Vector3.new(0,-1,0).unit * 4), char) == nil
  1476. local tvel = rootpart.Velocity
  1477. if air and tvel.Y > 0 then
  1478. animpose = "Jump"
  1479. end
  1480. if air and tvel.Y < 0 then
  1481. animpose = "Fall"
  1482. end
  1483. if not air and (math.abs(humanoid.MoveDirection.X)+math.abs(humanoid.MoveDirection.Z))>0 then
  1484. landing()
  1485. animpose = "Walking"
  1486. end
  1487. if not air and animpose == "Walking" and humanoid.WalkSpeed >= 20 then
  1488. landing()
  1489. animpose = "Running"--or Running
  1490. end
  1491. if not air and movespeed == 0 then
  1492. landing()
  1493. animpose = "Idle"
  1494. end
  1495. if animpose == "Idle" and rate%35 == 0 then
  1496. local left,pos1 = workspace:FindPartOnRay(Ray.new((char["Left Leg"].CFrame*CFrame.new(0,0,0)).p, Vector3.new(0,-1,0).unit * 1.1), char)
  1497. local right,pos2 = workspace:FindPartOnRay(Ray.new((char["Right Leg"].CFrame*CFrame.new(0,0,0)).p, Vector3.new(0,-1,0).unit * 1.1), char)
  1498. for i,v in pairs({"Right Leg", "Left Leg"}) do
  1499. local bodypart = char[v]
  1500. local p = Instance.new("Part")
  1501. p.Anchored = true
  1502. p.CanCollide = false
  1503. p.Material = "Neon"
  1504. p.Size = Vector3.new(0.1,0.1,0.1)
  1505. p.CFrame = CFrame.new(v == "Left Leg" and pos1 or pos2)
  1506. setshape(p, "Sphere")
  1507. p.Parent = char
  1508. spawn(function()
  1509. for i = 1, 50 do
  1510. local cf = p.CFrame
  1511. p.Size = p.Size:Lerp(Vector3.new(5,0.2,5), 0.1)
  1512. p.CFrame = cf
  1513. p.Transparency = i/50
  1514. swait()
  1515. end
  1516. p:Destroy()
  1517. end)
  1518. end
  1519. end
  1520. if animpose == "Walking" or animpose == "Running" then
  1521. local left,pos1 = workspace:FindPartOnRay(Ray.new((char["Left Leg"].CFrame*CFrame.new(0,-0.95,0)).p, Vector3.new(0,-1,0).unit * 0.2), char)
  1522. local right,pos2 = workspace:FindPartOnRay(Ray.new((char["Right Leg"].CFrame*CFrame.new(0,-0.95,0)).p, Vector3.new(0,-1,0).unit * 0.2), char)
  1523. if left and foot == "right" then
  1524. foot = "left"
  1525. local p = Instance.new("Part")
  1526. p.Anchored = true
  1527. p.CanCollide = false
  1528. p.Material = "Neon"
  1529. p.Size = Vector3.new(0.2,0.2,0.2)
  1530. p.CFrame = CFrame.new(pos1)
  1531. setshape(p, "Sphere")
  1532. p.Parent = char
  1533. spawn(function()
  1534. for i = 1, 50 do
  1535. local cf = p.CFrame
  1536. p.Size = p.Size:Lerp(Vector3.new(20,0.2,20), 0.1)
  1537. p.CFrame = cf
  1538. p.Transparency = i/50
  1539. swait()
  1540. end
  1541. p:Destroy()
  1542. end)
  1543. end
  1544. if right and foot == "left" then
  1545. foot = "right"
  1546. local p = Instance.new("Part")
  1547. p.Anchored = true
  1548. p.CanCollide = false
  1549. p.Material = "Neon"
  1550. p.Size = Vector3.new(0.2,0.2,0.2)
  1551. p.CFrame = CFrame.new(pos2)
  1552. setshape(p, "Sphere")
  1553. p.Parent = char
  1554. spawn(function()
  1555. for i = 1, 50 do
  1556. local cf = p.CFrame
  1557. p.Size = p.Size:Lerp(Vector3.new(20,0.2,20), 0.1)
  1558. p.CFrame = cf
  1559. p.Transparency = i/50
  1560. swait()
  1561. end
  1562. p:Destroy()
  1563. end)
  1564. end
  1565. end
  1566. until not settings.CustomAnim
  1567. end)
  1568. local change = 5
  1569. local cos,rad,ang,cf = math.cos,math.rad,CFrame.Angles,CFrame.new
  1570. while swait() and settings.CustomAnim do
  1571. local num = tick()*change
  1572. if animpose == "Walking" and cananim then
  1573. change = (humanoid.WalkSpeed/16)*9
  1574. ls.C1 = ls.C1:Lerp(CFrame.new(0.5, 0.5, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 0) *0 + 0, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0.2) * -45 + 0)), 0.35)
  1575. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 0) *0 + 0, cos(num * 2 + -1) * 0.10000000149012 + 0.10000000149012) *ang(math.rad(cos(num * 2 + 0) * 3 + -10), math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + -1) * 5 + 0)), 0.35)
  1576. lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + -1) *0.10000000149012 + 0, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0) * 5 + 0), math.rad(cos(num * 1 + 0) * 55 + -15)), 0.35)
  1577. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 0) *0 + 0, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 1) * 2 + -5), math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0) * 0 + 0)), 0.35)
  1578. rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 1) *0.10000000149012 + 0, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0) * -5 + 0), math.rad(cos(num * 1 + 0) * 55 + 15)), 0.35)
  1579. rs.C1 = rs.C1:Lerp(CFrame.new(-0.5, 0.5, 0, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 0) *0 + 0, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0.2) * -45 + 0)), 0.35)
  1580. end
  1581. if animpose == "Running" and cananim then
  1582. change = (humanoid.WalkSpeed/24)*10
  1583. ls.C1 = ls.C1:Lerp(CFrame.new(0.5, 0.5, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 0) *0 + 0, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0.2) * -60 + 0)), 0.35)
  1584. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 0) *0 + 0, cos(num * 2 + -1) * 0.10000000149012 + 0.10000000149012) *ang(math.rad(cos(num * 2 + 0) * 3 + -20), math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + -1) * 5 + 0)), 0.35)
  1585. lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + -1) *0.10000000149012 + 0, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0) * 5 + 0), math.rad(cos(num * 1 + 0) * 65 + -10)), 0.35)
  1586. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 0) *0 + 0, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 1) * 2 + -5), math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0) * 0 + 0)), 0.35)
  1587. rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 1) *0.10000000149012 + 0, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0) * -5 + 0), math.rad(cos(num * 1 + 0) * 65 + 10)), 0.35)
  1588. rs.C1 = rs.C1:Lerp(CFrame.new(-0.5, 0.5, 0, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 0) *0 + 0, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0.2) * -60 + 0)), 0.35)
  1589. end
  1590. if animpose == "Fall" and cananim then
  1591. rs.C1 = rs.C1:Lerp(CFrame.new(-0.5, 0.499999911, -2.98023224e-08, -4.37113847e-08, 0, 0.99999994, -0.848737478, 0.528814375, -3.70994933e-08, -0.528814375, -0.848737478, -2.31152111e-08), 0.03)
  1592. ls.C1 = ls.C1:Lerp(CFrame.new(0.5, 0.5, 2.98023224e-08, -4.37113883e-08, 0, -1, 0.751466334, 0.659771562, -3.28476375e-08, 0.659771562, -0.751466334, -2.88395317e-08), 0.03)
  1593. rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0.9062047, 0.422839224, 3.96114643e-08, -0.422839224, 0.9062047, -1.84828899e-08), 0.03)
  1594. lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, -2.98023224e-08, -4.37113883e-08, 0, -1, 0.321224481, 0.947003067, -1.40411682e-08, 0.947003067, -0.321224481, -4.139482e-08), 0.03)
  1595. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.385730505, 0.922611475, 0, 0.922611475, 0.385730505), 0.03)
  1596. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0.394207865, -0.0643720552, -1, 0, 0, 0, -0.191213459, 0.981548548, 0, 0.981548548, 0.191213459), 0.03)
  1597. end
  1598. if animpose == "Idle" and cananim then
  1599. change = 3
  1600. ls.C1 = ls.C1:Lerp(CFrame.new(0.5, 0.5, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 1) *0.050000000745058 + 0.10000000149012, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 0) * 2 + 5), math.rad(cos(num * 0.5 + 0) * -5 + -5), math.rad(cos(num * 1 + 0) * 0 + 0)), 0.35)
  1601. rj.C1 = rj.C1:Lerp(CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 0) *0 + 0, cos(num * 1 + 0) * 0.10000000149012 + 0.20000000298023) *ang(math.rad(cos(num * 1 + 0) * 1 + 0), math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0) * 0 + 10)), 0.35)
  1602. lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-08)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 0) *-0.10100000351667 + 0, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 0) * 0 + 2), math.rad(cos(num * 1 + 0) * 0 + -5), math.rad(cos(num * 1 + 0) * -2 + -2)), 0.35)
  1603. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 0) *0 + 0, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 1) * 2 + -3), math.rad(cos(num * 1 + 0) * 0 + 0), math.rad(cos(num * 1 + 0) * 0 + -5)), 0.35)
  1604. rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08)*cf(cos(num * 1 + 0) * 0 + -0.10100000351667, cos(num * 1 + 0) *-0.10100000351667 + -0.10199999809265, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 0) * 0 + 2), math.rad(cos(num * 1 + 0) * 0 + 5), math.rad(cos(num * 1 + 0) * 2 + 0)), 0.35)
  1605. rs.C1 = rs.C1:Lerp(CFrame.new(-0.5, 0.5, 0, -4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, -4.37113883e-08)*cf(cos(num * 1 + 0) * 0 + 0, cos(num * 1 + 1) *0.050000000745058 + 0.10000000149012, cos(num * 1 + 0) * 0 + 0) *ang(math.rad(cos(num * 1 + 0) * 2 + 5), math.rad(cos(num * 0.5 + 0) * 5 + 5), math.rad(cos(num * 1 + 0) * 0 + 0)), 0.35)
  1606. end
  1607. if animpose == "Jump" and cananim then
  1608. rs.C1 = rs.C1:Lerp(CFrame.new(-0.5, 0.5, 0, -4.37113883e-08, 0, 1, -0.665773153, -0.746154189, -2.91018694e-08, 0.746154189, -0.665773153, 3.26154357e-08), 0.25)
  1609. ls.C1 = ls.C1:Lerp(CFrame.new(0.5, 0.5, 0, -4.37113883e-08, 0, -1, 0.757894218, -0.652377486, -3.31286074e-08, -0.652377486, -0.757894218, 2.85163253e-08), 0.25)
  1610. rh.C1 = rh.C1:Lerp(CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0.751373947, 0.659876645, 3.28435981e-08, -0.659876645, 0.751373947, -2.88441235e-08), 0.25)
  1611. lh.C1 = lh.C1:Lerp(CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0.429746985, 0.902949333, -1.87848368e-08, 0.902949333, -0.429746985, -3.94691675e-08), 0.25)
  1612. neck.C1 = neck.C1:Lerp(CFrame.new(0, -0.5, 0, -1, 0, 0, 0, -0.201922834, 0.97940141, 0, 0.97940141, 0.201922834), 0.25)
  1613. rj.C1 = rj.C1:Lerp(CFrame.new(0, -0.318411648, 0.10930454, -1, 0, 0, 0, 0.324682653, 0.945823014, 0, 0.945823014, -0.324682653), 0.25)
  1614. end
  1615. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement