Advertisement
Ephkyr

Untitled

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