Advertisement
Tetezaza1542

GOd speed

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