Advertisement
TheRobloxGuy

Untitled

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