Advertisement
Oh_hi

2 things

Nov 7th, 2017
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 132.66 KB | None | 0 0
  1. --------------------------This is an Official script from Duelist--------------------------
  2. ---{-------------------- -------------------}---
  3. ---{-------------------- / \ -------------------}---
  4. ---{-------------------- II -------------------}---
  5. ---{-------------------- II -------------------}---
  6. ---{-------------------- II -------------------}---
  7. ---{-------------------- A========A -------------------}---
  8. ---{-------------------- II -------------------}---
  9. ---{-------------------- II -------------------}---
  10. ---{-------------------- W -------------------}---
  11. -------------------------------------------------------------------------------------------------------------
  12. local p = game.Players.LocalPlayer
  13. --300899323
  14. local char = p.Character
  15. local mouse = p:GetMouse()
  16. local larm = char["Left Arm"]
  17. local rarm = char["Right Arm"]
  18. local lleg = char["Left Leg"]
  19. local rleg = char["Right Leg"]
  20. local hed = char.Head
  21. local torso = char.Torso
  22. local hum = char.Humanoid
  23. local cam = game.Workspace.CurrentCamera
  24. local root = char.HumanoidRootPart
  25. local RootPart = char.HumanoidRootPart
  26. local rj = root.RootJoint
  27. local deb = false
  28. local shot = 0
  29. local stanceToggle = "Idle1"
  30. local l = game:GetService("Lighting")
  31. local rs = game:GetService("RunService").RenderStepped
  32. local hb = game:GetService("RunService").Heartbeat
  33. local Stepped = game:GetService("RunService").Stepped
  34. math.randomseed(os.time())
  35. hum.JumpPower = 70
  36. hed.face:Remove()
  37. local euler = CFrame.fromEulerAnglesXYZ
  38. ----------------------------------------------------
  39. local Character = char
  40. ---------------------------------------------------
  41. local Effects = {}
  42. wait(0.016666666666667)
  43. equipc0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  44. unequipc0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  45. local player = game.Players.localPlayer
  46. local humanoid = char.Humanoid
  47. local mouse = player:GetMouse()
  48. local weldBetween = function(a, b)
  49. local weldd = Instance.new("ManualWeld")
  50. weldd.Part0 = a
  51. weldd.Part1 = b
  52. weldd.C0 = CFrame.new()
  53. weldd.C1 = b.CFrame:inverse() * a.CFrame
  54. weldd.Parent = a
  55. return weldd
  56. end
  57.  
  58. vt = Vector3.new
  59. local m = Instance.new("Model", char)
  60. local larm = char["Left Arm"]
  61. local rarm = char["Right Arm"]
  62. local lleg = char["Left Leg"]
  63. local rleg = char["Right Leg"]
  64. local hed = char.Head
  65. local torso = char.Torso
  66. local cam = game.Workspace.CurrentCamera
  67. local RootPart = char.HumanoidRootPart
  68. local equipped = false
  69. local attack = false
  70. local Anim = "Idle"
  71. local idle = 0
  72. local sprint = false
  73. local battlestance = false
  74. local attacktype = 1
  75. local state = "none"
  76. local torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  77. local velocity = RootPart.Velocity.y
  78. local sine = 0
  79. local change = 1
  80.  
  81. it = Instance.new
  82. local on = false
  83. local grabbed = false
  84. local skill1 = false
  85. local skill2 = false
  86. local skill3 = false
  87. local skill4 = false
  88. local cooldown1 = 0
  89. local cooldown2 = 0
  90. local cooldown3 = 0
  91. local cooldown4 = 0
  92. local co1 = 10
  93. local co2 = 15
  94. local co3 = 20
  95. local co4 = 35
  96. local inputserv = game:GetService("UserInputService")
  97. local typing = false
  98. local crit = false
  99. local critchance = 2
  100. local critdamageaddmin = 3
  101. local critdamageaddmax = 7
  102. local maxstamina = 100
  103. local stamina = 0
  104. local skill1stam = 10
  105. local skill2stam = 20
  106. local skill3stam = 35
  107. local skill4stam = 50
  108. local recovermana = 5
  109. local defensevalue = 1
  110. local speedvalue = 1
  111. local mindamage = 5
  112. local maxdamage = 7
  113. local damagevalue = 1
  114. local maramistcutterchance = 25
  115. local cn = CFrame.new
  116. local mr = math.rad
  117. local angles = CFrame.Angles
  118. local ud = UDim2.new
  119. local c3 = Color3.new
  120. F1 = Instance.new("Folder", char)
  121. F1.Name = "Effects Folder"
  122. F2 = Instance.new("Folder", F1)
  123. F2.Name = "Effects"
  124. ----------------------------------------------------
  125. fat = Instance.new("BindableEvent",script)
  126. fat.Name = "Heartbeat"
  127.  
  128. script:WaitForChild("Heartbeat")
  129.  
  130. frame = 1/30
  131. tf = 0
  132. allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame*2 or greater.
  133. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  134. lastframe = tick()
  135. script.Heartbeat:Fire() --ayy lmao
  136.  
  137. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  138. tf = tf + s
  139. if tf >= frame then
  140. if allowframeloss then
  141. script.Heartbeat:Fire()
  142. lastframe=tick()
  143. else
  144. --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
  145. for i=1, math.floor(tf/frame) do
  146. script.Heartbeat:Fire()
  147. end
  148. lastframe=tick()
  149. end
  150. if tossremainder then
  151. tf = 0
  152. else
  153. tf = tf - frame * math.floor(tf/frame)
  154. end
  155. end
  156. end)
  157. swait = function(num)
  158. if num == 0 or num == nil then
  159. game:service("RunService").Heartbeat:wait(0)
  160. else
  161. for i = 0, num do
  162. game:service("RunService").Heartbeat:wait(0)
  163. end
  164. end
  165. end
  166. ----------------------------------------------------
  167. function lerp(a, b, t) -- Linear interpolation
  168. return a + (b - a)*t
  169. end
  170.  
  171. function slerp(a, b, t) --Spherical interpolation
  172. dot = a:Dot(b)
  173. if dot > 0.99999 or dot < -0.99999 then
  174. return t <= 0.5 and a or b
  175. else
  176. r = math.acos(dot)
  177. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  178. end
  179. end
  180.  
  181. function matrixInterpolate(a, b, t)
  182. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  183. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  184. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  185. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  186. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  187. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  188. local t = v1:Dot(v2)
  189. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  190. return CFrame.new()
  191. end
  192. return CFrame.new(
  193. v0.x, v0.y, v0.z,
  194. v1.x, v1.y, v1.z,
  195. v2.x, v2.y, v2.z,
  196. v3.x, v3.y, v3.z)
  197. end
  198. ----------------------------------------------------
  199. function genWeld(a,b)
  200. local w = Instance.new("Weld",a)
  201. w.Part0 = a
  202. w.Part1 = b
  203. return w
  204. end
  205. function weld(a, b)
  206. local weld = Instance.new("Weld")
  207. weld.Name = "W"
  208. weld.Part0 = a
  209. weld.Part1 = b
  210. weld.C0 = a.CFrame:inverse() * b.CFrame
  211. weld.Parent = a
  212. return weld;
  213. end
  214. ----------------------------------------------------
  215. function Lerp(c1,c2,al)
  216. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  217. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  218. for i,v in pairs(com1) do
  219. com1[i] = v+(com2[i]-v)*al
  220. end
  221. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  222. end
  223. ----------------------------------------------------
  224. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  225. local wld = Instance.new("Weld", wp1)
  226. wld.Part0 = wp0
  227. wld.Part1 = wp1
  228. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  229. end
  230. function weld5(part0, part1, c0, c1)
  231. weeld=Instance.new("Weld", part0)
  232. weeld.Part0=part0
  233. weeld.Part1=part1
  234. weeld.C0=c0
  235. weeld.C1=c1
  236. return weeld
  237. end
  238. ----------------------------------------------------
  239. newWeld(torso, larm, -1.5, 0.5, 0)
  240. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  241. newWeld(torso, rarm, 1.5, 0.5, 0)
  242. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  243. newWeld(torso, hed, 0, 1.5, 0)
  244. newWeld(torso, lleg, -0.5, -1, 0)
  245. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  246. newWeld(torso, rleg, 0.5, -1, 0)
  247. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  248. newWeld(root, torso, 0, -1, 0)
  249. torso.Weld.C1 = CFrame.new(0, -1, 0)
  250.  
  251. ----------------------------------------------------
  252. Debounces = {
  253. Doe = false;
  254. CanAttack = true;
  255. CanJoke = true;
  256. NoIdl = false;
  257. Slashing = false;
  258. Slashed = false;
  259. ks = false;
  260. }
  261. local myVars = {
  262. false, -- Unsheathed 1
  263. nil, -- Grabbed Entity 2
  264. 0, -- Attack number 3
  265. false, -- Running 4
  266. false, --Powers Mode 5
  267. false, -- 6
  268. }
  269. ----------------------------------------------------
  270.  
  271. function GetParts(obj)
  272. for i, v in pairs(obj:GetChildren())do
  273. if ( v:IsA'BasePart' ) then
  274. if v.Name ~= "Trail" then
  275. Instance.new("ForceField", v);
  276. end
  277. end
  278. GetParts(v);
  279. end
  280. end
  281. --GetParts(char)
  282.  
  283. function NoOutline(Part)
  284. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  285. end
  286. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  287. local fp=it("Part")
  288. fp.formFactor=formfactor
  289. fp.Parent=parent
  290. fp.Reflectance=reflectance
  291. fp.Transparency=transparency
  292. fp.CanCollide=false
  293. fp.Locked=true
  294. fp.BrickColor=brickcolor
  295. fp.Name=name
  296. fp.Size=size
  297. fp.Position=torso.Position
  298. NoOutline(fp)
  299. fp.Material="Neon"
  300. fp:BreakJoints()
  301. return fp
  302. end
  303. --------------------------------------
  304. Character.Archivable = true
  305. local yellow = Character:Clone()
  306. yellow.Name = ""
  307. for _,c in pairs(yellow:children()) do
  308. if c.className == "Model" or c.className == "Script" or c.className == "BodyColors" or c.className == "Hat" or c.Name == "Stats" then
  309. c.Parent = nil
  310. end
  311. if c.className == "Part" then
  312. NoOutline(c)
  313. c.CanCollide = false
  314. c.Transparency = 1
  315. if c.Name == "HumanoidRootPart" then
  316. c.Transparency = 1
  317. end
  318. c.BrickColor = BrickColor.new("New Yeller")
  319. for _,d in pairs(c:children()) do
  320. if d.className == "Weld" or d.className == "Motor" or d.className == "Motor6D" or d.className == "Decal" then
  321. d.Parent = nil
  322. end
  323. end
  324. end
  325. do
  326. do
  327. if c.className == "Humanoid" then
  328. c.Parent = nil
  329. end
  330. end
  331. end
  332. end
  333. yellow.Parent = Character
  334. if yellow:findFirstChild("HumanoidRootPart") ~= nil then
  335. yellow.HumanoidRootPart.Anchored = true
  336. end
  337. shed = yellow.Head
  338. storso = yellow.Torso
  339. sroot = yellow.HumanoidRootPart
  340. slarm = yellow["Left Arm"]
  341. srarm = yellow["Right Arm"]
  342. slleg = yellow["Left Leg"]
  343. srleg = yellow["Right Leg"]
  344. storso.Size = storso.Size + Vector3.new(.2,.1,.2)
  345. slarm.Size = slarm.Size + Vector3.new(.2,.1,.2)
  346. srarm.Size = srarm.Size + Vector3.new(.2,.1,.2)
  347. slleg.Size = slleg.Size + Vector3.new(.2,.1,.2)
  348. srleg.Size = srleg.Size + Vector3.new(.2,.1,.2)
  349. shed.Size = shed.Size + Vector3.new(.2,.1,.2)
  350. newWeld(storso, slarm, -1.5, 0.5, 0)
  351. slarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  352. newWeld(storso, srarm, 1.5, 0.5, 0)
  353. srarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  354. newWeld(storso, shed, 0, 1.5, 0)
  355. newWeld(storso, slleg, -0.5, -1, 0)
  356. slleg.Weld.C1 = CFrame.new(0, 1, 0)
  357. newWeld(storso, srleg, 0.5, -1, 0)
  358. srleg.Weld.C1 = CFrame.new(0, 1, 0)
  359. newWeld(sroot, storso, 0, -1, 0)
  360. storso.Weld.C1 = CFrame.new(0, -1, 0)
  361. Character.Archivable = false
  362. local forms = {
  363. yellow
  364. }
  365. ---------------------------------------------
  366. function parto(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  367. local fp=it("Part")
  368. fp.formFactor=formfactor
  369. fp.Parent=parent
  370. fp.Reflectance=reflectance
  371. fp.Transparency=transparency
  372. fp.CanCollide=false
  373. fp.Locked=true
  374. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  375. fp.Name=name
  376. fp.Size=size
  377. fp.Position=char.Torso.Position
  378. NoOutline(fp)
  379. fp.Material="Neon"
  380. fp:BreakJoints()
  381. return fp
  382. end
  383.  
  384. local PowerBrickColor = BrickColor.new("Really red")
  385. function Showdamage(Pos, Text, Time, Color)
  386. local Rate = (1 / 30)
  387. local Pos = (Pos or Vector3.new(0, 0, 0))
  388. local Text = (Text or "")
  389. local Time = (Time or 2)
  390. local Color = (Color or Color3.new(1, 0, 0))
  391. local EffectPart = parto("Custom", workspace, "Neon", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
  392. EffectPart.Anchored = true
  393. local BillboardGui = Instance.new("BillboardGui")
  394. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  395. BillboardGui.Adornee = EffectPart
  396. BillboardGui.Parent = EffectPart
  397.  
  398. local TextLabel = Instance.new("TextLabel")
  399. TextLabel.BackgroundTransparency = 1
  400. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  401. TextLabel.Text = Text
  402. TextLabel.TextColor3 = Color
  403. TextLabel.TextScaled = true
  404. TextLabel.Font = Enum.Font.SourceSansBold
  405. TextLabel.Parent = BillboardGui
  406. TextLabel.TextStrokeTransparency = 0
  407. TextLabel.TextTransparency = 0.2
  408.  
  409.  
  410. game.Debris:AddItem(EffectPart, (Time + 0.1))
  411. EffectPart.Parent = game:GetService("Workspace")
  412. delay(0, function()
  413. local Frames = (Time / Rate)
  414. for Frame = 1, Frames do
  415. wait(Rate)
  416. local Percent = (Frame / Frames)
  417. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  418. TextLabel.TextTransparency = Percent
  419. end
  420. if EffectPart and EffectPart.Parent then
  421. EffectPart:Destroy()
  422. end
  423. end)
  424. end
  425.  
  426. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  427. if hit.Parent == nil then
  428. return
  429. end
  430. local h = hit.Parent:FindFirstChild("Humanoid")
  431. for _, v in pairs(hit.Parent:children()) do
  432. if v:IsA("Humanoid") then
  433. h = v
  434. end
  435. end
  436. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  437. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  438. if hit.Parent.DebounceHit.Value == true then
  439. return
  440. end
  441. end
  442. if h.MaxHealth >= math.huge then
  443. hit:BreakJoints()
  444. end
  445. local c = Instance.new("ObjectValue")
  446. c.Name = "creator"
  447. c.Value = game:service("Players").LocalPlayer
  448. c.Parent = h
  449.  
  450. game:GetService("Debris"):AddItem(c, .5)
  451. if HitSound ~= nil and HitPitch ~= nil then
  452. --so(HitSound, hit, 1, HitPitch)
  453. end
  454. local Damage = math.random(minim, maxim)
  455. -- h:TakeDamage(Damage)
  456. local blocked = false
  457. local block = hit.Parent:findFirstChild("Block")
  458. if block ~= nil then
  459. if block.className == "IntValue" then
  460. if block.Value > 0 then
  461. blocked = true
  462. block.Value = block.Value - 1
  463. print(block.Value)
  464. end
  465. end
  466. end
  467. if blocked == false then
  468. -- h:TakeDamage(Damage)
  469. h.Health = h.Health - Damage
  470. if Damage ~= 0 then
  471. Showdamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1, PowerBrickColor.Color)
  472. end
  473. else
  474. h.Health = h.Health - (Damage / 2)
  475. if Damage ~=0 then
  476. Showdamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1, PowerBrickColor.Color)
  477. end
  478. end
  479. if Type == "Knockdown" then
  480. local hum = hit.Parent.Humanoid
  481. hum.PlatformStand = true
  482. coroutine.resume(coroutine.create(function(HHumanoid)
  483. swait(1)
  484. HHumanoid.PlatformStand = false
  485. end), hum)
  486. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  487. local bodvol = Instance.new("BodyVelocity")
  488. bodvol.velocity = angle * knockback
  489. bodvol.P = 5000
  490. bodvol.maxForce = Vector3.new(8e+003, 8e+003, 8e+003)
  491. bodvol.Parent = hit
  492.  
  493. local rl = Instance.new("BodyAngularVelocity")
  494. rl.P = 3000
  495. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  496. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  497. rl.Parent = hit
  498.  
  499. game:GetService("Debris"):AddItem(bodvol, .5)
  500. game:GetService("Debris"):AddItem(rl, .5)
  501. elseif Type == "Plat" then
  502. local hum = hit.Parent.Humanoid
  503. hum.PlatformStand = true
  504. coroutine.resume(coroutine.create(function(HHumanoid)
  505. wait(0.8)
  506. HHumanoid.PlatformStand = false
  507. end), hum)
  508.  
  509. local rl = Instance.new("BodyAngularVelocity")
  510. rl.P = 3000
  511. rl.maxTorque = Vector3.new(100, 100, 100) * 500
  512. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  513. rl.Parent = hit
  514.  
  515. game:GetService("Debris"):AddItem(rl, .5)
  516.  
  517. local vp = Instance.new("BodyVelocity")
  518. vp.P = 500
  519. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  520. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  521.  
  522. if knockback > 0 then
  523. vp.Parent = hit.Parent.Torso
  524. end
  525. game:GetService("Debris"):AddItem(vp, .5)
  526.  
  527. elseif Type == "Normal" then
  528. local vp = Instance.new("BodyVelocity")
  529. vp.P = 500
  530. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  531. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  532.  
  533. if knockback > 0 then
  534. vp.Parent = hit.Parent.Torso
  535. end
  536. game:GetService("Debris"):AddItem(vp, .5)
  537. elseif Type == "Gravitate" then
  538. local tor = hit.Parent.Torso
  539. local bp = Instance.new("BodyPosition",tor)
  540. bp.P = 500
  541. bp.maxForce = Vector3.new(4000, 1000, 4000)
  542. bp.Position = char.Torso.Position
  543. game:GetService("Debris"):AddItem(bp, Delay)
  544. elseif Type == "Up" then
  545. local bodyVelocity = Instance.new("BodyVelocity")
  546. bodyVelocity.velocity = vt(0, 20, 0)
  547. bodyVelocity.P = 5000
  548. bodyVelocity.maxForce = Vector3.new(8e+003, 8e+003, 8e+003)
  549. bodyVelocity.Parent = hit
  550.  
  551. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  552. elseif Type == "Snare" then
  553. local bp = Instance.new("BodyPosition")
  554. bp.P = 2000
  555. bp.D = 100
  556. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  557. bp.position = hit.Parent.Torso.Position
  558. bp.Parent = hit.Parent.Torso
  559. game:GetService("Debris"):AddItem(bp, 1)
  560.  
  561. elseif Type == "Freeze" then
  562. local BodPos = Instance.new("BodyPosition")
  563. BodPos.P = 50000
  564. BodPos.D = 1000
  565. BodPos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  566. BodPos.position = hit.Parent.Torso.Position
  567. BodPos.Parent = hit.Parent.Torso
  568.  
  569. local BodGy = Instance.new("BodyGyro")
  570. BodGy.maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge
  571. BodGy.P = 20e+003
  572. BodGy.Parent = hit.Parent.Torso
  573. BodGy.cframe = hit.Parent.Torso.CFrame
  574.  
  575. hit.Parent.Torso.Anchored = true
  576. coroutine.resume(coroutine.create(function(Part)
  577. swait(1.5)
  578. Part.Anchored = false
  579. end), hit.Parent.Torso)
  580. game:GetService("Debris"):AddItem(BodPos, 3)
  581. game:GetService("Debris"):AddItem(BodGy, 3)
  582.  
  583.  
  584. elseif Type=="Target" then
  585. if Targetting==false then
  586. ZTarget=hit.Parent.Torso
  587. coroutine.resume(coroutine.create(function(Part)
  588. --so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  589. swait(5)
  590. --so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  591. end),ZTarget)
  592. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  593. targetgui=Instance.new("BillboardGui")
  594. targetgui.Parent=ZTarget
  595. targetgui.Size=UDim2.new(10,100,10,100)
  596. targ=Instance.new("ImageLabel")
  597. targ.Parent=targetgui
  598. targ.BackgroundTransparency=1
  599. targ.Image="rbxassetid://4834067"
  600. targ.Size=UDim2.new(1,0,1,0)
  601. cam.CameraType="Scriptable"
  602. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  603. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  604. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  605. Targetting=true
  606. RocketTarget=ZTarget
  607. for i=1,Property do
  608. if Humanoid.Health>0 and char.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  609. swait()
  610. end
  611. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  612. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  613. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  614. end
  615. Targetting=false
  616. RocketTarget=nil
  617. targetgui.Parent=nil
  618. cam.CameraType="Custom"
  619. end
  620. end
  621.  
  622. local debounce = Instance.new("BoolValue")
  623. debounce.Name = "DebounceHit"
  624. debounce.Parent = hit.Parent
  625. debounce.Value = true
  626. game:GetService("Debris"):AddItem(debounce, Delay)
  627. c = Instance.new("ObjectValue")
  628. c.Name = "creator"
  629. c.Value = Player
  630. c.Parent = h
  631. game:GetService("Debris"):AddItem(c, .5)
  632. end
  633. end
  634. MousePlane = function()
  635. local mouse = game.Players.LocalPlayer:GetMouse()
  636. local buttspoop = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - mouse.Hit.p).unit
  637. return -Vector3.new(buttspoop.x,0,buttspoop.z).unit
  638. end
  639.  
  640. NewPart = function(size, cframe, color, meshtype, meshscale)
  641. local par = Instance.new("Part")
  642. par.formFactor = "Custom"
  643. par.TopSurface = 0
  644. par.BottomSurface = 0
  645. par.Size = size
  646. par.CFrame = cframe
  647. par.Material = "Neon"
  648. par.BrickColor = BrickColor.new(color)
  649. do
  650. if meshtype then
  651. local m = Instance.new(meshtype, par)
  652. m.Scale = meshscale
  653. end
  654. return par
  655. end
  656. end
  657. MousePlane = function()
  658. local mouse = game.Players.LocalPlayer:GetMouse()
  659. local buttspoop = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - mouse.Hit.p).unit
  660. return -Vector3.new(buttspoop.x,0,buttspoop.z).unit
  661. end
  662.  
  663. function giant(p, size)
  664. local pchar = p.Character
  665. if pchar then
  666. local function scale(chr,scl)
  667.  
  668. for _,v in pairs(pchar:GetChildren()) do
  669. if v:IsA("Accessory") then
  670. v:Clone()
  671. v.Parent = game.Lighting
  672. end
  673. end
  674.  
  675. local Head = chr['Head']
  676. local Torso = chr['Torso']
  677. local LA = chr['Left Arm']
  678. local RA = chr['Right Arm']
  679. local LL = chr['Left Leg']
  680. local RL = chr['Right Leg']
  681. local HRP = chr['HumanoidRootPart']
  682.  
  683. wait(0.1)
  684.  
  685. Head.formFactor = 3
  686. Torso.formFactor = 3
  687. LA.formFactor = 3
  688. RA.formFactor = 3
  689. LL.formFactor = 3
  690. RL.formFactor = 3
  691. HRP.formFactor = 3
  692. Head.Mesh.Scale = Vector3.new(scl + .25, scl + .25, scl + .25)
  693. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  694. LA.Size = Vector3.new(scl, scl * 2, scl)
  695. RA.Size = Vector3.new(scl, scl * 2, scl)
  696. LL.Size = Vector3.new(scl, scl * 2, scl)
  697. RL.Size = Vector3.new(scl, scl * 2, scl)
  698. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  699. for i,v in pairs(pchar:GetChildren()) do
  700. if v:IsA("Hat") then
  701. print("FOUND ACCESSORY")
  702. for ii,vi in pairs(v:GetChildren()) do
  703. if vi:IsA("Mesh") then
  704. vi.Scale = Vector3.new(scl, scl, scl)
  705. elseif vi:IsA("Part") then
  706. print("FOUND PART")
  707. for iii,vii in pairs(vi:GetChildren()) do
  708. if vii:IsA("Mesh") then
  709. vii.Scale = Vector3.new(scl, scl, scl)
  710. end
  711. end
  712. end
  713. end
  714. end
  715. end
  716. local Motor1 = Instance.new('Motor6D', Torso)
  717. Motor1.Part0 = Torso
  718. Motor1.Part1 = Head
  719. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  720. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  721. Motor1.Name = "Neck"
  722.  
  723. local Motor2 = Instance.new('Motor6D', Torso)
  724. Motor2.Part0 = Torso
  725. Motor2.Part1 = LA
  726. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  727. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  728. Motor2.Name = "Left Shoulder"
  729.  
  730. local Motor3 = Instance.new('Motor6D', Torso)
  731. Motor3.Part0 = Torso
  732. Motor3.Part1 = RA
  733. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  734. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  735. Motor3.Name = "Right Shoulder"
  736.  
  737. local Motor4 = Instance.new('Motor6D', Torso)
  738. Motor4.Part0 = Torso
  739. Motor4.Part1 = LL
  740. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  741. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  742. Motor4.Name = "Left Hip"
  743.  
  744. local Motor5 = Instance.new('Motor6D', Torso)
  745. Motor5.Part0 = Torso
  746. Motor5.Part1 = RL
  747. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  748. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  749. Motor5.Name = "Right Hip"
  750.  
  751. local Motor6 = Instance.new('Motor6D', HRP)
  752. Motor6.Part0 = HRP
  753. Motor6.Part1 = Torso
  754. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  755. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  756.  
  757. end
  758.  
  759. scale(pchar, size)
  760. pchar.Humanoid.WalkSpeed = 115 * size
  761.  
  762. for _,v in pairs(game.Lighting:GetChildren()) do
  763. if v:IsA("Accessory") then
  764. for ii,vi in pairs(v:GetChildren()) do
  765. if vi:IsA("Part") then
  766. print("FOUND PART")
  767. for iii,vii in pairs(vi:GetChildren()) do
  768. if vii:IsA("SpecialMesh") then
  769. print(vii)
  770. vii.Scale = Vector3.new(size, size, size)
  771. end
  772. end
  773. end
  774. end
  775. v.Parent = pchar
  776. end
  777. end
  778. end
  779. end
  780.  
  781. rayCast = function(pos, dir, maxl, ignore)
  782. return game:service("Workspace"):FindPartOnRay(Ray.new(pos, dir.unit * (maxl or 999.999)), ignore)
  783. end
  784.  
  785. MagicWave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  786. local mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  787. local mesh = it(Mesh)
  788. mesh.Parent = part
  789. if Mesh == "SpecialMesh" then
  790. mesh.MeshType = meshtype
  791. if meshid ~= "nil" then
  792. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  793. end
  794. end
  795. mesh.Offset = offset
  796. mesh.Scale = scale
  797. return mesh
  798. end
  799. local prt = part(3, F2, 0, 0, brickcolor, "Effect", vt())
  800. prt.Anchored = true
  801. prt.CFrame = cframe
  802. local msh = mesh("SpecialMesh", prt, "FileMesh", "20329976", vt(0, 0, 0), vt(x1, y1, z1))
  803. game:GetService("Debris"):AddItem(prt, 10)
  804. table.insert(Effects, {prt, "Cylinder1", delay, x3, y3, z3, msh})
  805. end
  806. function FindNearestTorso(Position,Distance,SinglePlayer)
  807. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  808. local List = {}
  809. for i,v in pairs(workspace:GetChildren())do
  810. if v:IsA("Model")then
  811. if v:findFirstChild("Torso")then
  812. if v ~= char then
  813. if(v.Torso.Position -Position).magnitude <= Distance then
  814. table.insert(List,v)
  815. end
  816. end
  817. end
  818. end
  819. end
  820. return List
  821. end
  822.  
  823. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  824.  
  825. local mesh = function(Mesh,part,meshtype,meshid,offset,scale)
  826. local mesh=it(Mesh)
  827. mesh.Parent=part
  828. if Mesh=="SpecialMesh" then
  829. mesh.MeshType=meshtype
  830. mesh.MeshId=meshid
  831. end
  832. mesh.Offset=offset
  833. mesh.Scale=scale
  834. return mesh
  835. end
  836. local prt=part(3,F2,0,0,brickcolor,"Effect",vt())
  837. prt.Anchored=true
  838. prt.CFrame=cframe
  839. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  840. game:GetService("Debris"):AddItem(prt,5)
  841. table.insert(Effects,{prt,"Block1",delay,x3,y3,z3}) --part, type, delay
  842. --[[coroutine.resume(coroutine.create(function(Part,Mesh,dur)
  843. for i=0,1,delay do
  844. wait()
  845. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  846. Part.Transparency=i
  847. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  848. end
  849. Part.Parent=nil
  850. end),prt,msh)]]
  851. end
  852. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  853. --[[Part0 = Vector3 (Start pos)
  854. Part1 = Vector3 (End pos)
  855. Times = number (Amount of lightning parts)
  856. Offset = number (Offset)
  857. Color = color (brickcolor value)
  858. Thickness = number (thickness)
  859. Trans = number (transparency)
  860. ]]--
  861. local magz = (Part0 - Part1).magnitude
  862. local curpos = Part0
  863. local trz = {-Offset,Offset}
  864. for i=1,Times do
  865. local li = Instance.new("Part", torso)
  866. li.Name = "Lightning"
  867. li.TopSurface =0
  868. li.Material = "Neon"
  869. li.BottomSurface = 0
  870. li.Anchored = true
  871. li.Locked = true
  872. li.Transparency = Trans or 0.4
  873. li.BrickColor = BrickColor.new(Color)
  874. li.formFactor = "Custom"
  875. li.CanCollide = false
  876. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  877. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  878. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  879. if Times == i then
  880. local magz2 = (curpos - Part1).magnitude
  881. li.Size = Vector3.new(Thickness,Thickness,magz2)
  882. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  883. else
  884. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  885. end
  886. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  887. game.Debris:AddItem(li,.1)
  888. end
  889. end
  890. local Neons = {BrickColor.new("Bright red"), BrickColor.new("Bright orange"), BrickColor.new("Bright yellow"), BrickColor.new("Bright green"), BrickColor.new("Bright blue"), BrickColor.new("Royal purple"), BrickColor.new("Bright violet")}
  891. local neonazi = "Bright red", "Bright orange", "Bright yellow", "Bright green", "Bright blue", "Bright violet", "Royal purple"
  892. local effects = Instance.new("Model", char)
  893. effects.Name = "Effects"
  894. do2 = function(brickcolor)
  895.  
  896.  
  897. local mesh = function(Mesh,part,meshtype,meshid,offset,scale)
  898. local mesh=it(Mesh)
  899. mesh.Parent=part
  900. if Mesh=="SpecialMesh" then
  901. mesh.MeshType=meshtype
  902. mesh.MeshId=meshid
  903. end
  904. mesh.Offset=offset
  905. mesh.Scale=scale
  906. return mesh
  907. end
  908. local rara1 = Instance.new("NumberValue", Decrease)
  909. rara1.Name = "DecreaseMvmt"
  910. rara1.Value = -0.05
  911. local rara2 = Instance.new("NumberValue", Decrease)
  912. rara2.Name = "DecreaseDef"
  913. rara2.Value = 0.1
  914. --so("341336144", larm, 1, 1)
  915. --so("341336144", rarm, 1, 1)
  916. sbreaker = true
  917. local sbref1 = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  918. local sbrwld1 = weld(sbref1, sbref1, larm, cf(0, 1, 0))
  919. local sbref2 = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  920. local sbrwld2 = weld(sbref2, sbref2, rarm, cf(0, 1, 0))
  921. local sref = part(3, nil, 0, 1, BrickColor.new("Black"), "Reference", vt())
  922. sref.Anchored = true
  923. TehM = nil
  924. TehM = torso.Position
  925. MouseLook = cf(RootPart.Position)
  926. local hit, pos = rayCast(RootPart.Position, MouseLook.lookVector, 200, char)
  927. rand = cf(math.random(0, 0) / 100, 10, math.random(0, 0) / 100)
  928. sref.CFrame = cf(RootPart.Position)*rand
  929. local hit2, pos2 = rayCast(sref.Position, CFrame.new(sref.Position, sref.Position - Vector3.new(0, 1, 0)).lookVector, 999, char)
  930. local d1 = part(3, effects, 0, 0.5, BrickColor.new("White"), "Effect", vt())
  931. d1.Anchored = true
  932. d1.CFrame = cf(RootPart.Position)
  933. d1.Material = "Neon"
  934. msh = mesh("CylinderMesh", d1, "nil", "nil", vt(0, 0, 0), vt(50, 5, 50))
  935. d2 = d1:Clone()
  936. d2.Transparency = 1
  937. d2.Parent = d1
  938. d2.CFrame = cf(d1.Position)
  939. d2.BrickColor = brickcolor
  940. refda = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  941. refda.Anchored = true
  942. refda.CFrame = cf(d1.Position) * cf(0, 500, 0)
  943. game:GetService("Debris"):AddItem(refda, 1)
  944. local mag = (refda.Position - d1.Position).magnitude
  945. --MagicCylinder(BrickColor.new("White"), CFrame.new((refda.Position + d1.Position) / 2, d1.Position) * angles(1.57, 0, 0), 40, mag * 5, 40, 0, 0, 0, 0.3)
  946. Lightning(refda.Position, d1.Position, 15, 5, brickcolor.Color, 3.5, 0.2, 0.05)
  947. MagicBlock(brickcolor, cf(d1.Position), 40, 40, 40, -1, -1, -1, 0.08, 1)
  948. refda.CFrame = cf(d1.Position)
  949. --MagniDamage(refda, 5, 10, 12, 0, "Knockdown2", refda, 0.1, 1, (math.random(10, 12)), nil, nil, true)
  950. refda.CFrame = cf(d1.Position) * cf(0, 3, 0)
  951. --MagniDamage(refda, 5, 10, 12, 0, "Knockdown2", refda, 0.1, 1, (math.random(10, 12)), nil, nil, true)
  952. refda.CFrame = cf(d1.Position)
  953. --so("341336446", refda, 1, math.random(100, 120) / 100)
  954. --so("341336459", refda, 1, math.random(100, 120) / 100)
  955. rara1.Parent = nil
  956. rara2.Parent = nil
  957. sbrwld1.Parent = nil
  958. sbrwld2.Parent = nil
  959. sbref1.Anchored = true
  960. sbref2.Anchored = true
  961. game:GetService("Debris"):AddItem(d1, 0)
  962. game:GetService("Debris"):AddItem(d2, 0)
  963. game:GetService("Debris"):AddItem(sbref1, 0)
  964. game:GetService("Debris"):AddItem(sbref2, 0)
  965. end
  966. function fly(hite, knockback)
  967. if hite:FindFirstChild('Humanoid') ~= nil then
  968. local hum = hite.Humanoid
  969. hum.PlatformStand = true
  970. coroutine.resume(coroutine.create(function(HHumanoid)
  971. wait(0.8)
  972. HHumanoid.PlatformStand = false
  973. end), hum)
  974. local rl = Instance.new("BodyAngularVelocity")
  975. rl.P = 3000
  976. rl.maxTorque = Vector3.new(100, 100, 100) * 500
  977. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-20, 20), math.random(-10, 10))
  978. rl.Parent = hite.Torso
  979. game:GetService("Debris"):AddItem(rl, .5)
  980.  
  981. local vp = Instance.new("BodyVelocity")
  982. vp.P = 500
  983. vp.maxForce = Vector3.new(math.huge, 100, math.huge)
  984. vp.velocity = RootPart.CFrame.lookVector * knockback + RootPart.Velocity / 1.05
  985. if knockback > 0 then
  986. vp.Parent = hite.Torso
  987. end
  988. game:GetService("Debris"):AddItem(vp, .5)
  989. elseif hite.className == 'Part' then
  990. local rl = Instance.new("BodyAngularVelocity")
  991. rl.P = 3000
  992. rl.maxTorque = Vector3.new(100, 100, 100) * 500
  993. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-20, 20), math.random(-10, 10))
  994. rl.Parent = hite
  995. game:GetService("Debris"):AddItem(rl, .5)
  996.  
  997. local vp = Instance.new("BodyVelocity")
  998. vp.P = 500
  999. vp.maxForce = Vector3.new(math.huge, 100, math.huge)
  1000. vp.velocity = RootPart.CFrame.lookVector * knockback + RootPart.Velocity / 1.05
  1001. if knockback > 0 then
  1002. vp.Parent = hite
  1003. end
  1004. game:GetService("Debris"):AddItem(vp, .5)
  1005. end
  1006. end
  1007. function ap(arg1)
  1008. if arg1 == 1 then
  1009. for i,v in pairs(yellow:children()) do
  1010. if v:IsA'Part' then
  1011. storso.CFrame = torso.CFrame
  1012. Debounces.Doe = true
  1013. v.Transparency = 0.7
  1014. yellow.HumanoidRootPart.Transparency = 1
  1015. end
  1016. end
  1017. end
  1018. end
  1019. function dap(arg1)
  1020. if arg1 == 1 then
  1021. for i,v in pairs(yellow:children()) do
  1022. if v:IsA'Part' then
  1023. Debounces.Doe = false
  1024. v.Transparency = 1
  1025. end
  1026. end
  1027. end
  1028. end
  1029. ---------------------------------------------------
  1030. local modes = {
  1031. ['cannon'] = true,
  1032. ['lightning'] = false,
  1033. ['beam'] = false
  1034. }
  1035. --Attacks
  1036. function attack1(brickcolor)
  1037. Debounces.CanAttack = false
  1038. Debounces.NoIdl = true
  1039. Debounces.on = true
  1040. sroot.Anchored = false
  1041. coroutine.resume(coroutine.create(function()
  1042. for i=1,10 do
  1043. --wait(0.01)
  1044. srarm.Weld.C0 = Lerp(srarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(120)), 0.2)
  1045. slarm.Weld.C0 = Lerp(slarm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(-20)), 0.2)
  1046. shed.Weld.C0 = Lerp(shed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-80),0), 0.2)
  1047. storso.Weld.C0 = Lerp(storso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-25), 0), 0.2)
  1048. slleg.Weld.C0 = Lerp(slleg.Weld.C0, CFrame.new(-0.8, -1, 0.3) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  1049. srleg.Weld.C0 = Lerp(srleg.Weld.C0, CFrame.new(0.7, -1, -.5) * CFrame.Angles(math.rad(0), math.rad(-80), math.rad(0)), 0.2)
  1050. rs:wait(0)
  1051. sroot.CFrame = torso.CFrame
  1052. end
  1053. for i=1,10 do
  1054. --wait(0.01)
  1055. srarm.Weld.C0 = Lerp(srarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-90),math.rad(-60),math.rad(120)), 0.7)
  1056. slarm.Weld.C0 = Lerp(slarm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(-30)), 0.7)
  1057. shed.Weld.C0 = Lerp(shed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-80),0), 0.7)
  1058. storso.Weld.C0 = Lerp(storso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-20), 0), 0.7)
  1059. slleg.Weld.C0 = Lerp(slleg.Weld.C0, CFrame.new(-0.8, -1, 0.3) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.7)
  1060. srleg.Weld.C0 = Lerp(srleg.Weld.C0, CFrame.new(0.7, -1, -.5) * CFrame.Angles(math.rad(0), math.rad(-80), math.rad(0)), 0.7)
  1061. rs:wait(0)
  1062. sroot.CFrame = torso.CFrame
  1063. end
  1064. sroot.Anchored = true
  1065. end))
  1066. for i=1,10 do
  1067. --wait(0.01)
  1068. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(120)), 0.2)
  1069. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(-20)), 0.2)
  1070. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-80),0), 0.2)
  1071. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(65), 0), 0.2)
  1072. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, -1, 0.3) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  1073. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.7, -1, -.5) * CFrame.Angles(math.rad(0), math.rad(-80), math.rad(0)), 0.2)
  1074. rs:wait(0)
  1075. end
  1076. for i=1,10 do
  1077. --wait(0.01)
  1078. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-90),math.rad(-60),math.rad(120)), 0.7)
  1079. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(20),math.rad(0),math.rad(-30)), 0.7)
  1080. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-80),0), 0.7)
  1081. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(55), 0), 0.7)
  1082. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, -1, 0.3) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.7)
  1083. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.7, -1, -.5) * CFrame.Angles(math.rad(0), math.rad(-80), math.rad(0)), 0.7)
  1084. rs:wait(0)
  1085. end
  1086. MagicBlock(brickcolor, cf(rarm.CFrame.p), 10, 10, 10, -1, -1, -1, 0.08, 1)
  1087. for i,v in pairs(modes) do
  1088. if v == true and i == 'cannon' then
  1089. print(i)
  1090. Lightning(rarm.Position, mouse.Hit.p, 1, 5, "Bright yellow", 2, 0.1, 0.03)
  1091. end
  1092. if v == true and i == 'lightning' then
  1093. print(i)
  1094. Lightning(rarm.Position, mouse.Hit.p, 5, 5, "Bright yellow", 0.4, 0.1, 0.03)
  1095. MagicBlock(brickcolor, cf(mouse.Hit.p), 40, 40, 40, -1, -1, -1, 0.08, 1)
  1096. if mouse.Target.className ~= 'Terrain' then
  1097. mouse.Target:BreakJoints()
  1098. fly(mouse.Target, 100)
  1099. end
  1100. end
  1101. if v == true and i == 'beam' then
  1102. print(i)
  1103. Lightning(rarm.Position, mouse.Hit.p, 1, 5, "Bright yellow", 0.5, 0.1, 0.03)
  1104. end
  1105. end
  1106. Debounces.CanAttack = true
  1107. Debounces.NoIdl = false
  1108. Debounces.on = false
  1109. end
  1110. function handcannon(brickcolor)
  1111. Debounces.CanAttack = false
  1112. Debounces.NoIdl = true
  1113. Debounces.on = true
  1114. sroot.Anchored = false
  1115. coroutine.resume(coroutine.create(function()
  1116. for i = 1, 10 do
  1117. srarm.Weld.C0 = Lerp(srarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(-20)), 0.4)
  1118. slarm.Weld.C0 = Lerp(slarm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.4)
  1119. shed.Weld.C0 = Lerp(shed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4)
  1120. storso.Weld.C0 = Lerp(storso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-20), math.rad(0)), 0.4)
  1121. slleg.Weld.C0 = Lerp(slleg.Weld.C0, CFrame.new(-0.5, -1, -.3) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1122. srleg.Weld.C0 = Lerp(srleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(8)), 0.4)
  1123. if Debounces.on == false then break end
  1124. rs:wait()
  1125. sroot.CFrame = torso.CFrame
  1126. end
  1127. for i = 1, 10 do
  1128. srarm.Weld.C0 = Lerp(srarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(-20)), 0.4)
  1129. slarm.Weld.C0 = Lerp(slarm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(-10)), 0.4)
  1130. shed.Weld.C0 = Lerp(shed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4)
  1131. storso.Weld.C0 = Lerp(storso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-20), math.rad(0)), 0.4)
  1132. slleg.Weld.C0 = Lerp(slleg.Weld.C0, CFrame.new(-0.5, -1, -.3) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1133. srleg.Weld.C0 = Lerp(srleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(8)), 0.4)
  1134. if Debounces.on == false then break end
  1135. rs:wait()
  1136. sroot.CFrame = torso.CFrame
  1137. end
  1138. sroot.Anchored = true
  1139. end))
  1140. for i = 1, 10 do
  1141. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(-20)), 0.4)
  1142. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-40)), 0.4)
  1143. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4)
  1144. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), math.rad(0)), 0.4)
  1145. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -.3) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1146. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(8)), 0.4)
  1147. if Debounces.on == false then break end
  1148. rs:wait()
  1149. end
  1150. --(Part0,Part1,Times,Offset,Color,Thickness,Trans)
  1151. for i = 1, 10 do
  1152. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-40),math.rad(0),math.rad(-20)), 0.4)
  1153. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.62,-.2)*CFrame.Angles(math.rad(120),math.rad(0),math.rad(-10)), 0.4)
  1154. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.4)
  1155. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), math.rad(0)), 0.4)
  1156. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -.3) * CFrame.Angles(0, 0, math.rad(-8)), 0.4)
  1157. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(8)), 0.4)
  1158. if Debounces.on == false then break end
  1159. rs:wait()
  1160. end
  1161. for i,v in pairs(modes) do
  1162. if v == true and i == 'cannon' then
  1163. print(i)
  1164. Lightning(larm.Position, mouse.Hit.p, 1, 5, "Bright yellow", 2, 0.1, 0.03)
  1165. end
  1166. if v == true and i == 'lightning' then
  1167. print(i)
  1168. Lightning(larm.Position, mouse.Hit.p, 5, 5, "Bright yellow", 0.4, 0.1, 0.03)
  1169. MagicBlock(brickcolor, cf(mouse.Hit.p), 40, 40, 40, -1, -1, -1, 0.08, 1)
  1170. if mouse.Target.className ~= 'Terrain' then
  1171. mouse.Target:BreakJoints()
  1172. fly(mouse.Target, 100)
  1173. end
  1174. end
  1175. if v == true and i == 'beam' then
  1176. print(i)
  1177. Lightning(larm.Position, mouse.Hit.p, 1, 5, "Bright yellow", 0.5, 0.1, 0.03)
  1178. end
  1179. end
  1180. Debounces.CanAttack = true
  1181. Debounces.NoIdl = false
  1182. Debounces.on = false
  1183. end
  1184. function transform()
  1185. if not Debounces.Doe then
  1186. Debounces.CanAttack = false
  1187. Debounces.NoIdl = true
  1188. Debounces.on = true
  1189. --charge up
  1190. for i = 1, 10 do
  1191. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-40)), 0.4)
  1192. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,-.2)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(40)), 0.4)
  1193. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(50),0), 0.4)
  1194. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(0)), 0.1)
  1195. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  1196. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -.3) * CFrame.Angles(math.rad(40), 0, math.rad(-4)), 0.4)
  1197. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4)
  1198. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(40), 0, math.rad(4)), 0.4)
  1199. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4)
  1200. if Debounces.on == false then break end
  1201. rs:wait()
  1202. end
  1203. wait(0.05)
  1204. --transform
  1205. for i = 1, 10 do
  1206. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.62,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(40)), 0.4)
  1207. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.62,-.2)*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(-40)), 0.4)
  1208. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(50),0), 0.4)
  1209. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(40), math.rad(0), math.rad(0)), 0.1)
  1210. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  1211. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1.3, -.3) * CFrame.Angles(math.rad(-50), 0, math.rad(-4)), 0.4)
  1212. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4)
  1213. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1.3, 0) * CFrame.Angles(math.rad(-50), 0, math.rad(4)), 0.4)
  1214. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4)
  1215. if Debounces.on == false then break end
  1216. rs:wait()
  1217. end
  1218. Debounces.CanAttack = true
  1219. Debounces.NoIdl = false
  1220. Debounces.on = false
  1221. do2(BrickColor.new("Bright yellow"))
  1222. for i=0,#forms do
  1223. ap(i)
  1224. end
  1225. else
  1226. for i=0,#forms do
  1227. dap(i)
  1228. end
  1229. do2(BrickColor.new("Institutional white"))
  1230. end
  1231. end
  1232. ----------------------------------------------------
  1233. mouse.KeyDown:connect(function(key)
  1234. if key == "0" then
  1235. if myVars[4] ~= true then
  1236. myVars[4] = true
  1237. char.Humanoid.WalkSpeed = 110
  1238. end
  1239. end
  1240. end)
  1241. mouse.KeyUp:connect(function(key)
  1242. if key == "0" then
  1243. if myVars[4] ~= true then
  1244. return
  1245. else
  1246. myVars[4] = false
  1247. char.Humanoid.WalkSpeed = 125
  1248. end
  1249. end
  1250. end)
  1251.  
  1252. mouse.KeyDown:connect(function(key)
  1253. if key == "k" then
  1254. transform()
  1255. end
  1256. end)
  1257. mouse.KeyDown:connect(function(key)
  1258. if key == "p" then
  1259. for i,v in pairs(modes) do
  1260. if v == true and i == 'cannon' then
  1261. print(i)
  1262. modes['cannon'] = false
  1263. modes['lightning'] = true
  1264. return
  1265. end
  1266. if v == true and i == 'lightning' then
  1267. print(i)
  1268. modes['lightning'] = false
  1269. modes['beam'] = true
  1270. return
  1271. end
  1272. if v == true and i == 'beam' then
  1273. print(i)
  1274. modes['beam'] = false
  1275. modes['cannon'] = true
  1276. return
  1277. end
  1278. end
  1279. end
  1280. end)
  1281. mouse.Button1Down:connect(function(key)
  1282. if Debounces.Doe then
  1283. if not myVars[5] then
  1284. myVars[5] = true
  1285. attack1(BrickColor.new("Bright yellow"))
  1286. end
  1287. end
  1288. end)
  1289.  
  1290. mouse.Button1Up:connect(function(key)
  1291. if Debounces.Doe then
  1292. if myVars[5] then
  1293. myVars[5] = false
  1294. end
  1295. end
  1296. end)
  1297. ----------------------------------------------------
  1298. local jump = false
  1299. cf = CFrame.new
  1300. char.Humanoid.MaxHealth = math.huge
  1301. char.Humanoid.Health = math.huge
  1302. local rara = 0
  1303. local ffing = false
  1304. game:GetService("RunService"):BindToRenderStep("anims", Enum.RenderPriority.Camera.Value+1, function()
  1305. if myVars[5] then
  1306. --handcannon(BrickColor.new("Bright yellow"))
  1307. end
  1308. if char.Humanoid.Jump == true then
  1309. if not jump then
  1310. jump = true
  1311. end
  1312. else
  1313. jump = false
  1314. end
  1315. char.Humanoid.FreeFalling:connect(function(f)
  1316. if f then
  1317. ffing = true
  1318. else
  1319. if ffing then
  1320. ffing = false
  1321. animpose = "Walking"
  1322. end
  1323. end
  1324. end)
  1325. sine = sine + change
  1326. if jump == true then
  1327. animpose = "Jumping"
  1328. elseif ffing == true then
  1329. animpose = "Freefalling"
  1330. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  1331. animpose = "Idle"
  1332. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 40 then
  1333. animpose = "Walking"
  1334. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 60 then
  1335. animpose = "Running"
  1336. end
  1337. RightLeg = CFrame.new(0.5,-1,0)
  1338. LeftLeg = CFrame.new(-0.5,-1,0)
  1339.  
  1340. lefth = (torso.CFrame*LeftLeg)
  1341. righth = (torso.CFrame*RightLeg)
  1342.  
  1343. speed = Vector3.new(torso.Velocity.X,0,torso.Velocity.Z)
  1344.  
  1345. TiltOnAxis = (torso.CFrame-torso.CFrame.p):vectorToObjectSpace(speed/100)
  1346.  
  1347. local AngleThetaR = (righth-righth.p):vectorToObjectSpace(speed/100)
  1348. local AngleThetaL = (lefth-lefth.p):vectorToObjectSpace(speed/100)
  1349. if animpose ~= lastanimpose then
  1350. sine = 0
  1351. if Debounces.NoIdl == false then
  1352. if stanceToggle == "Idle1" then
  1353. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0.2)*CFrame.Angles(math.rad(-12-4*math.cos(sine/22)),math.rad(-12-2*math.cos(sine/22)),math.rad(12+2*math.cos(sine/22))), 0.3)
  1354. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,-0.2)*CFrame.Angles(math.rad(20+4*math.cos(sine/22)),math.rad(-22-2*math.cos(sine/22)),math.rad(-15-2*math.cos(sine/22))), 0.3)
  1355. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-12+2.5*math.cos(sine/22)),math.rad(0),math.rad(0)), 0.2)
  1356. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-2+2*math.cos(sine/22)), math.rad(0), 0), 0.2)
  1357. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(5), math.rad(-5)), 0.2)
  1358. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(0-2*math.cos(sine/22)), math.rad(-5), math.rad(5)), 0.2)
  1359. elseif stanceToggle == "Idle2" then
  1360. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0.2)*CFrame.Angles(math.rad(-22-4*math.cos(sine/12)),math.rad(-40-2*math.cos(sine/12)),math.rad(24+2*math.cos(sine/12))), 0.3)
  1361. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.6,-0.6)*CFrame.Angles(math.rad(90+4*math.cos(sine/12)),math.rad(0),math.rad(50-2*math.cos(sine/12))), 0.3)
  1362. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(-6+2.5*math.cos(sine/12)),math.rad(0),math.rad(0)), 0.2)
  1363. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-20+2*math.cos(sine/12)), math.rad(0), 0), 0.2)
  1364. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.4, -1) * CFrame.Angles(math.rad(-7-2*math.cos(sine/12)), math.rad(7), math.rad(-5)), 0.2)
  1365. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.8, -0.2) * CFrame.Angles(math.rad(-30-2*math.cos(sine/12)), math.rad(-9), math.rad(5)), 0.2)
  1366. end
  1367. --fat.Event:wait()
  1368. end
  1369. else
  1370. end
  1371. lastanimpose = animpose
  1372. if Debounces.NoIdl == false then
  1373. if animpose == "Idle" then
  1374. change = 0.5
  1375. if stanceToggle == "Idle1" then
  1376. if not myVars[6] then
  1377. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.6+0.05*math.cos(sine/10),0.6+0.1*math.cos(sine/10),-0.2-0.1*math.cos(sine/10))*CFrame.Angles(math.rad(8+2.5*math.cos(sine/10)),math.rad(22+7*math.cos(sine/10)),math.rad(15+2*math.cos(sine/10))), 0.8)
  1378. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1379. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.6-0.05*math.cos(sine/10),0.6+0.1*math.cos(sine/10),0.2+0.1*math.cos(sine/10))*CFrame.Angles(math.rad(-8-2.5*math.cos(sine/10)),math.rad(12+5*math.cos(sine/10)),math.rad(-12-3*math.cos(sine/10))), 0.8)
  1380. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1381. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.05*math.cos(sine/10))*CFrame.Angles(math.rad(-15+3*math.cos(sine/10)),math.rad(0),math.rad(0)), 0.5)
  1382. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(20-3*math.cos(sine/10)),math.rad(0)), 0.1)
  1383. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-6+3*math.cos(sine/10)), math.rad(0), 0), 0.1)
  1384. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0-0.08*math.cos(sine/10), -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20+3*math.cos(sine/10)), 0), 0.1)
  1385. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.14+0.06*math.cos(sine/10)) * CFrame.Angles(math.rad(-3-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1)
  1386. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(-10-3*math.cos(sine/10)), math.rad(5+3*math.cos(sine/10))), 0.1)
  1387. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(8-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1)
  1388. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(10-3*math.cos(sine/10)), math.rad(-5+3*math.cos(sine/10))), 0.1)
  1389. if Debounces.Doe then
  1390. --yellow:MoveTo(torso.CFrame.p)
  1391. storso.CFrame = torso.CFrame
  1392. srarm.Weld.C0 = Lerp(srarm.Weld.C0, CFrame.new(1.6+0.05*math.cos(sine/10),0.6+0.1*math.cos(sine/10),-0.2-0.1*math.cos(sine/10))*CFrame.Angles(math.rad(8+2.5*math.cos(sine/10)),math.rad(22+7*math.cos(sine/10)),math.rad(15+2*math.cos(sine/10))), 0.8)
  1393. srarm.Weld.C1 = Lerp(srarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1394. slarm.Weld.C0 = Lerp(slarm.Weld.C0, CFrame.new(-1.6-0.05*math.cos(sine/10),0.6+0.1*math.cos(sine/10),0.2+0.1*math.cos(sine/10))*CFrame.Angles(math.rad(-8-2.5*math.cos(sine/10)),math.rad(12+5*math.cos(sine/10)),math.rad(-12-3*math.cos(sine/10))), 0.8)
  1395. slarm.Weld.C1 = Lerp(slarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1396. shed.Weld.C0 = Lerp(shed.Weld.C0, CFrame.new(0,1.5,-0.1+0.05*math.cos(sine/10))*CFrame.Angles(math.rad(-15+3*math.cos(sine/10)),math.rad(0),math.rad(0)), 0.5)
  1397. shed.Weld.C1 = Lerp(shed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(20-3*math.cos(sine/10)),math.rad(0)), 0.1)
  1398. storso.Weld.C0 = Lerp(storso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-6+3*math.cos(sine/10)), math.rad(0), 0), 0.1)
  1399. storso.Weld.C1 = Lerp(storso.Weld.C1, CFrame.new(0-0.08*math.cos(sine/10), -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20+3*math.cos(sine/10)), 0), 0.1)
  1400. slleg.Weld.C0 = Lerp(slleg.Weld.C0, CFrame.new(-0.5, -1, -0.14+0.06*math.cos(sine/10)) * CFrame.Angles(math.rad(-3-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1)
  1401. slleg.Weld.C1 = Lerp(slleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(-10-3*math.cos(sine/10)), math.rad(5+3*math.cos(sine/10))), 0.1)
  1402. srleg.Weld.C0 = Lerp(srleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(8-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1)
  1403. srleg.Weld.C1 = Lerp(srleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(10-3*math.cos(sine/10)), math.rad(-5+3*math.cos(sine/10))), 0.1)
  1404. end
  1405. else --if giant
  1406. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.6+0.05*math.cos(sine/10),0.6+0.1*math.cos(sine/10),-0.2-0.1*math.cos(sine/10))*CFrame.Angles(math.rad(12+2.5*math.cos(sine/10)),math.rad(22+7*math.cos(sine/10)),math.rad(15+2*math.cos(sine/10))), 0.8)
  1407. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(-.6, 0.5, -.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1408. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.6-0.05*math.cos(sine/10),0.6+0.1*math.cos(sine/10),0.2+0.1*math.cos(sine/10))*CFrame.Angles(math.rad(-12-2.5*math.cos(sine/10)),math.rad(12+5*math.cos(sine/10)),math.rad(-12-3*math.cos(sine/10))), 0.8)
  1409. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(.6, 0.5, .2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1410. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,2.3,-0.1+0.05*math.cos(sine/10))*CFrame.Angles(math.rad(-15+3*math.cos(sine/10)),math.rad(0),math.rad(0)), 0.5)
  1411. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(20-3*math.cos(sine/10)),math.rad(0)), 0.1)
  1412. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.4, 0) * CFrame.Angles(math.rad(-6+3*math.cos(sine/10)), math.rad(0), 0), 0.1)
  1413. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0-0.08*math.cos(sine/10), -1.5, 0) * CFrame.Angles(math.rad(0), math.rad(-20+3*math.cos(sine/10)), 0), 0.1)
  1414. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.7, -2.2, -0.14+0.06*math.cos(sine/10)) * CFrame.Angles(math.rad(-3-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1)
  1415. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(-10-3*math.cos(sine/10)), math.rad(5+3*math.cos(sine/10))), 0.1)
  1416. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.7, -2.2, -0.06) * CFrame.Angles(math.rad(8-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1)
  1417. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(10-3*math.cos(sine/10)), math.rad(-5+3*math.cos(sine/10))), 0.1)
  1418. end
  1419. elseif stanceToggle == "Idle2" then
  1420. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65-0.1*math.cos(sine/3),0)*CFrame.Angles(math.rad(10),math.rad(0),math.rad(20-2*math.cos(sine/3))), 0.1)
  1421. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
  1422. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.23, 0.5, -.56) * CFrame.Angles(math.rad(88+4*math.cos(sine/3)), 0, math.rad(45)), 0.6)
  1423. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0,0.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.2)
  1424. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2-0.05*math.cos(sine/3), 0) * CFrame.Angles(math.rad(-10+2*math.cos(sine/6)), 0, 0), 0.8)
  1425. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  1426. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-10), 0, 0), 0.3)
  1427. --hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.2) * CFrame.Angles(math.rad(-5-10*math.cos(sine/18)), math.sin(sine/36)/3, 0), 0.3)
  1428. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1429. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, 0, -1.15) * CFrame.Angles(math.rad(-9-2*math.cos(sine/6)), 0, 0), 0.8)
  1430. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1-0.1*math.cos(sine/3), 0+0.04*math.cos(sine/6)) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5)), 0.8)
  1431. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -.1) * CFrame.Angles(math.rad(-56-2*math.cos(sine/6)), 0, 0), 0.8)
  1432. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1-0.05*math.cos(sine/3), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-5)), 0.8)
  1433. elseif stanceToggle == "Grabbed" then
  1434. grab = true
  1435. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65-0.1*math.cos(sine/3),0)*CFrame.Angles(math.rad(175),math.rad(0),math.rad(15-2*math.cos(sine/3))), 0.1)
  1436. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.23, 0.5, 0) * CFrame.Angles(math.rad(175), 0, math.rad(-15+2*math.cos(sine/3))), 0.1)
  1437. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0,-1, 0) * CFrame.Angles(math.rad(-10+2*math.cos(sine/6)), 0, 0), 0.8)
  1438. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.1)
  1439. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.05*math.cos(sine/10))*CFrame.Angles(math.rad(-15+3*math.cos(sine/10)),math.rad(0),math.rad(0)), 0.5)
  1440. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(20-3*math.cos(sine/10)),math.rad(0)), 0.1)
  1441. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-6+3*math.cos(sine/10)), math.rad(0), 0), 0.1)
  1442. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0-0.08*math.cos(sine/10), -1, 0) * CFrame.Angles(math.rad(0), math.rad(-20+3*math.cos(sine/10)), 0), 0.1)
  1443. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, -0.14+0.06*math.cos(sine/10)) * CFrame.Angles(math.rad(-3-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1)
  1444. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(-10-3*math.cos(sine/10)), math.rad(5+3*math.cos(sine/10))), 0.1)
  1445. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.06) * CFrame.Angles(math.rad(8-3*math.cos(sine/10)), math.rad(0), math.rad(0)), 0.1)
  1446. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(10-3*math.cos(sine/10)), math.rad(-5+3*math.cos(sine/10))), 0.1)
  1447. end
  1448. elseif animpose == "Walking" then
  1449. if stanceToggle == "Grabbed" then
  1450. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/2), math.sin(sine/4)/4) * CFrame.Angles(-math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(10+7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4)
  1451. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
  1452. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(120+4*math.cos(sine/2)),math.rad(0),math.rad(-30+4*math.cos(sine/4))), 0.3)
  1453. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0,0.5, 0)*CFrame.Angles(math.rad(0), math.rad(0),math.rad(0)), 0.2)
  1454. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.1*math.cos(sine/2))*CFrame.Angles(math.rad(-10+4*math.cos(sine/2)), math.rad(0-8*math.cos(sine/4)/2.3), math.rad(0)),0.4)
  1455. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.7)
  1456. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.12*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/2)), math.rad(0+10*math.cos(sine/4)/2.3)+root.RotVelocity.Y/30, math.rad(0)+root.RotVelocity.Y/30), 0.4)
  1457. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  1458. lleg.Weld.C0 = lleg.Weld.C0:lerp(CFrame.new(-0.5,-1-math.cos(sine/4)*.3,0+math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*AngleThetaL.Z,AngleThetaL.X,(math.sin(sine/4)*3*-AngleThetaL.X)-root.RotVelocity.Y/20),0.8)
  1459. lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1460. rleg.Weld.C0 = rleg.Weld.C0:lerp(CFrame.new(0.5,-1+math.cos(sine/4)*.3,0-math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*-AngleThetaR.Z,AngleThetaR.X,(math.sin(sine/4)*3*AngleThetaR.X)-root.RotVelocity.Y/20),0.8)
  1461. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1462.  
  1463. elseif stanceToggle ~= "Grabbed" then
  1464. if myVars[4] then --if running
  1465. if Debounces.Doe then
  1466. --yellow:MoveTo(torso.CFrame.p)
  1467. storso.CFrame = torso.CFrame
  1468. srarm.Weld.C0 = Lerp(srarm.Weld.C0, CFrame.new(1.24+.6*math.cos(sine/4)/1.4, 0.54, 0+0.8*math.cos(sine/4)) * CFrame.Angles(math.rad(6-140*math.cos(sine/4)/1.2), math.rad(0), math.rad(-20+70*math.cos(sine/4))), 0.2)
  1469. srarm.Weld.C1 = Lerp(srarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36)
  1470. slarm.Weld.C0 = Lerp(slarm.Weld.C0, CFrame.new(-1.24+.6*math.cos(sine/4)/1.4, 0.54, 0-0.8*math.cos(sine/4))*CFrame.Angles(math.rad(6+140*math.cos(sine/4)/1.2), math.rad(0), math.rad(20+70*math.cos(sine/4))), 0.2)
  1471. slarm.Weld.C1 = Lerp(slarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1472. shed.Weld.C0 = Lerp(shed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-8+12*math.cos(sine/2)/1.5), math.rad(0+12*math.cos(sine/4)), math.rad(0)),0.2)
  1473. shed.Weld.C1 = Lerp(shed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.5)
  1474. storso.Weld.C0 = Lerp(storso.Weld.C0, CFrame.new(0, -1+0.2*math.cos(sine/2)/1.7, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/2)/1.5), math.rad(0-12*math.cos(sine/4))-root.RotVelocity.Y/10, math.rad(0)+root.RotVelocity.Y/20), 0.2)
  1475. storso.Weld.C1 = Lerp(storso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1476. slleg.Weld.C0 = Lerp(slleg.Weld.C0, CFrame.new(-0.5, -.8-0.4*math.cos(sine/4)/2, math.sin(sine/4)/2) * CFrame.Angles(math.rad(-10) + -math.sin(sine/4)/1.2, math.rad(0+12*math.cos(sine/4))+root.RotVelocity.Y/10, 0), .8)
  1477. slleg.Weld.C1 = Lerp(slleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1478. srleg.Weld.C0 = Lerp(srleg.Weld.C0, CFrame.new(0.5, -.8+0.4*math.cos(sine/4)/2, -math.sin(sine/4)/2) * CFrame.Angles(math.rad(-10) + math.sin(sine/4)/1.2, math.rad(0+12*math.cos(sine/4))+root.RotVelocity.Y/10, 0), .8)
  1479. srleg.Weld.C1 = Lerp(srleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1480. end
  1481. change = 1
  1482. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.24+.6*math.cos(sine/4)/1.4, 0.54, 0+0.8*math.cos(sine/4)) * CFrame.Angles(math.rad(6-140*math.cos(sine/4)/1.2), math.rad(0), math.rad(-20+70*math.cos(sine/4))), 0.2)
  1483. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36)
  1484. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.24+.6*math.cos(sine/4)/1.4, 0.54, 0-0.8*math.cos(sine/4))*CFrame.Angles(math.rad(6+140*math.cos(sine/4)/1.2), math.rad(0), math.rad(20+70*math.cos(sine/4))), 0.2)
  1485. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1486. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-8+12*math.cos(sine/2)/1.5), math.rad(0+12*math.cos(sine/4)), math.rad(0)),0.2)
  1487. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.5)
  1488. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.2*math.cos(sine/2)/1.7, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/2)/1.5), math.rad(0-12*math.cos(sine/4))-root.RotVelocity.Y/10, math.rad(0)+root.RotVelocity.Y/20), 0.2)
  1489. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1490. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.8-0.4*math.cos(sine/4)/2, math.sin(sine/4)/2) * CFrame.Angles(math.rad(-10) + -math.sin(sine/4)/1.2, math.rad(0+12*math.cos(sine/4))+root.RotVelocity.Y/10, 0), .8)
  1491. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1492. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8+0.4*math.cos(sine/4)/2, -math.sin(sine/4)/2) * CFrame.Angles(math.rad(-10) + math.sin(sine/4)/1.2, math.rad(0+12*math.cos(sine/4))+root.RotVelocity.Y/10, 0), .8)
  1493. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1494.  
  1495. else --if not running
  1496. if Debounces.Doe then
  1497. --yellow:MoveTo(torso.CFrame.p)
  1498. storso.CFrame = torso.CFrame
  1499. srarm.Weld.C0 = Lerp(srarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/2), math.sin(sine/4)/4) * CFrame.Angles(-math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(10+7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4)
  1500. srarm.Weld.C1 = Lerp(srarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
  1501. slarm.Weld.C0 = Lerp(slarm.Weld.C0, CFrame.new(-1.5, 0.5+.05*math.cos(sine/2), -math.sin(sine/4)/4)*CFrame.Angles(math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(-10-7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4)
  1502. slarm.Weld.C1 = Lerp(slarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
  1503. shed.Weld.C0 = Lerp(shed.Weld.C0, CFrame.new(0,1.5,-0.1+0.1*math.cos(sine/2))*CFrame.Angles(math.rad(-10+4*math.cos(sine/2)), math.rad(0-8*math.cos(sine/4)/2.3), math.rad(0)),0.4)
  1504. shed.Weld.C1 = Lerp(shed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.7)
  1505. storso.Weld.C0 = Lerp(storso.Weld.C0, CFrame.new(0, -1+0.12*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/2)), math.rad(0+10*math.cos(sine/4)/2.3)+root.RotVelocity.Y/30, math.rad(0)+root.RotVelocity.Y/30), 0.4)
  1506. storso.Weld.C1 = Lerp(storso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  1507. slleg.Weld.C0 = slleg.Weld.C0:lerp(CFrame.new(-0.5,-1-math.cos(sine/4)*.3,0+math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*AngleThetaL.Z,AngleThetaL.X,(math.sin(sine/4)*3*-AngleThetaL.X)-root.RotVelocity.Y/20),0.8)
  1508. slleg.Weld.C1 = Lerp(srleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1509. srleg.Weld.C0 = srleg.Weld.C0:lerp(CFrame.new(0.5,-1+math.cos(sine/4)*.3,0-math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*-AngleThetaR.Z,AngleThetaR.X,(math.sin(sine/4)*3*AngleThetaR.X)-root.RotVelocity.Y/20),0.8)
  1510. srleg.Weld.C1 = Lerp(srleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1511. end
  1512. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/2), math.sin(sine/4)/4) * CFrame.Angles(-math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(10+7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4)
  1513. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
  1514. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5+.05*math.cos(sine/2), -math.sin(sine/4)/4)*CFrame.Angles(math.sin(sine/4)/2.8, -math.sin(sine/4)/3, (math.rad(-10-7*math.cos(sine/2))+root.RotVelocity.Y/30)), 0.4)
  1515. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.7)
  1516. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-0.1+0.1*math.cos(sine/2))*CFrame.Angles(math.rad(-10+4*math.cos(sine/2)), math.rad(0-8*math.cos(sine/4)/2.3), math.rad(0)),0.4)
  1517. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.7)
  1518. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.12*math.cos(sine/2), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/2)), math.rad(0+10*math.cos(sine/4)/2.3)+root.RotVelocity.Y/30, math.rad(0)+root.RotVelocity.Y/30), 0.4)
  1519. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.8)
  1520. lleg.Weld.C0 = lleg.Weld.C0:lerp(CFrame.new(-0.5,-1-math.cos(sine/4)*.3,0+math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*AngleThetaL.Z,AngleThetaL.X,(math.sin(sine/4)*3*-AngleThetaL.X)-root.RotVelocity.Y/20),0.8)
  1521. lleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1522. rleg.Weld.C0 = rleg.Weld.C0:lerp(CFrame.new(0.5,-1+math.cos(sine/4)*.3,0-math.sin(sine/4)*.1)*CFrame.Angles(math.sin(sine/4)*3*-AngleThetaR.Z,AngleThetaR.X,(math.sin(sine/4)*3*AngleThetaR.X)-root.RotVelocity.Y/20),0.8)
  1523. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1524. end
  1525. end
  1526. elseif animpose == "Running" then
  1527. change = 1
  1528. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.24+.6*math.cos(sine/4)/1.4, 0.54, 0+0.8*math.cos(sine/4)) * CFrame.Angles(math.rad(6-140*math.cos(sine/4)/1.2), math.rad(0), math.rad(-20+70*math.cos(sine/4))), 0.2)
  1529. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36)
  1530. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.24+.6*math.cos(sine/4)/1.4, 0.54, 0-0.8*math.cos(sine/4))*CFrame.Angles(math.rad(6+140*math.cos(sine/4)/1.2), math.rad(0), math.rad(20+70*math.cos(sine/4))), 0.2)
  1531. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1532. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-8+12*math.cos(sine/2)/1.5), math.rad(0+12*math.cos(sine/4)), math.rad(0)),0.2)
  1533. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0)-root.RotVelocity.Y/10,math.rad(0)), 0.5)
  1534. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.2*math.cos(sine/2)/1.7, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/2)/1.5), math.rad(0-12*math.cos(sine/4))-root.RotVelocity.Y/10, math.rad(0)+root.RotVelocity.Y/20), 0.2)
  1535. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1536. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.8-0.4*math.cos(sine/4)/2, math.sin(sine/4)/2) * CFrame.Angles(math.rad(-10) + -math.sin(sine/4)/1.2, math.rad(0+12*math.cos(sine/4))+root.RotVelocity.Y/10, 0), .8)
  1537. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1538. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8+0.4*math.cos(sine/4)/2, -math.sin(sine/4)/2) * CFrame.Angles(math.rad(-10) + math.sin(sine/4)/1.2, math.rad(0+12*math.cos(sine/4))+root.RotVelocity.Y/10, 0), .8)
  1539. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1540. elseif animpose == "Jumping" then
  1541. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(20)), 0.2)
  1542. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.36)
  1543. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.6, 0)*CFrame.Angles(math.rad(-10),math.rad(0),math.rad(-20)), 0.2)
  1544. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(0, 0.5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1545. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(30),math.rad(0),0), 0.2)
  1546. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.2)
  1547. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1548. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  1549. lleg.Weld.C1 = Lerp(lleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1550. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  1551. rleg.Weld.C1 = Lerp(rleg.Weld.C1, CFrame.new(0, 1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1552. elseif animpose == "Freefalling" then
  1553. if myVars[6] then
  1554. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.7+0.05*math.cos(sine/10),1.3+0.1*math.cos(sine/10),-0.2-0.1*math.cos(sine/10))*CFrame.Angles(math.rad(120+2.5*math.cos(sine/10)),math.rad(22+7*math.cos(sine/10)),math.rad(30+2*math.cos(sine/10))), 0.8)
  1555. rarm.Weld.C1 = Lerp(rarm.Weld.C1, CFrame.new(-.6, 0.5, -.2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1556. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.7-0.05*math.cos(sine/10),1.3+0.1*math.cos(sine/10),0.2+0.1*math.cos(sine/10))*CFrame.Angles(math.rad(120-2.5*math.cos(sine/10)),math.rad(12+5*math.cos(sine/10)),math.rad(-26-3*math.cos(sine/10))), 0.8)
  1557. larm.Weld.C1 = Lerp(larm.Weld.C1, CFrame.new(.6, 0.5, .2)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.5)
  1558. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,2.3,-0.1+0.05*math.cos(sine/10))*CFrame.Angles(math.rad(-30+1*math.cos(sine/10)),math.rad(0),math.rad(0)), 0.2)
  1559. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.4, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  1560. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.3)
  1561. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.6, -1.8, -.6) * CFrame.Angles(math.rad(60), 0, math.rad(-5)), 0.3)
  1562. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(.6, -2.2, 0) * CFrame.Angles(math.rad(10), 0, math.rad(5)), 0.3)
  1563. end
  1564. end
  1565. if #Effects>0 then
  1566. --table.insert(Effects,{prt,"Block1",delay})
  1567. for e=1,#Effects do
  1568. if Effects[e]~=nil then
  1569. --for j=1,#Effects[e] do
  1570. local Thing=Effects[e]
  1571. if Thing~=nil then
  1572. local Part=Thing[1]
  1573. local Mode=Thing[2]
  1574. local Delay=Thing[3]
  1575. local IncX=Thing[4]
  1576. local IncY=Thing[5]
  1577. local IncZ=Thing[6]
  1578. if Thing[1].Transparency<=1 then
  1579.  
  1580. if Thing[2] == "Block1" then
  1581. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1582. Mesh = Thing[1].Mesh
  1583. print('RAN!')
  1584. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1585. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1586. elseif Thing[2] == "Block2" then
  1587. Thing[1].CFrame = Thing[1].CFrame
  1588. Mesh = Thing[7]
  1589. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1590. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1591. elseif Thing[2] == "SatelliteStrike2" then
  1592. if Thing[5] < 100 then
  1593. Thing[5] = Thing[5] + 2
  1594. Thing[6] = Thing[6] + 1
  1595. if 2 < Thing[6] then
  1596. Thing[6] = 0
  1597. if Thing[3].BrickColor == BrickColor.new("New Yeller") then
  1598. Thing[3].Transparency = 0.8
  1599. Thing[3].BrickColor = BrickColor.new("Really red")
  1600. else
  1601. Thing[3].Transparency = 0.8
  1602. Thing[3].BrickColor = BrickColor.new("New Yeller")
  1603. end
  1604. end
  1605. else
  1606. refda = part(3, effects, 0, 1, BrickColor.new("Black"), "Reference", vt())
  1607. refda.Anchored = true
  1608. refda.CFrame = cf(Thing[1].Position) * cf(0, 500, 0)
  1609. game:GetService("Debris"):AddItem(refda, 1)
  1610. local mag = (refda.Position - Thing[1].Position).magnitude
  1611. MagicCylinder(BrickColor.new("White"), CFrame.new((refda.Position + Thing[1].Position) / 2, Thing[1].Position) * angles(1.57, 0, 0), 60, mag * 5, 60, 0, 0, 0, 0.1)
  1612. Lightning(refda.Position, Thing[1].Position, 25, 5, "Bright yellow", 5, 0.2, 0.03)
  1613. MagicBlock2(BrickColor.new("Bright yellow"), cf(Thing[1].Position), 80, 80, 80, -1, -1, -1, 0.06, 1)
  1614. refda.CFrame = cf(Thing[1].Position)
  1615. --MagniDamage(refda, 10, 14, 16, 0, "Knockdown2", refda, 0.1, 1, (math.random(14, 18)), nil, nil, true)
  1616. refda.CFrame = cf(Thing[1].Position) * cf(0, 3, 0)
  1617. --MagniDamage(refda, 10, 14, 16, 0, "Knockdown2", refda, 0.1, 1, (math.random(14, 18)), nil, nil, true)
  1618. refda.CFrame = cf(Thing[1].Position)
  1619. so("341336446", refda, 1, math.random(70, 90) / 100)
  1620. so("341336459", refda, 1, math.random(50, 80) / 100)
  1621. Thing[1].Parent = nil
  1622. table.remove(Effects, e)
  1623. end
  1624. elseif Thing[2]=="Block1" then
  1625. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1626. Mesh=Thing[1]:FindFirstChild("Mesh")
  1627. if not Mesh then
  1628. Mesh = Instance.new("BlockMesh")
  1629. end
  1630. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1631. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1632. elseif Thing[2]=="Block2" then
  1633. Thing[1].CFrame = Thing[1].CFrame
  1634. Mesh = Thing[7]
  1635. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1636. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1637. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1638. elseif Thing[2]=="Cylinder" then
  1639. Mesh=Thing[1]:FindFirstChild("Mesh")
  1640. if not Mesh then
  1641. Mesh = Instance.new("BlockMesh")
  1642. end
  1643. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1644. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1645. elseif Thing[2] == "Cylinder1" then
  1646. Mesh = Thing[7]
  1647. Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  1648. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1649. elseif Thing[2]=="Blood" then
  1650. Mesh=Thing[1]:FindFirstChild("Mesh")
  1651. if not Mesh then
  1652. Mesh = Instance.new("BlockMesh")
  1653. end
  1654. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1655. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1656. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1657. elseif Thing[2]=="Elec" then
  1658. Mesh=Thing[1]:FindFirstChild("Mesh")
  1659. if not Mesh then
  1660. Mesh = Instance.new("BlockMesh")
  1661. end
  1662. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1663. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1664. elseif Thing[2]=="Disappear" then
  1665. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1666. end
  1667. else
  1668. Part.Parent=nil
  1669. game:GetService("Debris"):AddItem(Part, 0)
  1670. table.remove(Effects,e)
  1671. end
  1672. end
  1673. end
  1674. end
  1675. end
  1676. end
  1677. end)
  1678. char:FindFirstChild("Humanoid").Died:connect(function()
  1679. game:GetService("RunService"):UnbindFromRenderStep("anims")
  1680. print("John Doe died!!!")
  1681. end)
  1682. plr = game.Players.LocalPlayer
  1683. repeat
  1684. wait(0.4)
  1685. until plr.Character
  1686. chr = plr.Character
  1687. human = chr:FindFirstChild("Humanoid")
  1688. mouse = plr:GetMouse()
  1689. selected = false
  1690. equipd = false
  1691. tors = chr.Torso
  1692. rarm = chr["Right Arm"]
  1693. larm = chr["Left Arm"]
  1694. rleg = chr["Right Leg"]
  1695. lleg = chr["Left Leg"]
  1696. hrp = chr.HumanoidRootPart
  1697. head = chr.Head
  1698. anim = human.Animator
  1699. activu = false
  1700. torrent = false
  1701. boxingu = false
  1702. Heartbeat = Instance.new("BindableEvent")
  1703. Heartbeat.Name = "Heartbeat"
  1704. Heartbeat.Parent = script
  1705. frame = 0.03333333333333333
  1706. tf = 0
  1707. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1708. tf = tf + s
  1709. if tf >= frame then
  1710. for i = 1, math.floor(tf / frame) do
  1711. Heartbeat:Fire()
  1712. end
  1713. tf = tf - frame * math.floor(tf / frame)
  1714. end
  1715. end)
  1716. function swait(num)
  1717. if num == 0 or num == nil then
  1718. Heartbeat.Event:wait()
  1719. else
  1720. for i = 1, num do
  1721. Heartbeat.Event:wait()
  1722. end
  1723. end
  1724. end
  1725. tool = Instance.new("Tool")
  1726. tool.CanBeDropped = false
  1727. tool.RequiresHandle = false
  1728. tool.TextureId = "rbxassetid://37338767"
  1729. tool.ToolTip = "hehe yea boi"
  1730. tool.Name = "fir"
  1731. tool.Parent = plr.Backpack
  1732. modz = Instance.new("Model")
  1733. modz.Name = "memes"
  1734. modz.Parent = chr
  1735. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1736. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1737. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1738. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1739. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1740. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1741. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1742. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1743. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1744. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1745. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1746. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1747. RS = tors:FindFirstChild("Right Shoulder")
  1748. LS = tors:FindFirstChild("Left Shoulder")
  1749. RH = tors:FindFirstChild("Right Hip")
  1750. LH = tors:FindFirstChild("Left Hip")
  1751. RJ = hrp:FindFirstChild("RootJoint")
  1752. N = tors:FindFirstChild("Neck")
  1753. cf = CFrame.new
  1754. ang = CFrame.Angles
  1755. rd = math.rad
  1756. rd2 = math.random
  1757. function nooutline(p)
  1758. p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10
  1759. end
  1760. function makepart(color, name, reflec, mater, parnt, cfram)
  1761. local port = Instance.new("Part")
  1762. port.BrickColor = BrickColor.new(color)
  1763. port.Name = name
  1764. port.Transparency = 1
  1765. nooutline(port)
  1766. port.Reflectance = reflec
  1767. port.Material = mater
  1768. port.Anchored = false
  1769. port.CanCollide = false
  1770. port.Locked = true
  1771. port.Size = Vector3.new(0.2, 0.2, 0.2)
  1772. port.Parent = parnt
  1773. return port
  1774. end
  1775. function makemesh(meshtype, scale, meshid, parent)
  1776. local mes = Instance.new("SpecialMesh")
  1777. mes.MeshType = meshtype
  1778. mes.Scale = scale
  1779. if meshtype == "FileMesh" then
  1780. mes.MeshId = meshid
  1781. end
  1782. mes.Parent = parent
  1783. return mes
  1784. end
  1785. function makeweld(parent, p0, p1, c0, c1)
  1786. local wel = Instance.new("Weld")
  1787. wel.Part0 = p0
  1788. wel.Part1 = p1
  1789. wel.C0 = c0
  1790. if c1 ~= nil then
  1791. wel.C1 = c1
  1792. end
  1793. wel.Parent = parent
  1794. return wel
  1795. end
  1796. function vidp(prnt)
  1797. local s = Instance.new("ParticleEmitter")
  1798. s.Enabled = false
  1799. s.LockedToPart = true
  1800. s.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
  1801. s.LightEmission = 0.6
  1802. s.Size = NumberSequence.new({
  1803. NumberSequenceKeypoint.new(0, 0.275, 0),
  1804. NumberSequenceKeypoint.new(0.406, 0.762, 0),
  1805. NumberSequenceKeypoint.new(0.433, 2.05, 0.75),
  1806. NumberSequenceKeypoint.new(0.476, 0.625, 0),
  1807. NumberSequenceKeypoint.new(1, 0.05, 0)
  1808. })
  1809. s.Texture = "rbxassetid://31270182"
  1810. s.Transparency = NumberSequence.new({
  1811. NumberSequenceKeypoint.new(0, 0.6, 0),
  1812. NumberSequenceKeypoint.new(0.89, 0.6, 0),
  1813. NumberSequenceKeypoint.new(1, 1, 0)
  1814. })
  1815. s.Name = "vid"
  1816. s.Lifetime = NumberRange.new(0.2)
  1817. s.Rate = 25
  1818. s.Speed = NumberRange.new(7, 10)
  1819. s.VelocitySpread = 360
  1820. s.Parent = prnt
  1821. local s2 = Instance.new("ParticleEmitter")
  1822. s2.Enabled = false
  1823. s2.LockedToPart = false
  1824. s2.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
  1825. s2.LightEmission = 0.6
  1826. s2.Size = NumberSequence.new({
  1827. NumberSequenceKeypoint.new(0, 0, 0),
  1828. NumberSequenceKeypoint.new(0.853, 0.125, 0.1),
  1829. NumberSequenceKeypoint.new(1, 0, 0)
  1830. })
  1831. s2.Texture = "rbxassetid://31270182"
  1832. s2.Transparency = NumberSequence.new({
  1833. NumberSequenceKeypoint.new(0, 0.6, 0),
  1834. NumberSequenceKeypoint.new(0.89, 0.6, 0),
  1835. NumberSequenceKeypoint.new(1, 1, 0)
  1836. })
  1837. s2.Name = "vid2"
  1838. s2.Lifetime = NumberRange.new(0.5)
  1839. s2.Rate = 150
  1840. s2.Speed = NumberRange.new(2, 6)
  1841. s2.VelocitySpread = 360
  1842. s2.Parent = prnt
  1843. end
  1844. function glow(tz, paz, length)
  1845. if tz.Parent:FindFirstChildOfClass("Humanoid") and paz.Transparency == 1 then
  1846. do
  1847. local s = Instance.new("Sound")
  1848. s.SoundId = "rbxassetid://221727606"
  1849. s.Volume = 0.25
  1850. s.Pitch = math.random(9, 11) / 10
  1851. s.Parent = paz
  1852. s:Play()
  1853. local hmesh = Instance.new("SpecialMesh")
  1854. hmesh.MeshType = "FileMesh"
  1855. hmesh.MeshId = "NOSSIN"
  1856. hmesh.Parent = paz.Parent
  1857. paz.Transparency = 0.55
  1858. paz.vid.Enabled = true
  1859. paz.vid2.Enabled = true
  1860. delay(length, function()
  1861. paz.Transparency = 1
  1862. paz.vid.Enabled = false
  1863. paz.vid2.Enabled = false
  1864. hmesh:Destroy()
  1865. s:Destroy()
  1866. end)
  1867. end
  1868. end
  1869. end
  1870. function makeglow()
  1871. for _, p in pairs(chr:GetChildren()) do
  1872. if p.ClassName == "Accessory" then
  1873. do
  1874. local h = p:FindFirstChildOfClass("Part")
  1875. local nh = h:Clone()
  1876. for _, n in ipairs(nh:GetChildren()) do
  1877. if n.ClassName == "Attachment" or n.ClassName == "Motor6D" then
  1878. n:Destroy()
  1879. end
  1880. end
  1881. nooutline(nh)
  1882. nh.Parent = nil
  1883. nh.CFrame = h.CFrame
  1884. nh.Transparency = 1
  1885. nh.Name = "Glow"
  1886. nh.Material = "Neon"
  1887. nh.BrickColor = BrickColor.new("Teal")
  1888. nh.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5)
  1889. nh.CanCollide = false
  1890. nh.Parent = h
  1891. makeweld(nh, nh, h, cf(0, 0, 0))
  1892. local m = nh:FindFirstChildOfClass("SpecialMesh")
  1893. m.Scale = m.Scale + Vector3.new(0.06, 0.06, 0.06)
  1894. m.TextureId = ""
  1895. vidp(nh)
  1896. nh.Touched:connect(function(po)
  1897. glow(po, nh, 0.8)
  1898. end)
  1899. end
  1900. elseif p.ClassName == "Part" and p ~= hrp then
  1901. do
  1902. local n = p:Clone()
  1903. for _, m in ipairs(n:GetChildren()) do
  1904. if m.ClassName == "Attachment" or m.ClassName == "Motor6D" then
  1905. m:Destroy()
  1906. end
  1907. end
  1908. nooutline(n)
  1909. n.Parent = nil
  1910. n.Transparency = 1
  1911. n.Material = "Neon"
  1912. n.Name = "Glow"
  1913. n.BrickColor = BrickColor.new("Teal")
  1914. n.CFrame = p.CFrame
  1915. n.CustomPhysicalProperties = PhysicalProperties.new(0.2, 0.3, 0.5)
  1916. n.CanCollide = false
  1917. n.Parent = p
  1918. makeweld(n, n, p, cf(0, 0, 0))
  1919. vidp(n)
  1920. n.Touched:connect(function(po)
  1921. glow(po, n, 0.8)
  1922. end)
  1923. if n:FindFirstChildOfClass("Decal") then
  1924. n:FindFirstChildOfClass("Decal"):Destroy()
  1925. end
  1926. if p:FindFirstChildOfClass("SpecialMesh") then
  1927. local c = p:FindFirstChildOfClass("SpecialMesh"):Clone()
  1928. c.Parent = nil
  1929. c.Scale = c.Scale + Vector3.new(0.05, 0.05, 0.05)
  1930. c.Parent = n
  1931. else
  1932. local m = Instance.new("BlockMesh")
  1933. m.Scale = Vector3.new(1.05, 1.025, 1.05)
  1934. if p == tors then
  1935. m.Scale = Vector3.new(1.05, 1.05, 1.05)
  1936. end
  1937. m.Parent = n
  1938. end
  1939. end
  1940. end
  1941. end
  1942. end
  1943. makeglow()
  1944. function lerpz(joint, prop, cfrmz, alp)
  1945. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  1946. end
  1947. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1948. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1949. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1950. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1951. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1952. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1953. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1954. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1955. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1956. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  1957. function resetlerp()
  1958. RJ.C0 = RJC0
  1959. RJ.C1 = RJC1
  1960. N.C0 = NC0
  1961. N.C1 = NC1
  1962. RS.C0 = RSC0
  1963. RS.C1 = RSC1
  1964. LS.C0 = LSC0
  1965. LS.C1 = LSC1
  1966. RH.C0 = RHC0
  1967. RH.C1 = RHC1
  1968. LH.C0 = LHC0
  1969. end
  1970. local ign = {chr}
  1971. function proj(cframe)
  1972. coroutine.resume(coroutine.create(function()
  1973. local mis = Instance.new("Part")
  1974. mis.Anchored = true
  1975. mis.CanCollide = false
  1976. mis.Size = Vector3.new(1, 1, 1)
  1977. mis.Transparency = 1
  1978. mis.Name = "pew"
  1979. mis.CFrame = cframe
  1980. mis.Parent = workspace
  1981. local s = Instance.new("ParticleEmitter")
  1982. s.Enabled = true
  1983. s.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
  1984. s.LightEmission = 0.6
  1985. s.Size = NumberSequence.new({
  1986. NumberSequenceKeypoint.new(0, 0.4, 0),
  1987. NumberSequenceKeypoint.new(0.0241, 0.0625, 0),
  1988. NumberSequenceKeypoint.new(0.0299, 0.66, 0.22),
  1989. NumberSequenceKeypoint.new(0.0344, 0.0225, 0),
  1990. NumberSequenceKeypoint.new(1, 0, 0)
  1991. })
  1992. s.Texture = "rbxassetid://31270182"
  1993. s.Transparency = NumberSequence.new({
  1994. NumberSequenceKeypoint.new(0, 0.6, 0),
  1995. NumberSequenceKeypoint.new(0.89, 0.6, 0),
  1996. NumberSequenceKeypoint.new(1, 1, 0)
  1997. })
  1998. s.Name = "vid"
  1999. s.Lifetime = NumberRange.new(1)
  2000. s.ZOffset = 0
  2001. s.Rate = 3000
  2002. s.Speed = NumberRange.new(25, 50)
  2003. s.VelocitySpread = 20
  2004. s.EmissionDirection = "Back"
  2005. s.Parent = mis
  2006. game.Debris:AddItem(mis, 10)
  2007. table.insert(ign, mis)
  2008. local wat = 0
  2009. local derp = false
  2010. local v = Instance.new("Sound")
  2011. v.SoundId = "rbxassetid://221727606"
  2012. v.Volume = 0.5
  2013. v.Looped = true
  2014. v.EmitterSize = 15
  2015. v.MaxDistance = 40
  2016. v.Pitch = math.random(12, 13) / 10
  2017. v.Parent = mis
  2018. v:Play()
  2019. repeat
  2020. swait()
  2021. wat = wat + 1
  2022. local ry = Ray.new(mis.Position, mis.CFrame.lookVector * 8)
  2023. local prt, pos = workspace:FindPartOnRayWithIgnoreList(ry, ign, false, true)
  2024. if prt and pos and 1 > prt.Transparency then
  2025. derp = true
  2026. mis.CFrame = CFrame.new(pos)
  2027. v:Stop()
  2028. s.Enabled = false
  2029. s.Speed = NumberRange.new(15, 25)
  2030. s.Lifetime = NumberRange.new(5)
  2031. s.VelocitySpread = 360
  2032. s:Emit(40)
  2033. local n = Instance.new("Sound")
  2034. n.Volume = 0.75
  2035. n.Pitch = rd2(9, 11) / 10
  2036. n.SoundId = "rbxassetid://184374162"
  2037. n.Parent = mis
  2038. n:Play()
  2039. hito(mis, 300, 500000, 0.01)
  2040. else
  2041. mis.CFrame = mis.CFrame * CFrame.new(0, 0, -5)
  2042. end
  2043. until wat == 50 or derp == true
  2044. if wat == 50 then
  2045. mis:Destroy()
  2046. end
  2047. if derp == true then
  2048. game.Debris:AddItem(mis, 1)
  2049. end
  2050. end))
  2051. end
  2052. function makesword(swocfrm, weldp1, cframe0)
  2053. local ay = function(name, size, parnt, cfram)
  2054. local port = Instance.new("Part")
  2055. port.BrickColor = BrickColor.new("Teal")
  2056. port.Name = name
  2057. port.Transparency = 1
  2058. nooutline(port)
  2059. port.Material = "Neon"
  2060. port.Anchored = false
  2061. port.CanCollide = false
  2062. port.Locked = true
  2063. port.Size = size
  2064. port.Parent = parnt
  2065. return port
  2066. end
  2067. local swordmo = Instance.new("Model")
  2068. swordmo.Name = "swod"
  2069. swordmo.Parent = modz
  2070. local booval = Instance.new("BoolValue")
  2071. booval.Value = true
  2072. booval.Name = "mememem"
  2073. booval.Parent = swordmo
  2074. local function pr(par, amt, sped)
  2075. local s = Instance.new("ParticleEmitter")
  2076. s.Enabled = false
  2077. s.LockedToPart = true
  2078. s.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
  2079. s.LightEmission = 0.6
  2080. s.Size = NumberSequence.new({
  2081. NumberSequenceKeypoint.new(0, 0.15, 0),
  2082. NumberSequenceKeypoint.new(0.05, 0.3, 0.3),
  2083. NumberSequenceKeypoint.new(0.1, 0.15, 0),
  2084. NumberSequenceKeypoint.new(0.8, 0.2, 0),
  2085. NumberSequenceKeypoint.new(1, 0, 0)
  2086. })
  2087. s.Texture = "rbxassetid://31270182"
  2088. s.Transparency = NumberSequence.new({
  2089. NumberSequenceKeypoint.new(0, 0.7, 0),
  2090. NumberSequenceKeypoint.new(0.89, 0.7, 0),
  2091. NumberSequenceKeypoint.new(1, 1, 0)
  2092. })
  2093. s.Name = "vid"
  2094. s.Lifetime = NumberRange.new(0.75)
  2095. s.Rate = 1
  2096. s.Speed = sped
  2097. s.VelocitySpread = 3
  2098. s.Parent = par
  2099. coroutine.resume(coroutine.create(function()
  2100. while booval.Value do
  2101. swait()
  2102. s:Emit(amt)
  2103. end
  2104. end))
  2105. return s
  2106. end
  2107. local ping = function(derp)
  2108. local s3 = Instance.new("ParticleEmitter")
  2109. s3.Enabled = false
  2110. s3.LockedToPart = false
  2111. s3.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
  2112. s3.LightEmission = 0.6
  2113. s3.Size = NumberSequence.new({
  2114. NumberSequenceKeypoint.new(0, 0.35, 0),
  2115. NumberSequenceKeypoint.new(0.2, 0.25, 0.25),
  2116. NumberSequenceKeypoint.new(0.4, 0.15, 0),
  2117. NumberSequenceKeypoint.new(0.853, 0.25, 0.1),
  2118. NumberSequenceKeypoint.new(1, 0, 0)
  2119. })
  2120. s3.Texture = "rbxassetid://31270182"
  2121. s3.Transparency = NumberSequence.new({
  2122. NumberSequenceKeypoint.new(0, 0.4, 0),
  2123. NumberSequenceKeypoint.new(0.89, 0.6, 0),
  2124. NumberSequenceKeypoint.new(1, 1, 0)
  2125. })
  2126. s3.Name = "vid3"
  2127. s3.Lifetime = NumberRange.new(0.5)
  2128. s3.Acceleration = Vector3.new(0, 5, 0)
  2129. s3.Rate = 350
  2130. s3.Speed = NumberRange.new(10, 15)
  2131. s3.VelocitySpread = 360
  2132. s3.Parent = derp
  2133. swait()
  2134. s3:Emit(120)
  2135. end
  2136. local b1 = ay("b1", Vector3.new(0.3, 2.5, 0.3), swordmo, swocfrm)
  2137. local p1 = pr(b1, 5, NumberRange.new(0, 1))
  2138. if weldp1 then
  2139. local w1 = makeweld(b1, b1, weldp1, cframe0, nil)
  2140. end
  2141. local bla = Instance.new("Sound")
  2142. bla.SoundId = "rbxassetid://61425219"
  2143. bla.Volume = 0.75
  2144. bla.Pitch = math.random(7, 9) / 10
  2145. bla.Parent = b1
  2146. bla:Play()
  2147. local b2 = ay("b2", Vector3.new(0.6, 0.75, 0.4), swordmo, swocfrm)
  2148. local p2 = pr(b2, 1, NumberRange.new(0, 1))
  2149. local w2 = makeweld(b2, b2, b1, ang(rd(180), rd(0), rd(0)) * cf(0, 1.5, 0), nil)
  2150. local b3 = ay("b3", Vector3.new(0.7, 0.75, 0.5), swordmo, swocfrm)
  2151. local p3 = pr(b3, 1, NumberRange.new(0, 3))
  2152. local w3 = makeweld(b3, b3, b1, ang(rd(180), rd(90), rd(0)) * cf(0, -1.5, 0), nil)
  2153. local b4 = ay("b4", Vector3.new(0.3, 0.75, 0.3), swordmo, swocfrm)
  2154. local p4 = pr(b4, 1, NumberRange.new(1, 2))
  2155. local w4 = makeweld(b4, b4, b3, cf(0, -0.5, 0) * ang(rd(70), rd(0), rd(0)), nil)
  2156. local b5 = ay("b5", Vector3.new(0.3, 0.75, 0.3), swordmo, swocfrm)
  2157. local p5 = pr(b5, 1, NumberRange.new(1, 2))
  2158. local w5 = makeweld(b5, b5, b3, cf(0, -0.5, 0) * ang(rd(290), rd(0), rd(0)), nil)
  2159. local b6 = ay("b6", Vector3.new(0.3, 0.5, 0.3), swordmo, swocfrm)
  2160. local p6 = pr(b6, 1, NumberRange.new(1, 2))
  2161. local w6 = makeweld(b6, b6, b3, cf(0, -0.25, 0) * ang(rd(35), rd(0), rd(0)), nil)
  2162. local b7 = ay("b7", Vector3.new(0.3, 0.5, 0.3), swordmo, swocfrm)
  2163. local p7 = pr(b7, 1, NumberRange.new(1, 2))
  2164. local w7 = makeweld(b7, b7, b3, cf(0, -0.25, 0) * ang(rd(325), rd(0), rd(0)), nil)
  2165. local b8 = ay("b8", Vector3.new(0.5, 5.5, 0.2), swordmo, swocfrm)
  2166. local p8 = pr(b8, 9, NumberRange.new(1, 3))
  2167. local w8 = makeweld(b8, b8, b1, ang(rd(0), rd(0), rd(0)) * cf(0, -4, 0), nil)
  2168. local anbo = Instance.new("Part")
  2169. anbo.Anchored = true
  2170. anbo.CanCollide = false
  2171. anbo.Size = Vector3.new(2.5, 9, 1)
  2172. anbo.CFrame = b8.CFrame * cf(0, -1.5, 0)
  2173. anbo.Transparency = 1
  2174. anbo.Parent = workspace
  2175. game.Debris:AddItem(anbo, 2)
  2176. ping(anbo)
  2177. local whos = Instance.new("ParticleEmitter")
  2178. whos.Enabled = false
  2179. whos.LockedToPart = false
  2180. whos.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
  2181. whos.LightEmission = 0.6
  2182. whos.Size = NumberSequence.new({
  2183. NumberSequenceKeypoint.new(0, 0.15, 0),
  2184. NumberSequenceKeypoint.new(0.05, 0.3, 0.3),
  2185. NumberSequenceKeypoint.new(0.1, 0.15, 0),
  2186. NumberSequenceKeypoint.new(0.8, 0.2, 0),
  2187. NumberSequenceKeypoint.new(1, 0, 0)
  2188. })
  2189. whos.Texture = "rbxassetid://31270182"
  2190. whos.Transparency = NumberSequence.new({
  2191. NumberSequenceKeypoint.new(0, 0.7, 0),
  2192. NumberSequenceKeypoint.new(0.89, 0.7, 0),
  2193. NumberSequenceKeypoint.new(1, 1, 0)
  2194. })
  2195. whos.Name = "whoos"
  2196. whos.Lifetime = NumberRange.new(0.75)
  2197. whos.Rate = 2000
  2198. whos.Speed = NumberRange.new(0)
  2199. whos.VelocityInheritance = 0.8
  2200. whos.VelocitySpread = 3
  2201. whos.Parent = b8
  2202. return swordmo
  2203. end
  2204. function removesword(swordmodel)
  2205. swordmodel.mememem.Value = false
  2206. local hn = swordmodel.b1
  2207. hn.Anchored = true
  2208. if hn:FindFirstChildOfClass("Weld") then
  2209. hn:FindFirstChildOfClass("Weld"):Destroy()
  2210. end
  2211. local bla = Instance.new("Sound")
  2212. bla.SoundId = "rbxassetid://192783601"
  2213. bla.Volume = 1.25
  2214. bla.Pitch = math.random(9, 10) / 10
  2215. bla.Parent = hn
  2216. bla:Play()
  2217. local ping = function(derp)
  2218. local s3 = Instance.new("ParticleEmitter")
  2219. s3.Enabled = false
  2220. s3.LockedToPart = false
  2221. s3.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
  2222. s3.LightEmission = 0.6
  2223. s3.Size = NumberSequence.new({
  2224. NumberSequenceKeypoint.new(0, 0.35, 0),
  2225. NumberSequenceKeypoint.new(0.2, 0.25, 0.25),
  2226. NumberSequenceKeypoint.new(0.4, 0.15, 0),
  2227. NumberSequenceKeypoint.new(0.853, 0.25, 0.1),
  2228. NumberSequenceKeypoint.new(1, 0, 0)
  2229. })
  2230. s3.Texture = "rbxassetid://31270182"
  2231. s3.Transparency = NumberSequence.new({
  2232. NumberSequenceKeypoint.new(0, 0.4, 0),
  2233. NumberSequenceKeypoint.new(0.89, 0.6, 0),
  2234. NumberSequenceKeypoint.new(1, 1, 0)
  2235. })
  2236. s3.Name = "vid3"
  2237. s3.Lifetime = NumberRange.new(0.5)
  2238. s3.Acceleration = Vector3.new(0, 5, 0)
  2239. s3.Rate = 350
  2240. s3.Speed = NumberRange.new(10, 15)
  2241. s3.VelocitySpread = 360
  2242. s3.Parent = derp
  2243. swait()
  2244. s3:Emit(180)
  2245. end
  2246. local anbo = Instance.new("Part")
  2247. anbo.Anchored = true
  2248. anbo.CanCollide = false
  2249. anbo.Size = Vector3.new(2.5, 9, 1)
  2250. anbo.CFrame = swordmodel.b8.CFrame * cf(0, -1.5, 0)
  2251. anbo.Transparency = 1
  2252. anbo.Parent = workspace
  2253. game.Debris:AddItem(anbo, 2)
  2254. ping(anbo)
  2255. game.Debris:AddItem(swordmodel, 1.25)
  2256. end
  2257. function eswing()
  2258. if activu == true or selected == false then
  2259. return
  2260. end
  2261. activu = true
  2262. local sw = makesword(hrp.CFrame, rarm, ang(rd(90), rd(0), rd(90)) * cf(0, 1, 0.5))
  2263. animo(false)
  2264. local hwel = sw.b1:FindFirstChildOfClass("Weld")
  2265. local hwelc0 = hwel.C0
  2266. local whoo = sw.b8:FindFirstChild("whoos")
  2267. for _ = 1, 12 do
  2268. swait()
  2269. lerpz(RJ, "C0", RJC0 * cf(0, 0.75, 0) * ang(rd(0), rd(0), rd(-70)), 0.5)
  2270. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(-6), rd(70)), 0.5)
  2271. lerpz(N, "C1", NC1 * cf(0, 0, 0) * ang(rd(-13), rd(0), rd(0)), 0.5)
  2272. lerpz(RS, "C0", RSC0 * cf(0.3, 0.25, 0.55) * ang(rd(-30), rd(-70), rd(15)), 0.5)
  2273. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(60), rd(0)), 0.5)
  2274. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(10), rd(5), rd(10)), 0.5)
  2275. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2276. lerpz(RH, "C0", RHC0 * cf(0.45, 0.05, -0.15) * ang(rd(-5), rd(60), rd(0)), 0.5)
  2277. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2278. lerpz(LH, "C0", LHC0 * cf(0.45, 0.05, -0.35) * ang(rd(-5), rd(75), rd(0)), 0.5)
  2279. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  2280. hwel.C0 = hwel.C0:lerp(cf(-0.25, 0.25, 0) * ang(rd(0), rd(0), rd(40)) * hwelc0, 0.5)
  2281. end
  2282. for c = 1, 3 do
  2283. swait()
  2284. lerpz(RJ, "C0", RJC0 * cf(0, -0.25, 0) * ang(rd(0), rd(0), rd(10)), 0.1 + c / 5)
  2285. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(10), rd(0), rd(-10)), 0.1 + c / 5)
  2286. lerpz(N, "C1", NC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + c / 5)
  2287. lerpz(RS, "C0", RSC0 * cf(-0.2, 0.35, 0.9) * ang(rd(-20), rd(170), rd(15)), 0.1 + c / 5)
  2288. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + c / 5)
  2289. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-20), rd(5), rd(10)), 0.1 + c / 5)
  2290. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + c / 5)
  2291. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(-5), rd(-10), rd(1)), 0.1 + c / 5)
  2292. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + c / 5)
  2293. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(10), rd(-1)), 0.1 + c / 5)
  2294. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.1 + c / 5)
  2295. hwel.C0 = hwel.C0:lerp(cf(-0.15, 0.15, 0) * ang(rd(0), rd(0), rd(10)) * hwelc0, 0.1 + c / 5)
  2296. end
  2297. whoo.Enabled = true
  2298. for _ = 1, 14 do
  2299. swait()
  2300. hito(sw.b8, 3, 35, 0.8)
  2301. lerpz(RJ, "C0", RJC0 * cf(0, -0.75, 0) * ang(rd(0), rd(0), rd(60)), 0.6)
  2302. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-5), rd(0), rd(-40)), 0.6)
  2303. lerpz(N, "C1", NC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  2304. lerpz(RS, "C0", RSC0 * cf(-0.1, 0.65, 0.9) * ang(rd(-15), rd(135), rd(-165)), 0.6)
  2305. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  2306. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(-30), rd(5), rd(10)), 0.6)
  2307. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  2308. lerpz(RH, "C0", RHC0 * cf(-0.25, 0, 0) * ang(rd(-5), rd(-50), rd(1)), 0.6)
  2309. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  2310. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(-5), rd(10), rd(-1)), 0.6)
  2311. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  2312. hwel.C0 = hwel.C0:lerp(cf(-0.25, 0.25, 0) * ang(rd(0), rd(0), rd(40)) * hwelc0, 0.6)
  2313. end
  2314. whoo.Enabled = false
  2315. removesword(sw)
  2316. animo(true)
  2317. for _ = 1, 10 do
  2318. swait()
  2319. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2320. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2321. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2322. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2323. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2324. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2325. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2326. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2327. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2328. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2329. end
  2330. resetlerp()
  2331. activu = false
  2332. end
  2333. function torentmod()
  2334. if selected == false or activu == true then
  2335. return
  2336. end
  2337. if torrent == false then
  2338. torrent = true
  2339. do
  2340. local viarm = Instance.new("Part")
  2341. nooutline(viarm)
  2342. viarm.CanCollide = false
  2343. viarm.Transparency = 1
  2344. viarm.Name = "shootingu"
  2345. viarm.Size = Vector3.new(1.25, 1, 1.25)
  2346. viarm.CFrame = rarm.CFrame
  2347. viarm.Parent = modz
  2348. makeweld(viarm, viarm, rarm, cf(0, 1, 0))
  2349. s = Instance.new("ParticleEmitter")
  2350. s.Enabled = true
  2351. s.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
  2352. s.LightEmission = 0.6
  2353. s.Size = NumberSequence.new({
  2354. NumberSequenceKeypoint.new(0, 0, 0),
  2355. NumberSequenceKeypoint.new(0.0241, 0.0925, 0),
  2356. NumberSequenceKeypoint.new(0.0299, 0.56, 0.25),
  2357. NumberSequenceKeypoint.new(0.0344, 0.0925, 0),
  2358. NumberSequenceKeypoint.new(1, 0, 0)
  2359. })
  2360. s.Texture = "rbxassetid://31270182"
  2361. s.Transparency = NumberSequence.new({
  2362. NumberSequenceKeypoint.new(0, 0.6, 0),
  2363. NumberSequenceKeypoint.new(0.89, 0.6, 0),
  2364. NumberSequenceKeypoint.new(1, 1, 0)
  2365. })
  2366. s.Name = "vid"
  2367. s.Acceleration = viarm.CFrame.upVector * 5
  2368. s.Lifetime = NumberRange.new(1)
  2369. s.ZOffset = 1
  2370. s.Rate = 1250
  2371. s.Speed = NumberRange.new(2, 3)
  2372. s.VelocitySpread = 180
  2373. s.Parent = viarm
  2374. coroutine.resume(coroutine.create(function()
  2375. while s do
  2376. swait()
  2377. s.Acceleration = viarm.CFrame.upVector * 6
  2378. end
  2379. end))
  2380. coroutine.resume(coroutine.create(function()
  2381. while torrent == true do
  2382. swait()
  2383. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  2384. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  2385. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.3)
  2386. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  2387. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  2388. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  2389. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  2390. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  2391. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  2392. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  2393. end
  2394. end))
  2395. local shootinz = false
  2396. hd = tool.Activated:connect(function()
  2397. shootinz = true
  2398. repeat
  2399. swait(3)
  2400. lerpz(RS, "C0", RSC0 * cf(rd2(-3, -1) / 10, 0, 0) * ang(rd(rd2(-5, 5)), rd(rd2(-5, 5)), rd(rd2(95, 105))), 0.8)
  2401. proj(CFrame.new(viarm.Position, mouse.Hit.p + Vector3.new(rd2(-1, 1), rd2(-1, 1), 0)))
  2402. local sd = Instance.new("Sound")
  2403. sd.Volume = 0.3
  2404. sd.Pitch = rd2(11, 13) / 10
  2405. sd.SoundId = "rbxassetid://221727606"
  2406. sd.Parent = viarm
  2407. local sd2 = sd:Clone()
  2408. sd2.SoundId = "rbxassetid://238381567"
  2409. sd2.Parent = viarm
  2410. sd:Play()
  2411. sd2:Play()
  2412. game.Debris:AddItem(sd, 1)
  2413. game.Debris:AddItem(sd2, 1)
  2414. until shootinz == false or torrent == false
  2415. end)
  2416. hu = tool.Deactivated:connect(function()
  2417. shootinz = false
  2418. end)
  2419. end
  2420. elseif torrent == true then
  2421. hd:Disconnect()
  2422. hu:Disconnect()
  2423. torrent = false
  2424. modz:FindFirstChild("shootingu"):FindFirstChild("vid").Enabled = false
  2425. for _ = 1, 10 do
  2426. swait()
  2427. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2428. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2429. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2430. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2431. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2432. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2433. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2434. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2435. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2436. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2437. end
  2438. resetlerp()
  2439. modz:FindFirstChild("shootingu"):Destroy()
  2440. end
  2441. end
  2442. function suprfast()
  2443. if selected == false or activu == true then
  2444. return
  2445. end
  2446. activu = true
  2447. human.WalkSpeed = human.WalkSpeed + 30
  2448. human.JumpPower = human.JumpPower + 45
  2449. for _, d in ipairs(chr:GetChildren()) do
  2450. if d.ClassName == "Accessory" then
  2451. swait()
  2452. glow(hrp, d:FindFirstChildOfClass("Part"):FindFirstChild("Glow"), 2)
  2453. coroutine.resume(coroutine.create(function()
  2454. local clones = {}
  2455. for i = 1, 5 do
  2456. local v = d:FindFirstChildOfClass("Part"):FindFirstChild("Glow"):Clone()
  2457. v.Name = "nyoo"
  2458. v.vid:Destroy()
  2459. v.vid2:Destroy()
  2460. v.AccessoryWeld:Destroy()
  2461. v.Weld:Destroy()
  2462. v.Transparency = 0.9
  2463. v.Anchored = true
  2464. v.Parent = modz
  2465. table.insert(clones, v)
  2466. end
  2467. num = 0
  2468. repeat
  2469. swait()
  2470. num = num % 5 + 1
  2471. clones[num].CFrame = d:FindFirstChildOfClass("Part"):FindFirstChild("Glow").CFrame
  2472. until activu == false
  2473. for _, b in ipairs(clones) do
  2474. swait()
  2475. b:Destroy()
  2476. end
  2477. end))
  2478. elseif d.ClassName == "Part" and d ~= hrp then
  2479. swait()
  2480. glow(hrp, d:FindFirstChild("Glow"), 2)
  2481. coroutine.resume(coroutine.create(function()
  2482. local clones = {}
  2483. for i = 1, 5 do
  2484. local v = d:FindFirstChild("Glow"):Clone()
  2485. v.Name = "lel"
  2486. v.vid:Destroy()
  2487. v.vid2:Destroy()
  2488. v.Weld:Destroy()
  2489. v.Transparency = 0.9
  2490. v.Anchored = true
  2491. v.Parent = modz
  2492. table.insert(clones, v)
  2493. end
  2494. num = 0
  2495. repeat
  2496. swait()
  2497. num = num % 5 + 1
  2498. clones[num].CFrame = d:FindFirstChild("Glow").CFrame
  2499. until activu == false
  2500. for _, b in ipairs(clones) do
  2501. swait()
  2502. b:Destroy()
  2503. end
  2504. end))
  2505. end
  2506. end
  2507. wait(2)
  2508. activu = false
  2509. human.WalkSpeed = human.WalkSpeed - 30
  2510. human.JumpPower = human.JumpPower - 45
  2511. end
  2512. function fly()
  2513. if selected == false or activu == true or torrent == true then
  2514. return
  2515. end
  2516. local memedon = {}
  2517. activu = true
  2518. local emi = true
  2519. local mp = Instance.new("Part")
  2520. mp.Size = Vector3.new(0.2, 0.2, 0.2)
  2521. mp.CanCollide = false
  2522. mp.Transparency = 1
  2523. mp.Parent = modz
  2524. table.insert(memedon, mp)
  2525. makeweld(mp, mp, tors, ang(rd(-30), rd(0), rd(0)) * CFrame.new(0, -0.5, -0.5), nil)
  2526. local function pr(par, amt)
  2527. local s = Instance.new("ParticleEmitter")
  2528. s.Enabled = false
  2529. s.LockedToPart = true
  2530. s.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
  2531. s.LightEmission = 0.6
  2532. s.Size = NumberSequence.new({
  2533. NumberSequenceKeypoint.new(0, 0.3, 0),
  2534. NumberSequenceKeypoint.new(0.8, 0.3, 0),
  2535. NumberSequenceKeypoint.new(1, 0, 0)
  2536. })
  2537. s.Texture = "rbxassetid://31270182"
  2538. s.Transparency = NumberSequence.new({
  2539. NumberSequenceKeypoint.new(0, 0.7, 0),
  2540. NumberSequenceKeypoint.new(0.89, 0.7, 0),
  2541. NumberSequenceKeypoint.new(1, 1, 0)
  2542. })
  2543. s.Name = "vid"
  2544. s.Lifetime = NumberRange.new(0.75)
  2545. s.Rate = 1
  2546. s.Speed = NumberRange.new(10, 15)
  2547. s.VelocitySpread = 3
  2548. s.Parent = par
  2549. coroutine.resume(coroutine.create(function()
  2550. while emi do
  2551. swait()
  2552. s:Emit(amt)
  2553. end
  2554. end))
  2555. return s
  2556. end
  2557. for _, d in ipairs(chr:GetChildren()) do
  2558. if d.ClassName == "Accessory" then
  2559. glow(hrp, d:FindFirstChildOfClass("Part"):FindFirstChild("Glow"), 1.5)
  2560. elseif d.ClassName == "Part" and d ~= hrp then
  2561. glow(hrp, d:FindFirstChild("Glow"), 1.5)
  2562. end
  2563. end
  2564. local f1 = makepart("Teal", "w1", 1, "Neon", modz, hrp.CFrame)
  2565. f1.Size = Vector3.new(0.4, 0.4, 0.4)
  2566. local p1 = pr(f1, 12)
  2567. p1.Acceleration = Vector3.new(-15, 0, 15)
  2568. local w1 = makeweld(f1, f1, mp, CFrame.Angles(rd(-5), rd(10), rd(-50)) * CFrame.new(0.25, 0, 0), nil)
  2569. local f2 = makepart("Teal", "w2", 1, "Neon", modz, hrp.CFrame)
  2570. f2.Size = Vector3.new(0.4, 0.4, 0.4)
  2571. local p2 = pr(f2, 12)
  2572. p2.Acceleration = Vector3.new(15, 0, 15)
  2573. local w2 = makeweld(f2, f2, mp, CFrame.Angles(rd(-5), rd(-10), rd(50)) * CFrame.new(-0.25, 0, 0), nil)
  2574. local f3 = makepart("Teal", "w3", 1, "Neon", modz, hrp.CFrame)
  2575. f3.Size = Vector3.new(1.3, 0.6, 0.6)
  2576. p3 = pr(f3, 4)
  2577. p3.Speed = NumberRange.new(10, 12)
  2578. local w3 = makeweld(f3, f3, mp, CFrame.Angles(rd(-40), rd(10), rd(-145)) * CFrame.new(2, -1, -0.5), nil)
  2579. local f4 = makepart("Teal", "w4", 1, "Neon", modz, hrp.CFrame)
  2580. f4.Size = Vector3.new(1.3, 0.6, 0.6)
  2581. p4 = pr(f4, 4)
  2582. p4.Speed = NumberRange.new(10, 12)
  2583. local w4 = makeweld(f4, f4, mp, CFrame.Angles(rd(-40), rd(-10), rd(145)) * CFrame.new(-2, -1, -0.5), nil)
  2584. local f5 = makepart("Teal", "w5", 1, "Neon", modz, hrp.CFrame)
  2585. f5.Size = Vector3.new(1.3, 0.6, 0.6)
  2586. p5 = pr(f5, 4)
  2587. p5.Speed = NumberRange.new(10, 12)
  2588. local w5 = makeweld(f5, f5, mp, CFrame.Angles(rd(-30), rd(-10), rd(-115)) * CFrame.new(3, -1.75, -1), nil)
  2589. local f6 = makepart("Teal", "w6", 1, "Neon", modz, hrp.CFrame)
  2590. f6.Size = Vector3.new(1.3, 0.6, 0.6)
  2591. p6 = pr(f6, 4)
  2592. p6.Speed = NumberRange.new(10, 12)
  2593. local w6 = makeweld(f6, f6, mp, CFrame.Angles(rd(-30), rd(10), rd(115)) * CFrame.new(-3, -1.75, -1), nil)
  2594. local f7 = makepart("Teal", "w7", 1, "Neon", modz, hrp.CFrame)
  2595. f7.Size = Vector3.new(1.9, 0.6, 0.6)
  2596. p7 = pr(f7, 6)
  2597. p7.Speed = NumberRange.new(10, 12)
  2598. local w7 = makeweld(f7, f7, mp, CFrame.Angles(rd(-40), rd(-5), rd(-140)) * CFrame.new(2.5, -1.65, -0.65), nil)
  2599. local f8 = makepart("Teal", "w8", 1, "Neon", modz, hrp.CFrame)
  2600. f8.Size = Vector3.new(1.9, 0.6, 0.6)
  2601. p8 = pr(f8, 6)
  2602. p8.Speed = NumberRange.new(10, 12)
  2603. local w8 = makeweld(f8, f8, mp, CFrame.Angles(rd(-40), rd(5), rd(140)) * CFrame.new(-2.5, -1.65, -0.65), nil)
  2604. t1 = pr(f1, 2)
  2605. t1.LockedToPart = false
  2606. t2 = pr(f2, 2)
  2607. t2.LockedToPart = false
  2608. t3 = pr(f3, 2)
  2609. t3.LockedToPart = false
  2610. t4 = pr(f4, 2)
  2611. t4.LockedToPart = false
  2612. t5 = pr(f5, 2)
  2613. t5.LockedToPart = false
  2614. t6 = pr(f6, 2)
  2615. t6.LockedToPart = false
  2616. t7 = pr(f7, 2)
  2617. t7.LockedToPart = false
  2618. t8 = pr(f8, 2)
  2619. t8.LockedToPart = false
  2620. table.insert(memedon, f1)
  2621. table.insert(memedon, f2)
  2622. table.insert(memedon, f3)
  2623. table.insert(memedon, f4)
  2624. table.insert(memedon, f5)
  2625. table.insert(memedon, f6)
  2626. table.insert(memedon, f7)
  2627. table.insert(memedon, f8)
  2628. local sd = Instance.new("Sound")
  2629. sd.Volume = 1.5
  2630. sd.Pitch = rd2(10, 12) / 10
  2631. sd.SoundId = "rbxassetid://201858072"
  2632. sd.Parent = hrp
  2633. sd:Play()
  2634. game.Debris:AddItem(sd, 1)
  2635. human.PlatformStand = true
  2636. local bg = Instance.new("BodyGyro")
  2637. bg.MaxTorque = Vector3.new(15000, 15000, 15000)
  2638. bg.P = 2500
  2639. bg.D = 100
  2640. bg.CFrame = CFrame.new(hrp.Position, mouse.Hit.p)
  2641. bg.Parent = hrp
  2642. local bf = Instance.new("BodyVelocity")
  2643. bf.MaxForce = Vector3.new(15000, 15000, 15000)
  2644. bf.P = 2500
  2645. bf.Velocity = mouse.Hit.p - hrp.Position.unit * 200
  2646. bf.Parent = hrp
  2647. for d = 1, 100 do
  2648. swait()
  2649. bg.CFrame = CFrame.new(hrp.Position, mouse.Hit.p)
  2650. bf.Velocity = mouse.Hit.p - hrp.Position.unit * (200 - d * 2)
  2651. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(80), rd(0), math.sin(-hrp.RotVelocity.Y / 5)), 0.4)
  2652. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(-70), rd(0), rd(0)), 0.4)
  2653. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2654. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2655. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2656. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2657. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2658. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2659. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2660. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2661. end
  2662. bf:Destroy()
  2663. bg:Destroy()
  2664. human.PlatformStand = false
  2665. emi = false
  2666. p1.LockedToPart = false
  2667. p2.LockedToPart = false
  2668. p3.LockedToPart = false
  2669. p4.LockedToPart = false
  2670. p5.LockedToPart = false
  2671. p6.LockedToPart = false
  2672. p7.LockedToPart = false
  2673. p8.LockedToPart = false
  2674. for _ = 1, 10 do
  2675. swait()
  2676. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2677. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2678. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2679. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2680. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2681. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2682. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2683. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2684. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2685. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  2686. end
  2687. delay(0.5, function()
  2688. for _, l in ipairs(memedon) do
  2689. l:Destroy()
  2690. end
  2691. end)
  2692. resetlerp()
  2693. activu = false
  2694. end
  2695. function musiclel()
  2696. if selected == false or activu == true then
  2697. return
  2698. end
  2699. if boxingu == false then
  2700. boxingu = true
  2701. do
  2702. local watz = 1
  2703. local hmm = 1
  2704. local intens = 30
  2705. local deg = 20
  2706. local derp = makepart("Teal", "hurr", 0.25, "Neon", modz, hrp.CFrame)
  2707. derp.Locked = true
  2708. local s = Instance.new("ParticleEmitter")
  2709. s.Enabled = true
  2710. s.LockedToPart = true
  2711. s.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
  2712. s.LightEmission = 0.6
  2713. s.Size = NumberSequence.new({
  2714. NumberSequenceKeypoint.new(0, 0.275, 0),
  2715. NumberSequenceKeypoint.new(0.406, 0.762, 0),
  2716. NumberSequenceKeypoint.new(0.433, 1.5, 0.75),
  2717. NumberSequenceKeypoint.new(0.476, 0.625, 0),
  2718. NumberSequenceKeypoint.new(1, 0.05, 0)
  2719. })
  2720. s.Texture = "rbxassetid://31270182"
  2721. s.Transparency = NumberSequence.new({
  2722. NumberSequenceKeypoint.new(0, 0.6, 0),
  2723. NumberSequenceKeypoint.new(0.89, 0.6, 0),
  2724. NumberSequenceKeypoint.new(1, 1, 0)
  2725. })
  2726. s.Name = "vid"
  2727. s.Lifetime = NumberRange.new(0.2)
  2728. s.Rate = 75
  2729. s.Speed = NumberRange.new(7, 10)
  2730. s.VelocitySpread = 360
  2731. s.ZOffset = 1
  2732. s.Parent = derp
  2733. local s2 = Instance.new("ParticleEmitter")
  2734. s2.Enabled = true
  2735. s2.LockedToPart = false
  2736. s2.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
  2737. s2.LightEmission = 0.6
  2738. s2.Size = NumberSequence.new({
  2739. NumberSequenceKeypoint.new(0, 0, 0),
  2740. NumberSequenceKeypoint.new(0.853, 0.125, 0.1),
  2741. NumberSequenceKeypoint.new(1, 0, 0)
  2742. })
  2743. s2.Texture = "rbxassetid://31270182"
  2744. s2.Transparency = NumberSequence.new({
  2745. NumberSequenceKeypoint.new(0, 0.6, 0),
  2746. NumberSequenceKeypoint.new(0.89, 0.6, 0),
  2747. NumberSequenceKeypoint.new(1, 1, 0)
  2748. })
  2749. s2.Name = "vid2"
  2750. s2.Lifetime = NumberRange.new(0.5)
  2751. s2.Rate = 350
  2752. s2.Speed = NumberRange.new(2, 6)
  2753. s2.VelocitySpread = 360
  2754. s2.ZOffset = 1
  2755. s2.Parent = derp
  2756. local s3 = Instance.new("ParticleEmitter")
  2757. s3.Enabled = false
  2758. s3.LockedToPart = false
  2759. s3.Color = ColorSequence.new(Color3.new(0.1411764705882353, 0.9215686274509803, 0.9215686274509803))
  2760. s3.LightEmission = 0.6
  2761. s3.Size = NumberSequence.new({
  2762. NumberSequenceKeypoint.new(0, 0.45, 0),
  2763. NumberSequenceKeypoint.new(0.853, 0.25, 0.1),
  2764. NumberSequenceKeypoint.new(1, 0, 0)
  2765. })
  2766. s3.Texture = "rbxassetid://31270182"
  2767. s3.Transparency = NumberSequence.new({
  2768. NumberSequenceKeypoint.new(0, 0.6, 0),
  2769. NumberSequenceKeypoint.new(0.89, 0.6, 0),
  2770. NumberSequenceKeypoint.new(1, 1, 0)
  2771. })
  2772. s3.Name = "vid3"
  2773. s3.Lifetime = NumberRange.new(0.5)
  2774. s3.Acceleration = Vector3.new(0, 30, 0)
  2775. s3.Rate = 350
  2776. s3.Speed = NumberRange.new(20, 30)
  2777. s3.VelocitySpread = 360
  2778. s3.Parent = derp
  2779. derp.Anchored = true
  2780. derp.Transparency = 0.5
  2781. derp.Size = Vector3.new(3, 2, 2)
  2782. derp.CFrame = hrp.CFrame
  2783. local lol = makemesh("FileMesh", Vector3.new(1, 1, 1), "rbxassetid://151760030", derp)
  2784. local sound = Instance.new("Sound")
  2785. sound.Name = "moose"
  2786. sound.Volume = 1
  2787. sound.EmitterSize = 40
  2788. sound.MaxDistance = 40
  2789. sound.Looped = true
  2790. sound.Parent = derp
  2791. coroutine.resume(coroutine.create(function()
  2792. local hey = false
  2793. while derp do
  2794. swait()
  2795. watz = watz + hmm
  2796. derp.CFrame = derp.CFrame:lerp(hrp.CFrame * cf(-1.5, 3, 2.5) * ang(0, 0, rd(deg * math.cos(watz / intens))), 0.4)
  2797. derp.Size = derp.Size:lerp(Vector3.new(3 * (1 + sound.PlaybackLoudness / 500), 2 * (1 + sound.PlaybackLoudness / 500), 1 * (1 + sound.PlaybackLoudness / 1000)), 0.7)
  2798. lol.Scale = lol.Scale:lerp(Vector3.new(1 * (1 + sound.PlaybackLoudness / 500), 1 * (1 + sound.PlaybackLoudness / 500), 1 * (1 + sound.PlaybackLoudness / 500)), 0.7)
  2799. if hey == false and (3 < lol.Scale).magnitude then
  2800. hey = true
  2801. s3:Emit(20)
  2802. delay(0.25, function()
  2803. hey = false
  2804. end)
  2805. end
  2806. end
  2807. end))
  2808. local sg = Instance.new("ScreenGui")
  2809. sg.Name = "simpleflips"
  2810. sg.Parent = plr.PlayerGui
  2811. local fr = Instance.new("Frame")
  2812. fr.AnchorPoint = Vector2.new(1, 0.5)
  2813. fr.BackgroundColor3 = Color3.new(0.09411764705882353, 0.9568627450980393, 1)
  2814. fr.BorderSizePixel = 2
  2815. fr.Position = UDim2.new(0.975, 0, 0.5, 0)
  2816. fr.Size = UDim2.new(0, 200, 0, 100)
  2817. fr.Parent = sg
  2818. local mbox = Instance.new("TextBox")
  2819. mbox.AnchorPoint = Vector2.new(0.5, 0.5)
  2820. mbox.BackgroundColor3 = Color3.new(0.45098039215686275, 0.7803921568627451, 1)
  2821. mbox.BorderSizePixel = 2
  2822. mbox.Position = UDim2.new(0.5, 0, 0.25, 0)
  2823. mbox.Size = UDim2.new(0, 150, 0, 40)
  2824. mbox.Font = "SourceSansBold"
  2825. mbox.FontSize = "Size24"
  2826. mbox.Text = "MEME"
  2827. mbox.TextWrapped = true
  2828. mbox.Parent = fr
  2829. local pley = Instance.new("TextButton")
  2830. pley.AnchorPoint = Vector2.new(0.5, 0.5)
  2831. pley.BackgroundColor3 = Color3.new(0.25098039215686274, 1, 0.3137254901960784)
  2832. pley.BorderSizePixel = 2
  2833. pley.Position = UDim2.new(0.25, 0, 0.75, 0)
  2834. pley.Size = UDim2.new(0, 75, 0, 35)
  2835. pley.Font = "SourceSansBold"
  2836. pley.FontSize = "Size18"
  2837. pley.Text = "kappa"
  2838. pley.Parent = fr
  2839. local stap = Instance.new("TextButton")
  2840. stap.AnchorPoint = Vector2.new(0.5, 0.5)
  2841. stap.BackgroundColor3 = Color3.new(1, 0.25098039215686274, 0.11764705882352941)
  2842. stap.BorderSizePixel = 2
  2843. stap.Position = UDim2.new(0.75, 0, 0.75, 0)
  2844. stap.Size = UDim2.new(0, 75, 0, 35)
  2845. stap.Font = "SourceSansBold"
  2846. stap.FontSize = "Size18"
  2847. stap.Text = "pride"
  2848. stap.Parent = fr
  2849. pl = pley.MouseButton1Click:connect(function()
  2850. sound.SoundId = "rbxassetid://" .. mbox.Text
  2851. sound:Play()
  2852. end)
  2853. st = stap.MouseButton1Click:connect(function()
  2854. sound:Stop()
  2855. end)
  2856. end
  2857. elseif boxingu == true then
  2858. activu = true
  2859. boxingu = false
  2860. local derp = modz:FindFirstChild("hurr")
  2861. local s3 = derp:FindFirstChild("vid3")
  2862. local s1 = derp:FindFirstChild("vid")
  2863. local s2 = derp:FindFirstChild("vid2")
  2864. local sound = derp:FindFirstChild("moose")
  2865. local sg = plr.PlayerGui:FindFirstChild("simpleflips")
  2866. pl:Disconnect()
  2867. st:Disconnect()
  2868. s3:Emit(40)
  2869. s1.Enabled = false
  2870. s2.Enabled = false
  2871. sound:Stop()
  2872. sg:Destroy()
  2873. derp.Transparency = 1
  2874. local poo = Instance.new("Sound")
  2875. poo.SoundId = "rbxassetid://174658105"
  2876. poo.Volume = 1.25
  2877. poo.TimePosition = 0.65
  2878. poo.Parent = derp
  2879. poo:Play()
  2880. wait(0.75)
  2881. derp:Destroy()
  2882. activu = false
  2883. end
  2884. end
  2885. function hito(partoz, magn, dmg, debtim)
  2886. for _, guy in pairs(workspace:GetChildren()) do
  2887. if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("Head") and guy ~= chr and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then
  2888. do
  2889. local humz = guy:FindFirstChild("Humanoid")
  2890. local hed = guy:FindFirstChild("Head")
  2891. humz:TakeDamage(dmg)
  2892. local db = Instance.new("StringValue")
  2893. db.Name = "alabo"
  2894. db.Parent = hed
  2895. delay(debtim, function()
  2896. db:Destroy()
  2897. end)
  2898. end
  2899. end
  2900. end
  2901. end
  2902. function animo(yep)
  2903. if yep == true then
  2904. anim.Parent = human
  2905. chr.Animate.Disabled = false
  2906. elseif yep == false then
  2907. chr.Animate.Disabled = true
  2908. anim.Parent = nil
  2909. end
  2910. end
  2911. mouse.KeyDown:connect(function(key)
  2912. if key == "f" then
  2913. suprfast()
  2914. end
  2915. if key == "q" then
  2916. torentmod()
  2917. end
  2918. if key == "c" then
  2919. fly()
  2920. end
  2921. if key == "e" then
  2922. eswing()
  2923. end
  2924. if key == "m" then
  2925. musiclel()
  2926. end
  2927. end)
  2928. tool.Equipped:connect(function()
  2929. selected = true
  2930. end)
  2931. tool.Unequipped:connect(function()
  2932. selected = false
  2933. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement