Advertisement
Guest User

Untitled

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