Advertisement
lafur

Untitled

Mar 7th, 2019
321
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,game,owner = owner,game
  4. local RealPlayer = Player
  5. do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end --[[SCRIPT NAME]]--
  6. --[[
  7.  
  8. This is WafflesAreVeryGood's script, do not attempt to take ownership of the script.
  9.  
  10.  
  11. --]]
  12. local plr = game.Players.LocalPlayer
  13. local char = plr.Character
  14. local mouse = plr:GetMouse()
  15. local torso = char.Torso
  16. local rs = torso["Right Shoulder"]
  17. local ls = torso["Left Shoulder"]
  18. local rh = torso["Right Hip"]
  19. local lh = torso["Left Hip"]
  20. local rj = char.HumanoidRootPart.RootJoint
  21. local neck = torso.Neck
  22. local animpose = "Idle"
  23. local attacking = false
  24. local cananim = true
  25. local rage = false
  26. local shield = nil
  27. local sprint = false
  28. local canrage = true
  29. local legs = false
  30. local powers = true
  31. local energy = 1000
  32. local bc = char:WaitForChild("Body Colors")
  33. local multiplier = 1
  34. local lac = char["Body Colors"].LeftArmColor
  35. local rac = char["Body Colors"].RightArmColor
  36. local rlc = char["Body Colors"].RightArmColor
  37. local llc = char["Body Colors"].LeftLegColor
  38. local hc = char["Body Colors"].HeadColor
  39. local tc = char["Body Colors"].TorsoColor
  40. local humanoid = char:FindFirstChildOfClass("Humanoid")
  41. local huge = Vector3.new(math.huge,math.huge,math.huge)
  42. local color = BrickColor.new("Hot pink")
  43. local mobs = Instance.new("Sound", char)
  44. mobs.SoundId = "rbxassetid://988325757"
  45. mobs.Looped = true
  46. mobs.Volume = 3
  47. mobs:Play()
  48. if char:FindFirstChild("Animate") then char.Animate:Destroy() end
  49. if char:FindFirstChildOfClass("Humanoid"):FindFirstChild("Animator") then char:FindFirstChildOfClass("Humanoid").Animator:Destroy() end
  50. function legsonly()
  51. spawn(function()
  52. for i = 0, 10 do
  53. wait(0.001)
  54. if attacking then break end
  55. end
  56. if not attacking then
  57. legs = false
  58. end
  59. end)
  60. end
  61. function lightning(start,finish,segments,thickness)
  62. local full = (start.p-finish.p).magnitude
  63. local lastpart
  64. local lastscale
  65. local direction = CFrame.new(finish.p,start.p).lookVector
  66. local model
  67. model = Instance.new("Model")
  68. for i = 1, segments do
  69. if not lastscale then lastscale = 0.5 end
  70. if not lastpart then lastpart = char.Torso end
  71. local startp = lastpart.CFrame*CFrame.new(0,0,-lastscale/2)
  72. local p = Instance.new("Part", model)
  73. p.Name = "segment"..i
  74. p.Material = "Neon"
  75. p.BrickColor = color
  76. local endpos
  77. if i == segments then
  78. endpos = finish
  79. else
  80. if lastpart == char.Torso then
  81. endpos = CFrame.new(lastpart.CFrame.p,lastpart.CFrame.p+direction) *CFrame.new(math.random(-thickness*5,thickness*2),math.random(-thickness*5,thickness*5),full/segments)
  82. else
  83. endpos = CFrame.new(lastpart.CFrame.p,lastpart.CFrame.p+direction) *CFrame.new(math.random(-thickness*5,thickness*2),math.random(-thickness*5,thickness*5),full/segments)
  84. end
  85. --[[local p = Instance.new("Part", model)
  86. p.Anchored = true
  87. p.Size = Vector3.new(thickness,thickness,1)
  88. p.CanCollide = false
  89. p.CFrame = endpos]]
  90. end
  91. local mag = (startp.p-endpos.p).magnitude
  92. p.Anchored = true
  93. p.CanCollide = false
  94. local m = Instance.new("SpecialMesh", p)
  95. m.MeshType = "Brick"
  96. for i,v in pairs({"Right", "Left", "Top", "Bottom", "Front", "Back"}) do
  97. p[v.."Surface"] = "SmoothNoOutlines"
  98. end
  99. p.Size = Vector3.new(thickness,thickness,mag)
  100. p.CFrame = CFrame.new(startp.p, endpos.p) *CFrame.new(0,0,-mag/2)
  101. lastscale = mag
  102. lastpart = p
  103. end
  104. model.Parent = char
  105. spawn(function()
  106. for i = 1, 10/2 do
  107. for i,v in pairs(model:children()) do
  108. v.Mesh.Scale = v.Mesh.Scale -Vector3.new(0.1,0.1,0)*2
  109. end
  110. swait()
  111. end
  112. model:Destroy()
  113. end)
  114. end
  115. function getparent()
  116. local par = workspace:FindFirstChild("BasePlate")
  117. if not par then par = workspace:FindFirstChild("Base") end
  118. if not par then par = char.Head end
  119. return par
  120. end
  121. function swait(t)
  122. if t == nil or t == 0 then
  123. game:service('RunService').Stepped:wait(0)
  124. return true
  125. else
  126. for i = 0, t do
  127. game:service('RunService').Stepped:wait(0)
  128. end
  129. return true
  130. end
  131. end
  132. function hurt(hit, dmg)
  133. if hit.Parent then
  134. if hit.Parent:IsA("LocalScript") then hit.Parent:Destroy() end
  135. local hum = hit.Parent:FindFirstChildOfClass("Humanoid")
  136. if hum then
  137. if hum.Parent.Name ~= plr.Name then
  138. if dmg == "Kill" or hum.Health > 100000 then
  139. hit.Parent:BreakJoints()
  140. return true
  141. else
  142. if math.random(0, 100) == 50 then
  143. hum.Health = hum.Health - dmg*multiplier*2.5
  144. else
  145. hum.Health = hum.Health - dmg*multiplier
  146. end
  147. return true
  148. end
  149. end
  150. end
  151. end
  152. end
  153. function soundeffect(id, volume, speed, parent)
  154. spawn(function()
  155. local s = Instance.new("Sound")
  156. s.SoundId = id
  157. s.Volume = volume
  158. s.PlaybackSpeed = speed
  159. s.Parent = parent
  160. s:Play()
  161. repeat wait() until not s.Playing
  162. s:Destroy()
  163. end)
  164. end
  165. function gethum(obj)
  166. if obj.Parent then
  167. if obj.Parent:FindFirstChild("Humanoid") then
  168. if obj.Parent.Name ~= plr.Name then
  169. return obj.Parent:FindFirstChildOfClass("Humanoid")
  170. end
  171. end
  172. end
  173. end
  174. function smooth(obj)
  175. local sides = {"Left", "Right", "Top", "Bottom", "Front", "Back"}
  176. for i,v in pairs(sides) do
  177. obj[v.."Surface"] = "SmoothNoOutlines"
  178. end
  179. end
  180. function fade(obj, dest, grow)
  181. spawn(function()
  182. local oldcf = obj.CFrame
  183. for i = 0, 10 do
  184. if grow then
  185. obj.Size = obj.Size +Vector3.new(1,1,1)
  186. obj.CFrame = oldcf
  187. end
  188. obj.Transparency = obj.Transparency +0.1
  189. swait()
  190. end
  191. if dest then
  192. obj:Destroy()
  193. end
  194. end)
  195. end
  196. function replacejoint(name)
  197. local j = torso:FindFirstChild(name)
  198. if not j then j = char.HumanoidRootPart:FindFirstChild(name) end
  199. if j then
  200. if true then
  201. local new = Instance.new("Weld")
  202. new.Part0 = j.Part0
  203. j.Part0 = nil
  204. new.Name = j.Name.." Replacement"
  205. new.Parent = j.Parent
  206. new.Part1 = j.Part1
  207. new.C0 = j.C0
  208. new.C1 = j.C1
  209. return new
  210. end
  211. end
  212. end
  213. function removejoint(name)
  214. local j = torso:FindFirstChild(name.." Replacement")
  215. if not j then j = char.HumanoidRootPart:FindFirstChild(name.." Replacement") end
  216. if j then
  217. local p0 = j.Part0
  218. local c0 = j.C0
  219. local c1 = j.C1
  220. j:Destroy()
  221. local new = p0:FindFirstChild(name)
  222. local ac0 = new.C0
  223. local ac1 = new.C1
  224. new.Part0 = p0
  225. new.C0 = c0
  226. new.C1 = c1
  227. end
  228. end
  229. function fixalljoints()
  230. for i,v in pairs({"Right Shoulder", "Left Shoulder", "Right Hip", "Left Hip", "Neck", "RootJoint"}) do
  231. removejoint(v)
  232. end
  233. end
  234. function getnewjoints()
  235. local rs = replacejoint("Right Shoulder")
  236. local ls = replacejoint("Left Shoulder")
  237. local rh = replacejoint("Right Hip")
  238. local lh = replacejoint("Left Hip")
  239. local neck = replacejoint("Neck")
  240. local rj = replacejoint("RootJoint")
  241. return rs,ls,rh,lh,neck,rj
  242. end
  243. local tdown = false
  244. local jdown = false
  245. mouse.KeyDown:connect(function(key)
  246. if powers then
  247. if key == "r" and not attacking then
  248. attacking = true
  249. humanoid.AutoRotate = false
  250. local rs = replacejoint("Right Shoulder")
  251. local p = Instance.new("Part")
  252. p.CanCollide = false
  253. p.Anchored = true
  254. smooth(p)
  255. p.Transparency = 1
  256. p.Size = Vector3.new(0.2,0.2,0.2)
  257. local pe = Instance.new("ParticleEmitter", p)
  258. pe.Color = ColorSequence.new(color.Color)
  259. pe.LightEmission = 0.7
  260. pe.Size = NumberSequence.new(1)
  261. pe.Texture = "rbxassetid://243664672"
  262. pe.Transparency = NumberSequence.new(0.5)
  263. pe.Lifetime = NumberRange.new(0.3)
  264. pe.Rate = 500
  265. pe.Speed = NumberRange.new(3)
  266. p.Parent = getparent()
  267. local sphere = Instance.new("Part")
  268. smooth(sphere)
  269. sphere.Anchored = true
  270. sphere.CanCollide = false
  271. sphere.Name = "cool ball just for looks"
  272. sphere.BrickColor = color
  273. sphere.Material = "Neon"
  274. sphere.Transparency = 1
  275. sphere.Size = Vector3.new(5,5,5)
  276. local m = Instance.new("SpecialMesh")
  277. m.MeshType = "Sphere"
  278. m.Parent = sphere
  279. sphere.Parent = getparent()
  280. local crown = Instance.new("Part")
  281. crown.Anchored = true
  282. crown.CanCollide = false
  283. crown.BrickColor = color
  284. crown.Transparency = 1
  285. crown.Size = Vector3.new(1,1,1)
  286. crown.CFrame = char["Right Arm"].CFrame *CFrame.new(0,-1.5,0) *CFrame.Angles(math.rad(180),0,0)
  287. local m = Instance.new("SpecialMesh")
  288. m.MeshId = "rbxassetid://20329976"
  289. m.Scale = Vector3.new(4,4,4)
  290. m.Parent = crown
  291. crown.Parent = getparent()
  292. spawn(function()
  293. local num = 0
  294. local num2 = 0
  295. repeat swait()
  296. num2 = num2 + 10
  297. sphere.CFrame = char["Right Arm"].CFrame *CFrame.new(0,-2,0)
  298. crown.CFrame = char["Right Arm"].CFrame *CFrame.new(0,-1.5,0) *CFrame.Angles(math.rad(180),0,0)
  299. crown.CFrame = crown.CFrame:Lerp(crown.CFrame*CFrame.Angles(math.rad(0),math.rad(num2),0),0.5)
  300. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0, 0, 1, 0.999848902, -0.0174523108, 0, 0.0174523108, 0.999848902, 0), 0.3)
  301. mouse.TargetFilter = char
  302. local dir = CFrame.new(char.HumanoidRootPart.CFrame.p, mouse.Hit.p).lookVector
  303. local x = dir.X
  304. local z = dir.Z
  305. mouse.TargetFilter = nil
  306. char.HumanoidRootPart.CFrame = CFrame.new(char.HumanoidRootPart.CFrame.p, char.HumanoidRootPart.CFrame.p+Vector3.new(x,0,z))
  307. num = num + 0.5
  308. local sin = math.sin(num)*2
  309. local cos = math.cos(num)*2
  310. p.CFrame = char["Right Arm"].CFrame *CFrame.new(sin,0,cos) *CFrame.new(0,-2,0)
  311. until not attacking
  312. p:Destroy()
  313. end)
  314. wait(2)
  315. local old
  316. soundeffect("rbxassetid://262562442", 2, 0.6, char.Torso)
  317. for i = 1, 100 do
  318. sphere.Transparency = sphere.Transparency -0.05
  319. crown.Transparency = sphere.Transparency
  320. local save = p
  321. if old then old:Destroy() end
  322. local p = Instance.new("Part")
  323. p.Anchored = false
  324. p.CanCollide = false
  325. p.Transparency = crown.Transparency
  326. p.BrickColor = color
  327. p.Material = "Neon"
  328. local start = char["Right Arm"].CFrame*CFrame.new(0,-3,0)
  329. mouse.TargetFilter = char
  330. local ray = Ray.new(start.p, (mouse.Hit.p-start.p).unit*500)
  331. local ignore = {char, save}
  332. local hit, pos = workspace:FindPartOnRayWithIgnoreList(ray, ignore)
  333. if pos then
  334. mouse.TargetFilter = char
  335. local mag = (start.p-pos).magnitude
  336. p.Name = "the sun is a deadly lazer"
  337. p.Size = Vector3.new(mag,5,5)
  338. local dir = CFrame.new(start.p, pos).lookVector
  339. p.CFrame = CFrame.new(start.p,start.p+dir) *CFrame.new(0,0,-mag/2) *CFrame.Angles(0,math.rad(90),0)
  340. local m = Instance.new("SpecialMesh")
  341. m.MeshType = "Cylinder"
  342. m.Parent = p
  343. if i ~= 100 then
  344. local bp = Instance.new("BodyPosition")
  345. bp.MaxForce = huge
  346. bp.Position = p.CFrame.p
  347. bp.Parent = p
  348. end
  349. p.Parent = getparent()
  350. mouse.TargetFilter = nil
  351. p.Touched:connect(function(hit)
  352. hurt(hit, 10)
  353. end)
  354. old = p
  355. end
  356. mouse.TargetFilter = nil
  357. swait()
  358. end
  359. if old then
  360. local p = old
  361. local op = p.CFrame
  362. for i = 1, 20 do
  363. p.Anchored = true
  364. p.Mesh.Scale = p.Mesh.Scale:Lerp(Vector3.new(1,0,0), 0.15)
  365. sphere.Mesh.Scale = sphere.Mesh.Scale:Lerp(Vector3.new(0,0,0), 0.15)
  366. crown.Mesh.Scale = crown.Mesh.Scale:Lerp(Vector3.new(0,0,0), 1.5)
  367. p.CFrame = op
  368. swait()
  369. end
  370. p:Destroy()
  371. end
  372. p:Destroy()
  373. sphere:Destroy()
  374. crown:Destroy()
  375. removejoint("Right Shoulder")
  376. attacking = false
  377. humanoid.AutoRotate = true
  378. end
  379. end
  380. if key == "v" and not attacking and animpose == ("Idle" or "Walking") then
  381. attacking = true
  382. humanoid.WalkSpeed = 0
  383. local p = Instance.new("Part")
  384. p.Anchored = true
  385. p.Name = "Path"
  386. p.BrickColor = color
  387. p.Material = "Neon"
  388. p.Size = Vector3.new(1,0.2,0.2)
  389. p.CFrame = char.Torso.CFrame *CFrame.new(0,-3,0)
  390. p.Parent = getparent()
  391. for i = 0, 2, 0.1 do
  392. p.Size = p.Size:Lerp(Vector3.new(1,0.2,7), 0.2)
  393. p.CFrame = char.Torso.CFrame *CFrame.new(0,-3,0) *CFrame.new(0,0,-p.Size.Z/2)
  394. swait()
  395. end
  396. local mod = Instance.new("Model")
  397. mod.Name = "The great wall on the southern US border"
  398. mod.Parent = getparent()
  399. local p2 = Instance.new("Part")
  400. p2.Name = "donald trump wall"
  401. p2.Anchored = true
  402. p2.BrickColor = color
  403. p2.Material = "Neon"
  404. p2.Size = Vector3.new(1,0.2,1)
  405. p2.CFrame = char.Torso.CFrame *CFrame.new(0,-3,0) *CFrame.new(0,0,-p.Size.Z)
  406. p2.Parent = mod
  407. for i = 0, 2, 0.1 do
  408. local ocf = p2.CFrame
  409. p2.Size = p2.Size:Lerp(Vector3.new(25,0.2,1), 0.2)
  410. p2.CFrame = ocf
  411. swait()
  412. end
  413. for i = 0, 2, 0.1 do
  414. local ocf = p2.CFrame
  415. p2.Size = p2.Size:Lerp(Vector3.new(25,25,1), 0.2)
  416. p2.CFrame = ocf
  417. swait()
  418. end
  419. local hum = Instance.new("Humanoid")
  420. hum.MaxHealth = 200*multiplier
  421. hum.Parent = mod
  422. spawn(function()
  423. repeat wait() until hum.Health <= 0
  424. local wall = p2
  425. local p1 = Instance.new("Part")
  426. p1.Name = "fragment"
  427. p1.Anchored = true
  428. p1.BrickColor = color
  429. p1.Material = "SmoothPlastic"
  430. smooth(p1)
  431. p1.Size = Vector3.new(25/2,25/2,1)
  432. p1.CFrame = wall.CFrame *CFrame.new(25/2,25/2,0)
  433. p1.Parent = mod
  434. local p2 = p1:Clone()
  435. p2.CFrame = wall.CFrame *CFrame.new(-25/2,25/2,0)
  436. local p3 = p1:Clone()
  437. p3.CFrame = wall.CFrame*CFrame.new(-25/2,-25/2,0)
  438. local p4 = p1:Clone()
  439. p4.CFrame = wall.CFrame *CFrame.new(25/2,-25/2,0)
  440. p2.Parent = mod
  441. p3.Parent = mod
  442. p4.Parent = mod
  443. wall:Destroy()
  444. for i,v in pairs({p1,p2,p3,p4}) do
  445. v.Anchored = false
  446. v.CanCollide = false
  447. v.CFrame = v.CFrame *CFrame.new(math.random(-0.2,0.2),math.random(-0.2,0.2),math.random(-0.2,0.2)) *CFrame.Angles(math.rad(math.random(-2,2)),math.rad(math.random(-2,2)),math.rad(math.random(-2,2)))
  448. end
  449. game.Debris:AddItem(mod, 3)
  450. end)
  451. swait()
  452. hum.Health = 200*multiplier
  453. attacking = false
  454. humanoid.WalkSpeed = 16
  455. local cf = char.Torso.CFrame *CFrame.new(0,-3,0)
  456. for i = 0, 2, 0.1 do
  457. p.Size = p.Size:Lerp(Vector3.new(1,0.2,0), 0.2)
  458. p.CFrame = cf *CFrame.new(0,0,-p.Size.Z/2)
  459. swait()
  460. end
  461. p:Destroy()
  462. end
  463. if key == "q" and not attacking then
  464. attacking = true
  465. local rs = replacejoint("Right Shoulder")
  466. local rj = replacejoint("RootJoint")
  467. local p = Instance.new("Part")
  468. p.Anchored = false
  469. p.CanCollide = false
  470. p.BrickColor = color
  471. p.Material = "Neon"
  472. smooth(p)
  473. p.Name = "pole up ur but"
  474. p.Size = Vector3.new(0.2,0.5,0.5)
  475. local m = Instance.new("SpecialMesh")
  476. m.MeshType = "Cylinder"
  477. m.Parent = p
  478. p.Parent = getparent()
  479. local w = Instance.new("Weld")
  480. w.Part0 = p
  481. w.Part1 = char["Right Arm"]
  482. w.C1 = CFrame.new(0,-1,0) --*CFrame.Angles(0,math.rad(90),0)
  483. w.Parent = p
  484. for i = 0, 2, 0.1 do
  485. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.173648581, 0.984808862, 0, 0, 0, 1, 0.984808862, 0.173648581, 0), 0.2)
  486. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0, 0.121869408, 0.992547333, 0.999848902, 0.0173224807, -0.0021269382, -0.0174525417, 0.992397845, -0.121851459), 0.2)
  487. local ocf = p.CFrame
  488. p.Size = p.Size:Lerp(Vector3.new(5,0.5,0.5), 0.2)
  489. p.CFrame = ocf
  490. w = Instance.new("Weld")
  491. w.Part0 = p
  492. w.Part1 = char["Right Arm"]
  493. w.C1 = CFrame.new(0,-1,0) --*CFrame.Angles(0,math.rad(90),0)
  494. w.Parent = p
  495. swait()
  496. end
  497. for i = 0, 1, 0.1 do
  498. if i == 0.2 then
  499. soundeffect("rbxassetid://166423113", 2, 1, char.Torso)
  500. w:Destroy()
  501. p.CFrame = CFrame.new(p.Position, mouse.Hit.p)
  502. local bv = Instance.new("BodyVelocity")
  503. bv.MaxForce = huge
  504. bv.Velocity = p.CFrame.lookVector*200
  505. p.CFrame = CFrame.new(p.Position, mouse.Hit.p) *CFrame.Angles(0,math.rad(90),0)
  506. bv.Parent = p
  507. p.Touched:connect(function(hit)
  508. if hurt(hit, 40) then
  509. local p1 = Instance.new("Part")
  510. soundeffect("rbxassetid://636458264", 2, 1, p1)
  511. p1.Anchored = true
  512. p1.CanCollide = false
  513. p1.BrickColor = color
  514. p1.Material = "Neon"
  515. p1.Name = "omega ex-u-plosion"
  516. p1.CFrame = p.CFrame
  517. p1.Size = Vector3.new(0.2,0.2,0.2)
  518. p1.Transparency = 1
  519. local m = Instance.new("SpecialMesh")
  520. m.MeshType = "Sphere"
  521. m.Parent = p1
  522. p1.Parent = getparent()
  523. local sub = -0.1
  524. for i = 1, 30 do
  525. if i >= 15 then sub = 0.1 end
  526. p1.Transparency = p1.Transparency + sub
  527. local cf = p1.CFrame
  528. p1.Size = p1.Size:Lerp(Vector3.new(10,10,10),0.2)
  529. p1.CFrame = cf
  530. swait()
  531. end
  532. p1:Destroy()
  533. end
  534. end)
  535. end
  536. game.Debris:AddItem(p, 10)
  537. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0, -0.453991294, 0.891008019, 0.999848902, 0.0155503647, 0.00792330131, -0.0174525417, 0.890873849, 0.45392251), 0.4)
  538. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.999392986, -0.0348995253, 0, 0, 0, 1, -0.0348995253, 0.999392986, 0), 0.4)
  539. swait()
  540. end
  541. attacking = false
  542. fixalljoints()
  543. end
  544. if key == "f" and not attacking then
  545. attacking = true
  546. humanoid.WalkSpeed = 0
  547. local touch = false
  548. local num = 0
  549. local parts = {}
  550. local last = char.Torso.CFrame *CFrame.new(0,-3,0)
  551. local lastscale = 1.5
  552. local x,z = 0,0
  553. local udown = false
  554. local con = mouse.KeyDown:connect(function(key)
  555. if key == "w" then
  556. z = z + -2
  557. udown = true
  558. end
  559. if key == "a" then
  560. x = x + -0.3
  561. end
  562. if key == "d" then
  563. x = x + 0.3
  564. end
  565. end)
  566. local con2 = mouse.KeyUp:connect(function(key)
  567. if key == "w" then
  568. udown = false
  569. z = z - -2
  570. end
  571. if key == "a" then
  572. x = x - -0.3
  573. end
  574. if key == "d" then
  575. x = x - 0.3
  576. end
  577. end)
  578. local dir = char.Torso.CFrame.lookVector
  579. local o = workspace.CurrentCamera.CameraType
  580. repeat swait()
  581. local start = last *CFrame.new(0,0,-lastscale/2)
  582. local thing = false
  583. if z == 0 then
  584. z = -2
  585. thing = true
  586. end
  587. local finish = last *CFrame.new(x,0,z)
  588. local mag = (start.p-finish.p).magnitude
  589. num = num + 1
  590. local p = Instance.new("Part")
  591. p.Size = Vector3.new(1,0.2,mag)
  592. p.Name = "cool looking line that is just for looks"
  593. p.Anchored = true
  594. p.BrickColor = color
  595. p.Material = "Neon"
  596. smooth(p)
  597. p.CFrame = CFrame.new(start.p, finish.p)
  598. p.CFrame = p.CFrame *CFrame.new(0,0,-mag/2)
  599. last = p.CFrame
  600. lastscale = mag
  601. local m = Instance.new("SpecialMesh")
  602. m.MeshType = "Brick"
  603. m.Parent = p
  604. p.Touched:connect(function(hit)
  605. if hurt(hit, 200) then
  606. touch = true
  607. local p1 = Instance.new("Part")
  608. soundeffect("rbxassetid://636458264", 2, 1, p1)
  609. p1.Anchored = true
  610. p1.CanCollide = false
  611. p1.BrickColor = color
  612. p1.Material = "Neon"
  613. p1.Name = "omega ex-u-plosion"
  614. p1.CFrame = p.CFrame
  615. p1.Size = Vector3.new(0.2,0.2,0.2)
  616. p1.Transparency = 1
  617. local m = Instance.new("SpecialMesh")
  618. m.MeshType = "Sphere"
  619. m.Parent = p1
  620. p1.Parent = getparent()
  621. local sub = -0.1
  622. for i = 1, 30 do
  623. if i >= 15 then sub = 0.1 end
  624. p1.Transparency = p1.Transparency + sub
  625. local cf = p1.CFrame
  626. p1.Size = p1.Size:Lerp(Vector3.new(10,10,10),0.2)
  627. p1.CFrame = cf
  628. swait()
  629. end
  630. p1:Destroy()
  631. end
  632. end)
  633. table.insert(parts, p)
  634. p.Parent = getparent()
  635. workspace.CurrentCamera.CameraType = "Scriptable"
  636. workspace.CurrentCamera.CFrame = workspace.CurrentCamera.CFrame:Lerp(p.CFrame *CFrame.new(0,1,0),0.5)
  637. if thing then
  638. z = 0 thing = false
  639. end
  640. until touch or num == 500
  641. workspace.CurrentCamera.CameraType = o
  642. for i = 0, 1, 0.1 do
  643. for i,v in pairs(parts) do
  644. v.Mesh.Scale = v.Mesh.Scale:Lerp(Vector3.new(0,1,1),0.3)
  645. end
  646. swait()
  647. end
  648. for i,v in pairs(parts) do
  649. v:Destroy()
  650. end
  651. humanoid.WalkSpeed = 16
  652. attacking = false
  653. end
  654. if key == "t" and not attacking then
  655. attacking = true
  656. cananim = false
  657. tdown = true
  658. humanoid.WalkSpeed = 0
  659. local num = 0
  660. local dmg = 0
  661. local light = 0
  662. local p = Instance.new("Part")
  663. soundeffect("rbxassetid://163619849", 2, 1, p)
  664. p.Name = "ring o deth"
  665. p.Size = Vector3.new(1.16*4, 1.16*4, 0.16*8)
  666. p.CanCollide = false
  667. p.Anchored = false
  668. p.BrickColor = color
  669. p.Transparency = 0.5
  670. p.CFrame = char.Torso.CFrame *CFrame.Angles(math.rad(0),math.rad(90),math.rad(90))
  671. local m = Instance.new("SpecialMesh")
  672. m.MeshId = "rbxassetid://3270017"
  673. m.Scale = Vector3.new(4,4,8)
  674. m.Parent = p
  675. p.Touched:connect(function(hit)
  676. hurt(hit, dmg)
  677. end)
  678. p.Parent = getparent()
  679. local w = Instance.new("Weld")
  680. w.Part0 = char.Torso
  681. w.Part1 = p
  682. w.C1 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, 1, 1.74845553e-07, 1, 7.64274186e-15, -1, 1.74845553e-07, -4.37113883e-08)
  683. w.Parent = char.Torso
  684. repeat swait()
  685. light = light + 1
  686. if light%20 then
  687. lightning(char.Torso.CFrame, char.Torso.CFrame *CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)),3,0.2)
  688. end
  689. if num <= 200 then
  690. num = num + 10
  691. end
  692. if dmg <= 90 then
  693. dmg = dmg + 5
  694. end
  695. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.259163707, -0.797623932, -0.544639647, -0.937001169, 0.344397515, -0.0585029572, 0.234235883, 0.495166451, -0.83662957), 0.2)
  696. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -0.262061596, 0.806542575, 0.529919863, 0.919012129, 0.376151204, -0.118025884, -0.294522434, 0.45607245, -0.839796424), 0.2)
  697. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -0.099999927, -0.400000006, 0, 0, -1, 0.190809026, 0.981627405, 0, 0.981627405, -0.190809026, 0), 0.2)
  698. rh.C0 = rh.C0:Lerp(CFrame.new(1, -0.099999927, -0.5, 0, 0, 1, -0.190809026, 0.981627524, 0, -0.981627524, -0.190809026, 0), 0.2)
  699. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0.275637418, 0.961262047, 0, 0.961262047, -0.275637418), 0.2)
  700. rj.C0 = rj.C0:Lerp(rj.C0*CFrame.Angles(math.rad(50),0,0), 0.5)
  701. until not tdown
  702. local bv = Instance.new("BodyVelocity")
  703. bv.MaxForce = huge
  704. char.Torso.CFrame = CFrame.new(char.Torso.Position, char.Torso.Position+workspace.CurrentCamera.CFrame.lookVector)
  705. bv.Velocity = workspace.CurrentCamera.CFrame.lookVector*num
  706. bv.Parent = char.Torso
  707. for i = 1, 100 do
  708. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.259163707, -0.797623932, -0.544639647, -0.937001169, 0.344397515, -0.0585029572, 0.234235883, 0.495166451, -0.83662957), 0.2)
  709. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -0.262061596, 0.806542575, 0.529919863, 0.919012129, 0.376151204, -0.118025884, -0.294522434, 0.45607245, -0.839796424), 0.2)
  710. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -0.099999927, -0.400000006, 0, 0, -1, 0.190809026, 0.981627405, 0, 0.981627405, -0.190809026, 0), 0.2)
  711. rh.C0 = rh.C0:Lerp(CFrame.new(1, -0.099999927, -0.5, 0, 0, 1, -0.190809026, 0.981627524, 0, -0.981627524, -0.190809026, 0), 0.2)
  712. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0.275637418, 0.961262047, 0, 0.961262047, -0.275637418), 0.2)
  713. rj.C0 = rj.C0:Lerp(rj.C0*CFrame.Angles(math.rad(50),0,0), 0.5)
  714. swait()
  715. end
  716. p:Destroy()
  717. bv:Destroy()
  718. cananim = true
  719. attacking = false
  720. humanoid.WalkSpeed = 16
  721. end
  722. if key == "g" and not attacking then
  723. attacking = true
  724. local rs = replacejoint("Right Shoulder")
  725. local rj = replacejoint("RootJoint")
  726. local p = Instance.new("Part")
  727. p.Size = Vector3.new(0.2,0.2,0.2)
  728. p.Name = "ball that will make an EXU-PLOSION!"
  729. p.Material = "Neon"
  730. p.BrickColor = color
  731. smooth(p)
  732. local m = Instance.new("SpecialMesh")
  733. m.MeshType = "Sphere"
  734. m.Parent = p
  735. p.Parent = getparent()
  736. local w = Instance.new("Weld")
  737. w.Part0 = char["Right Arm"]
  738. w.Part1 = p
  739. w.C1 = CFrame.new(0,2,0)
  740. w.Parent = char["Right Arm"]
  741. for i = 0, 2, 0.1 do
  742. p.Size = p.Size:Lerp(Vector3.new(1,1,1), 0.3)
  743. w = Instance.new("Weld")
  744. w.Part0 = char["Right Arm"]
  745. w.Part1 = p
  746. w.C1 = CFrame.new(0,2,0)
  747. w.Parent = char["Right Arm"]
  748. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.933580935, -0.358368069, 0, 0, 0, 1, -0.358368039, 0.933580995, 0), 0.2)
  749. rs.C0 = rs.C0:Lerp(CFrame.new(1.50000072, -5.81145287e-07, 0, 0, -1.00000119, 1.15483999e-07, 0, 1.15483999e-07, 1.00000119, -1, 0, 0), 0.2)
  750. swait()
  751. end
  752. for i = 0, 1, 0.1 do
  753. if i == 0.4 then
  754. soundeffect("rbxassetid://166423113", 2, 1, char.Torso)
  755. w:Destroy()
  756. p.Touched:connect(function(hit)
  757. if hit.Parent then
  758. if hit.Parent.Name ~= plr.Name and not hit.Parent:IsA("Accessory") then
  759. local e = Instance.new("Part")
  760. soundeffect("rbxassetid://636458264", 2, 1, e)
  761. e.Name = "EXTREME EXPLOSION"
  762. e.Size = Vector3.new(1,1,1)
  763. smooth(e)
  764. e.CanCollide = false
  765. e.Material = "Neon"
  766. e.CFrame = p.CFrame
  767. e.BrickColor = color
  768. p.Transparency = 1
  769. p:Destroy()
  770. e.Touched:connect(function(hit)
  771. hurt(hit, 40)
  772. end)
  773. e.Parent = getparent()
  774. local go = 1/15
  775. for i = 1, 30 do
  776. if i == 15 then go = -1/15 end
  777. local o = e.CFrame
  778. e.Size = e.Size:Lerp(Vector3.new(30,30,30), 0.2)
  779. e.Transparency = e.Transparency - go
  780. e.CFrame = o
  781. swait()
  782. end
  783. end
  784. end
  785. end)
  786. local bv = Instance.new("BodyVelocity")
  787. bv.MaxForce = huge
  788. bv.Velocity = CFrame.new(p.CFrame.p, mouse.Hit.p).lookVector*150
  789. bv.Parent = p
  790. swait(10)
  791. bv:Destroy()
  792. end
  793. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.984808564, 0.173648387, 0, 0, 0, 1, 0.173648417, 0.984808564, 0), 0.4)
  794. rs.C0 = rs.C0:Lerp(CFrame.new(1.10660362, 0.0137371887, -0.452826679, -0.754252374, 0.655661404, 0.034899652, 0.0263391752, -0.0228962805, 0.999392033, 0.65606004, 0.754711151, 0), 0.4)
  795. swait()
  796. end
  797. attacking = false
  798. fixalljoints()
  799. end
  800. if key == "j" and not attacking then
  801. if not rage then
  802. jdown = true
  803. humanoid.MaxHealth = 10000
  804. humanoid.Health = 10000
  805. local p = Instance.new("Part")
  806. p.Anchored = false
  807. p.CanCollide = false
  808. p.Size = Vector3.new(1,1,1)
  809. p.Name = "cool powers"
  810. p.Transparency = 1
  811. local pe = Instance.new("ParticleEmitter")
  812. pe.Name = "cool effects that are just for looks cause everything looks cool with particleemitters"
  813. pe.Color = ColorSequence.new(color.Color)
  814. pe.LightEmission = 0.7
  815. pe.Size = NumberSequence.new(1)
  816. pe.Texture = "rbxassetid://243664672"
  817. pe.Transparency = NumberSequence.new(0)
  818. pe.ZOffset = 0
  819. pe.Acceleration = Vector3.new(0,0,0)
  820. pe.Drag = 0
  821. pe.LockedToPart = true
  822. pe.VelocityInheritance = 0
  823. pe.Lifetime = NumberRange.new(10)
  824. pe.Rate = 5
  825. pe.Rotation = NumberRange.new(0)
  826. pe.RotSpeed = NumberRange.new(0)
  827. pe.Speed = NumberRange.new(0)
  828. pe.VelocitySpread = 0
  829. pe.Parent = p
  830. local w = Instance.new("Weld")
  831. w.Part0 = p
  832. w.Part1 = char["Right Arm"]
  833. w.C1 = CFrame.new(0,-1.2,0)
  834. w.Parent = p
  835. p.Parent = char
  836. local p2 = p:Clone()
  837. p2.Parent = char
  838. p2:FindFirstChild("Weld"):Destroy()
  839. local w2 = Instance.new("Weld")
  840. w2.Part0 = p2
  841. w2.Part1 = char["Left Arm"]
  842. w2.C1 = CFrame.new(0,-1.2,0)
  843. w2.Parent = p2
  844. multiplier = 2
  845. mobs.SoundId = "rbxassetid://246495880"
  846. mobs:Play()
  847. rage = true
  848. local num = 0
  849. repeat swait()
  850. num = num + 1
  851. until not jdown
  852. if num >= 50 then
  853. pe.Size = NumberSequence.new(2)
  854. p2:FindFirstChild(pe.Name).Size = pe.Size
  855. multiplier = 5
  856. mobs:Play()
  857. mobs.PlaybackSpeed = 1.5
  858. end
  859. else
  860. for i = 1, 2 do
  861. local obj = char:FindFirstChild("cool powers")
  862. if obj then
  863. obj:Destroy()
  864. end
  865. end
  866. mobs.SoundId = "rbxassetid://380090290"
  867. mobs.PlaybackSpeed = 1
  868. mobs:Play()
  869. rage = false
  870. multiplier = 1
  871. humanoid.MaxHealth = 500
  872. end
  873. end
  874. if key == "e" and not attacking then
  875. attacking = true
  876. local rs = replacejoint("Right Shoulder")
  877. local con = char["Right Arm"].Touched:connect(function(hit)
  878. if hurt(hit, 50) then
  879. local bv = Instance.new("BodyVelocity")
  880. bv.MaxForce = huge
  881. bv.Velocity = -char["Right Arm"].CFrame.upVector*100
  882. bv.Parent = hit
  883. game.Debris:AddItem(bv, 1)
  884. end
  885. end)
  886. for i = 0, 2, 0.1 do
  887. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)*CFrame.Angles(0,0,math.rad(90)), 0.2)
  888. swait()
  889. end
  890. swait(10)
  891. con:disconnect()
  892. fixalljoints()
  893. attacking = false
  894. end
  895. if key == "z" and not attacking then
  896. if powers then
  897. powers = false
  898. else
  899. powers = true
  900. end
  901. end
  902. end)
  903. mouse.KeyUp:connect(function(key)
  904. if key == "t" and attacking and tdown then
  905. tdown = false
  906. end
  907. if key == "j" and rage then
  908. jdown = false
  909. end
  910. end)
  911. local lp
  912. spawn(function()
  913. local num = 0
  914. while swait() do
  915. if not attacking then
  916. energy = energy + 1
  917. end
  918. local v = char.HumanoidRootPart.Velocity
  919. if v.Y > 15 then
  920. animpose = "Jump"
  921. end
  922. if v.Y < -15 then
  923. animpose = "Falling"
  924. end
  925. if math.abs(v.X)+math.abs(v.Z) >=10 and v.Y == 0 then
  926. animpose = "Walking"
  927. end
  928. if math.abs(v.X)+v.Y+math.abs(v.Z) <= 9 and v.Y == 0 then
  929. animpose = "Idle"
  930. end
  931. end
  932. end)
  933. local num = 0
  934. while swait() do
  935. num = num + 0.1
  936. local sin = math.sin(num)
  937. if animpose == "Walking" and cananim and powers then
  938. for i = 0, 1.5, 0.1 do
  939. if animpose == "Walking" and cananim then
  940. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0.0406726934, 0.0329360999, -0.99862957, 0.776081443, 0.62845856, 0.0523359552, 0.629320979, -0.777146459, 0), 0.2)
  941. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, -0.0388932228, -0.0350196026, 0.998629689, 0.742127001, 0.668214321, 0.0523359627, -0.66913116, 0.743145287, 0), 0.2)
  942. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0.024677692, 0.0246776957, -0.999390841, 0.706676483, 0.706676781, 0.0348994955, 0.707107425, -0.707107246, 0), 0.2)
  943. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, -0.0136363264, -0.032125175, 0.999390841, 0.390493214, 0.919944584, 0.0348994955, -0.920505524, 0.390731305, 0), 0.2)
  944. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2)
  945. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.99969542, -0.0174524058, 0.0174497478, 0.0174524058, 0, 0.99984771, -0.0174497478, 0.99984771, 0.000304586458), 0.2)
  946. swait()
  947. else
  948. break
  949. end
  950. end
  951. for i = 0, 1.5, 0.1 do
  952. if animpose == "Walking" and cananim and powers then
  953. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, -0.0433885492, 0.0292659476, -0.99862957, -0.827903032, 0.558427453, 0.0523359552, 0.559194028, 0.829038858, 0), 0.2)
  954. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0.0400917344, -0.0336409658, 0.998629689, -0.764996171, 0.641907811, 0.0523359627, -0.642788768, -0.76604563, 0), 0.2)
  955. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, -0.0163843632, 0.0308145005, -0.999390841, -0.469186544, 0.882411182, 0.0348994955, 0.882949054, 0.469472289, 0), 0.2)
  956. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0.0246777162, -0.0246777181, 0.999390841, -0.70667702, 0.70667696, 0.0348994955, -0.707107902, -0.707107782, 0), 0.2)
  957. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2)
  958. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.999695539, 0.0174497515, -0.0174524095, -0.0174497515, 0.000304586574, 0.999847829, 0.0174524058, 0.99984771, -2.90993982e-11), 0.2)
  959. swait()
  960. else
  961. break
  962. end
  963. end
  964. end
  965. if animpose == "Idle" and cananim and powers then
  966. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.0523359552, -0.99862957, 0, 0.99862957, 0.0523359552, 1, 0, 0)*CFrame.new(0,sin/30,0)*CFrame.Angles(math.rad(sin*3),0,0), 0.2)
  967. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0, -0.0523359552, 0.99862957, 0, 0.99862957, 0.0523359552, -1, -0, 0)*CFrame.new(0,sin/30,0)*CFrame.Angles(math.rad(sin*3),0,0), 0.2)
  968. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -1, 0, 0, 0.0348994955, -0.999390841, 0, 0.999390841, 0.0348994955, 1, 0, 0), 0.2)
  969. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0, -0.0348994955, 0.999390841, 0, 0.999390841, 0.0348994955, -1, 0, 0), 0.2)
  970. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -0.994522035, -0.104528472, 0, 0, 0, 1, -0.104528472, 0.994522035, 0), 0.2)
  971. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -0.997564137, 0.0697564781, 0, 0, 0, 1, 0.0697564781, 0.997564137, 0), 0.2)
  972. swait()
  973. end
  974. if animpose == "Jump" and cananim and powers then
  975. for i = 0, 0.8, 0.1 do
  976. if animpose == "Jump" and cananim and powers then
  977. ls.C0 = ls.C0:Lerp(CFrame.new(-1, 0.5, 0, 0, 0.121869355, -0.99254632, 0, 0.99254632, 0.121869355, 1, 0, 0), 0.2)
  978. rs.C0 = rs.C0:Lerp(CFrame.new(1, 0.5, 0, 0, -0.104528472, 0.994522035, 0, 0.994522035, 0.104528472, -1, -0, 0), 0.2)
  979. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -0.499999911, -0.5, 0, 0, -1, 0.309017062, 0.951056957, 0, 0.951056957, -0.309017062, 0), 0.2)
  980. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0, 0, 1, -0.121869355, 0.99254632, 0, -0.99254632, -0.121869355, 0), 0.2)
  981. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2)
  982. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2)
  983. swait()
  984. else
  985. break
  986. end
  987. end
  988. end
  989. if animpose == "Falling" and cananim and powers then
  990. ls.C0 = ls.C0:Lerp(CFrame.new(-0.987813056, 0.599254608, 0, 0, 0.121869355, -0.99254632, 0, 0.99254632, 0.121869355, 1, 0, 0), 0.2)
  991. rs.C0 = rs.C0:Lerp(CFrame.new(0.986082673, 0.599026859, 0, 0, -0.139173135, 0.990268409, 0, 0.990268409, 0.139173135, -1, 0, 0), 0.2)
  992. lh.C0 = lh.C0:Lerp(CFrame.new(-1, -0.963904023, 0.0336604826, 0, 0.104528472, -0.994522035, 0.0697564557, 0.992099881, 0.1042739, 0.997564554, -0.0693743229, -0.00729153492), 0.2)
  993. rh.C0 = rh.C0:Lerp(CFrame.new(1, -1, 0, 0, -0.0697564781, 0.997564137, -0.121869355, 0.990128577, 0.0692365244, -0.99254632, -0.121572495, -0.00850117672), 0.2)
  994. neck.C0 = neck.C0:Lerp(CFrame.new(0, 1, 0, -1, 0, 0, 0, 0.13917312, 0.99026823, 0, 0.99026823, -0.13917312), 0.2)
  995. rj.C0 = rj.C0:Lerp(CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0), 0.2)
  996. end
  997.  
  998. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement