Advertisement
SirMemz

Untitled

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