Advertisement
Penien23

Test

Dec 20th, 2019
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 47.97 KB | None | 0 0
  1. ---------------------------------------------------------------------------------------------------------------------------------------
  2.  
  3.  
  4. local Player = game.Players.localPlayer
  5. local Character = Player.Character
  6. local char = Character
  7. local plr = Player
  8.  
  9. repeat wait() until plr and char
  10.  
  11. char.Archivable = true
  12. local BaseClone = char:Clone()
  13.  
  14.  
  15. local Humanoid = Character.Humanoid
  16. local Mouse = Player:GetMouse()
  17. local LeftArm = Character["Left Arm"]
  18. local RightArm = Character["Right Arm"]
  19. local LeftLeg = Character["Left Leg"]
  20. local RightLeg = Character["Right Leg"]
  21. local Head = Character.Head
  22. local Torso = Character.Torso
  23. local Camera = game.Workspace.CurrentCamera
  24. local RootPart = Character.HumanoidRootPart
  25. local RootJoint = RootPart.RootJoint
  26. local Pause = false
  27. local attack = false
  28. local LOL = false
  29. local Anim = 'Idle'
  30. local attacktype = 1
  31. local delays = false
  32. local play = true
  33. local targetted = nil
  34. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  35. local velocity = RootPart.Velocity.y
  36. local sine = 0
  37. local change = 1
  38. local doe = 0
  39. local Create = LoadLibrary("RbxUtility").Create
  40. Humanoid.WalkSpeed = 30
  41.  
  42. -- IDK VARIABLES
  43.  
  44. local mr = math.rad
  45. local mra = math.random
  46.  
  47. ---------------------
  48.  
  49.  
  50. local CS = function(id, name, parent, volume, md)
  51. local s = Instance.new("Sound", parent)
  52. s.Name = name
  53. s.Volume = 10
  54. s.MaxDistance = md
  55. s.SoundId = "rbxassetid://1265445941"
  56. return s
  57. end
  58.  
  59. local Theme = CS(0, "NightOfFire", plr.PlayerGui, 1, 90);Theme.Looped = true;Theme:Play()
  60.  
  61.  
  62. local Pulse = CS(779130169, "Pulse", RightArm, 2, 90)
  63. local FSnap = CS(670796769, "FingerSnap", RightArm, 2, 90)
  64.  
  65. local Explosion1 = CS(843182803, "SFX1", RootPart, 1, 90)
  66.  
  67. local Mouse = plr:GetMouse()
  68.  
  69. Humanoid.Animator.Parent = nil
  70. Character.Animate.Parent = nil
  71.  
  72. local attackDB = false
  73.  
  74. local RS = game:GetService("RunService").RenderStepped
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81. function Damage(dmg, human)
  82.  
  83. local ik = Instance.new("Part", char)
  84. ik.Anchored = true
  85. ik.CanCollide = false
  86. ik.Transparency = 1
  87.  
  88. local x = mra(-2, 2)
  89. local y = mra(-2, 2)
  90. local z = mra(-2, 2)
  91.  
  92. ik.Position = human.Parent.Head.Position + Vector3.new(x, y, z)
  93.  
  94. human:TakeDamage(dmg)
  95.  
  96. local txt2 = Instance.new("BillboardGui", ik)
  97. txt2.Adornee = ik
  98. txt2.Name = "Damage"
  99. txt2.AlwaysOnTop = true
  100. txt2.Size = UDim2.new(2, 0, 1.2, 0)
  101. txt2.StudsOffset = Vector3.new(-14, 3, 0)
  102. local text2 = Instance.new("TextLabel", txt2)
  103. text2.Size = UDim2.new(15, 0,2, 0)
  104. text2.FontSize = "Size24"
  105. text2.TextScaled = true
  106. text2.TextTransparency = 0
  107. text2.BackgroundTransparency = 1
  108. text2.TextTransparency = 0
  109. text2.TextStrokeTransparency = 0
  110. text2.Font = Enum.Font.Fantasy
  111. text2.TextStrokeColor3 = Color3.new(0,0,0)
  112. text2.TextColor3 = Color3.new(26, 234, 33)
  113. text2.Text = dmg
  114. spawn(function()
  115. for i = 1, 500 do
  116. RS:wait()
  117.  
  118. ik.Position = ik.Position + Vector3.new(0,0.1,0)
  119. text2.TextTransparency = text2.TextTransparency + 0.01
  120. text2.TextStrokeTransparency = text2.TextStrokeTransparency + 0.01
  121. end
  122. end)
  123. end
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132. --Converted with ttyyuu12345's model to script plugin v4
  133. function sandbox(var,func)
  134. local env = getfenv(func)
  135. local newenv = setmetatable({},{
  136. __index = function(self,k)
  137. if k=="script" then
  138. return var
  139. else
  140. return env[k]
  141. end
  142. end,
  143. })
  144. setfenv(func,newenv)
  145. return func
  146. end
  147. cors = {}
  148. mas = Instance.new("Model",game:GetService("Lighting"))
  149. Part70 = Instance.new("Part")
  150. Part187 = Instance.new("Part")
  151. Model144 = Instance.new("Model")
  152. Model144.Name = "ARightArm"
  153. Model144.Parent = mas
  154. Part170.Parent = Model144
  155. Part170.Material = Enum.Material.Metal
  156. Part170.BrickColor = BrickColor.new("Fossil")
  157. Part170.Rotation = Vector3.new(0, 0, 25)
  158. Part170.CanCollide = false
  159. Part170.Shape = Enum.PartType.Cylinder
  160. Part170.Size = Vector3.new(0.337522894, 0.65495497, 1.02462256)
  161. Part170.CFrame = CFrame.new(-35.8893852, 4.04790592, -69.3819656, 0.906307876, -0.422617942, 0, 0.422617942, 0.906307876, 0, 0, 0, 1)
  162. Part170.BottomSurface = Enum.SurfaceType.Smooth
  163. Part170.TopSurface = Enum.SurfaceType.Smooth
  164. Part170.Color = Color3.new(0.623529, 0.631373, 0.67451)
  165. Part170.Position = Vector3.new(-35.8893852, 4.04790592, -69.3819656)
  166. Part170.Orientation = Vector3.new(0, 0, 25)
  167. Part170.Color = Color3.new(0.623529, 0.631373, 0.67451)
  168. Part187.Name = "Base"
  169. Part187.Parent = Model144
  170. Part187.Material = Enum.Material.Metal
  171. Part187.BrickColor = BrickColor.new("Ghost grey")
  172. Part187.CanCollide = false
  173. Part187.Size = Vector3.new(1.02462339, 1.3802278, 1.02462256)
  174. Part187.CFrame = CFrame.new(-35.6459656, 3.3423183, -69.3819656, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  175. Part187.BottomSurface = Enum.SurfaceType.Smooth
  176. Part187.TopSurface = Enum.SurfaceType.Smooth
  177. Part187.Color = Color3.new(0.792157, 0.796079, 0.819608)
  178. Part187.Position = Vector3.new(-35.6459656, 3.3423183, -69.3819656)
  179. Part187.Color = Color3.new(0.792157, 0.796079, 0.819608)
  180. for i,v in pairs(mas:GetChildren()) do
  181. v.Parent = char
  182. pcall(function() v:MakeJoints() end)
  183. end
  184. mas:Destroy()
  185. for i,v in pairs(cors) do
  186. spawn(function()
  187. pcall(v)
  188. end)
  189. end
  190.  
  191. local RAArmWeld = Instance.new("Weld", Part187)
  192. RAArmWeld.Part0 = Part187
  193. RAArmWeld.Part1 = RightArm
  194. RAArmWeld.C0 = CFrame.new(0,-0.32,0)
  195.  
  196. local LAArmWeld = Instance.new("Weld", Part70)
  197. LAArmWeld.Part0 = Part70
  198. LAArmWeld.Part1 = LeftArm
  199. LAArmWeld.C0 = CFrame.new(0,-0.32,0)
  200.  
  201.  
  202. function ThrowBomb()
  203. if attackDB == false then
  204. attackDB = true
  205. Pause = true
  206. -- Lean Back Anim.
  207.  
  208. for i = 1, 50 do
  209. RS:wait()
  210.  
  211. PlayAnimationFromTable({
  212. CFrame.new(0,0,0) * CFrame.new(0, -0.3, 0.5) * CFrame.Angles(mr(25), mr(-15), 0), -- Torso,
  213. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-25), mr(15), 0), ----- Head
  214. CFrame.new(1.5,0,0) * CFrame.new(0, 1, 0) * CFrame.Angles(mr(-200), mr(-15), mr(15)), --- RightArm
  215. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-20), 0, mr(-15)),--LeftArm
  216. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0.5) * CFrame.Angles(mr(-35), 0, mr(5)), --RightLeg
  217. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-20), 0, mr(5)), --LeftLeg
  218. }, .3, false)
  219. end
  220.  
  221. -- Bomb Spawns And Grows.
  222.  
  223. local Bomb = Instance.new("Part")
  224. Bomb.Parent = char
  225. Bomb.Anchored = true
  226. Bomb.Locked = true
  227. Bomb.Material = "Neon"
  228. Bomb.Color = Color3.fromRGB(255, 145, 67)
  229. Bomb.Shape = "Ball"
  230. Bomb.Size = Vector3.new(0.1,0.1,0.1)
  231. Bomb.CanCollide = false
  232. Bomb.CFrame = RightArm.CFrame * CFrame.new(0,-2,0)
  233.  
  234. local grow = 1
  235.  
  236. for i = 1, 5 do
  237. wait(1)
  238. grow = grow + 5
  239.  
  240. Pulse:Play()
  241.  
  242. spawn(function()
  243. for i = 1, 50 do
  244. RS:wait()
  245. Bomb.CFrame = Bomb.CFrame:lerp(Bomb.CFrame * CFrame.new(0,-0.07,0), 0.9)
  246. Bomb.Size = Bomb.Size:lerp(Vector3.new(grow,grow,grow), 0.5)
  247. end
  248. end)
  249. end
  250.  
  251. -- Throw Anim.
  252. wait(1)
  253. spawn(function()
  254. for i = 1, 30 do
  255. RS:wait()
  256.  
  257. PlayAnimationFromTable({
  258. CFrame.new(0,0,0) * CFrame.new(0, -0.3, -0.6) * CFrame.Angles(mr(-25), mr(15), 0), -- Torso,
  259. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(25), mr(-15), 0), ----- Head
  260. CFrame.new(1.5,0,0) * CFrame.new(0, 0.5, -0.5) * CFrame.Angles(mr(80), mr(15), mr(15)), --- RightArm
  261. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-20), 0, mr(15)),--LeftArm
  262. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0.5) * CFrame.Angles(mr(-35), 0, mr(5)), --RightLeg
  263. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, -0.5) * CFrame.Angles(mr(20), 0, mr(5)), --LeftLeg
  264. }, .3, false)
  265. end
  266. end)
  267.  
  268. Bomb.Anchored = false
  269. local Fly = Instance.new("BodyVelocity", Bomb)
  270. Fly.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  271. Fly.Velocity = RootPart.CFrame.lookVector * 190
  272.  
  273. -- Bomb Explosion.
  274.  
  275. Bomb.Touched:Connect(function(h)
  276. if not h:IsDescendantOf(char) then
  277. local Spawn = Bomb.CFrame
  278. Bomb:Destroy()
  279.  
  280. local Eff = Instance.new("Part")
  281. Eff.Parent = char
  282. Eff.Anchored = true
  283. Eff.Locked = true
  284. Eff.Material = "Neon"
  285. Eff.Color = Color3.fromRGB(255, 145, 67)
  286. Eff.Shape = "Ball"
  287. Eff.Size = Vector3.new(0.1,0.1,0.1)
  288. Eff.CanCollide = false
  289. Eff.CFrame = Spawn
  290.  
  291. spawn(function()
  292. for i = 1, 500 do
  293. RS:wait()
  294. Eff.Size = Eff.Size + Vector3.new(1,1,1)
  295. Eff.Transparency = Eff.Transparency + 0.003
  296. if Eff.Transparency >= 1 then
  297. Eff:Destroy()
  298. end
  299. end
  300. end)
  301.  
  302. spawn(function()
  303. for i = 1, 10 do
  304. wait()
  305.  
  306.  
  307. local ring = Instance.new("Part", char)
  308. ring.CanCollide = false
  309. ring.Anchored = true
  310. ring.Locked = true
  311. ring.Material = "Neon"
  312. ring.Size = Vector3.new(0, 0, 0)
  313. ring.Shape = "Block"
  314. ring.Color = Color3.fromRGB(163, 162, 165)
  315. ring.CFrame = Spawn * CFrame.Angles(mr(math.random(-360, 360)), mr(math.random(-360, 360)), mr(math.random(-360, 360)))
  316. local m = Instance.new("SpecialMesh", ring)
  317. m.Scale = Vector3.new(0,0,0)
  318. m.MeshId = "rbxassetid://471124075"
  319.  
  320. spawn(function()
  321. for i = 1, 500 do
  322. RS:wait()
  323.  
  324. m.Scale = m.Scale + Vector3.new(0.1,0,0.1)
  325. ring.Transparency = ring.Transparency + 0.005
  326. if ring.Transparency >= 1 then
  327. ring:Destroy()
  328. end
  329. end
  330. end)
  331. end
  332. end)
  333.  
  334. Eff.Touched:Connect(function(hit)
  335. if hit.Name ~= "Base" and not hit:IsDescendantOf(char) then
  336. local clo = hit:Clone()
  337. clo.CFrame = hit.CFrame
  338. clo.Name = "BUURRRN"
  339. hit:Destroy()
  340. clo.Parent = char
  341. clo.Anchored = true
  342. clo.BrickColor = BrickColor.Black()
  343. spawn(function()
  344. wait(2)
  345.  
  346. for i = 1, 500 do
  347. RS:wait()
  348. clo.Transparency = clo.Transparency + 0.01
  349. end
  350. clo:Destroy()
  351. end)
  352. end
  353. end)
  354.  
  355. end
  356. end)
  357. spawn(function()
  358. wait(1)
  359. Pause = false
  360. end)
  361. wait(1)
  362. attackDB = false
  363. end
  364. end
  365.  
  366. local PlantedHuman = nil
  367.  
  368. function PlantBomb()
  369. if attackDB == false then
  370. attackDB = true
  371. Pause = true
  372. -- Lean Back Anim.
  373.  
  374. for i = 1, 30 do
  375. RS:wait()
  376.  
  377. PlayAnimationFromTable({
  378. CFrame.new(0,0,0) * CFrame.new(0, -0.3, 0.5) * CFrame.Angles(mr(25), mr(-15), 0), -- Torso,
  379. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-25), mr(15), 0), ----- Head
  380. CFrame.new(1.5,0,0) * CFrame.new(0, 1, 0) * CFrame.Angles(mr(-200), mr(-15), mr(15)), --- RightArm
  381. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-20), 0, mr(-15)),--LeftArm
  382. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0.5) * CFrame.Angles(mr(-35), 0, mr(5)), --RightLeg
  383. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-20), 0, mr(5)), --LeftLeg
  384. }, .3, false)
  385. end
  386.  
  387. -- Bomb Spawns And Grows.
  388.  
  389. local Bomb = Instance.new("Part")
  390. Bomb.Parent = char
  391. Bomb.Anchored = false
  392. Bomb.Locked = true
  393. Bomb.Material = "Neon"
  394. Bomb.Color = Color3.fromRGB(255, 52, 52)
  395. Bomb.Shape = "Ball"
  396. Bomb.Size = Vector3.new(0.4,0.4,0.4)
  397. Bomb.CanCollide = false
  398. Bomb.CFrame = RightArm.CFrame * CFrame.new(0,-2,0)
  399.  
  400. local BW = Instance.new("Weld", Bomb)
  401. BW.Part0 = RightArm
  402. BW.Part1 = Bomb
  403. BW.C0 = CFrame.new(0,-1,0)
  404.  
  405. Pulse:Play()
  406.  
  407. -- Throw Anim.
  408. wait(0.3)
  409. spawn(function()
  410. for i = 1, 30 do
  411. RS:wait()
  412.  
  413. PlayAnimationFromTable({
  414. CFrame.new(0,0,0) * CFrame.new(0, -0.3, -0.6) * CFrame.Angles(mr(-25), mr(15), 0), -- Torso,
  415. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(25), mr(-15), 0), ----- Head
  416. CFrame.new(1.5,0,0) * CFrame.new(0, 0.5, -0.5) * CFrame.Angles(mr(80), mr(15), mr(15)), --- RightArm
  417. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-20), 0, mr(15)),--LeftArm
  418. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0.5) * CFrame.Angles(mr(-35), 0, mr(5)), --RightLeg
  419. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, -0.5) * CFrame.Angles(mr(20), 0, mr(5)), --LeftLeg
  420. }, .6, false)
  421. end
  422. end)
  423.  
  424. -- Bomb Explosion.
  425.  
  426. Bomb.Touched:Connect(function(h)
  427. if not h:IsDescendantOf(char) and h.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  428. local Spawn = Bomb.CFrame
  429. Bomb:Destroy()
  430. PlantedHuman = h.Parent
  431.  
  432.  
  433. end
  434. end)
  435. spawn(function()
  436. wait(1)
  437. Pause = false
  438. Bomb:Destroy()
  439. end)
  440. wait(1)
  441. attackDB = false
  442. end
  443. end
  444.  
  445.  
  446. function ExplodePlantedBomb()
  447. if PlantedHuman ~= nil and workspace:FindFirstChild(PlantedHuman.Name) ~= nil then
  448. Pause = true
  449. local hu = PlantedHuman
  450.  
  451.  
  452. for i = 1, 50 do
  453. RS:wait()
  454.  
  455. PlayAnimationFromTable({
  456. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), -- Torso,
  457. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), ----- Head
  458. CFrame.new(1.5,0,0) * CFrame.new(-1, 0.7, -0.3) * CFrame.Angles(mr(90),0,mr(-70)), --- RightArm
  459. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),--LeftArm
  460. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), --RightLeg
  461. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), --LeftLeg
  462. }, .3, false)
  463. end
  464.  
  465. FSnap:Play()
  466.  
  467. for i = 1, 20 do
  468. RS:wait()
  469.  
  470. PlayAnimationFromTable({
  471. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), -- Torso,
  472. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), ----- Head
  473. CFrame.new(1.5,0,0) * CFrame.new(0, 0.7, -0.3) * CFrame.Angles(mr(90),0,mr(70)), --- RightArm
  474. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),--LeftArm
  475. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), --RightLeg
  476. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), --LeftLeg
  477. }, .7, false)
  478. end
  479.  
  480.  
  481. wait(0.5)
  482. Pause = false
  483. local Eff = Instance.new("Part")
  484. Eff.Parent = char
  485. Eff.Anchored = true
  486. Eff.Locked = true
  487. Eff.Material = "SmoothPlastic"
  488. Eff.Shape = "Ball"
  489. Eff.Size = Vector3.new(0.4,0.4,0.4)
  490. Eff.CanCollide = false
  491. Eff.CFrame = hu.HumanoidRootPart.CFrame
  492.  
  493. local Sound = Instance.new("Part")
  494. Sound.Parent = char
  495. Sound.Transparency = 1
  496. Sound.Anchored = true
  497. Sound.Locked = true
  498. Sound.CanCollide = false
  499. Sound.CFrame = hu.HumanoidRootPart.CFrame
  500. CS(249329549, "Explode", Sound, 2, 130):Play()
  501.  
  502. Damage("inf", hu:FindFirstChildOfClass("Humanoid"))
  503.  
  504. if hu:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R6 then
  505. Eff.Color = hu.Torso.Color
  506.  
  507. hu.Torso:Destroy()
  508.  
  509. elseif hu:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R15 then
  510.  
  511. Eff.Color = hu.UpperTorso.Color
  512.  
  513. hu.UpperTorso:Destroy()
  514.  
  515. end
  516. hu:BreakJoints()
  517.  
  518. for _, o in pairs(hu:children()) do
  519. if o:IsA("Part") or o:IsA("MeshPart") or o:IsA("UnionOperation") then
  520. o.Anchored = false
  521.  
  522. local Blood = Instance.new("ParticleEmitter")
  523. Blood.Parent = o
  524. Blood.Rotation = NumberRange.new(-500, 500)
  525. Blood.Size = NumberSequence.new(2,2)
  526. Blood.Texture = "http://www.roblox.com/asset/?id=176677966"
  527. Blood.Acceleration = Vector3.new(0, -10, 0)
  528. Blood.Lifetime = NumberRange.new(1, 2)
  529. Blood.Rate = 500
  530. Blood.RotSpeed = NumberRange.new(260, 260)
  531. Blood.Speed = NumberRange.new(10, 10)
  532. Blood.VelocitySpread = 360
  533.  
  534. local Fly = Instance.new("BodyVelocity", o)
  535. Fly.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  536. Fly.Velocity = Vector3.new(mra(-100, 100), mra(-100, 100), mra(-100, 100))
  537. spawn(function()
  538. wait()
  539. Fly:Destroy()
  540. wait(7)
  541. Blood.Enabled = false
  542. wait(2)
  543. for i = 1, 50 do
  544. RS:wait()
  545.  
  546. o.Transparency = o.Transparency + 0.05
  547. end
  548. o:Destroy()
  549. end)
  550. end
  551. end
  552.  
  553. for i = 1, 10 do
  554. RS:wait()
  555. Eff.Size = Eff.Size + Vector3.new(2,2,2)
  556. end
  557. Eff:Destroy()
  558. PlantedHuman = nil
  559. spawn(function()
  560. wait(5)
  561. Sound:Destroy()
  562. end)
  563.  
  564. else
  565. PlantedHuman = nil
  566. end
  567. end
  568.  
  569. local XPlanted = false
  570.  
  571. function PlantUltraXBomb()
  572. if attackDB == false then
  573. attackDB = true
  574. Pause = true
  575. -- Lean Back Anim.
  576.  
  577. for i = 1, 50 do
  578. RS:wait()
  579.  
  580. PlayAnimationFromTable({
  581. CFrame.new(0,0,0) * CFrame.new(0, -0.3, 0.5) * CFrame.Angles(mr(25), mr(-15), 0), -- Torso,
  582. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-25), mr(15), 0), ----- Head
  583. CFrame.new(1.5,0,0) * CFrame.new(0, 1, 0) * CFrame.Angles(mr(-200), mr(-15), mr(15)), --- RightArm
  584. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-20), 0, mr(-15)),--LeftArm
  585. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0.5) * CFrame.Angles(mr(-35), 0, mr(5)), --RightLeg
  586. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-20), 0, mr(5)), --LeftLeg
  587. }, .3, false)
  588. end
  589.  
  590. -- Bomb Spawns And Grows.
  591.  
  592. local Bomb = Instance.new("Part")
  593. Bomb.Parent = char
  594. Bomb.Anchored = true
  595. Bomb.Name = "UltraXBomb"
  596. Bomb.Locked = true
  597. Bomb.Material = "Neon"
  598. Bomb.Color = Color3.fromRGB(120, 253, 255)
  599. Bomb.Shape = "Ball"
  600. Bomb.Size = Vector3.new(0.1,0.1,0.1)
  601. Bomb.CanCollide = false
  602. Bomb.CFrame = RightArm.CFrame * CFrame.new(0,-2,0)
  603.  
  604. local grow = 20
  605.  
  606.  
  607.  
  608. Pulse:Play()
  609.  
  610. spawn(function()
  611. for i = 1, 150 do
  612. RS:wait()
  613. Bomb.Size = Bomb.Size + Vector3.new(0.3,0.3,0.3)
  614. Bomb.CFrame = Bomb.CFrame * CFrame.new(0,-0.15,0)
  615. end
  616. end)
  617.  
  618.  
  619.  
  620. spawn(function()
  621. wait(3)
  622. XPlanted = true
  623. Pause = false
  624. end)
  625. wait(1)
  626. attackDB = false
  627. end
  628. end
  629.  
  630.  
  631. function ExplodeUltraX()
  632. if XPlanted == true and char:FindFirstChild("UltraXBomb") then
  633. Pause = true
  634.  
  635.  
  636. for i = 1, 50 do
  637. RS:wait()
  638.  
  639. PlayAnimationFromTable({
  640. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), -- Torso,
  641. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), ----- Head
  642. CFrame.new(1.5,0,0) * CFrame.new(-1, 0.7, -0.3) * CFrame.Angles(mr(90),0,mr(-70)), --- RightArm
  643. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),--LeftArm
  644. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), --RightLeg
  645. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), --LeftLeg
  646. }, .3, false)
  647. end
  648.  
  649. FSnap:Play()
  650.  
  651. for i = 1, 20 do
  652. RS:wait()
  653.  
  654. PlayAnimationFromTable({
  655. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), -- Torso,
  656. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), ----- Head
  657. CFrame.new(1.5,0,0) * CFrame.new(0, 0.7, -0.3) * CFrame.Angles(mr(90),0,mr(70)), --- RightArm
  658. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),--LeftArm
  659. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), --RightLeg
  660. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), --LeftLeg
  661. }, .7, false)
  662. end
  663.  
  664.  
  665. wait(0.5)
  666. Pause = false
  667.  
  668.  
  669. for _, o in pairs(char:children()) do
  670. if o:IsA("Part") and o.Name == "UltraXBomb" then
  671. o.Anchored = true
  672.  
  673. local Eff = Instance.new("Part")
  674. Eff.Parent = char
  675. Eff.Anchored = true
  676. Eff.Locked = true
  677. Eff.Material = "Neon"
  678. Eff.Shape = "Ball"
  679. Eff.Size = Vector3.new(0.4,0.4,0.4)
  680. Eff.CanCollide = false
  681. Eff.CFrame = o.CFrame
  682. Eff.Color = o.Color
  683.  
  684. local Eff2 = Instance.new("Part")
  685. Eff2.Parent = char
  686. Eff2.Anchored = true
  687. Eff2.Locked = true
  688. Eff2.Material = "Neon"
  689. Eff2.Shape = "Cylinder"
  690. Eff2.Size = Vector3.new(0.4,0.4,0.4)
  691. Eff2.CanCollide = false
  692. Eff2.Position = o.Position
  693. Eff2.CFrame = Eff2.CFrame * CFrame.Angles(mr(0),mr(0),mr(90))
  694. Eff2.Color = o.Color
  695.  
  696. spawn(function()
  697. for i = 1, 10 do
  698. local Eff3 = Instance.new("Part")
  699. Eff3.Parent = char
  700. Eff3.Anchored = true
  701. Eff3.Locked = true
  702. Eff3.Material = "Neon"
  703. Eff3.Shape = "Cylinder"
  704. Eff3.Size = Vector3.new(0.4,0.4,0.4)
  705. Eff3.CanCollide = false
  706. Eff3.CFrame = o.CFrame * CFrame.Angles(mra(-360, 360), mra(-360, 360), mra(-360, 360))
  707. Eff3.Color = o.Color
  708.  
  709. local tx = mra(-5, 5)
  710. local ty = mra(-5, 5)
  711. local tz = mra(-5, 5)
  712.  
  713. spawn(function()
  714. for i = 1, 50 do
  715. RS:wait()
  716.  
  717. Eff3.Size = Eff3.Size + Vector3.new(9, 0.1, 0.1)
  718. end
  719. end)
  720.  
  721. spawn(function()
  722. for i = 1, 500 do
  723. RS:wait()
  724. Eff3.Transparency = Eff3.Transparency + 0.005
  725. Eff3.CFrame = Eff3.CFrame * CFrame.Angles(mr(tx), mr(ty), mr(tz))
  726. if Eff3.Transparency >= 1 then
  727. Eff3:Destroy()
  728. end
  729. end
  730. end)
  731. end
  732. end)
  733.  
  734. spawn(function()
  735. for i = 1, 150 do
  736. RS:wait()
  737. Eff.Size = Eff.Size + Vector3.new(1.8,1.8,1.8)
  738. Eff2.Size = Eff2.Size + Vector3.new(10,0.5,0.5)
  739. end
  740. end)
  741.  
  742. local Sound = Instance.new("Part")
  743. Sound.Parent = char
  744. Sound.Transparency = 1
  745. Sound.Anchored = true
  746. Sound.Locked = true
  747. Sound.CanCollide = false
  748. Sound.CFrame = o.CFrame
  749. CS(249329549, "Explode", Sound, 1, 400):Play()
  750. o:Destroy()
  751.  
  752.  
  753. spawn(function()
  754. wait(5)
  755. for i = 1, 500 do
  756. RS:wait()
  757.  
  758. Eff.Size = Eff.Size - Vector3.new(1,1,1)
  759. Eff.Transparency = Eff.Transparency + 0.01
  760. if Eff.Transparency >= 1 then
  761. Eff:Destroy()
  762. end
  763. Eff2.Size = Eff2.Size - Vector3.new(1,1,1)
  764. Eff2.Transparency = Eff2.Transparency + 0.01
  765. if Eff2.Transparency >= 1 then
  766. Eff2:Destroy()
  767. end
  768. end
  769. end)
  770.  
  771. Eff.Touched:Connect(function(h)
  772. if h.Parent ~= nil and not h:IsDescendantOf(char) and h.Parent:FindFirstChild("Humanoid") and h.Parent:FindFirstChild("Hitto1") == nil then
  773. local val = Instance.new("IntValue", h.Parent)
  774. val.Name = "Hitto1"
  775. Damage("inf", h.Parent:FindFirstChildOfClass("Humanoid"))
  776. h.Parent:BreakJoints()
  777. for _, i in pairs(h.Parent:children()) do
  778. if i:IsA("Part") then
  779. i.Anchored = false
  780. local Blood = Instance.new("ParticleEmitter")
  781. Blood.Parent = i
  782. Blood.Rotation = NumberRange.new(-500, 500)
  783. Blood.Size = NumberSequence.new(2,2)
  784. Blood.Texture = "http://www.roblox.com/asset/?id=176677966"
  785. Blood.Acceleration = Vector3.new(0, -10, 0)
  786. Blood.Lifetime = NumberRange.new(1, 2)
  787. Blood.Rate = 500
  788. Blood.RotSpeed = NumberRange.new(260, 260)
  789. Blood.Speed = NumberRange.new(10, 10)
  790. Blood.VelocitySpread = 360
  791.  
  792. local Fly = Instance.new("BodyVelocity", i)
  793. Fly.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  794. Fly.Velocity = Vector3.new(mra(-100, 100), mra(-100, 100), mra(-100, 100))
  795. spawn(function()
  796. wait()
  797. Fly:Destroy()
  798. wait(7)
  799. Blood.Enabled = false
  800. wait(2)
  801. for p = 1, 50 do
  802. RS:wait()
  803.  
  804. i.Transparency = i.Transparency + 0.05
  805. end
  806. i:Destroy()
  807. end)
  808. end
  809. end
  810.  
  811. end
  812. end)
  813. end
  814. end
  815.  
  816.  
  817. XPlanted = false
  818.  
  819.  
  820. else
  821. XPlanted = false
  822. end
  823. end
  824.  
  825.  
  826. function findNearestTorso(pos, oof)
  827. local list = game.Workspace:children()
  828. local torso = nil
  829. local dist = 50
  830. local temp = nil
  831. local human = nil
  832. local temp2 = nil
  833. for x = 1, #list do
  834. temp2 = list[x]
  835. if (temp2.className == "Model") and (temp2 ~= char) then
  836. if temp2.Name ~= plr.Name.."'s Clone" then
  837. temp = temp2:FindFirstChild("Head")
  838. h = temp2:FindFirstChildOfClass("Humanoid")
  839. if (temp ~= nil) and (h ~= nil) and (h.Health > 0) then
  840. if (temp.Position - pos).magnitude < dist then
  841. torso = temp
  842. dist = (temp.Position - pos).magnitude
  843. end
  844. end
  845. end
  846. end
  847. end
  848. return torso
  849. end
  850.  
  851. function findNearestTorso2(pos, oof)
  852. local list = game.Workspace:children()
  853. local torso = nil
  854. local dist = 10
  855. local temp = nil
  856. local human = nil
  857. local temp2 = nil
  858. for x = 1, #list do
  859. temp2 = list[x]
  860. if (temp2.className == "Model") and (temp2 ~= char) then
  861. if temp2.Name ~= plr.Name.."'s Clone" then
  862. temp = temp2:FindFirstChild("Head")
  863. h = temp2:FindFirstChildOfClass("Humanoid")
  864.  
  865. if (temp ~= nil) and (h ~= nil) and (h.Health > 0) then
  866.  
  867. if (temp.Position - pos).magnitude < dist then
  868.  
  869. torso = temp
  870. dist = (temp.Position - pos).magnitude
  871. end
  872. end
  873. end
  874. end
  875. end
  876. return torso
  877. end
  878.  
  879.  
  880. function Clone()
  881. local Clone = BaseClone:Clone()
  882. Clone.Name = plr.Name.."'s Clone"
  883. Clone.Humanoid.MaxHealth = 999999
  884. Clone.Humanoid.Health = 999999
  885. Clone.HumanoidRootPart.CFrame = RootPart.CFrame * CFrame.new(0,0,-2)
  886.  
  887. spawn(function()
  888. for i = 1, 10 do
  889. wait()
  890.  
  891.  
  892. local Eff = Instance.new("Part")
  893. Eff.Parent = Clone
  894. Eff.Anchored = true
  895. Eff.Locked = true
  896. Eff.Material = "Neon"
  897. Eff.Color = Color3.fromRGB(255, 52, 52)
  898. Eff.Shape = "Block"
  899. Eff.Size = Vector3.new(5,5,5)
  900. Eff.CanCollide = false
  901. Eff.CFrame = Clone.HumanoidRootPart.CFrame * CFrame.Angles(mr(math.random(-360, 360)), mr(math.random(-360, 360)), mr(math.random(-360, 360)))
  902.  
  903. spawn(function()
  904. for i = 1, 500 do
  905. RS:wait()
  906. Eff.CFrame = Eff.CFrame * CFrame.Angles(mr(math.random(-5, 5)), mr(math.random(-5, 5)), mr(math.random(-5, 5)))
  907. Eff.Transparency = Eff.Transparency + 0.05
  908.  
  909. if Eff.Transparency >= 1 then
  910. Eff:Destroy()
  911. end
  912. end
  913. end)
  914.  
  915.  
  916. end
  917. end)
  918.  
  919.  
  920. local Bomb = Instance.new("Part")
  921. Bomb.Parent = Clone
  922. Bomb.Anchored = false
  923. Bomb.Locked = true
  924. Bomb.Material = "Neon"
  925. Bomb.Color = Color3.fromRGB(255, 52, 52)
  926. Bomb.Shape = "Ball"
  927. Bomb.Size = Vector3.new(1,1,1)
  928. Bomb.CanCollide = false
  929. local BWeld = Instance.new("Weld", Bomb)
  930. BWeld.Part0 = Bomb
  931. BWeld.Part1 = Clone.HumanoidRootPart
  932. BWeld.C0 = CFrame.new(0,0,0.3)
  933.  
  934.  
  935. local Bomb = Instance.new("Part")
  936. Bomb.Parent = Clone
  937. Bomb.Anchored = false
  938. Bomb.Locked = true
  939. Bomb.Material = "Neon"
  940. Bomb.Color = Color3.fromRGB(255, 52, 52)
  941. Bomb.Shape = "Ball"
  942. Bomb.Size = Vector3.new(1,1,1)
  943. Bomb.CanCollide = false
  944. local BWeld = Instance.new("Weld", Bomb)
  945. BWeld.Part0 = Bomb
  946. BWeld.Part1 = Clone.HumanoidRootPart
  947. BWeld.C0 = CFrame.new(0,0,0.3)
  948.  
  949. Clone.Parent = workspace
  950.  
  951. local CHum = Clone.Humanoid
  952.  
  953. -- NPC Handler
  954. -------------------------------
  955. spawn(function()
  956. -- Clone's Lifetime Before They Explode.
  957. wait(5)
  958.  
  959. local Eff = Instance.new("Part")
  960. Eff.Parent = Clone
  961. Eff.Anchored = true
  962. Eff.Locked = true
  963. Eff.Material = "SmoothPlastic"
  964. Eff.Shape = "Ball"
  965. Eff.Size = Vector3.new(0.4,0.4,0.4)
  966. Eff.CanCollide = false
  967. Eff.CFrame = Clone.HumanoidRootPart.CFrame
  968.  
  969. local Sound = Instance.new("Part")
  970. Sound.Parent = Clone
  971. Sound.Transparency = 1
  972. Sound.Anchored = true
  973. Sound.Locked = true
  974. Sound.CanCollide = false
  975. Sound.CFrame = Clone.HumanoidRootPart.CFrame
  976. CS(249329549, "Explode", Sound, 0.5, 130):Play()
  977.  
  978. if findNearestTorso2(Clone.Torso.Position, Clone) ~= nil then
  979. Damage(50, findNearestTorso2(Clone.Torso.Position, Clone).Parent:FindFirstChildOfClass("Humanoid"))
  980. end
  981.  
  982. Eff.Color = Clone.Torso.Color
  983.  
  984. Clone.Torso:Destroy()
  985.  
  986.  
  987. Clone:BreakJoints()
  988.  
  989. for _, o in pairs(Clone:children()) do
  990. if o:IsA("Part") or o:IsA("MeshPart") or o:IsA("UnionOperation") then
  991. o.Anchored = false
  992.  
  993. local Blood = Instance.new("ParticleEmitter")
  994. Blood.Parent = o
  995. Blood.Rotation = NumberRange.new(-500, 500)
  996. Blood.Size = NumberSequence.new(2,2)
  997. Blood.Texture = "rbxassetid://304113188"
  998. Blood.Acceleration = Vector3.new(0, -10, 0)
  999. Blood.Lifetime = NumberRange.new(1, 2)
  1000. Blood.Rate = 500
  1001. Blood.RotSpeed = NumberRange.new(260, 260)
  1002. Blood.Speed = NumberRange.new(10, 10)
  1003. Blood.Color = ColorSequence.new(Color3.fromRGB(255, 79, 247))
  1004. Blood.VelocitySpread = 360
  1005.  
  1006. local Fly = Instance.new("BodyVelocity", o)
  1007. Fly.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  1008. Fly.Velocity = Vector3.new(mra(-100, 100), mra(-100, 100), mra(-100, 100))
  1009. spawn(function()
  1010. wait()
  1011. Fly:Destroy()
  1012. wait(7)
  1013. Blood.Enabled = false
  1014. wait(2)
  1015. for i = 1, 50 do
  1016. RS:wait()
  1017.  
  1018. o.Transparency = o.Transparency + 0.05
  1019. end
  1020. o:Destroy()
  1021. end)
  1022. end
  1023. end
  1024.  
  1025. for i = 1, 10 do
  1026. RS:wait()
  1027. Eff.Size = Eff.Size + Vector3.new(2,2,2)
  1028. end
  1029. Eff:Destroy()
  1030. spawn(function()
  1031. wait(5)
  1032. Sound:Destroy()
  1033. end)
  1034. end)
  1035.  
  1036. spawn(function()
  1037. while wait() do
  1038. if findNearestTorso(Clone.Torso.Position, Clone) ~= nil then
  1039. local target = findNearestTorso(Clone.Torso.Position, Clone).Parent
  1040. CHum.WalkToPoint = findNearestTorso(Clone.Torso.Position, Clone).Position
  1041. end
  1042.  
  1043. end
  1044. end)
  1045. end
  1046.  
  1047. local Combo = 1
  1048.  
  1049. function Combo1()
  1050. Pause = true
  1051. local Punched = false
  1052.  
  1053. spawn(function()
  1054. for i = 1, 10 do
  1055. RS:wait()
  1056.  
  1057. PlayAnimationFromTable({
  1058. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(10), mr(-60), 0), -- Torso,
  1059. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), mr(60), 0), ----- Head
  1060. CFrame.new(1.5,0,0) * CFrame.new(0, 0.4, 0) * CFrame.Angles(mr(90),mr(40),mr(0)), --- RightArm
  1061. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),--LeftArm
  1062. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), 0, 0), --RightLeg
  1063. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), mr(60), 0), --LeftLeg
  1064. }, .6, false)
  1065. end
  1066. end)
  1067.  
  1068.  
  1069. spawn(function()
  1070. for i = 1, 20 do
  1071. wait()
  1072.  
  1073.  
  1074. local Eff = Instance.new("Part")
  1075. Eff.Parent = char
  1076. Eff.Anchored = true
  1077. Eff.Locked = true
  1078. Eff.Material = "Neon"
  1079. Eff.Color = Color3.fromRGB(248, 255, 96)
  1080. Eff.Shape = "Block"
  1081. Eff.Size = Vector3.new(1,1,1)
  1082. Eff.CanCollide = false
  1083. Eff.CFrame = RightArm.CFrame * CFrame.Angles(mr(math.random(-360, 360)), mr(math.random(-360, 360)), mr(math.random(-360, 360)))
  1084.  
  1085. spawn(function()
  1086. for i = 1, 500 do
  1087. RS:wait()
  1088. Eff.CFrame = Eff.CFrame * CFrame.Angles(mr(math.random(-5, 5)), mr(math.random(-5, 5)), mr(math.random(-5, 5)))
  1089. Eff.Transparency = Eff.Transparency + 0.05
  1090.  
  1091. if Eff.Transparency >= 1 then
  1092. Eff:Destroy()
  1093. end
  1094. end
  1095. end)
  1096. end
  1097. end)
  1098.  
  1099.  
  1100. wait(0.3)
  1101. Punched = true
  1102.  
  1103.  
  1104. spawn(function()
  1105. for i = 1, 10 do
  1106. RS:wait()
  1107.  
  1108. PlayAnimationFromTable({
  1109. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-20), mr(60), 0), -- Torso,
  1110. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(20), mr(-60), 0), ----- Head
  1111. CFrame.new(1.5,0,0) * CFrame.new(0, 0.4, -1) * CFrame.Angles(mr(130), mr(90),mr(-60)), --- RightArm
  1112. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),--LeftArm
  1113. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), 0, 0), --RightLeg
  1114. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), mr(60), 0), --LeftLeg
  1115. }, .6, false)
  1116. end
  1117. end)
  1118.  
  1119. RightArm.Touched:Connect(function(h)
  1120. if Punched == true and not h:IsDescendantOf(char) and h.Parent ~= nil and h.Parent:FindFirstChildOfClass("Humanoid") and h.Parent.Name ~= plr.Name.."'s Clone" and h.Parent:FindFirstChild("Hitto4") == nil then
  1121. local val = Instance.new("IntValue", h.Parent)
  1122. val.Name = "Hitto4"
  1123. spawn(function()
  1124. wait(0.3)
  1125. val:Destroy()
  1126. end)
  1127. Damage(10, h.Parent:FindFirstChildOfClass("Humanoid"))
  1128.  
  1129. end
  1130. end)
  1131.  
  1132. wait(0.2)
  1133. Punched = false
  1134. Pause = false
  1135. end
  1136.  
  1137.  
  1138. function Combo2()
  1139. Pause = true
  1140. local Punched = false
  1141. spawn(function()
  1142. for i = 1, 10 do
  1143. RS:wait()
  1144.  
  1145. PlayAnimationFromTable({
  1146. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(10), mr(60), 0), -- Torso,
  1147. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), mr(-60), 0), ----- Head
  1148. CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0),mr(0),mr(0)), --- RightArm
  1149. CFrame.new(-1.5,0,0) * CFrame.new(0, 0.4, 0) * CFrame.Angles(mr(90), mr(-40), 0),--LeftArm
  1150. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), 0, 0), --RightLeg
  1151. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), mr(60), 0), --LeftLeg
  1152. }, .6, false)
  1153. end
  1154. end)
  1155.  
  1156.  
  1157. spawn(function()
  1158. for i = 1, 20 do
  1159. wait()
  1160.  
  1161.  
  1162. local Eff = Instance.new("Part")
  1163. Eff.Parent = char
  1164. Eff.Anchored = true
  1165. Eff.Locked = true
  1166. Eff.Material = "Neon"
  1167. Eff.Color = Color3.fromRGB(248, 255, 96)
  1168. Eff.Shape = "Block"
  1169. Eff.Size = Vector3.new(1,1,1)
  1170. Eff.CanCollide = false
  1171. Eff.CFrame = LeftArm.CFrame * CFrame.Angles(mr(math.random(-360, 360)), mr(math.random(-360, 360)), mr(math.random(-360, 360)))
  1172.  
  1173. spawn(function()
  1174. for i = 1, 500 do
  1175. RS:wait()
  1176. Eff.CFrame = Eff.CFrame * CFrame.Angles(mr(math.random(-5, 5)), mr(math.random(-5, 5)), mr(math.random(-5, 5)))
  1177. Eff.Transparency = Eff.Transparency + 0.05
  1178.  
  1179. if Eff.Transparency >= 1 then
  1180. Eff:Destroy()
  1181. end
  1182. end
  1183. end)
  1184. end
  1185. end)
  1186.  
  1187.  
  1188. wait(0.3)
  1189. Punched = true
  1190.  
  1191. spawn(function()
  1192. for i = 1, 10 do
  1193. RS:wait()
  1194.  
  1195. PlayAnimationFromTable({
  1196. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-20), mr(-60), 0), -- Torso,
  1197. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(20), mr(60), 0), ----- Head
  1198. CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(0),mr(0)), --- RightArm
  1199. CFrame.new(-1.5,0,0) * CFrame.new(0, 0.4, -1) * CFrame.Angles(mr(130), mr(-90), mr(60)),--LeftArm
  1200. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), 0, 0), --RightLeg
  1201. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), mr(60), 0), --LeftLeg
  1202. }, .6, false)
  1203. end
  1204. end)
  1205.  
  1206. LeftArm.Touched:Connect(function(h)
  1207. if Punched == true and not h:IsDescendantOf(char) and h.Parent ~= nil and h.Parent:FindFirstChildOfClass("Humanoid") and h.Parent.Name ~= plr.Name.."'s Clone" and h.Parent:FindFirstChild("Hitto4") == nil then
  1208. local val = Instance.new("IntValue", h.Parent)
  1209. val.Name = "Hitto4"
  1210. spawn(function()
  1211. wait(0.3)
  1212. val:Destroy()
  1213. end)
  1214. Damage(10, h.Parent:FindFirstChildOfClass("Humanoid"))
  1215.  
  1216. end
  1217. end)
  1218.  
  1219. wait(0.2)
  1220. Punched = false
  1221. Pause = false
  1222. end
  1223.  
  1224.  
  1225. function Combo3()
  1226. Pause = true
  1227.  
  1228. spawn(function()
  1229. for i = 1, 20 do
  1230. RS:wait()
  1231.  
  1232. PlayAnimationFromTable({
  1233. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), -- Torso,
  1234. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), ----- Head
  1235. CFrame.new(1.5,0,0) * CFrame.new(0, 0.5, -0.5) * CFrame.Angles(mr(90),mr(90),0), --- RightArm
  1236. CFrame.new(-1.5,0,0) * CFrame.new(0, 0.5, -0.5) * CFrame.Angles(mr(90), mr(-90), 0),--LeftArm
  1237. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), --RightLeg
  1238. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), --LeftLeg
  1239. }, .5, false)
  1240. end
  1241. end)
  1242.  
  1243. wait(0.1)
  1244.  
  1245. Explosion1:Play()
  1246.  
  1247. spawn(function()
  1248. for i = 1, 20 do
  1249. wait()
  1250.  
  1251.  
  1252. local Eff = Instance.new("Part")
  1253. Eff.Parent = char
  1254. Eff.Anchored = true
  1255. Eff.Locked = true
  1256. Eff.Material = "Neon"
  1257. Eff.Color = Color3.fromRGB(248, 255, 96)
  1258. Eff.Shape = "Block"
  1259. Eff.Size = Vector3.new(math.random(5, 20),math.random(5, 20),math.random(5, 20))
  1260. Eff.CanCollide = false
  1261. Eff.CFrame = RootPart.CFrame * CFrame.new(0,0,-i*3) * CFrame.Angles(mr(math.random(-360, 360)), mr(math.random(-360, 360)), mr(math.random(-360, 360)))
  1262.  
  1263. Eff.Touched:Connect(function(h)
  1264. if not h:IsDescendantOf(char) and h.Parent ~= nil and h.Parent:FindFirstChildOfClass("Humanoid") and h.Parent.Name ~= plr.Name.."'s Clone" and h.Parent:FindFirstChild("Hitto3") == nil then
  1265. local val = Instance.new("IntValue", h.Parent)
  1266. val.Name = "Hitto3"
  1267. spawn(function()
  1268. wait(0.1)
  1269. val:Destroy()
  1270. end)
  1271. Damage(15, h.Parent:FindFirstChildOfClass("Humanoid"))
  1272.  
  1273. end
  1274. end)
  1275.  
  1276. spawn(function()
  1277. for i = 1, 500 do
  1278. RS:wait()
  1279. Eff.CFrame = Eff.CFrame * CFrame.Angles(mr(math.random(-5, 5)), mr(math.random(-5, 5)), mr(math.random(-5, 5)))
  1280. Eff.Transparency = Eff.Transparency + 0.05
  1281.  
  1282. if Eff.Transparency >= 1 then
  1283. Eff:Destroy()
  1284. end
  1285. end
  1286. end)
  1287. end
  1288. end)
  1289.  
  1290. wait(0.2)
  1291.  
  1292. Pause = false
  1293. end
  1294.  
  1295.  
  1296. function Combo4()
  1297. Pause = true
  1298.  
  1299. local Jum = Instance.new("BodyPosition", RootPart)
  1300. Jum.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  1301. Jum.D = 600
  1302. Jum.P = 10000
  1303. Jum.Position = RootPart.CFrame.p + Vector3.new(0,50,0)
  1304.  
  1305. spawn(function()
  1306. for i = 1, 20 do
  1307. RS:wait()
  1308.  
  1309. PlayAnimationFromTable({
  1310. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(10), 0, 0), -- Torso,
  1311. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(10), 0, 0), ----- Head
  1312. CFrame.new(1.5,0,0) * CFrame.new(0, 0.5, -0.5) * CFrame.Angles(mr(90),mr(0),mr(-20)), --- RightArm
  1313. CFrame.new(-1.5,0,0) * CFrame.new(0, 0.5, -0.5) * CFrame.Angles(mr(90), mr(0), mr(20)),--LeftArm
  1314. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-30), 0, 0), --RightLeg
  1315. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-30), 0, 0), --LeftLeg
  1316. }, .5, false)
  1317. end
  1318. end)
  1319.  
  1320. wait(0.2)
  1321.  
  1322. Jum:Destroy()
  1323.  
  1324. local Jum2 = Instance.new("BodyPosition", RootPart)
  1325. Jum2.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  1326. Jum2.D = 600
  1327. Jum2.P = 10000
  1328. Jum2.Position = RootPart.CFrame.p + Vector3.new(0,-50,0)
  1329.  
  1330. wait(0.1)
  1331. Jum2:Destroy()
  1332.  
  1333. Explosion1:Play()
  1334.  
  1335.  
  1336. spawn(function()
  1337. for i = 1, 20 do
  1338. RS:wait()
  1339.  
  1340. PlayAnimationFromTable({
  1341. CFrame.new(0,0,0) * CFrame.new(0, -1, 0) * CFrame.Angles(mr(-10), 0, 0), -- Torso,
  1342. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), 0, 0), ----- Head
  1343. CFrame.new(1.5,0,0) * CFrame.new(-0.4, -0.2, -0.5) * CFrame.Angles(mr(30),mr(0),mr(-20)), --- RightArm
  1344. CFrame.new(-1.5,0,0) * CFrame.new(0.4, -0.2, -0.5) * CFrame.Angles(mr(30), mr(0), mr(20)),--LeftArm
  1345. CFrame.new(0.5,-2,0) * CFrame.new(0, 0.4, 0) * CFrame.Angles(mr(-80), 0, 0), --RightLeg
  1346. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0.4, 0) * CFrame.Angles(mr(-80), 0, 0), --LeftLeg
  1347. }, .5, false)
  1348. end
  1349. end)
  1350.  
  1351. spawn(function()
  1352. for i = 1, 3 do
  1353. wait()
  1354.  
  1355.  
  1356. local Eff = Instance.new("Part")
  1357. Eff.Parent = char
  1358. Eff.Anchored = true
  1359. Eff.Locked = true
  1360. Eff.Material = "Neon"
  1361. Eff.Color = Color3.fromRGB(248, 255, 96)
  1362. Eff.Shape = "Block"
  1363. Eff.Size = Vector3.new(math.random(5, 20),math.random(5, 20),math.random(5, 20))
  1364. Eff.CanCollide = false
  1365. Eff.CFrame = RootPart.CFrame * CFrame.Angles(mr(math.random(-360, 360)), mr(math.random(-360, 360)), mr(math.random(-360, 360)))
  1366.  
  1367. Eff.Touched:Connect(function(h)
  1368. if not h:IsDescendantOf(char) and h.Parent ~= nil and h.Parent:FindFirstChildOfClass("Humanoid") and h.Parent.Name ~= plr.Name.."'s Clone" and h.Parent:FindFirstChild("Hitto3") == nil then
  1369. local val = Instance.new("IntValue", h.Parent)
  1370. val.Name = "Hitto3"
  1371. spawn(function()
  1372. wait(0.1)
  1373. val:Destroy()
  1374. end)
  1375. Damage(50, h.Parent:FindFirstChildOfClass("Humanoid"))
  1376.  
  1377. end
  1378. end)
  1379.  
  1380. spawn(function()
  1381. for i = 1, 500 do
  1382. RS:wait()
  1383. Eff.CFrame = Eff.CFrame * CFrame.Angles(mr(math.random(-5, 5)), mr(math.random(-5, 5)), mr(math.random(-5, 5)))
  1384. Eff.Transparency = Eff.Transparency + 0.07
  1385. Eff.Size = Eff.Size + Vector3.new(4,4,4)
  1386. if Eff.Transparency >= 1 then
  1387. Eff:Destroy()
  1388. end
  1389. end
  1390. end)
  1391. end
  1392. end)
  1393.  
  1394. wait(1)
  1395.  
  1396. Pause = false
  1397. end
  1398.  
  1399. local ComDb = false
  1400.  
  1401. Mouse.Button1Down:Connect(function()
  1402. if Combo == 1 and ComDb == false then
  1403. ComDb = true
  1404. Combo = 2
  1405.  
  1406. Combo1()
  1407.  
  1408. wait(0.3)
  1409. ComDb = false
  1410.  
  1411. elseif Combo == 2 and ComDb == false then
  1412. ComDb = true
  1413. Combo = 3
  1414.  
  1415. Combo2()
  1416.  
  1417. wait(0.3)
  1418. ComDb = false
  1419.  
  1420. elseif Combo == 3 and ComDb == false then
  1421. ComDb = true
  1422. Combo = 4
  1423.  
  1424. Combo3()
  1425.  
  1426. wait(0.3)
  1427. ComDb = false
  1428.  
  1429. elseif Combo == 4 and ComDb == false then
  1430. ComDb = true
  1431. Combo = 1
  1432.  
  1433. Combo4()
  1434.  
  1435. wait(0.3)
  1436. ComDb = false
  1437. end
  1438. end)
  1439.  
  1440.  
  1441. Mouse.KeyDown:Connect(function(k)
  1442. if k == "e" then
  1443. ThrowBomb()
  1444. end
  1445.  
  1446. if k == "r" then
  1447. PlantBomb()
  1448. end
  1449.  
  1450. if k == "q" then
  1451. ExplodePlantedBomb()
  1452. end
  1453.  
  1454. if k == "f" then
  1455. PlantUltraXBomb()
  1456. end
  1457.  
  1458. if k == "t" then
  1459. ExplodeUltraX()
  1460. end
  1461.  
  1462. if k == "x" then
  1463. Clone()
  1464. end
  1465. end)
  1466.  
  1467.  
  1468.  
  1469.  
  1470. --for i = 1, 50 do
  1471. -- RS:wait()
  1472. --
  1473. -- PlayAnimationFromTable({
  1474. -- CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), -- Torso,
  1475. -- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), ----- Head
  1476. -- CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,0), --- RightArm
  1477. -- CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),--LeftArm
  1478. -- CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), --RightLeg
  1479. -- CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), --LeftLeg
  1480. -- }, .3, false)
  1481. --end
  1482.  
  1483.  
  1484.  
  1485. local newMotor = function(part0, part1, c0, c1)
  1486. local w = Create('Motor'){
  1487. Parent = part0,
  1488. Part0 = part0,
  1489. Part1 = part1,
  1490. C0 = c0,
  1491. C1 = c1,
  1492. }
  1493. return w
  1494. end
  1495. function clerp(a, b, t)
  1496. return a:lerp(b, t)
  1497. end
  1498.  
  1499. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  1500. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1501.  
  1502. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  1503. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  1504. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  1505. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  1506. RootJoint.C1 = CFrame.new(0, 0, 0)
  1507. RootJoint.C0 = CFrame.new(0, 0, 0)
  1508. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  1509. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  1510.  
  1511. local rarmc1 = RW.C1
  1512. local larmc1 = LW.C1
  1513. local rlegc1 = RH.C1
  1514. local llegc1 = LH.C1
  1515.  
  1516. local resetc1 = false
  1517.  
  1518. function PlayAnimationFromTable(table, speed, bool)
  1519. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  1520. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  1521. RW.C0 = clerp(RW.C0, table[3], speed)
  1522. LW.C0 = clerp(LW.C0, table[4], speed)
  1523. RH.C0 = clerp(RH.C0, table[5], speed)
  1524. LH.C0 = clerp(LH.C0, table[6], speed)
  1525. if bool == true then
  1526. if resetc1 == false then
  1527. resetc1 = true
  1528. RootJoint.C1 = RootJoint.C1
  1529. Torso.Neck.C1 = Torso.Neck.C1
  1530. RW.C1 = rarmc1
  1531. LW.C1 = larmc1
  1532. RH.C1 = rlegc1
  1533. LH.C1 = llegc1
  1534. end
  1535. end
  1536. end
  1537.  
  1538. ArtificialHB = Create("BindableEvent", script){
  1539. Parent = script,
  1540. Name = "Heartbeat",
  1541. }
  1542.  
  1543. script:WaitForChild("Heartbeat")
  1544.  
  1545. frame = 1 / 30
  1546. tf = 0
  1547. allowframeloss = false
  1548. tossremainder = false
  1549. lastframe = tick()
  1550. script.Heartbeat:Fire()
  1551.  
  1552. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1553. tf = tf + s
  1554. if tf >= frame then
  1555. if allowframeloss then
  1556. script.Heartbeat:Fire()
  1557. lastframe = tick()
  1558. else
  1559. for i = 1, math.floor(tf / frame) do
  1560. script.Heartbeat:Fire()
  1561. end
  1562. lastframe = tick()
  1563. end
  1564. if tossremainder then
  1565. tf = 0
  1566. else
  1567. tf = tf - frame * math.floor(tf / frame)
  1568. end
  1569. end
  1570. end)
  1571.  
  1572. function swait(num)
  1573. if num == 0 or num == nil then
  1574. ArtificialHB.Event:wait()
  1575. else
  1576. for i = 0, num do
  1577. ArtificialHB.Event:wait()
  1578. end
  1579. end
  1580. end
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586. New = function(Object, Parent, Name, Data)
  1587. local Object = Instance.new(Object)
  1588. for Index, Value in pairs(Data or {}) do
  1589. Object[Index] = Value
  1590. end
  1591. Object.Parent = Parent
  1592. Object.Name = Name
  1593. return Object
  1594. end
  1595. function rayCast(Position, Direction, Range, Ignore)
  1596. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1597. end
  1598.  
  1599.  
  1600.  
  1601.  
  1602. coroutine.wrap(function()
  1603. while 1 do
  1604. swait()
  1605. if doe <= 360 then
  1606. doe = doe + 2
  1607. else
  1608. doe = 0
  1609. end
  1610. end
  1611. end)()
  1612. while true do
  1613. swait()
  1614.  
  1615. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1616. velocity = RootPart.Velocity.y
  1617. sine = sine + change
  1618. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1619. if RootPart.Velocity.y > 1 and hit == nil then
  1620. Anim = "Jump"
  1621. if Pause == false then
  1622. PlayAnimationFromTable({
  1623. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), 0, 0), -- Torso,
  1624. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(20), 0, 0), ----- Head
  1625. CFrame.new(1.5,0,0) * CFrame.new(0, 0.8, -0.5) * CFrame.Angles(mr(120),0,mr(10)), --- RightArm
  1626. CFrame.new(-1.5,0,0) * CFrame.new(0, 0.8, -0.5) * CFrame.Angles(mr(120), 0, mr(-10)),--LeftArm
  1627. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), --RightLeg
  1628. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), --LeftLeg
  1629. }, .3, false)
  1630. end
  1631. elseif RootPart.Velocity.y < -1 and hit == nil then
  1632. Anim = "Fall"
  1633. if Pause == false then
  1634. PlayAnimationFromTable({
  1635. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), -- Torso,
  1636. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), ----- Head
  1637. CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,0), --- RightArm
  1638. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),--LeftArm
  1639. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), --RightLeg
  1640. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), --LeftLeg
  1641. }, .3, false)
  1642. end
  1643. elseif Torsovelocity < 1 and hit ~= nil then
  1644. Anim = "Idle"
  1645. if Pause == false then
  1646. change = 1
  1647. PlayAnimationFromTable({
  1648. CFrame.new(0,0,0) * CFrame.new(0, 0-.1*math.sin(tick()*20), 0) * CFrame.Angles(0-.05*math.sin(tick()*20), mr(-15), 0), -- Torso,
  1649. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0-.5*math.sin(tick()*20), mr(15), 0), ----- Head
  1650. CFrame.new(1.5,0,0) * CFrame.new(-0.4, 1, -1) * CFrame.Angles(mr(110), 0, mr(-25)), --- RightArm
  1651. CFrame.new(-1.5,0,0) * CFrame.new(0.2, 1, 0) * CFrame.Angles(mr(170), mr(0), mr(15)),--LeftArm
  1652. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), --RightLeg
  1653. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), --LeftLeg
  1654. }, .3, false)
  1655. end
  1656. elseif Torsovelocity > 2 and hit ~= nil then
  1657. Anim = "Walk"
  1658. if Pause == false then
  1659. PlayAnimationFromTable({
  1660. CFrame.new(0,0,0) * CFrame.new(0, 0-.1*math.sin(tick()*20), 0) * CFrame.Angles(0-.1*math.sin(tick()*20), mr(-15), 0), -- Torso,
  1661. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0-.2*math.sin(tick()*20), 0, 0), ----- Head
  1662. CFrame.new(1.5,0,0) * CFrame.new(-0.4, 1, -1) * CFrame.Angles(mr(110), 0, mr(-25)), --- RightArm
  1663. CFrame.new(-1.5,0,0) * CFrame.new(0.4, 1, -1) * CFrame.Angles(mr(115), mr(15), mr(25)),--LeftArm
  1664. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0- 0.6 * math.cos((sine) / 3)) * CFrame.Angles(math.rad(0 + 50 * math.cos((sine) / 3)), 0, 0), --RightLeg
  1665. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0+ 0.6 * math.cos((sine) / 3)) * CFrame.Angles(math.rad(0 - 50 * math.cos((sine) / 3)), 0, 0), --LeftLeg
  1666. }, .3, false)
  1667. end
  1668. end
  1669. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement