carlosname

Untitled

Nov 14th, 2019
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. plr = game.Players.LocalPlayer
  3. char = game.Players.LocalPlayer.Character
  4. wait(0.016666666666666666)
  5.  
  6. mse = plr:GetMouse()
  7. local Head = char.Head
  8. local Players=game:service'Players'
  9. local Player=Players.LocalPlayer
  10. local Mouse=Player:GetMouse''
  11.  
  12. char.Humanoid.MaxHealth = math.huge
  13. char.Humanoid.Health = math.huge
  14.  
  15.  
  16.  
  17. Par1=Instance.new('ParticleEmitter',char['Torso'])
  18. Par1.LightEmission=100
  19. Par1.LightInfluence=5
  20. Par1.LockedToPart=true
  21. Par1.Texture='rbxassetid://300899516'
  22. Par1.Color=ColorSequence.new(Color3.new(0.1,0,10))
  23. Par1.Transparency=NumberSequence.new(0)
  24. Par1.Lifetime=NumberRange.new(0.3)
  25. Par1.Rate=1000
  26.  
  27. Par1.Enabled = false
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35. base = Instance.new("ScreenGui",plr.PlayerGui)
  36. bbg = Instance.new("BillboardGui",plr.Character.Head)
  37. bbg.Size = UDim2.new(0,200,0,50)
  38. bbg.StudsOffset = Vector3.new(0,3,0)
  39. bbgTl = Instance.new("TextLabel",bbg)
  40. bbgTl.BackgroundTransparency = 1
  41. bbgTl.Size = UDim2.new(10,0,1,0)
  42. bbgTl.Position = UDim2.new(-4.5,0,0,0)
  43. bbgTl.Font = "Fantasy"
  44. bbgTl.Text = " "
  45. bbgTl.TextSize = 25
  46. bbgTl.TextStrokeColor3 = Color3.new(100,0,100)
  47. bbgTl.TextColor3 = Color3.new(0,0,100)
  48. bbgTl.TextStrokeTransparency = 0
  49. bbgTl.TextWrapped = true
  50. plr.Chatted:connect(function(msg)
  51. bbgTl.Text = msg
  52. wait(1)
  53. TextFade()
  54. end
  55. )
  56.  
  57. function TextFade()
  58.  
  59. bbgTl.TextTransparency = 0.1
  60. bbgTl.TextStrokeTransparency = 0.1
  61. wait(0.1)
  62. bbgTl.TextTransparency = 0.2
  63. bbgTl.TextStrokeTransparency = 0.2
  64. wait(0.1)
  65. bbgTl.TextTransparency = 0.3
  66. bbgTl.TextStrokeTransparency = 0.3
  67. wait(0.1)
  68. bbgTl.TextTransparency = 0.4
  69. bbgTl.TextStrokeTransparency = 0.4
  70. wait(0.1)
  71. bbgTl.TextTransparency = 0.5
  72. bbgTl.TextStrokeTransparency = 0.5
  73. wait(0.1)
  74. bbgTl.TextTransparency = 0.6
  75. bbgTl.TextStrokeTransparency = 0.6
  76. wait(0.1)
  77. bbgTl.TextTransparency = 0.7
  78. bbgTl.TextStrokeTransparency = 0.7
  79. wait(0.1)
  80. bbgTl.TextTransparency = 0.8
  81. bbgTl.TextStrokeTransparency = 0.8
  82. wait(0.1)
  83. bbgTl.TextTransparency = 0.9
  84. bbgTl.TextStrokeTransparency = 0.9
  85. wait(0.1)
  86. bbgTl.Text = " "
  87. wait(0.00000000000000001)
  88. bbgTl.TextTransparency = 0
  89. bbgTl.TextStrokeTransparency = 0
  90. end
  91.  
  92. local Orin = "rbxassetid://639034904"
  93. Head.face.Texture = Orin
  94. spawn(function()
  95. while wait() do
  96. char["Body Colors"].HeadColor = BrickColor.new("Med. yellowish orange")
  97. char["Body Colors"].TorsoColor = BrickColor.new("Med. yellowish orange")
  98. char["Body Colors"].LeftArmColor = BrickColor.new("Med. yellowish orange")
  99. char["Body Colors"].RightArmColor = BrickColor.new("Med. yellowish orange")
  100. char["Body Colors"].LeftLegColor = BrickColor.new("Med. yellowish orange")
  101. char["Body Colors"].RightLegColor = BrickColor.new("Med. yellowish orange")
  102. end
  103. end)
  104.  
  105. char.Shirt:Remove()
  106. char.Pants:Remove()
  107.  
  108. shirt = Instance.new("Shirt", char)
  109. shirt.Name = "Shirt"
  110. pants = Instance.new("Pants", char)
  111. pants.Name = "Pants"
  112. char.Shirt.ShirtTemplate = "rbxassetid://763105737"
  113. char.Pants.PantsTemplate = "rbxassetid://1174714081"
  114. for i, v in pairs(char:GetChildren()) do
  115. if v.ClassName == "Accessory" then
  116. v:Remove()
  117. end
  118. end
  119.  
  120. Hat3 = Instance.new("Model")
  121. Hat3.Parent = char
  122. Hat3.Name = "Hat3"
  123. rh = Instance.new("Part")
  124. rh.Parent = Hat3
  125. rh.BrickColor = BrickColor.new("Really black")
  126. rh.Locked = true
  127. rh.CanCollide = false
  128. mesh = Instance.new("SpecialMesh")
  129. rh.formFactor = "Symmetric"
  130. mesh.MeshType = "FileMesh"
  131. mesh.MeshId = "rbxassetid://887129419"
  132. mesh.TextureId = "rbxassetid://887029299"
  133. mesh.Parent = rh
  134. local weld = Instance.new("Weld")
  135. weld.Parent = rh
  136. weld.Part0 = rh
  137. weld.Part1 =char.Head
  138. weld.C0 = CFrame.new(0, -0.2, 0)*CFrame.Angles(0, 6, 0)
  139. mesh.Scale = Vector3.new(0.032,0.029, 0.024)
  140. Hat3.Part.Transparency = 0
  141.  
  142. Hat = Instance.new("Model")
  143. Hat.Parent = char
  144. Hat.Name = "Hat"
  145. rh = Instance.new("Part")
  146. rh.Parent = Hat
  147. rh.BrickColor = BrickColor.new("Really black")
  148. rh.Locked = true
  149. rh.CanCollide = false
  150. mesh = Instance.new("SpecialMesh")
  151. rh.formFactor = "Symmetric"
  152. mesh.MeshType = "FileMesh"
  153. mesh.MeshId = "rbxassetid://874044556"
  154. mesh.TextureId = "rbxassetid://875114591"
  155. mesh.Parent = rh
  156. local weld = Instance.new("Weld")
  157. weld.Parent = rh
  158. weld.Part0 = rh
  159. weld.Part1 =char.Head
  160. weld.C0 = CFrame.new(0, -0.8, -0.5)*CFrame.Angles(0, 0, 0)
  161. mesh.Scale = Vector3.new(0.04,0.038, 0.04)
  162.  
  163. muscle = Instance.new("Model")
  164. muscle.Parent = char
  165. muscle.Name = "muscle"
  166. rh = Instance.new("Part")
  167. rh.Parent = muscle
  168. rh.BrickColor = BrickColor.new("Lilac")
  169. rh.Locked = true
  170. rh.CanCollide = false
  171. mesh = Instance.new("SpecialMesh")
  172. rh.formFactor = "Symmetric"
  173. mesh.MeshType = "FileMesh"
  174. mesh.MeshId = "rbxassetid://958074736"
  175. mesh.Parent = rh
  176. local weld = Instance.new("Weld")
  177. weld.Parent = rh
  178. weld.Part0 = rh
  179. weld.Part1 =char.Torso
  180. weld.C0 = CFrame.new(0, 0.1, 0.5)*CFrame.Angles(12.4, 0, 0)
  181. mesh.Scale = Vector3.new(0.009,0.01,0.01)
  182.  
  183.  
  184.  
  185.  
  186. scarf = Instance.new("Model")
  187. scarf.Parent = char
  188. scarf.Name = "scarf"
  189. rh = Instance.new("Part")
  190. rh.Parent = scarf
  191. rh.BrickColor = BrickColor.new("Maroon")
  192. rh.Locked = true
  193. rh.CanCollide = false
  194. mesh = Instance.new("SpecialMesh")
  195. rh.formFactor = "Symmetric"
  196. mesh.MeshType = "FileMesh"
  197. mesh.MeshId = "rbxassetid://873798502"
  198. mesh.TextureId = "rbxassetid://875114591"
  199. mesh.Parent = rh
  200. local weld = Instance.new("Weld")
  201. weld.Parent = rh
  202. weld.Part0 = rh
  203. weld.Part1 =char.Torso
  204. weld.C0 = CFrame.new(0, -1., 0)*CFrame.Angles(0, 0, 0)
  205. mesh.Scale = Vector3.new(0.0155,0.0155,0.0155)
  206.  
  207. rs = Instance.new("Model")
  208. rs.Parent = char
  209. rs.Name = "rs"
  210. rh = Instance.new("Part")
  211. rh.Parent = rs
  212. rh.BrickColor = BrickColor.new("Bright yellow")
  213. rh.Locked = true
  214. rh.CanCollide = false
  215. mesh = Instance.new("SpecialMesh")
  216. rh.formFactor = "Symmetric"
  217. mesh.MeshType = "FileMesh"
  218. mesh.MeshId = "rbxassetid://874040321"
  219. mesh.TextureId = "rbxassetid://875114591"
  220. mesh.Parent = rh
  221. local weld = Instance.new("Weld")
  222. weld.Parent = rh
  223. weld.Part0 = rh
  224. weld.Part1 =char["Right Arm"]
  225. weld.C0 = CFrame.new(0, -1, 0)*CFrame.Angles(0, 0, 0)
  226. mesh.Scale = Vector3.new(0.012,0.012,0.012)
  227.  
  228. ls = Instance.new("Model")
  229. ls.Parent = char
  230. ls.Name = "ls"
  231. rh = Instance.new("Part")
  232. rh.Parent = ls
  233. rh.BrickColor = BrickColor.new("Bright yellow")
  234. rh.Locked = true
  235. rh.CanCollide = false
  236. mesh = Instance.new("SpecialMesh")
  237. rh.formFactor = "Symmetric"
  238. mesh.MeshType = "FileMesh"
  239. mesh.MeshId = "rbxassetid://874041559"
  240. mesh.TextureId = "rbxassetid://875114591"
  241. mesh.Parent = rh
  242. local weld = Instance.new("Weld")
  243. weld.Parent = rh
  244. weld.Part0 = rh
  245. weld.Part1 =char["Left Arm"]
  246. weld.C0 = CFrame.new(0, -1, 0)*CFrame.Angles(0, 0, 0)
  247. mesh.Scale = Vector3.new(0.012,0.012,0.012)
  248.  
  249. cloth = Instance.new("Model")
  250. cloth.Parent = char
  251. cloth.Name = "cloth"
  252. rh = Instance.new("Part")
  253. rh.Parent = cloth
  254. rh.BrickColor = BrickColor.new("Quill grey")
  255. rh.Locked = true
  256. rh.CanCollide = false
  257. mesh = Instance.new("SpecialMesh")
  258. rh.formFactor = "Symmetric"
  259. mesh.MeshType = "FileMesh"
  260. mesh.MeshId = "rbxassetid://874045262"
  261. mesh.TextureId = "rbxassetid://875114591"
  262. mesh.Parent = rh
  263. local weld = Instance.new("Weld")
  264. weld.Parent = rh
  265. weld.Part0 = rh
  266. weld.Part1 =char.Torso
  267. weld.C0 = CFrame.new(0, 1.6, 0.2)*CFrame.Angles(-0.5, 0, 0)
  268. mesh.Scale = Vector3.new(0.0065,0.008,0.008)
  269.  
  270. ear1 = Instance.new("Model")
  271. ear1.Parent = char
  272. ear1.Name = "ear1"
  273. rh = Instance.new("Part")
  274. rh.Parent = ear1
  275. rh.BrickColor = BrickColor.new("Lilac")
  276. rh.Locked = true
  277. rh.CanCollide = false
  278. mesh = Instance.new("SpecialMesh")
  279. rh.formFactor = "Symmetric"
  280. mesh.MeshType = "FileMesh"
  281. mesh.MeshId = "rbxassetid://431119824"
  282. mesh.Parent = rh
  283. local weld = Instance.new("Weld")
  284. weld.Parent = rh
  285. weld.Part0 = rh
  286. weld.Part1 =char.Head
  287. weld.C0 = CFrame.new(0, -0.2, 0.65)*CFrame.Angles(0, 64, 0)
  288. mesh.Scale = Vector3.new(0.025,0.025, 0.025)
  289.  
  290. ear2 = Instance.new("Model")
  291. ear2.Parent = char
  292. ear2.Name = "ear2"
  293. rh = Instance.new("Part")
  294. rh.Parent = ear2
  295. rh.BrickColor = BrickColor.new("Lilac")
  296. rh.Locked = true
  297. rh.CanCollide = false
  298. mesh = Instance.new("SpecialMesh")
  299. rh.formFactor = "Symmetric"
  300. mesh.MeshType = "FileMesh"
  301. mesh.MeshId = "rbxassetid://431119824"
  302. mesh.Parent = rh
  303. local weld = Instance.new("Weld")
  304. weld.Parent = rh
  305. weld.Part0 = rh
  306. weld.Part1 =char.Head
  307. weld.C0 = CFrame.new(0, -0.2, 0.65)*CFrame.Angles(0, -64, 0)
  308. mesh.Scale = Vector3.new(0.025,0.025, 0.025)
  309.  
  310. belt = Instance.new("Model")
  311. belt.Parent = char
  312. belt.Name = "belt"
  313. rh = Instance.new("Part")
  314. rh.Parent = belt
  315. rh.BrickColor = BrickColor.new("Tr. Yellow")
  316. rh.Locked = true
  317. rh.CanCollide = false
  318. mesh = Instance.new("SpecialMesh")
  319. rh.formFactor = "Symmetric"
  320. mesh.MeshType = "FileMesh"
  321. mesh.MeshId = "rbxassetid://965627950"
  322. mesh.Parent = rh
  323. local weld = Instance.new("Weld")
  324. weld.Parent = rh
  325. weld.Part0 = rh
  326. weld.Part1 =char.Torso
  327. weld.C0 = CFrame.new(0, 1, 0)*CFrame.Angles(0, -4.7, 0)
  328. mesh.Scale = Vector3.new(0.65, 0.1, 0.65)
  329.  
  330. belt2 = Instance.new("Model")
  331. belt2.Parent = char
  332. belt2.Name = "belt2"
  333. rh = Instance.new("Part")
  334. rh.Parent = belt2
  335. rh.BrickColor = BrickColor.new("Tr. Yellow")
  336. rh.Locked = true
  337. rh.CanCollide = false
  338. mesh = Instance.new("SpecialMesh")
  339. rh.formFactor = "Symmetric"
  340. mesh.MeshType = "FileMesh"
  341. mesh.MeshId = "rbxassetid://475668276"
  342. mesh.Parent = rh
  343. local weld = Instance.new("Weld")
  344. weld.Parent = rh
  345. weld.Part0 = rh
  346. weld.Part1 =char.Torso
  347. weld.C0 = CFrame.new(-1.05, -1, 0)*CFrame.Angles(0, 0, 1.5)
  348. mesh.Scale = Vector3.new(0.0025, 0.0025, 0.0035)
  349.  
  350. belt3 = Instance.new("Model")
  351. belt3.Parent = char
  352. belt3.Name = "belt3"
  353. rh = Instance.new("Part")
  354. rh.Parent = belt3
  355. rh.BrickColor = BrickColor.new("Tr. Yellow")
  356. rh.Locked = true
  357. rh.CanCollide = false
  358. mesh = Instance.new("SpecialMesh")
  359. rh.formFactor = "Symmetric"
  360. mesh.MeshType = "FileMesh"
  361. mesh.MeshId = "rbxassetid://475668276"
  362. mesh.Parent = rh
  363. local weld = Instance.new("Weld")
  364. weld.Parent = rh
  365. weld.Part0 = rh
  366. weld.Part1 =char.Torso
  367. weld.C0 = CFrame.new(1.05, -1, 0)*CFrame.Angles(0, 0, -1.5)
  368. mesh.Scale = Vector3.new(0.0025, 0.0025, 0.0035)
  369.  
  370. cloth2 = Instance.new("Model")
  371. cloth2.Parent = char
  372. cloth2.Name = "cloth2"
  373. rh = Instance.new("Part")
  374. rh.Parent = cloth2
  375. rh.BrickColor = BrickColor.new("Quill grey")
  376. rh.Locked = true
  377. rh.CanCollide = false
  378. mesh = Instance.new("SpecialMesh")
  379. rh.formFactor = "Symmetric"
  380. mesh.MeshType = "FileMesh"
  381. mesh.MeshId = "rbxassetid://874045262"
  382. mesh.TextureId = "rbxassetid://875114591"
  383. mesh.Parent = rh
  384. local weld = Instance.new("Weld")
  385. weld.Parent = rh
  386. weld.Part0 = rh
  387. weld.Part1 =char.Torso
  388. weld.C0 = CFrame.new(0, 1.6, -0.2)*CFrame.Angles(0.2, 0, 0)
  389. mesh.Scale = Vector3.new(0.0065,0.008,0.008)
  390.  
  391. gr = Instance.new("Model")
  392. gr.Parent = char
  393. gr.Name = "gr"
  394. rh = Instance.new("Part")
  395. rh.Parent = gr
  396. rh.BrickColor = BrickColor.new("Daisy orange")
  397. rh.Locked = true
  398. rh.CanCollide = false
  399. mesh = Instance.new("SpecialMesh")
  400. rh.formFactor = "Symmetric"
  401. mesh.MeshType = "FileMesh"
  402. mesh.MeshId = "rbxassetid://1476756293"
  403. mesh.Parent = rh
  404. local weld = Instance.new("Weld")
  405. weld.Parent = rh
  406. weld.Part0 = rh
  407. weld.Part1 =char["Right Arm"]
  408. weld.C0 = CFrame.new(-0.6, 0.66, 0)*CFrame.Angles(0, 0, 0)
  409. mesh.Scale = Vector3.new(0.03,0.03,0.03)
  410.  
  411. gl = Instance.new("Model")
  412. gl.Parent = char
  413. gl.Name = "gl"
  414. rh = Instance.new("Part")
  415. rh.Parent = gl
  416. rh.BrickColor = BrickColor.new("Daisy orange")
  417. rh.Locked = true
  418. rh.CanCollide = false
  419. mesh = Instance.new("SpecialMesh")
  420. rh.formFactor = "Symmetric"
  421. mesh.MeshType = "FileMesh"
  422. mesh.MeshId = "rbxassetid://1476756293"
  423. mesh.Parent = rh
  424. local weld = Instance.new("Weld")
  425. weld.Parent = rh
  426. weld.Part0 = rh
  427. weld.Part1 =char["Left Arm"]
  428. weld.C0 = CFrame.new(0.6, 0.66, 0)*CFrame.Angles(0, 0, 0)
  429. mesh.Scale = Vector3.new(0.03,0.03,0.03)
  430.  
  431. ap1 = Instance.new("Model")
  432. ap1.Parent = char
  433. ap1.Name = "ap1"
  434. rh = Instance.new("Part")
  435. rh.Parent = ap1
  436. rh.BrickColor = BrickColor.new("Really black")
  437. rh.Locked = true
  438. rh.CanCollide = false
  439. mesh = Instance.new("SpecialMesh")
  440. rh.formFactor = "Symmetric"
  441. mesh.MeshType = "FileMesh"
  442. mesh.MeshId = "rbxassetid://965627950"
  443. mesh.Parent = rh
  444. local weld = Instance.new("Weld")
  445. weld.Parent = rh
  446. weld.Part0 = rh
  447. weld.Part1 =char["Right Arm"]
  448. weld.C0 = CFrame.new(0, -0.4, 0)*CFrame.Angles(0, 3.1, 0)
  449. mesh.Scale = Vector3.new(0.65, 0.25, 0.35)
  450.  
  451. ap2 = Instance.new("Model")
  452. ap2.Parent = char
  453. ap2.Name = "ap2"
  454. rh = Instance.new("Part")
  455. rh.Parent = ap2
  456. rh.BrickColor = BrickColor.new("Really black")
  457. rh.Locked = true
  458. rh.CanCollide = false
  459. mesh = Instance.new("SpecialMesh")
  460. rh.formFactor = "Symmetric"
  461. mesh.MeshType = "FileMesh"
  462. mesh.MeshId = "rbxassetid://965627950"
  463. mesh.Parent = rh
  464. local weld = Instance.new("Weld")
  465. weld.Parent = rh
  466. weld.Part0 = rh
  467. weld.Part1 =char["Left Arm"]
  468. weld.C0 = CFrame.new(0, -0.4, 0)*CFrame.Angles(0, 0, 0)
  469. mesh.Scale = Vector3.new(0.65, 0.25, 0.35)
  470.  
  471. circ1 = Instance.new("Model")
  472. circ1.Parent = char
  473. circ1.Name = "circ1"
  474. rh = Instance.new("Part")
  475. rh.Parent = circ1
  476. rh.BrickColor = BrickColor.new("Tr. Yellow")
  477. rh.Locked = true
  478. rh.CanCollide = false
  479. mesh = Instance.new("SpecialMesh")
  480. rh.formFactor = "Symmetric"
  481. mesh.MeshType = "FileMesh"
  482. mesh.MeshId = "rbxassetid://475668276"
  483. mesh.Parent = rh
  484. local weld = Instance.new("Weld")
  485. weld.Parent = rh
  486. weld.Part0 = rh
  487. weld.Part1 =char["Right Arm"]
  488. weld.C0 = CFrame.new(0.35, -0.6, 0)*CFrame.Angles(0, 0, 1.5)
  489. mesh.Scale = Vector3.new(0.0025, 0.001, 0.0025)
  490.  
  491. circ2 = Instance.new("Model")
  492. circ2.Parent = char
  493. circ2.Name = "circ2"
  494. rh = Instance.new("Part")
  495. rh.Parent = circ2
  496. rh.BrickColor = BrickColor.new("Tr. Yellow")
  497. rh.Locked = true
  498. rh.CanCollide = false
  499. mesh = Instance.new("SpecialMesh")
  500. rh.formFactor = "Symmetric"
  501. mesh.MeshType = "FileMesh"
  502. mesh.MeshId = "rbxassetid://475668276"
  503. mesh.Parent = rh
  504. local weld = Instance.new("Weld")
  505. weld.Parent = rh
  506. weld.Part0 = rh
  507. weld.Part1 =char["Left Arm"]
  508. weld.C0 = CFrame.new(-0.35, -0.6, 0)*CFrame.Angles(0, 0, -1.5)
  509. mesh.Scale = Vector3.new(0.0025, 0.001, 0.0025)
  510.  
  511.  
  512.  
  513. ap3 = Instance.new("Model")
  514. ap3.Parent = char
  515. ap3.Name = "ap3"
  516. rh = Instance.new("Part")
  517. rh.Parent = ap3
  518. rh.BrickColor = BrickColor.new("Really black")
  519. rh.Locked = true
  520. rh.CanCollide = false
  521. mesh = Instance.new("SpecialMesh")
  522. rh.formFactor = "Symmetric"
  523. mesh.MeshType = "FileMesh"
  524. mesh.MeshId = "rbxassetid://965627950"
  525. mesh.Parent = rh
  526. local weld = Instance.new("Weld")
  527. weld.Parent = rh
  528. weld.Part0 = rh
  529. weld.Part1 =char["Right Leg"]
  530. weld.C0 = CFrame.new(0, -0.4, 0)*CFrame.Angles(0, -4.7, 0)
  531. mesh.Scale = Vector3.new(0.65, 0.25, 0.35)
  532.  
  533. ap4 = Instance.new("Model")
  534. ap4.Parent = char
  535. ap4.Name = "ap4"
  536. rh = Instance.new("Part")
  537. rh.Parent = ap4
  538. rh.BrickColor = BrickColor.new("Really black")
  539. rh.Locked = true
  540. rh.CanCollide = false
  541. mesh = Instance.new("SpecialMesh")
  542. rh.formFactor = "Symmetric"
  543. mesh.MeshType = "FileMesh"
  544. mesh.MeshId = "rbxassetid://965627950"
  545. mesh.Parent = rh
  546. local weld = Instance.new("Weld")
  547. weld.Parent = rh
  548. weld.Part0 = rh
  549. weld.Part1 =char["Left Leg"]
  550. weld.C0 = CFrame.new(0, -0.4, 0)*CFrame.Angles(0, -4.7, 0)
  551. mesh.Scale = Vector3.new(0.65, 0.25, 0.35)
  552.  
  553. circ3 = Instance.new("Model")
  554. circ3.Parent = char
  555. circ3.Name = "circ3"
  556. rh = Instance.new("Part")
  557. rh.Parent = circ3
  558. rh.BrickColor = BrickColor.new("Tr. Yellow")
  559. rh.Locked = true
  560. rh.CanCollide = false
  561. mesh = Instance.new("SpecialMesh")
  562. rh.formFactor = "Symmetric"
  563. mesh.MeshType = "FileMesh"
  564. mesh.MeshId = "rbxassetid://475668276"
  565. mesh.Parent = rh
  566. local weld = Instance.new("Weld")
  567. weld.Parent = rh
  568. weld.Part0 = rh
  569. weld.Part1 =char["Right Leg"]
  570. weld.C0 = CFrame.new(0.35, -0.6, 0)*CFrame.Angles(1.5, 0, 1.5)
  571. mesh.Scale = Vector3.new(0.0025, 0.001, 0.0025)
  572.  
  573. circ4 = Instance.new("Model")
  574. circ4.Parent = char
  575. circ4.Name = "circ4"
  576. rh = Instance.new("Part")
  577. rh.Parent = circ4
  578. rh.BrickColor = BrickColor.new("Tr. Yellow")
  579. rh.Locked = true
  580. rh.CanCollide = false
  581. mesh = Instance.new("SpecialMesh")
  582. rh.formFactor = "Symmetric"
  583. mesh.MeshType = "FileMesh"
  584. mesh.MeshId = "rbxassetid://475668276"
  585. mesh.Parent = rh
  586. local weld = Instance.new("Weld")
  587. weld.Parent = rh
  588. weld.Part0 = rh
  589. weld.Part1 =char["Left Leg"]
  590. weld.C0 = CFrame.new(0.35, -0.6, 0)*CFrame.Angles(1.5, 0, 1.5)
  591. mesh.Scale = Vector3.new(0.0025, 0.001, 0.0025)
  592.  
  593. boot1 = Instance.new("Model")
  594. boot1.Parent = char
  595. boot1.Name = "boot1"
  596. rh = Instance.new("Part")
  597. rh.Parent = boot1
  598. rh.BrickColor = BrickColor.new("Really black")
  599. rh.Locked = true
  600. rh.CanCollide = false
  601. mesh = Instance.new("SpecialMesh")
  602. rh.formFactor = "Symmetric"
  603. mesh.MeshType = "FileMesh"
  604. mesh.MeshId = "rbxassetid://1154325543"
  605. mesh.Parent = rh
  606. local weld = Instance.new("Weld")
  607. weld.Parent = rh
  608. weld.Part0 = rh
  609. weld.Part1 =char["Right Leg"]
  610. weld.C0 = CFrame.new(0, 0.4, 0)*CFrame.Angles(0, 0, 0)
  611. mesh.Scale = Vector3.new(0.2, 0.23, 0.2)
  612.  
  613. boot2 = Instance.new("Model")
  614. boot2.Parent = char
  615. boot2.Name = "boot2"
  616. rh = Instance.new("Part")
  617. rh.Parent = boot2
  618. rh.BrickColor = BrickColor.new("Really black")
  619. rh.Locked = true
  620. rh.CanCollide = false
  621. mesh = Instance.new("SpecialMesh")
  622. rh.formFactor = "Symmetric"
  623. mesh.MeshType = "FileMesh"
  624. mesh.MeshId = "rbxassetid://1154325543"
  625. mesh.Parent = rh
  626. local weld = Instance.new("Weld")
  627. weld.Parent = rh
  628. weld.Part0 = rh
  629. weld.Part1 =char["Left Leg"]
  630. weld.C0 = CFrame.new(0, 0.4, 0)*CFrame.Angles(0, 0, 0)
  631. mesh.Scale = Vector3.new(0.2, 0.23, 0.2)
  632.  
  633. glo1 = Instance.new("Model")
  634. glo1.Parent = char
  635. glo1.Name = "glo1"
  636. rh = Instance.new("Part")
  637. rh.Parent = glo1
  638. rh.BrickColor = BrickColor.new("Really black")
  639. rh.Locked = true
  640. rh.CanCollide = false
  641. mesh = Instance.new("SpecialMesh")
  642. rh.formFactor = "Symmetric"
  643. mesh.MeshType = "FileMesh"
  644. mesh.MeshId = "rbxassetid://1154325543"
  645. mesh.Parent = rh
  646. local weld = Instance.new("Weld")
  647. weld.Parent = rh
  648. weld.Part0 = rh
  649. weld.Part1 =char["Right Arm"]
  650. weld.C0 = CFrame.new(0, 0.6, 0)*CFrame.Angles(0, 0, 0)
  651. mesh.Scale = Vector3.new(0.2, 0.15, 0.2)
  652.  
  653. glo2 = Instance.new("Model")
  654. glo2.Parent = char
  655. glo2.Name = "glo2"
  656. rh = Instance.new("Part")
  657. rh.Parent = glo2
  658. rh.BrickColor = BrickColor.new("Really black")
  659. rh.Locked = true
  660. rh.CanCollide = false
  661. mesh = Instance.new("SpecialMesh")
  662. rh.formFactor = "Symmetric"
  663. mesh.MeshType = "FileMesh"
  664. mesh.MeshId = "rbxassetid://1154325543"
  665. mesh.Parent = rh
  666. local weld = Instance.new("Weld")
  667. weld.Parent = rh
  668. weld.Part0 = rh
  669. weld.Part1 =char["Left Arm"]
  670. weld.C0 = CFrame.new(0, 0.6, 0)*CFrame.Angles(0, 0, 0)
  671. mesh.Scale = Vector3.new(0.2, 0.15, 0.2)
  672.  
  673. mse.KeyDown:connect(function(key)
  674. key = key:lower()
  675. if key == "k" then
  676. canworld = true
  677. yyd = CFuncs.Sound.Create("921051148")
  678. yyd.TimePosition = 0.5
  679. yyd.Volume = 7
  680.  
  681.  
  682. bbgTl.Text = "Gimme a break."
  683. wait(1)
  684. TextFade()
  685. end
  686. end
  687. )
  688.  
  689.  
  690. mse.KeyDown:connect(function(key)
  691. key = key:lower()
  692. if key == "n" then
  693. canworld = true
  694. teme = CFuncs.Sound.Create("499396245")
  695. teme.Volume = 7
  696. bbgTl.Text = "You..!"
  697. wait(1)
  698. TextFade()
  699. end
  700. end
  701. )
  702.  
  703.  
  704. mse.KeyDown:connect(function(key)
  705. key = key:lower()
  706. if key == "l" then
  707. canworld = true
  708. kono = CFuncs.Sound.Create("645811027")
  709. bbgTl.Text = "T-This power..!"
  710. wait(1.5)
  711. TextFade()
  712. end
  713. end
  714. )
  715.  
  716.  
  717. mse.KeyDown:connect(function(key)
  718. key = key:lower()
  719. if key == "j" then
  720. canworld = true
  721. kk = CFuncs.Sound.Create("1212328051")
  722. bbgTl.Text = "You really p#ssed me off."
  723. wait(2)
  724. TextFade()
  725.  
  726. end
  727. end
  728. )
  729. mse.KeyDown:connect(function(key)
  730. key = key:lower()
  731. if key == "," then
  732. canworld = true
  733.  
  734. st1 = CFuncs.Sound.Create("873240542")
  735. st1.Volume = 7
  736. bbgTl.Text = "You truly are the lowest scum in history.."
  737. wait(2.5)
  738. TextFade()
  739. wait(0.75)
  740. st2 = CFuncs.Sound.Create("873240410")
  741. st2.Volume = 7
  742. bbgTl.Text = "The debt you owe.."
  743. wait(0.5)
  744. TextFade()
  745. wait(0.5)
  746. st3 = CFuncs.Sound.Create("1207959412")
  747. st3.Volume = 7
  748. bbgTl.Text = "can't be repaid with money!"
  749. wait(2.4)
  750.  
  751. TextFade()
  752. end
  753. end
  754. )
  755.  
  756. mse.KeyDown:connect(function(key)
  757. key = key:lower()
  758. if key == "p" then
  759. canworld = true
  760. jk = CFuncs.Sound.Create("1212328340")
  761. bbgTl.Text = "I will personally kick your [OOPS KID FRIENDLY SORRY]!"
  762. wait(4)
  763. TextFade()
  764.  
  765. end
  766. end
  767. )
  768.  
  769. mse.KeyDown:connect(function(key)
  770. key = key:lower()
  771. if key == "h" and cooldown == false then
  772. canworld = true
  773. cooldown = true
  774. judge = CFuncs.Sound.Create("1300588094")
  775. judge.Volume = 7
  776. bbgTl.Text = "I shall be the judge!"
  777. wait(0.5)
  778.  
  779. TextFade()
  780. judge:Destroy()
  781. cooldown = false
  782. end
  783. end
  784. )
  785.  
  786. mse.KeyDown:connect(function(key)
  787. key = key:lower()
  788. if key == "r" and cooldown == false then
  789. canworld = true
  790. cooldown = true
  791. standjudge = CFuncs.Sound.Create("1300588094")
  792. standjudge.Volume = 7
  793. standjudge.TimePosition = 8.9
  794. bbgTl.Text = "Your judge.. will be my Stand!"
  795. wait(3)
  796.  
  797. TextFade()
  798.  
  799. cooldown = false
  800. end
  801. end
  802. )
  803.  
  804. mse.KeyDown:connect(function(key)
  805. key = key:lower()
  806. if key == ";" then
  807. canworld = true
  808. wagh = CFuncs.Sound.Create("998999809")
  809. wagh.Volume = 10
  810.  
  811. bbgTl.Text = "*inaudible*"
  812. wait(2)
  813. TextFade()
  814. end
  815. end
  816. )
  817.  
  818. mse.KeyDown:connect(function(key)
  819. key = key:lower()
  820. if key == "." then
  821. yaro = CFuncs.Sound.Create("869850439")
  822. yaro.Volume = 5
  823. bbgTl.Text = "You b#$+@rd!"
  824. wait(1.4)
  825. TextFade()
  826. end
  827. end)
  828.  
  829.  
  830. canworld = true
  831. mse.KeyDown:connect(function(key)
  832. key = key:lower()
  833. if key == "g" then
  834. if canworld == false then return end
  835. if canworld then
  836. canworld = false
  837. local ScreenGui = Instance.new("ScreenGui", plr.PlayerGui)
  838. local ImageLabel = Instance.new("ImageLabel")
  839. ImageLabel.Parent = ScreenGui
  840. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  841. ImageLabel.BackgroundTransparency = 1
  842. ImageLabel.Position = UDim2.new(0, 0, 0, 0)
  843. ImageLabel.Size = UDim2.new(0, 300, 0, 200)
  844. ImageLabel.Image = "rbxassetid://1539214808"
  845. for i = 1,10 do
  846. ImageLabel.Position = ImageLabel.Position - UDim2.new(0,25,0,15) + UDim2.new(0,math.random(-20,20),0,math.random(-20,20))
  847. ImageLabel.Size = ImageLabel.Size + UDim2.new(0,100,0,100)
  848. wait()
  849. end
  850. ScreenGui:remove()
  851. sptw = CFuncs.Sound.Create("1515909034")
  852. sptw.Volume = 8
  853. sptw.TimePosition = 0.05
  854. bbgTl.Text = "Star Platinum: The World!"
  855. wait(1.5)
  856. lasers = CFuncs.Sound.Create("926382097")
  857. lasers.Volume = 5
  858.  
  859.  
  860.  
  861. wait(1.5)
  862.  
  863.  
  864. local function weld(lol)
  865. local weld = Instance.new("Weld", plr.Character.Torso)
  866. weld.Part0 = plr.Character.Torso
  867. weld.Part1 = lol
  868. weld.C0 = plr.Character.Torso.CFrame:inverse()
  869. weld.C1 = lol.CFrame:inverse()
  870. end
  871. wait()
  872.  
  873. for i, v in pairs(game.Players:GetChildren()) do
  874. h = v.Character:FindFirstChild("Head")
  875. if h then
  876. h.Anchored = true
  877. plr.Character:FindFirstChild("Head").Anchored = false
  878. end
  879. t = v.Character:FindFirstChild("Torso")
  880. if t then
  881. t.Anchored = true
  882. plr.Character:FindFirstChild("Torso").Anchored = false
  883. end
  884. RA = v.Character:FindFirstChild("Right Arm")
  885. if RA then
  886. RA.Anchored = true
  887. plr.Character:FindFirstChild("Right Arm").Anchored = false
  888. end
  889. LA = v.Character:FindFirstChild("Left Arm")
  890. if LA then
  891. LA.Anchored = true
  892. plr.Character:FindFirstChild("Left Arm").Anchored = false
  893. end
  894. RL = v.Character:FindFirstChild("Right Leg")
  895. if RL then
  896. RL.Anchored = true
  897. plr.Character:FindFirstChild("Right Leg").Anchored = false
  898. end
  899. LL = v.Character:FindFirstChild("Left Leg")
  900. if LL then
  901. LL.Anchored = true
  902. plr.Character:FindFirstChild("Left Leg").Anchored = false
  903. end
  904. end
  905.  
  906.  
  907.  
  908.  
  909. game.Lighting.TimeOfDay="00:00:00"
  910. game.Lighting.OutdoorAmbient=Color3.new(50,0,350)
  911. wait(0.1)
  912. game.Lighting.OutdoorAmbient=Color3.new(0,114,235)
  913. wait(0.1)
  914. game.Lighting.OutdoorAmbient=Color3.new(0,0,235)
  915. wait(0.1)
  916. game.Lighting.OutdoorAmbient=Color3.new(0,114,0)
  917. wait(0.1)
  918. game.Lighting.OutdoorAmbient=Color3.new(255, 255, 355)
  919. tiock = CFuncs.Sound.Create("627730102")
  920. tiock.Looped = true
  921.  
  922. --game.Debris:AddItem(cce, 5)
  923.  
  924. wait()
  925.  
  926. end
  927. --wait(5)
  928. bbgTl.Text = " "
  929. wait(5)
  930.  
  931.  
  932.  
  933. tiock:Stop()
  934. tokiu = CFuncs.Sound.Create("923033530")
  935. tokiu.Volume = 5
  936. bbgTl.Text = "..Time resumes once again."
  937. wait(1.5)
  938. brmpbrmp = CFuncs.Sound.Create("757514877")
  939. brmpbrmp.Volume = 5
  940. for i, v in pairs(game.Players:GetChildren()) do
  941. h = v.Character:FindFirstChild("Head")
  942. if h then
  943. h.Anchored = false
  944. end
  945. t = v.Character:FindFirstChild("Torso")
  946. if t then
  947. t.Anchored = false
  948. end
  949. RA = v.Character:FindFirstChild("Right Arm")
  950. if RA then
  951. RA.Anchored = false
  952. end
  953. LA = v.Character:FindFirstChild("Left Arm")
  954. if LA then
  955. LA.Anchored = false
  956. end
  957. RL = v.Character:FindFirstChild("Right Leg")
  958. if RL then
  959. RL.Anchored = false
  960. end
  961. LL = v.Character:FindFirstChild("Left Leg")
  962. if LL then
  963. LL.Anchored = false
  964. end
  965. end
  966.  
  967. game.Lighting.OutdoorAmbient=Color3.new(0,114,0)
  968. wait(0.1)
  969. game.Lighting.OutdoorAmbient=Color3.new(50,0,350)
  970. wait(0.1)
  971. game.Lighting.OutdoorAmbient=Color3.new(0,114,235)
  972. wait(0.1)
  973. game.Lighting.OutdoorAmbient=Color3.new(0,0,235)
  974.  
  975. game.Lighting.OutdoorAmbient=Color3.new(135/255, 135/255, 128/255)
  976. game.Lighting.TimeOfDay="15:00:00"
  977.  
  978. canworld = true
  979.  
  980.  
  981. bbgTl.Text = " "
  982. end
  983. end
  984. )
  985.  
  986. function clerp(a,b,c,d)
  987. for i = 0,d,.01 do
  988. a.CFrame = CFrame.new(b:lerp(c,i))
  989. wait()
  990. end
  991. end
  992. function slerp(a2,b2,c2,d2)
  993. for i2 = 0,d2,.01 do
  994. a2.CFrame = CFrame.new(b2:lerp(c2,i2))
  995. wait()
  996. end
  997. end
  998. part = nil
  999. cooldown = false
  1000. Mouse.KeyDown:connect(function(key)
  1001. if key == "e" and part == nil and cooldown == false and canworld == true then
  1002.  
  1003. game.Lighting.OutdoorAmbient=Color3.new(0,14,135)
  1004. game.Lighting.TimeOfDay="00:00:00"
  1005. wait(0.000004)
  1006. game.Lighting.OutdoorAmbient=Color3.new(135/255, 135/255, 128/255)
  1007. game.Lighting.TimeOfDay="15:00:00"
  1008. plr.Character.Torso.CFrame = CFrame.new(Vector3.new(Mouse.hit.p.X,Mouse.hit.p.Y+1.5,Mouse.hit.p.Z),plr.Character.Torso.CFrame.p)
  1009. bam = CFuncs.Sound.Create("872436640")
  1010. bam.Volume = 10
  1011. cooldown = true
  1012. wait(1.1)
  1013. bam:Destroy()
  1014. cooldown = false
  1015.  
  1016. end
  1017. end
  1018. )
  1019.  
  1020. Effects = {}
  1021. local Player = game.Players.localPlayer
  1022. local Character = Player.Character
  1023. Character.Archivable = true
  1024. AdvancingFortress = Character:Clone()
  1025. AdvancingFortress.Parent = char
  1026. torso = AdvancingFortress.Torso
  1027. hum = AdvancingFortress.Humanoid
  1028. AdvancingFortress.Name = "Advancing Fortress"
  1029. pl = AdvancingFortress
  1030. local FOrin = "rbxassetid://1036828417"
  1031. AdvancingFortress.Head.face.Texture = FOrin
  1032.  
  1033. HOLYFUCKTHATSSOMEGOODMUSICDAMN = Instance.new("Sound", hum)
  1034. HOLYFUCKTHATSSOMEGOODMUSICDAMN.SoundId = "rbxassetid://748183600"
  1035. HOLYFUCKTHATSSOMEGOODMUSICDAMN.Volume = 0.5
  1036. HOLYFUCKTHATSSOMEGOODMUSICDAMN.Looped = true
  1037. HOLYFUCKTHATSSOMEGOODMUSICDAMN:Play()
  1038. muted = false
  1039.  
  1040. mse.KeyDown:connect(function(key)
  1041. key = key:lower()
  1042. if key == "t" and muted == false then
  1043.  
  1044. HOLYFUCKTHATSSOMEGOODMUSICDAMN.Volume = 0
  1045. muted = true
  1046. end
  1047. end)
  1048.  
  1049.  
  1050. pl.Shirt:Remove()
  1051. pl.Pants:Remove()
  1052.  
  1053. FShirt = Instance.new("Shirt", pl)
  1054. FShirt.Name = "FShirt"
  1055. FPants = Instance.new("Pants", pl)
  1056. FPants.Name = "FPants"
  1057. pl.FShirt.ShirtTemplate = "rbxassetid://572240895"
  1058. pl.FPants.PantsTemplate = "rbxassetid://572240895"
  1059.  
  1060.  
  1061.  
  1062. Character["Advancing Fortress"].Hat3:Destroy()
  1063.  
  1064. Character["Advancing Fortress"].Hat.Part.Transparency = 1
  1065. Character["Advancing Fortress"].scarf.Part.Transparency = 1
  1066. Character["Advancing Fortress"].boot1.Part.Transparency = 1
  1067. Character["Advancing Fortress"].boot2.Part.Transparency = 1
  1068. Character["Advancing Fortress"].glo1.Part.Transparency = 1
  1069. Character["Advancing Fortress"].glo2.Part.Transparency = 1
  1070. Character["Advancing Fortress"].rs.Part.Transparency = 1
  1071. Character["Advancing Fortress"].ls.Part.Transparency = 1
  1072. Character["Advancing Fortress"].cloth.Part.Transparency = 1
  1073. Character["Advancing Fortress"].ear1.Part.Transparency = 1
  1074. Character["Advancing Fortress"].ear2.Part.Transparency = 1
  1075. Character["Advancing Fortress"].belt.Part.Transparency = 1
  1076. Character["Advancing Fortress"].belt2.Part.Transparency = 1
  1077. Character["Advancing Fortress"].belt3.Part.Transparency = 1
  1078. Character["Advancing Fortress"].cloth2.Part.Transparency = 1
  1079. Character["Advancing Fortress"].gr.Part.Transparency = 1
  1080. Character["Advancing Fortress"].gl.Part.Transparency = 1
  1081. Character["Advancing Fortress"].ap1.Part.Transparency = 1
  1082. Character["Advancing Fortress"].ap2.Part.Transparency = 1
  1083. Character["Advancing Fortress"].ap3.Part.Transparency = 1
  1084. Character["Advancing Fortress"].ap4.Part.Transparency = 1
  1085. Character["Advancing Fortress"].circ1.Part.Transparency = 1
  1086. Character["Advancing Fortress"].circ2.Part.Transparency = 1
  1087. Character["Advancing Fortress"].circ3.Part.Transparency = 1
  1088. Character["Advancing Fortress"].circ4.Part.Transparency = 1
  1089. Character["Advancing Fortress"].muscle.Part.Transparency = 1
  1090. AdvancingFortress.Head.face.Transparency = 1
  1091.  
  1092.  
  1093. Character.Hat:Destroy()
  1094. Character.boot1:Destroy()
  1095. Character.boot2:Destroy()
  1096. Character.glo1:Destroy()
  1097. Character.glo2:Destroy()
  1098. Character.scarf:Destroy()
  1099. Character.cloth:Destroy()
  1100. Character.rs:Destroy()
  1101. Character.ls:Destroy()
  1102. Character.ear1:Destroy()
  1103. Character.ear2:Destroy()
  1104. Character.belt:Destroy()
  1105. Character.belt2:Destroy()
  1106. Character.belt3:Destroy()
  1107. Character.cloth2:Destroy()
  1108. Character.ap1:Destroy()
  1109. Character.ap2:Destroy()
  1110. Character.ap3:Destroy()
  1111. Character.ap4:Destroy()
  1112. Character.muscle:Destroy()
  1113. Character.circ1:Destroy()
  1114. Character.circ2:Destroy()
  1115. Character.circ3:Destroy()
  1116. Character.circ4:Destroy()
  1117. Character.gr:Destroy()
  1118. Character.gl:Destroy()
  1119.  
  1120. for i, v in pairs(AdvancingFortress:GetChildren()) do
  1121. if v:IsA("BasePart") then
  1122. v.Transparency = 1
  1123. end
  1124. end
  1125.  
  1126.  
  1127.  
  1128.  
  1129. local Humanoid = AdvancingFortress.Humanoid
  1130. local Mouse = Player:GetMouse()
  1131. local LeftArm = AdvancingFortress["Left Arm"]
  1132. local RightArm = AdvancingFortress["Right Arm"]
  1133. local LeftLeg = AdvancingFortress["Left Leg"]
  1134. local RightLeg = AdvancingFortress["Right Leg"]
  1135. local Head = AdvancingFortress.Head
  1136. local Torso = AdvancingFortress.Torso
  1137. local Camera = game.Workspace.CurrentCamera
  1138. local RootPart = AdvancingFortress.HumanoidRootPart
  1139. local RootJoint = RootPart.RootJoint
  1140. local attack = false
  1141. local Anim = "Idle"
  1142. local attacktype = 1
  1143. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1144. local velocity = RootPart.Velocity.y
  1145. local sine = 0
  1146. local change = 1
  1147. local Create = LoadLibrary("RbxUtility").Create
  1148. local TimeStop = false
  1149. local m = Create("Model")({
  1150. Parent = AdvancingFortress,
  1151. Name = "WeaponModel"
  1152. })
  1153.  
  1154. AdvancingFortress.Head.Name = "FHead"
  1155. AdvancingFortress.Torso.Name = "FTorso"
  1156. AdvancingFortress.HumanoidRootPart.Name = "FHumanoidRootPart"
  1157. Humanoid.Animator.Parent = nil
  1158. AdvancingFortress.Animate.Parent = nil
  1159. local function newMotor(part0, part1, c0, c1)
  1160. local w = Create("Weld")({
  1161. Parent = part0,
  1162. Part0 = part0,
  1163. Part1 = part1,
  1164. C0 = c0,
  1165. C1 = c1
  1166. })
  1167. return w
  1168. end
  1169. function clerp(a, b, t)
  1170. return a:lerp(b, t)
  1171. end
  1172.  
  1173. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  1174. NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1175. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  1176. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  1177. local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
  1178. local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
  1179. RootJoint.C1 = CFrame.new(0, 0, 0)
  1180. RootJoint.C0 = CFrame.new(0, 0, 0)
  1181. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  1182. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  1183. local rarmc1 = RW.C1
  1184. local larmc1 = LW.C1
  1185. local rlegc1 = RH.C1
  1186. local llegc1 = LH.C1
  1187. local resetc1 = false
  1188. function PlayAnimationFromTable(table, speed, bool)
  1189. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  1190. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  1191. RW.C0 = clerp(RW.C0, table[3], speed)
  1192. LW.C0 = clerp(LW.C0, table[4], speed)
  1193. RH.C0 = clerp(RH.C0, table[5], speed)
  1194. LH.C0 = clerp(LH.C0, table[6], speed)
  1195. if bool == true and resetc1 == false then
  1196. resetc1 = true
  1197. RootJoint.C1 = RootJoint.C1
  1198. Torso.Neck.C1 = Torso.Neck.C1
  1199. RW.C1 = rarmc1
  1200. LW.C1 = larmc1
  1201. RH.C1 = rlegc1
  1202. LH.C1 = llegc1
  1203. end
  1204. end
  1205. ArtificialHB = Create("BindableEvent", script)({Parent = script, Name = "Heartbeat"})
  1206. script:WaitForChild("Heartbeat")
  1207. frame = 0.03333333333333333
  1208. tf = 0
  1209. allowframeloss = false
  1210. tossremainder = false
  1211. lastframe = tick()
  1212. script.Heartbeat:Fire()
  1213. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1214. tf = tf + s
  1215. if tf >= frame then
  1216. if allowframeloss then
  1217. script.Heartbeat:Fire()
  1218. lastframe = tick()
  1219. else
  1220. for i = 1, math.floor(tf / frame) do
  1221. script.Heartbeat:Fire()
  1222. end
  1223. lastframe = tick()
  1224. end
  1225. if tossremainder then
  1226. tf = 0
  1227. else
  1228. tf = tf - frame * math.floor(tf / frame)
  1229. end
  1230. end
  1231. end)
  1232. function swait(num)
  1233. if num == 0 or num == nil then
  1234. ArtificialHB.Event:wait()
  1235. else
  1236. for i = 0, num do
  1237. ArtificialHB.Event:wait()
  1238. end
  1239. end
  1240. end
  1241. function RemoveOutlines(part)
  1242. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1243. end
  1244. CFuncs = {
  1245. Part = {
  1246. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1247. local Part = Create("Part")({
  1248. Parent = Parent,
  1249. Reflectance = Reflectance,
  1250. Transparency = Transparency,
  1251. CanCollide = false,
  1252. Locked = true,
  1253. BrickColor = BrickColor.new(tostring(BColor)),
  1254. Name = Name,
  1255. Size = Size,
  1256. Material = Material
  1257. })
  1258. RemoveOutlines(Part)
  1259. return Part
  1260. end
  1261. },
  1262. Mesh = {
  1263. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1264. local Msh = Create(Mesh)({
  1265. Parent = Part,
  1266. Offset = OffSet,
  1267. Scale = Scale
  1268. })
  1269. if Mesh == "SpecialMesh" then
  1270. Msh.MeshType = MeshType
  1271. Msh.MeshId = MeshId
  1272. end
  1273. return Msh
  1274. end
  1275. },
  1276. Weld = {
  1277. Create = function(Parent, Part0, Part1, C0, C1)
  1278. local Weld = Create("Weld")({
  1279. Parent = Parent,
  1280. Part0 = Part0,
  1281. Part1 = Part1,
  1282. C0 = C0,
  1283. C1 = C1
  1284. })
  1285. return Weld
  1286. end
  1287. },
  1288. Sound = {
  1289. Create = function(id, par, vol, pit)
  1290. local Sound = Create("Sound")({
  1291. Volume = vol,
  1292. Pitch = pit or 1,
  1293. SoundId = "rbxassetid://" .. id,
  1294. Parent = par or workspace
  1295. })
  1296. Sound:play()
  1297. game:GetService("Debris"):AddItem(Sound, 130)
  1298. return Sound
  1299. end
  1300. },
  1301. Decal = {
  1302. Create = function(Color, Texture, Transparency, Name, Parent)
  1303. local Decal = Create("Decal")({
  1304. Color3 = Color,
  1305. Texture = "rbxassetid://" .. Texture,
  1306. Transparency = Transparency,
  1307. Name = Name,
  1308. Parent = Parent
  1309. })
  1310. return Decal
  1311. end
  1312. },
  1313. BillboardGui = {
  1314. Create = function(Parent, Image, Position, Size)
  1315. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  1316. BillPar.CFrame = CFrame.new(Position)
  1317. local Bill = Create("BillboardGui")({
  1318. Parent = BillPar,
  1319. Adornee = BillPar,
  1320. Size = UDim2.new(1, 0, 1, 0),
  1321. SizeOffset = Vector2.new(Size, Size)
  1322. })
  1323. local d = Create("ImageLabel", Bill)({
  1324. Parent = Bill,
  1325. BackgroundTransparency = 1,
  1326. Size = UDim2.new(1, 0, 1, 0),
  1327. Image = "rbxassetid://" .. Image
  1328. })
  1329. return BillPar
  1330. end
  1331. },
  1332. ParticleEmitter = {
  1333. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1334. local Particle = Create("ParticleEmitter")({
  1335. Parent = Parent,
  1336. Color = ColorSequence.new(Color1, Color2),
  1337. LightEmission = LightEmission,
  1338. Size = Size,
  1339. Texture = Texture,
  1340. Transparency = Transparency,
  1341. ZOffset = ZOffset,
  1342. Acceleration = Accel,
  1343. Drag = Drag,
  1344. LockedToPart = LockedToPart,
  1345. VelocityInheritance = VelocityInheritance,
  1346. EmissionDirection = EmissionDirection,
  1347. Enabled = Enabled,
  1348. Lifetime = LifeTime,
  1349. Rate = Rate,
  1350. Rotation = Rotation,
  1351. RotSpeed = RotSpeed,
  1352. Speed = Speed,
  1353. VelocitySpread = VelocitySpread
  1354. })
  1355. return Particle
  1356. end
  1357. },
  1358. CreateTemplate = {}
  1359. }
  1360. function rayCast(Position, Direction, Range, Ignore)
  1361. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1362. end
  1363. function FindNearestTorso(pos)
  1364. local list = game.Workspace:children()
  1365. local torso
  1366. local dist = 1000
  1367. local temp, human, temp2
  1368. for x = 1, #list do
  1369. temp2 = list[x]
  1370. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  1371. temp = temp2:findFirstChild("Torso")
  1372. human = temp2:findFirstChild("Humanoid")
  1373. if temp ~= nil and human ~= nil and human.Health > 0 and dist > (temp.Position - pos).magnitude then
  1374. local dohit = true
  1375. if dohit == true then
  1376. torso = temp
  1377. dist = (temp.Position - pos).magnitude
  1378. end
  1379. end
  1380. end
  1381. end
  1382. return torso, dist
  1383. end
  1384. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1385. if hit.Parent == nil then
  1386. return
  1387. end
  1388. local h = hit.Parent:FindFirstChild("Humanoid")
  1389. for _, v in pairs(hit.Parent:children()) do
  1390. if v:IsA("Humanoid") then
  1391. h = v
  1392. end
  1393. end
  1394.  
  1395. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1396. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1397. return
  1398. end
  1399. local c = Create("ObjectValue")({
  1400. Name = "creator",
  1401. Value = game:service("Players").LocalPlayer,
  1402. Parent = h
  1403. })
  1404. game:GetService("Debris"):AddItem(c, 0.5)
  1405. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1406. local Damage = math.random(minim, maxim)
  1407. local blocked = false
  1408. local block = hit.Parent:findFirstChild("Block")
  1409. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1410. blocked = true
  1411. block.Value = block.Value - 1
  1412. print(block.Value)
  1413. end
  1414.  
  1415. if canworld == true then
  1416. h.Health = h.Health - Damage
  1417. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Lilac").Color)
  1418. elseif canworld == false then
  1419. repeat
  1420. wait()
  1421. until canworld == true
  1422. h.Health = h.Health - Damage
  1423. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Lilac").Color)
  1424. end
  1425. if Type == "Knockdown" then
  1426. local hum = hit.Parent.Humanoid
  1427. hum.PlatformStand = true
  1428. coroutine.resume(coroutine.create(function(HHumanoid)
  1429. swait(1)
  1430. HHumanoid.PlatformStand = false
  1431. end), hum)
  1432. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1433. local bodvol = Create("BodyVelocity")({
  1434. velocity = angle * knockback,
  1435. P = 5000,
  1436. maxForce = Vector3.new(8000, 8000, 8000),
  1437. Parent = hit
  1438. })
  1439. local rl = Create("BodyAngularVelocity")({
  1440. P = 3000,
  1441. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1442. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1443. Parent = hit
  1444. })
  1445. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1446. game:GetService("Debris"):AddItem(rl, 0.5)
  1447. elseif Type == "Normal" then
  1448. local vp = Create("BodyVelocity")({
  1449. P = 500,
  1450. maxForce = Vector3.new(math.huge, 0, math.huge),
  1451. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1452. })
  1453. if knockback > 0 then
  1454. vp.Parent = hit.Parent.Torso
  1455. end
  1456. game:GetService("Debris"):AddItem(vp, 0.5)
  1457. elseif Type == "Up" then
  1458. local bodyVelocity = Create("BodyVelocity")({
  1459. velocity = Vector3.new(0, 20, 0),
  1460. P = 5000,
  1461. maxForce = Vector3.new(8000, 8000, 8000),
  1462. Parent = hit
  1463. })
  1464. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1465. elseif Type == "DarkUp" then
  1466. coroutine.resume(coroutine.create(function()
  1467. for i = 0, 1, 0.1 do
  1468. swait()
  1469. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  1470. end
  1471. end))
  1472. local bodyVelocity = Create("BodyVelocity")({
  1473. velocity = Vector3.new(0, 20, 0),
  1474. P = 5000,
  1475. maxForce = Vector3.new(8000, 8000, 8000),
  1476. Parent = hit
  1477. })
  1478. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1479. elseif Type == "Snare" then
  1480. local bp = Create("BodyPosition")({
  1481. P = 2000,
  1482. D = 100,
  1483. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1484. position = hit.Parent.Torso.Position,
  1485. Parent = hit.Parent.Torso
  1486. })
  1487. game:GetService("Debris"):AddItem(bp, 1)
  1488. elseif Type == "Freeze" then
  1489. local BodPos = Create("BodyPosition")({
  1490. P = 50000,
  1491. D = 1000,
  1492. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1493. position = hit.Parent.Torso.Position,
  1494. Parent = hit.Parent.Torso
  1495. })
  1496. local BodGy = Create("BodyGyro")({
  1497. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1498. P = 20000,
  1499. Parent = hit.Parent.Torso,
  1500. cframe = hit.Parent.Torso.CFrame
  1501. })
  1502. hit.Parent.Torso.Anchored = true
  1503. coroutine.resume(coroutine.create(function(Part)
  1504. swait(1.5)
  1505. Part.Anchored = false
  1506. end), hit.Parent.Torso)
  1507. game:GetService("Debris"):AddItem(BodPos, 3)
  1508. game:GetService("Debris"):AddItem(BodGy, 3)
  1509. end
  1510. local debounce = Create("BoolValue")({
  1511. Name = "DebounceHit",
  1512. Parent = hit.Parent,
  1513. Value = true
  1514. })
  1515. game:GetService("Debris"):AddItem(debounce, Delay)
  1516. c = Create("ObjectValue")({
  1517. Name = "creator",
  1518. Value = Player,
  1519. Parent = h
  1520. })
  1521. game:GetService("Debris"):AddItem(c, 0.5)
  1522. end
  1523. end
  1524. function ShowDamage(Pos, Text, Time, Color)
  1525. local Rate = 0.03333333333333333
  1526. local Pos = Pos or Vector3.new(0, 0, 0)
  1527. local Text = Text or ""
  1528. local Time = Time or 2
  1529. local Color = Color or Color3.new(1, 0, 1)
  1530. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1531. EffectPart.Anchored = true
  1532. local BillboardGui = Create("BillboardGui")({
  1533. Size = UDim2.new(3, 0, 3, 0),
  1534. Adornee = EffectPart,
  1535. Parent = EffectPart
  1536. })
  1537. local TextLabel = Create("TextLabel")({
  1538. BackgroundTransparency = 1,
  1539. Size = UDim2.new(1, 0, 1, 0),
  1540. Text = Text,
  1541. Font = "SciFi",
  1542. TextColor3 = Color,
  1543. TextScaled = true,
  1544. Parent = BillboardGui
  1545. })
  1546. game.Debris:AddItem(EffectPart, Time)
  1547. EffectPart.Parent = game:GetService("Workspace")
  1548. delay(0, function()
  1549. local Frames = Time / Rate
  1550. for Frame = 1, Frames do
  1551. wait(Rate)
  1552. local Percent = Frame / Frames
  1553. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1554. TextLabel.TextTransparency = Percent
  1555. end
  1556. if EffectPart and EffectPart.Parent then
  1557. EffectPart:Destroy()
  1558. end
  1559. end)
  1560. end
  1561. local STDamage = false
  1562. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  1563. for _, c in pairs(workspace:children()) do
  1564. local hum = c:findFirstChild("Humanoid")
  1565. if hum ~= nil then
  1566. local head = c:findFirstChild("Torso")
  1567. if head ~= nil then
  1568. local targ = head.Position - Part.Position
  1569. local mag = targ.magnitude
  1570. if Magnitude >= mag and c.Name ~= Player.Name then
  1571. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0.1, HitSound, HitPitch)
  1572. if STDamage == true then
  1573. for i = 1, 3 do
  1574. Effects.Block.Create(BrickColor.new("Maroon"), head.CFrame, 1, 1, 1, 4, 4, 4, 0.07, 1)
  1575. end
  1576. for i = 1, 10 do
  1577. CamShake(1, 70000)
  1578. Effects.Break.Create(BrickColor.new("Maroon"), head.CFrame, 1, 1, 1)
  1579. end
  1580.  
  1581. elseif STDamage == false then
  1582. CamShake(1, 90000)
  1583. Effects.Block.Create(BrickColor.new("Maroon"), head.CFrame, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.07, 1)
  1584. for i = 1, 2 do
  1585. Effects.Break.Create(BrickColor.new("Maroon"), head.CFrame, 0.4, 0.4, 0.4)
  1586.  
  1587. end
  1588. end
  1589. end
  1590. end
  1591. end
  1592. end
  1593. end
  1594.  
  1595.  
  1596.  
  1597.  
  1598. HHandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "HHandle", Vector3.new(1.09999979, 0.299999923, 1.0999999))
  1599. HHandleWeld = CFuncs.Weld.Create(m, Head, HHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0646438599, -0.0500068665, -0.0646400452, -0.707107365, -3.21031663E-8, 0.707106411, -8.19564079E-8, 1.00000119, -1.41561088E-7, -0.707106352, 1.38630043E-7, -0.707107484))
  1600. ----
  1601. THandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Medium stone grey", "THandle", Vector3.new(1, 0.799999893, 1))
  1602. THandleWeld = CFuncs.Weld.Create(m, Torso, THandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  1603. ----
  1604. AHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "AHandleR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  1605. AHandleRWeld = CFuncs.Weld.Create(m, RightArm, AHandleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.209915161, 0.00999641418, -3.81469727E-6, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  1606.  
  1607.  
  1608.  
  1609. HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "HitboxR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  1610. HitboxRWeld = CFuncs.Weld.Create(m, AHandleR, HitboxR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.700003624, 0, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  1611. ----
  1612. AHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "AHandleL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
  1613. AHandleLWeld = CFuncs.Weld.Create(m, LeftArm, AHandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.210014343, 0.00999736786, 1.14440918E-5, -1, 8.19564079E-8, -5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, -5.96046519E-8, 1.41561088E-7, -1.00000024))
  1614.  
  1615. HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "HitboxL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
  1616. HitboxLWeld = CFuncs.Weld.Create(m, AHandleL, HitboxL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.700003624, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  1617.  
  1618.  
  1619. ----
  1620. LHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "LHandleR", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  1621. LHandleRWeld = CFuncs.Weld.Create(m, RightLeg, LHandleR, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00498962402, -0.0950021744, 0.00499534607, -1, 8.19564079E-8, -5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, -5.96046519E-8, 1.41561088E-7, -1.00000024))
  1622.  
  1623.  
  1624. ----
  1625. LHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "LHandleL", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  1626. LHandleLWeld = CFuncs.Weld.Create(m, LeftLeg, LHandleL, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00498199463, -0.095000267, 0.00502204895, -1, 8.19564079E-8, -5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, -5.96046519E-8, 1.41561088E-7, -1.00000024))
  1627.  
  1628.  
  1629. ----
  1630. Shield = CFuncs.Part.Create(m, "Neon", 0, 1, "Really black", "Part", Vector3.new(9.1, 8.5, 0.2))
  1631.  
  1632. Shield.Parent = nil
  1633. EffectModel = Create("Model")({Parent = Character, Name = "Effects"})
  1634. Effects = {
  1635. Block = {
  1636. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1637. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1638. prt.Anchored = true
  1639. prt.CFrame = cframe
  1640. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1641. game:GetService("Debris"):AddItem(prt, 10)
  1642. if Type == 1 or Type == nil then
  1643. table.insert(Effects, {
  1644. prt,
  1645. "Block1",
  1646. delay,
  1647. x3,
  1648. y3,
  1649. z3,
  1650. msh
  1651. })
  1652. elseif Type == 2 then
  1653. table.insert(Effects, {
  1654. prt,
  1655. "Block2",
  1656. delay,
  1657. x3,
  1658. y3,
  1659. z3,
  1660. msh
  1661. })
  1662. end
  1663. end
  1664. },
  1665. Cylinder = {
  1666. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1667. local prt = CFuncs.Part .. Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  1668. prt.Anchored = true
  1669. prt.CFrame = cframe
  1670. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1671. game:GetService("Debris"):AddItem(prt, 2)
  1672. Effects[#Effects + 1] = {
  1673. prt,
  1674. "Cylinder",
  1675. delay,
  1676. x3,
  1677. y3,
  1678. z3
  1679. }
  1680. end
  1681. },
  1682. Head = {
  1683. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1684. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1685. prt.Anchored = true
  1686. prt.CFrame = cframe
  1687. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1688. game:GetService("Debris"):AddItem(prt, 10)
  1689. table.insert(Effects, {
  1690. prt,
  1691. "Cylinder",
  1692. delay,
  1693. x3,
  1694. y3,
  1695. z3,
  1696. msh
  1697. })
  1698. end
  1699. },
  1700. Sphere = {
  1701. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1702. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1703. prt.Anchored = true
  1704. prt.CFrame = cframe
  1705. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1706. game:GetService("Debris"):AddItem(prt, 10)
  1707. table.insert(Effects, {
  1708. prt,
  1709. "Cylinder",
  1710. delay,
  1711. x3,
  1712. y3,
  1713. z3,
  1714. msh
  1715. })
  1716. end
  1717. },
  1718. Sphere2 = {
  1719. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1720. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1721. prt.Anchored = true
  1722. prt.CFrame = cframe
  1723. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1724. game:GetService("Debris"):AddItem(prt, 10)
  1725. table.insert(Effects, {
  1726. prt,
  1727. "Cylinder",
  1728. delay,
  1729. x3,
  1730. y3,
  1731. z3,
  1732. msh
  1733. })
  1734. end
  1735. },
  1736. Elec = {
  1737. Create = function(cff, x, y, z)
  1738. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lilac"), "Part", Vector3.new(1, 1, 1))
  1739. prt.Anchored = true
  1740. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  1741. prt.CFrame = CFrame.new(prt.Position)
  1742. game:GetService("Debris"):AddItem(prt, 2)
  1743. local xval = math.random() / 2
  1744. local yval = math.random() / 2
  1745. local zval = math.random() / 2
  1746. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  1747. table.insert(Effects, {
  1748. prt,
  1749. "Elec",
  1750. 0.1,
  1751. x,
  1752. y,
  1753. z,
  1754. xval,
  1755. yval,
  1756. zval
  1757. })
  1758. end
  1759. },
  1760. Ring = {
  1761. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1762. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1763. prt.Anchored = true
  1764. prt.CFrame = cframe
  1765. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1766. game:GetService("Debris"):AddItem(prt, 10)
  1767. table.insert(Effects, {
  1768. prt,
  1769. "Cylinder",
  1770. delay,
  1771. x3,
  1772. y3,
  1773. z3,
  1774. msh
  1775. })
  1776. end
  1777. },
  1778. Wave = {
  1779. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1780. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1781. prt.Anchored = true
  1782. prt.CFrame = cframe
  1783. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1784. game:GetService("Debris"):AddItem(prt, 10)
  1785. table.insert(Effects, {
  1786. prt,
  1787. "Cylinder",
  1788. delay,
  1789. x3,
  1790. y3,
  1791. z3,
  1792. msh
  1793. })
  1794. end
  1795. },
  1796. Break = {
  1797. Create = function(brickcolor, cframe, x1, y1, z1)
  1798. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1799. prt.Anchored = true
  1800. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1801. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1802. local num = math.random(10, 50) / 1000
  1803. game:GetService("Debris"):AddItem(prt, 10)
  1804. table.insert(Effects, {
  1805. prt,
  1806. "Shatter",
  1807. num,
  1808. prt.CFrame,
  1809. math.random() - math.random(),
  1810. 0,
  1811. math.random(50, 100) / 100
  1812. })
  1813. end
  1814. },
  1815. Fire = {
  1816. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  1817. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1818. prt.Anchored = true
  1819. prt.CFrame = cframe
  1820. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1821. game:GetService("Debris"):AddItem(prt, 10)
  1822. table.insert(Effects, {
  1823. prt,
  1824. "Fire",
  1825. delay,
  1826. 1,
  1827. 1,
  1828. 1,
  1829. msh
  1830. })
  1831. end
  1832. },
  1833. FireWave = {
  1834. Create = function(brickcolor, cframe, x1, y1, z1)
  1835. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  1836. prt.Anchored = true
  1837. prt.CFrame = cframe
  1838. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1839. local d = Create("Decal")({
  1840. Parent = prt,
  1841. Texture = "rbxassetid://26356434",
  1842. Face = "Top"
  1843. })
  1844. local d = Create("Decal")({
  1845. Parent = prt,
  1846. Texture = "rbxassetid://26356434",
  1847. Face = "Bottom"
  1848. })
  1849. game:GetService("Debris"):AddItem(prt, 10)
  1850. table.insert(Effects, {
  1851. prt,
  1852. "FireWave",
  1853. 1,
  1854. 30,
  1855. math.random(400, 600) / 100,
  1856. msh
  1857. })
  1858. end
  1859. },
  1860. Lightning = {
  1861. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  1862. local magz = (p0 - p1).magnitude
  1863. local curpos = p0
  1864. local trz = {
  1865. -ofs,
  1866. ofs
  1867. }
  1868. for i = 1, tym do
  1869. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  1870. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  1871. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  1872. li.Material = "Neon"
  1873. if tym == i then
  1874. local magz2 = (curpos - p1).magnitude
  1875. li.Size = Vector3.new(th, th, magz2)
  1876. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  1877. table.insert(Effects, {
  1878. li,
  1879. "Disappear",
  1880. last
  1881. })
  1882. else
  1883. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  1884. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  1885. game.Debris:AddItem(li, 10)
  1886. table.insert(Effects, {
  1887. li,
  1888. "Disappear",
  1889. last
  1890. })
  1891. end
  1892. end
  1893. end
  1894. },
  1895. EffectTemplate = {}
  1896. }
  1897. local Invisible = true
  1898. function Reappear()
  1899. for _, i in pairs(AdvancingFortress:children()) do
  1900. if i:IsA("BasePart") then
  1901. coroutine.resume(coroutine.create(function(Part)
  1902. for i = 0, 1, 0.3 do
  1903. swait()
  1904. Part.Transparency = -i
  1905. end
  1906. Part.Transparency = 0
  1907. end), i)
  1908. end
  1909. end
  1910. for _, i in pairs(m:children()) do
  1911. if i:IsA("BasePart") then
  1912. coroutine.resume(coroutine.create(function(Part)
  1913. for i = 0, 1, 0.3 do
  1914. swait()
  1915. Part.Transparency = i
  1916. end
  1917. Part.Transparency = 0
  1918. end), i)
  1919. end
  1920. end
  1921. end
  1922. function ReappearArmorOnly()
  1923. for _, i in pairs(m:children()) do
  1924. if i:IsA("BasePart") then
  1925. coroutine.resume(coroutine.create(function(Part)
  1926. for i = 0, 1, 0.3 do
  1927. swait()
  1928. Part.Transparency = i
  1929. end
  1930. Part.Transparency = 0
  1931. end), i)
  1932. end
  1933. end
  1934. end
  1935. function Disappear()
  1936. for _, i in pairs(AdvancingFortress:children()) do
  1937. if i:IsA("BasePart") then
  1938. coroutine.resume(coroutine.create(function(Part)
  1939. for i = 0, 1, 0.3 do
  1940. swait()
  1941. Part.Transparency = i
  1942. end
  1943. Part.Transparency = 1
  1944. end), i)
  1945. end
  1946. end
  1947. for _, i in pairs(m:children()) do
  1948. if i:IsA("BasePart") then
  1949. coroutine.resume(coroutine.create(function(Part)
  1950. for i = 0, 1, 0.3 do
  1951. swait()
  1952. Part.Transparency = i
  1953. end
  1954. Part.Transparency = 1
  1955. end), i)
  1956. end
  1957. end
  1958. end
  1959. function DisappearArmorOnly()
  1960. for _, i in pairs(m:children()) do
  1961. if i:IsA("BasePart") then
  1962. coroutine.resume(coroutine.create(function(Part)
  1963. for i = 0, 1, 0.3 do
  1964. swait()
  1965. Part.Transparency = i
  1966. end
  1967. Part.Transparency = 1
  1968. end), i)
  1969. end
  1970. end
  1971. end
  1972. function CamShake(time, freq)
  1973. coroutine.resume(coroutine.create(function()
  1974. local cam = game:GetService("Workspace").CurrentCamera
  1975. local time = 10
  1976. local seed = Vector3.new(math.random(100, 200) / freq, math.random(100, 200) / freq, 0)
  1977. if math.random(1, 2) == 1 then
  1978. seed = Vector3.new(-seed.x, seed.y, 0)
  1979. end
  1980. if math.random(1, 2) == 1 then
  1981. seed = Vector3.new(seed.x, -seed.y, 0)
  1982. end
  1983. cam.CoordinateFrame = CFrame.new(cam.Focus.p) * (cam.CoordinateFrame - cam.CoordinateFrame.p) * CFrame.fromEulerAnglesXYZ(seed.x * time, seed.y * time, 0) * CFrame.new(0, 0, (cam.CoordinateFrame.p - cam.Focus.p).magnitude)
  1984. for i = 1, time do
  1985. cam.CoordinateFrame = CFrame.new(cam.Focus.p) * (cam.CoordinateFrame - cam.CoordinateFrame.p) * CFrame.fromEulerAnglesXYZ(-seed.x, -seed.y, 0) * CFrame.new(0, 0, (cam.CoordinateFrame.p - cam.Focus.p).magnitude)
  1986. wait()
  1987. end
  1988. end))
  1989. end
  1990. mse.KeyDown:connect(function(key)
  1991. key = key:lower()
  1992. if key == "q" and Invisible == false then
  1993. canworld = true
  1994. sf = CFuncs.Sound.Create("1125531635")
  1995. sf.Volume = 10
  1996. wait(1.5)
  1997. sf:Destroy()
  1998. end
  1999. end
  2000. )
  2001. local bigg = false
  2002. function PE()
  2003. pep = Instance.new("ParticleEmitter")
  2004. pep.Name = "pep"
  2005. pep.Lifetime = NumberRange.new(1)
  2006. pep.Rate = 5
  2007. pep.Texture = "rbxassetid://298768656"
  2008. pep.VelocitySpread = 60
  2009. pep.Parent = char.Head
  2010. end
  2011. local ora = false
  2012. function ORA()
  2013. attack = true
  2014. local S = CFuncs.Sound.Create("627578508", Torso, 1, 1)
  2015. S.Looped = true
  2016. S.Volume = 10
  2017. if ora == true then
  2018. while ora == true do
  2019. CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
  2020. MagnitudeDamage(HitboxL, 5, 20, 20, 0, "Normal", "330706798", 1)
  2021. for i = 0, 1, 0.8 do
  2022. swait()
  2023. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  2024. PlayAnimationFromTable({
  2025. CFrame.new(-0.561874092, -0.346845925, -0.435822666, 0.64278698, -0.323744029, 0.694272816, 0, 0.906308115, 0.422617555, -0.766044974, -0.271653026, 0.582563102) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2026. CFrame.new(8.9481473E-6, 1.49999249, 5.2684918E-6, 0.704669476, 0.0560214818, -0.707321048, -0.0868221819, 0.996195257, -0.0075956285, 0.704204142, 0.0667634308, 0.706852198) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2027. CFrame.new(1.97048378, 0.808467984, -0.254994273, -0.457079947, -0.7819345, 0.423859, 0.842444837, -0.227779076, 0.488266319, -0.285246044, 0.580254436, 0.762849629) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2028. CFrame.new(-1.18535733, 0.530705392, -0.713678956, 0.778861284, -0.400152355, 0.482962847, 0.492400557, -0.0868335962, -0.866026342, 0.388479888, 0.912325621, 0.129403993) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2029. CFrame.new(0.708622813, -1.45549953, -0.199998885, 0.984808087, -0.167729571, -0.0449446738, 0.173646823, 0.951251328, 0.254887581, 1.4603138E-6, -0.258819878, 0.965925694) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2030. CFrame.new(-0.604502141, -1.943735, 5.15520573E-4, 0.982544005, 0.00845471025, 0.185841322, -0.0717865527, 0.938827574, 0.336824685, -0.17162481, -0.34428525, 0.923045695) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2031. }, 0.8, false)
  2032. end
  2033. CFuncs.Sound.Create("200632136", HitboxR, 0.3, math.random(1, 1.2))
  2034. MagnitudeDamage(HitboxR, 5, 20, 20, 0, "Normal", "330706798", 1)
  2035. for i = 0, 1, 0.8 do
  2036. swait()
  2037. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  2038. PlayAnimationFromTable({
  2039. CFrame.new(1.1920929E-6, -0.0170394331, -0.52941519, 0.70710516, -2.21270369E-7, -0.707108498, 0.18301405, 0.965925574, 0.183012888, 0.683014154, -0.258820117, 0.683010995) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2040. CFrame.new(-1.22189522E-6, 1.49999356, 1.04308128E-6, 0.707110465, 0.122788236, 0.696360528, -1.4748274E-6, 0.98480773, -0.173648238, -0.707103193, 0.122787461, 0.696368098) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2041. CFrame.new(1.44562268, 0.333473027, -0.475224167, 0.907739162, 0.217196256, 0.358959734, 0.40125221, -0.199453548, -0.893991232, -0.122576535, 0.955528319, -0.268199235) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2042. CFrame.new(-1.884794, 0.881342709, -0.770847201, 0.0912726, 0.688403964, -0.719562054, -0.91795665, -0.221949756, -0.328776807, -0.386037856, 0.690535009, 0.611666858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2043. CFrame.new(0.789779902, -1.8586235, 0.161380947, 0.965926766, -0.258817255, -8.10623169E-6, 0.243211254, 0.907672405, 0.342022836, -0.0885141194, -0.330371499, 0.939691722) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2044. CFrame.new(-0.73783946, -1.45406294, -0.215006173, 0.882573366, -0.0180292428, 0.469829261, -0.163172901, 0.925412893, 0.342031717, -0.440952569, -0.378531486, 0.813802838) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2045. }, 0.8, false)
  2046. end
  2047. CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
  2048. MagnitudeDamage(HitboxL, 5, 20, 20, 0, "Normal", "330706798", 1)
  2049. for i = 0, 1, 0.8 do
  2050. swait()
  2051. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  2052. PlayAnimationFromTable({
  2053. CFrame.new(0.215482175, -0.0393944569, -0.126133978, 0.259671897, -0.351393819, 0.8994959, -0.075478971, 0.921212733, 0.381667405, -0.962742627, -0.167001322, 0.212690249) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2054. CFrame.new(-1.26510859E-5, 1.49999118, -2.16066837E-7, 0.420251548, -0.0215960592, -0.90715003, -0.100918382, 0.992402375, -0.0703775883, 0.901778162, 0.12112467, 0.414879382) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2055. CFrame.new(1.81840861, 0.705381036, -0.347923756, -0.236346364, -0.883376777, 0.404705286, 0.945798516, -0.113677993, 0.304209948, -0.222726092, 0.454668403, 0.862362981) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2056. CFrame.new(-1.21960759, 0.420275182, -0.728423595, -0.57802856, -0.255150676, 0.775100708, 0.665436089, -0.697164714, 0.266751111, 0.472311139, 0.669969678, 0.572767615) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2057. CFrame.new(0.620917439, -1.53014767, -0.12091887, 0.707106113, 0.241845652, -0.66446346, -1.2293458E-6, 0.939692676, 0.342019886, 0.707107484, -0.241843566, 0.664462805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2058. CFrame.new(-0.873213649, -1.89646459, -0.100004375, 0.933012128, 0.353242815, -0.0686147735, -0.258823931, 0.791241407, 0.554028153, 0.249997303, -0.499155849, 0.829665601) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2059. }, 0.8, false)
  2060. end
  2061. CFuncs.Sound.Create("200632136", HitboxR, 0.3, math.random(1, 1.2))
  2062. MagnitudeDamage(HitboxR, 5, 20, 20, 0, "Normal", "330706798", 1)
  2063. for i = 0, 1, 0.8 do
  2064. swait()
  2065. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  2066. PlayAnimationFromTable({
  2067. CFrame.new(0.299998224, -0.0468490347, -0.211314023, 0.642786682, -2.87348001E-7, -0.766045272, 0.323744863, 0.906307757, 0.271653205, 0.694272637, -0.42261824, 0.582562685) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2068. CFrame.new(2.71201134E-6, 1.4999969, 8.94069672E-7, 0.642777503, 0.133020476, 0.754416466, 4.31999706E-6, 0.984809279, -0.173647597, -0.766052961, 0.111620098, 0.633012772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2069. CFrame.new(1.27057993, 0.327670783, -0.599993467, 0.638493001, 0.280156553, -0.716825664, -0.769049883, 0.196164608, -0.608343422, -0.0298155248, 0.939697862, 0.340704083) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2070. CFrame.new(-1.86040878, 1.02262986, -0.452570885, 0.386218816, 0.717701018, -0.579433978, -0.403004408, -0.433759809, -0.805879354, -0.829712272, 0.544763446, 0.121709965) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2071. CFrame.new(0.779964924, -1.75316048, -0.0263362825, 0.826099217, -0.36394459, 0.43023771, 0.181541473, 0.894650102, 0.40822047, -0.533481896, -0.259124577, 0.805140793) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2072. CFrame.new(-0.724003315, -1.47219872, -0.266945302, 0.766038954, -0.166370958, 0.620890498, 4.09781933E-6, 0.965925932, 0.258819997, -0.642794192, -0.198263675, 0.739937425) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2073. }, 0.8, false)
  2074. end
  2075. CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
  2076. MagnitudeDamage(HitboxL, 5, 20, 20, 0, "Normal", "330706798", 1)
  2077. end
  2078. end
  2079. S:Stop()
  2080. local S2 = CFuncs.Sound.Create("933302532", Torso, 1.5, 1)
  2081.  
  2082. S2.Volume = 7
  2083.  
  2084. for i = 0, 1, 0.13 do
  2085. swait()
  2086. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -3), 0.5)
  2087. PlayAnimationFromTable({
  2088. CFrame.new(2.68220901E-6, -0.0739577487, 0.0232374109, 0.707105994, -3.47710994E-7, -0.707107604, -0.122787997, 0.98480767, -0.122788213, 0.696364999, 0.173648596, 0.696363389) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2089. CFrame.new(-5.36441803E-7, 1.49999356, -1.28149986E-6, 0.707105994, -0.122788511, 0.696365297, -3.47710994E-7, 0.984808028, 0.173649326, -0.707107604, -0.122788727, 0.696363688) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2090. CFrame.new(1.13747835, 0.382733107, -0.729447305, 0.579597414, 0.772029877, -0.260839432, -0.351051509, -0.0523141921, -0.934893906, -0.735411942, 0.633429527, 0.240701318) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2091. CFrame.new(-1.53455412, 0.605712295, -0.542039633, 0.786121905, 0.427828372, -0.446066588, -0.606968522, 0.398195386, -0.687771559, -0.116626531, 0.811420619, 0.572708428) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2092. CFrame.new(0.903839946, -1.70734286, 0.373858094, 0.863655448, -0.430708885, 0.261895239, 0.187955216, 0.757234871, 0.625514567, -0.46773085, -0.491004646, 0.734943748) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2093. CFrame.new(-0.596739769, -1.62411702, -0.0967329144, 0.725493789, -0.291957259, 0.623233199, -0.081900157, 0.86250174, 0.499382436, -0.683338165, -0.41334182, 0.601828396) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2094. }, 0.2, false)
  2095. end
  2096. Effects.Wave.Create(BrickColor.new("White"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06)
  2097. CFuncs.Sound.Create("471881954", HitboxR, 1, 1)
  2098. MagnitudeDamage(HitboxR, 7, 40, 40, 40, "Normal", "610359590", 1)
  2099. for i = 0, 1, 0.1 do
  2100. swait()
  2101. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 0.3)
  2102. PlayAnimationFromTable({
  2103. CFrame.new(-0.338160992, -0.0772590488, -0.484170675, 0.307024002, -0.153706044, 0.939207554, -0.403236002, 0.872901201, 0.274671286, -0.86205399, -0.463052958, 0.206021816) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2104. CFrame.new(-0.0502282679, 1.50051379, -0.0864891857, 0.502356887, -0.246090144, -0.828901231, -0.00520065427, 0.957766473, -0.287500501, 0.864644766, 0.148738697, 0.479860842) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2105. CFrame.new(1.81698525, 1.20575511, -0.168038458, 0.0800605565, -0.859217465, 0.505307972, 0.457053572, -0.418860257, -0.784640014, 0.885828495, 0.293771386, 0.359173566) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2106. CFrame.new(-1.66351938, 0.691055655, 0.203685582, 0.309526145, 0.793331623, -0.524231553, -0.937197804, 0.347743452, -0.0271089375, 0.160791725, 0.499699503, 0.851144433) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2107. CFrame.new(0.971616864, -1.6145575, 0.096719563, 0.544056833, -0.203144252, -0.814085484, 0.51142931, 0.849463344, 0.129818588, 0.665161908, -0.486975014, 0.566052973) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2108. CFrame.new(-0.676943898, -1.44413579, 0.206094518, 0.884253025, 0.0570309162, -0.463512957, 0.209485695, 0.838620007, 0.502824426, 0.417387724, -0.541723251, 0.729605079) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2109. }, 0.6, false)
  2110. end
  2111. attack = false
  2112. end
  2113. function CastleCrusherFist()
  2114. attack = true
  2115. STDamage = true
  2116. local S3 = CFuncs.Sound.Create("271120244", Torso, 1, 1)
  2117.  
  2118. for i = 0, 1, 0.1 do
  2119. S3.Volume = 7
  2120. swait()
  2121. Effects.Block.Create(BrickColor.new("Lilac"), HitboxR.CFrame, 2, 1, 1, 4, 4, 4, 0.3, 1)
  2122. Effects.Break.Create(BrickColor.new("Lilac"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  2123. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.2)
  2124. PlayAnimationFromTable({
  2125. CFrame.new(-5.99771738E-7, -0.00717129931, 0.169464022, 0.422617912, -2.2671E-7, -0.906308055, -0.309975952, 0.939692557, -0.144544229, 0.851650834, 0.342020661, 0.397130787) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2126. CFrame.new(-0.0102166235, 1.52751005, -0.239579424, 0.456926107, -0.171424359, 0.872835577, -0.167732254, 0.94705075, 0.273807496, -0.87355268, -0.271512181, 0.403976858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2127. CFrame.new(0.944673777, 0.474064022, -0.539126158, 0.229199454, 0.762564063, 0.604949772, 0.809601307, 0.195682317, -0.553402781, -0.540382624, 0.616607308, -0.572522938) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2128. CFrame.new(-1.61232829, 0.309644789, -0.24482432, 0.455398798, 0.536860108, -0.710207343, -0.887026072, 0.205374956, -0.413530886, -0.076149486, 0.818293095, 0.569735885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2129. CFrame.new(1.08113468, -1.48232126, 0.656104684, 0.81421864, -0.517612338, 0.262917578, 0.175395042, 0.651024699, 0.738514543, -0.553430021, -0.555197835, 0.620862961) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2130. CFrame.new(-0.427128136, -1.50760674, -0.0473105907, 0.804508269, -0.373179317, 0.462065101, -0.173640698, 0.596196175, 0.783836842, -0.567992628, -0.71083647, 0.414845526) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2131. }, 0.2, false)
  2132. end
  2133. MagnitudeDamage(HitboxR, 100, 40, 170, 190, "Normal", "610359515", 1)
  2134. Effects.Wave.Create(BrickColor.new("White"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06)
  2135. CFuncs.Sound.Create("471881980", HitboxR, 1, 0.9)
  2136. CFuncs.Sound.Create("471881954", HitboxR, 1, 0.8)
  2137. for i = 0, 1, 0.08 do
  2138. swait()
  2139. Effects.Block.Create(BrickColor.new("Lilac"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  2140. Effects.Break.Create(BrickColor.new("Lilac"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  2141. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 0.3)
  2142. PlayAnimationFromTable({
  2143. CFrame.new(-3.57627869E-7, -0.116980031, -2.22140098, 0.342020035, -6.11579551E-8, 0.939692736, -0.604023039, 0.766044259, 0.219846413, -0.71984607, -0.642787933, 0.262002468) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2144. CFrame.new(-1.13248825E-6, 1.49999046, 8.94069672E-7, 0.422608167, -0.383014679, -0.82140249, -1.36196613E-5, 0.906310022, -0.422613323, 0.906312764, 0.17861104, 0.383008778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2145. CFrame.new(1.72490048, 1.25688744, -0.021425128, -0.678134382, -0.731868863, 0.0670941696, 0.667953849, -0.575675249, 0.47163111, -0.306547582, 0.364645123, 0.879239857) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2146. CFrame.new(-1.70565486, 0.469353855, 0.162862837, 0.82686162, 0.55728358, 0.0757693052, -0.414878726, 0.513436973, 0.751176, 0.379712611, -0.652546048, 0.655748963) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2147. CFrame.new(0.757160306, -1.48393714, -0.193787217, 0.601814985, 0.305624545, -0.737842917, -2.98023224E-8, 0.923879623, 0.382683486, 0.798635662, -0.230304718, 0.556004763) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2148. CFrame.new(-0.908789515, -1.60188651, -0.0663503706, 0.696367741, 0.548584938, -0.462741733, -0.173660636, 0.7544052, 0.633021533, 0.696362019, -0.360454619, 0.620610356) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2149. }, 0.6, false)
  2150. end
  2151. STDamage = false
  2152. attack = false
  2153. end
  2154. function CastleCrusherFist()
  2155. attack = true
  2156. STDamage = true
  2157. local S2 = CFuncs.Sound.Create("271120244", Torso, 1, 1)
  2158.  
  2159. for i = 0, 1, 0.1 do
  2160. S2.Volume = 10
  2161. swait()
  2162. Effects.Block.Create(BrickColor.new("Lilac"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  2163. Effects.Break.Create(BrickColor.new("Lilac"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  2164. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.5)
  2165. PlayAnimationFromTable({
  2166. CFrame.new(-5.99771738E-7, -0.00717129931, 0.169464022, 0.422617912, -2.2671E-7, -0.906308055, -0.309975952, 0.939692557, -0.144544229, 0.851650834, 0.342020661, 0.397130787) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2167. CFrame.new(-0.0102166235, 1.52751005, -0.239579424, 0.456926107, -0.171424359, 0.872835577, -0.167732254, 0.94705075, 0.273807496, -0.87355268, -0.271512181, 0.403976858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2168. CFrame.new(0.944673777, 0.474064022, -0.539126158, 0.229199454, 0.762564063, 0.604949772, 0.809601307, 0.195682317, -0.553402781, -0.540382624, 0.616607308, -0.572522938) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2169. CFrame.new(-1.61232829, 0.309644789, -0.24482432, 0.455398798, 0.536860108, -0.710207343, -0.887026072, 0.205374956, -0.413530886, -0.076149486, 0.818293095, 0.569735885) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2170. CFrame.new(1.08113468, -1.48232126, 0.656104684, 0.81421864, -0.517612338, 0.262917578, 0.175395042, 0.651024699, 0.738514543, -0.553430021, -0.555197835, 0.620862961) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2171. CFrame.new(-0.427128136, -1.50760674, -0.0473105907, 0.804508269, -0.373179317, 0.462065101, -0.173640698, 0.596196175, 0.783836842, -0.567992628, -0.71083647, 0.414845526) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2172. }, 0.2, false)
  2173. end
  2174. Effects.Wave.Create(BrickColor.new("White"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06)
  2175. Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 140
  2176. CFuncs.Sound.Create("471881980", HitboxR, 1, 0.9)
  2177. CFuncs.Sound.Create("471881954", HitboxR, 1, 0.8)
  2178. for i = 0, 1, 0.08 do
  2179. swait()
  2180. MagnitudeDamage(HitboxR, 5, 50, 80, 100, "Normal", "610359515", 1)
  2181. Effects.Block.Create(BrickColor.new("Lilac"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  2182. Effects.Break.Create(BrickColor.new("Lilac"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  2183. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 1)
  2184. PlayAnimationFromTable({
  2185. CFrame.new(-3.57627869E-7, -0.116980031, -2.22140098, 0.342020035, -6.11579551E-8, 0.939692736, -0.604023039, 0.766044259, 0.219846413, -0.71984607, -0.642787933, 0.262002468) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2186. CFrame.new(-1.13248825E-6, 1.49999046, 8.94069672E-7, 0.422608167, -0.383014679, -0.82140249, -1.36196613E-5, 0.906310022, -0.422613323, 0.906312764, 0.17861104, 0.383008778) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2187. CFrame.new(1.72490048, 1.25688744, -0.021425128, -0.678134382, -0.731868863, 0.0670941696, 0.667953849, -0.575675249, 0.47163111, -0.306547582, 0.364645123, 0.879239857) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2188. CFrame.new(-1.70565486, 0.469353855, 0.162862837, 0.82686162, 0.55728358, 0.0757693052, -0.414878726, 0.513436973, 0.751176, 0.379712611, -0.652546048, 0.655748963) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2189. CFrame.new(0.757160306, -1.48393714, -0.193787217, 0.601814985, 0.305624545, -0.737842917, -2.98023224E-8, 0.923879623, 0.382683486, 0.798635662, -0.230304718, 0.556004763) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2190. CFrame.new(-0.908789515, -1.60188651, -0.0663503706, 0.696367741, 0.548584938, -0.462741733, -0.173660636, 0.7544052, 0.633021533, 0.696362019, -0.360454619, 0.620610356) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2191. }, 0.6, false)
  2192. end
  2193. STDamage = false
  2194. attack = false
  2195. end
  2196. function weld5(part0, part1, c0, c1)
  2197. local weeld = Instance.new("Weld", part0)
  2198. weeld.Part0 = part0
  2199. weeld.Part1 = part1
  2200. weeld.C0 = c0
  2201. weeld.C1 = c1
  2202. return weeld
  2203. end
  2204. local Grab = false
  2205. function GRABEMBOIGRABEM()
  2206. attack = true
  2207. gp = nil
  2208. con1 = HitboxR.Touched:connect(function(hit)
  2209. local ht = hit.Parent
  2210. local hum1 = ht:FindFirstChild("Humanoid")
  2211. if Grab == false then
  2212. if hum1 ~= nil and hit.Parent ~= Character then
  2213. hum1.PlatformStand = true
  2214. gp = ht
  2215. Grab = true
  2216. local asd = weld5(RightArm, ht:FindFirstChild("Head"), CFrame.new(0, -1.5, 0), CFrame.new(0, 0, 0))
  2217. asd.Parent = RightArm
  2218. asd.Name = "asd"
  2219. asd.C0 = asd.C0 * CFrame.Angles(math.rad(-90), 0, 0)
  2220. CFuncs.Sound.Create("200632821", Torso, 1, 1)
  2221. elseif hum1 == nil then
  2222. con1:disconnect()
  2223. wait()
  2224. return
  2225. end
  2226. end
  2227. end)
  2228. for i = 0, 1, 0.2 do
  2229. swait()
  2230. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.3)
  2231. PlayAnimationFromTable({
  2232. CFrame.new(3, -0.233785003, -0.0873367637, 0.499999821, -1.78813863E-7, -0.866025507, 0.150383934, 0.984807789, 0.0868239477, 0.852868676, -0.173648283, 0.492403716) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2233. CFrame.new(-1.2665987E-7, 1.49999368, -1.02072954E-6, 0.573575675, 0.0713936985, 0.816035628, -5.01982868E-7, 0.996194899, -0.0871551931, -0.819152594, 0.049989678, 0.571393132) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2234. CFrame.new(1.47017705, 0.884583473, 0.0280318335, 0.886720777, -0.205462068, 0.414139926, 0.236241817, -0.568640172, -0.787933052, 0.397386849, 0.796513736, -0.455686152) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2235. CFrame.new(-1.76647317, 0.409804255, -0.03838256, 0.444113791, 0.836516619, -0.320940912, -0.836516619, 0.258818626, -0.482962757, -0.320940822, 0.482962757, 0.814704895) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2236. CFrame.new(0.838749349, -1.98392951, 0.15807499, 0.830397308, -0.277826965, 0.48296237, 0.167731524, 0.951251447, 0.258818328, -0.53132534, -0.133914024, 0.836516857) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2237. CFrame.new(-0.811016142, -1.63281643, -0.179561377, 0.642214835, 0.00870995224, 0.76647532, -0.0151349902, 0.999884725, 0.00131897628, -0.766375303, -0.0124476701, 0.642272472) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2238. }, 0.3, false)
  2239. end
  2240. for i = 0, 1, 0.1 do
  2241. swait()
  2242. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -6), 0.3)
  2243. PlayAnimationFromTable({
  2244. CFrame.new(0.159273595, -0.292363107, -0.115490548, 0.0844330043, -0.144068986, 0.985959053, -0.357129037, 0.919379771, 0.164923266, -0.930231094, -0.366039604, 0.0261747837) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2245. CFrame.new(4.81307507E-6, 1.49999106, -3.65450978E-6, 0.171444774, -0.100317284, -0.980072975, -0.0616287738, 0.991762042, -0.11229457, 0.983264267, 0.0796530023, 0.163850009) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2246. CFrame.new(1.73932612, 1.06159639, 0.141945362, -0.153680667, -0.913934886, 0.375639945, 0.659919798, -0.377877831, -0.649395287, 0.735450923, 0.148092732, 0.661196351) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2247. CFrame.new(-1.68730593, 0.429691374, -0.418232322, 0.633863091, 0.519853055, -0.57268703, -0.772902489, 0.453472316, -0.443829596, 0.028971523, 0.723958433, 0.689235032) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2248. CFrame.new(0.51381135, -1.74729896, 0.0663300753, 0.422899842, 0.615153313, -0.665388703, -0.0435856879, 0.747240186, 0.66312325, 0.905127704, -0.251433372, 0.342819571) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2249. CFrame.new(-0.991570175, -1.5009346, -0.1830419, 0.415304065, 0.586875141, -0.695054054, -0.166150108, 0.800146103, 0.576333642, 0.894380629, -0.123870395, 0.429813296) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2250. }, 0.3, false)
  2251. end
  2252. if Grab == true then
  2253. for i = 1, 5 do
  2254. for i = 0, 1, 0.35 do
  2255. swait()
  2256. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 13, -6), 0.3)
  2257. PlayAnimationFromTable({
  2258. CFrame.new(-0.0701122433, -0.336599797, -0.467321932, 0.694850504, -0.140219957, -0.70535183, 0.704946458, 0.326802045, 0.629484713, 0.142244101, -0.934633017, 0.325926095) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2259. CFrame.new(-3.05473804E-6, 1.49998987, 8.94069672E-7, 0.707109332, 0.122785509, 0.696362555, 1.49011612E-6, 0.984807491, -0.173649877, -0.707104206, 0.122789055, 0.696367502) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2260. CFrame.new(1.23286271, 0.549701929, -0.640782475, 0.740093768, 0.612683415, 0.277277708, 0.0735714883, 0.336068332, -0.938959956, -0.668469429, 0.715318501, 0.203645304) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2261. CFrame.new(-1.63418663, 0.202915072, -0.0286649466, 0.865367413, 0.490698665, 0.101754986, -0.445756227, 0.846484005, -0.291146517, -0.228999093, 0.206590697, 0.951251805) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2262. CFrame.new(0.702593744, -1.71321297, 0.369734973, 0.965928972, -0.148447216, 0.212003857, 1.10641122E-6, 0.819153726, 0.573574424, -0.258809477, -0.554031372, 0.791244447) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2263. CFrame.new(-0.577289343, -1.34221494, -0.247686923, 0.766049445, -0.219846189, 0.604016602, 1.58697367E-6, 0.939692199, 0.342021465, -0.642781496, -0.262004316, 0.719851196) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2264. }, 0.4, false)
  2265. end
  2266. Effects.Block.Create(BrickColor.new("White"), HitboxR.CFrame, 2, 1, 1, 4, 4, 4, 0.3, 1)
  2267.  
  2268. for i = 0, 1, 0.3 do
  2269. swait()
  2270. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -6), 0.3)
  2271. PlayAnimationFromTable({
  2272. CFrame.new(-0.170705646, -0.774955988, -0.472947001, 0.827218175, 0.130671635, 0.546475112, -0.561879098, 0.194839522, 0.803946257, -0.00142200035, -0.972091854, 0.234596446) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2273. CFrame.new(-1.76951289E-7, 1.49999058, 2.2649765E-6, 0.80180192, -0.161171481, -0.575445414, 0.176131338, 0.983905077, -0.0301590711, 0.571044207, -0.0771723837, 0.817283988) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2274. CFrame.new(1.59014189, 0.537312388, -0.263691217, 0.798337102, -0.524361372, 0.296147287, 0.455999702, 0.205153137, -0.866011977, 0.393347621, 0.826412499, 0.402889967) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2275. CFrame.new(-1.41546631, 0.414666086, 0.337005794, 0.716736436, 0.581529975, 0.384852976, -0.56681174, 0.807305396, -0.164264664, -0.406218559, -0.100404784, 0.908243656) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2276. CFrame.new(0.793360233, -1.59947133, 0.0620805621, 0.876221955, -0.148448378, -0.458477885, 0.368687749, 0.81915307, 0.439383447, 0.310339272, -0.55403173, 0.772486985) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2277. CFrame.new(-0.535338402, -1.81867206, 0.817932665, 0.829598367, 0.11430642, -0.546535134, 0.32139504, 0.702652454, 0.634810925, 0.456587166, -0.702291727, 0.546181798) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2278. }, 0.7, false)
  2279. end
  2280. local hit, pos = rayCast(HitboxR.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character)
  2281. if hit ~= nil then
  2282. MagnitudeDamage(HitboxR, 5, 10, 30, 0, "Normal", "610359515", 1.3)
  2283. Effects.Block.Create(BrickColor.new("Lilac"), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09, 1)
  2284. Effects.Wave.Create(BrickColor.new("White"), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09)
  2285. Effects.Sphere.Create(BrickColor.new("Lilac"), CFrame.new(pos), 3, 3, 3, 5, 5, 5, 0.09)
  2286. Effects.Break.Create(BrickColor.new("Lilac"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  2287. end
  2288. end
  2289. end
  2290. for i, v in pairs(RightArm:GetChildren()) do
  2291. if v.Name == "asd" and v:IsA("Weld") then
  2292. v:Remove()
  2293. end
  2294. end
  2295. Grab = false
  2296. con1:disconnect()
  2297. attack = false
  2298. end
  2299. local IsWearingArmor = false
  2300. function Armor(Mode)
  2301. attack = true
  2302. if IsWearingArmor == false and Mode == "On" then
  2303. IsWearingArmor = true
  2304. Disappear()
  2305. swait(10)
  2306. ReappearArmorOnly()
  2307. Character.Humanoid.MaxHealth = math.huge
  2308. Character.Humanoid.Health = math.huge
  2309. HHandleWeld.Part0 = Character.Head
  2310. THandleWeld.Part0 = Character.Torso
  2311. AHandleRWeld.Part0 = Character["Right Arm"]
  2312. AHandleLWeld.Part0 = Character["Left Arm"]
  2313. LHandleRWeld.Part0 = Character["Right Leg"]
  2314. LHandleLWeld.Part0 = Character["Left Leg"]
  2315. for i, v in pairs(AdvancingFortress:GetChildren()) do
  2316. if v:IsA("BasePart") then
  2317. v.Transparency = 1
  2318. end
  2319. end
  2320. for i, v in pairs(Character:GetChildren()) do
  2321. if v:IsA("Accessory") then
  2322. v.Handle.Transparency = 1
  2323. for i, v in pairs(Character:GetChildren()) do
  2324. if v:IsA("Model") then
  2325. v.Handle.Transparency = 1
  2326. end
  2327. end
  2328. end
  2329. end
  2330. elseif IsWearingArmor == true and Mode == "Off" then
  2331. IsWearingArmor = false
  2332. DisappearArmorOnly()
  2333. for i, v in pairs(Character:GetChildren()) do
  2334. if v:IsA("Accessory") then
  2335. v.Handle.Transparency = 0
  2336. for i, v in pairs(Character:GetChildren()) do
  2337. if v:IsA("Model") then
  2338. v.Handle.Transparency = 0
  2339. end
  2340. end
  2341. end
  2342. end
  2343. swait(10)
  2344. Reappear()
  2345. Character.Humanoid.MaxHealth = math.huge
  2346. Character.Humanoid.Health = math.huge
  2347.  
  2348. HHandleWeld.Part0 = Head
  2349. THandleWeld.Part0 = Torso
  2350. AHandleRWeld.Part0 = RightArm
  2351. AHandleLWeld.Part0 = LeftArm
  2352. LHandleRWeld.Part0 = RightLeg
  2353. LHandleLWeld.Part0 = LeftLeg
  2354. for i, v in pairs(AdvancingFortress:GetChildren()) do
  2355. if v:IsA("BasePart") then
  2356. v.Transparency = 0
  2357. end
  2358. end
  2359. end
  2360. attack = false
  2361. end
  2362. local ShieldMode = false
  2363. local ShieldCharge = false
  2364. function HoloHexShield()
  2365. attack = true
  2366. Shield.Parent = m
  2367. Shield.CanCollide = true
  2368. if ShieldMode == true then
  2369. while ShieldMode == true do
  2370. swait()
  2371. Effects.Elec.Create(Shield.CFrame, 6, 6, 6)
  2372. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  2373. PlayAnimationFromTable({
  2374. CFrame.new(-1.35600567E-6, -0.00759640103, -0.0868249983, 0.499999046, -1.78813579E-7, -0.866026044, 0.150384009, 0.984807789, 0.0868238211, 0.852869093, -0.173648283, 0.492402941) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2375. CFrame.new(1.49011612E-7, 1.4999963, -2.08616257E-7, 0.499999046, 0.0754797831, 0.862731695, -1.78813579E-7, 0.996196151, -0.0871563852, -0.866026044, 0.0435779616, 0.498097092) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2376. CFrame.new(1.50238657, 0.320674658, 0.252193451, 0.855209947, -0.376432747, -0.356249839, 0.469514668, 0.853786647, 0.224954769, 0.219480619, -0.35964793, 0.906907678) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2377. CFrame.new(-0.944740474, 0.689363539, -0.718644142, 0.836517215, -0.545084715, 0.0558781698, -0.258834839, -0.482974619, -0.836504936, 0.482953727, 0.685287297, -0.545103252) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2378. CFrame.new(0.61525929, -1.85127568, 0.120779425, 0.928754449, -0.162676111, 0.333104134, 0.0394990072, 0.93689239, 0.347407103, -0.368597984, -0.309496939, 0.876555264) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2379. CFrame.new(-0.849455297, -1.60697818, -0.270956695, 0.696359396, -0.136922374, 0.704511464, -0.122786656, 0.944430828, 0.30491665, -0.707112312, -0.298836082, 0.640850842) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2380. }, 0.3, false)
  2381. end
  2382. end
  2383. Shield.CanCollide = false
  2384. CFuncs.Sound.Create("200632211", HitboxR, 1, 0.8)
  2385. CFuncs.Sound.Create("200632875", HitboxR, 1, 0.9)
  2386. Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 160
  2387. Effects.Wave.Create(BrickColor.new("White"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06)
  2388. for i = 0, 1, 0.05 do
  2389. swait()
  2390. MagnitudeDamage(Shield, 5, 10, 15, 20, "Normal", "610359515", 1.3)
  2391. Effects.Elec.Create(Shield.CFrame, 6, 6, 6)
  2392. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -3), 1)
  2393. PlayAnimationFromTable({
  2394. CFrame.new(8.64267349E-7, -0.183445007, -0.748600185, 0.499999046, -1.19209105E-7, -0.866026044, 0.496732056, 0.819152176, 0.28678751, 0.709407032, -0.573576331, 0.409575343) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2395. CFrame.new(-7.15255737E-7, 1.50001967, -6.2584877E-7, 0.499999046, 0.36600244, 0.784893453, -1.19209105E-7, 0.90631634, -0.42262283, -0.866026044, 0.211310923, 0.453157306) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2396. CFrame.new(1.76569033, 0.610707581, 0.171269983, 0.658267856, -0.680293143, -0.322312057, 0.725086272, 0.457917482, 0.514355659, -0.202320263, -0.572288036, 0.794703186) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2397. CFrame.new(-1.07552779, 1.01543474, -0.975205183, 0.645357251, -0.653341353, -0.39580214, -0.64124006, -0.181770697, -0.745500326, 0.4151209, 0.734918237, -0.536255598) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2398. CFrame.new(0.630614281, -1.76328135, 0.440194428, 0.866077662, -0.24334389, 0.436684549, -0.0614839792, 0.815044224, 0.57612747, -0.496114343, -0.525820255, 0.69092983) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2399. CFrame.new(-0.857700765, -1.25810766, -0.239681423, 0.499215126, -0.257185757, 0.827429712, -0.238765404, 0.877132356, 0.416689515, -0.832931936, -0.405579239, 0.376470625) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2400. }, 0.5, false)
  2401. end
  2402. Shield.Parent = nil
  2403. attack = false
  2404. end
  2405. Mouse.Button1Down:connect(function()
  2406. if attack == false and Invisible == false and IsWearingArmor == false and attacktype == 1 then
  2407. attacktype = 2
  2408. attackone()
  2409. elseif attack == false and Invisible == false and IsWearingArmor == false and attacktype == 2 then
  2410. attacktype = 1
  2411. attacktwo()
  2412. end
  2413. end)
  2414. game.Lighting.Outlines = false
  2415. function attackone()
  2416. attack = true
  2417. for i = 0, 1, 0.12 do
  2418. swait()
  2419. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  2420. PlayAnimationFromTable({
  2421. CFrame.new(1.51857734E-4, -0.310488015, -0.087417841, 0.707106054, 5.26835073E-8, -0.707107484, 0.122787014, 0.984807968, 0.122786865, 0.696365058, -0.173646957, 0.696363688) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2422. CFrame.new(0.101928703, 1.50244772, -0.0383823365, 0.76589334, 0.0762532279, 0.638430059, -0.0196644422, 0.995256186, -0.095281601, -0.642666996, 0.0604211651, 0.763759375) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2423. CFrame.new(1.01774633, 0.557527065, -0.776187301, 0.541353703, 0.741649806, 0.396095604, 0.711713314, -0.153383806, -0.685520053, -0.447661191, 0.653015316, -0.610876858) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2424. CFrame.new(-1.07208586, 0.264054269, -0.716768324, 0.529938459, -0.260122895, -0.807156265, -0.752277017, 0.295165181, -0.589030504, 0.39146477, 0.919355154, -0.039265126) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2425. CFrame.new(0.81415844, -1.89738977, 0.144144416, 0.866025925, -0.171008825, 0.469845951, -1.40815973E-6, 0.939692497, 0.342020512, -0.499999285, -0.296199232, 0.813797772) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2426. CFrame.new(-0.818738878, -1.59999573, -0.397991776, 0.642786622, 0.0667650178, 0.763130188, 4.3399632E-7, 0.99619472, -0.0871558338, -0.766045213, 0.0560229495, 0.640340626) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2427. }, 0.3, false)
  2428. end
  2429. MagnitudeDamage(HitboxR, 7, 10, 15, math.random(1, 3), "Normal", "260430079", 1)
  2430. CFuncs.Sound.Create("200632136", HitboxR, 1, 1)
  2431. RootPart.Velocity = RootPart.CFrame.lookVector * 40
  2432. for i = 0, 1, 0.11 do
  2433. swait()
  2434. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  2435. PlayAnimationFromTable({
  2436. CFrame.new(0.31380862, -0.320521832, 0.0252371654, 0.249517962, -0.150383011, 0.956622124, -0.0458769947, 0.984923244, 0.166798219, -0.967282891, -0.0855060965, 0.238856897) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2437. CFrame.new(0.101926193, 1.50244832, -0.0383800864, 0.337979913, 0.0762555003, -0.938059092, -0.0828148723, 0.995255768, 0.051067099, 0.937502801, 0.0604255944, 0.342691481) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2438. CFrame.new(1.96121001, 0.774859428, -0.462411612, 0.340120375, -0.92077136, 0.191045195, 0.466549307, -0.0111669078, -0.884424806, 0.816486418, 0.389942825, 0.42578721) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2439. CFrame.new(-1.36170578, 0.526111126, -0.597925961, 0.81348151, -0.212761745, -0.541276693, -0.539894938, 0.0697831511, -0.838834763, 0.216243982, 0.974609077, -0.0581016839) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2440. CFrame.new(0.970680714, -1.68610644, -0.0975568295, 0.579166114, -0.127570763, -0.805166125, 0.110368893, 0.990856647, -0.0776019096, 0.807703912, -0.0439208932, 0.587950349) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2441. CFrame.new(-0.827146292, -1.8113209, -0.0556658059, 0.816036701, 0.217413262, -0.535551846, -0.0871567726, 0.962250471, 0.257832885, 0.571391284, -0.163724124, 0.804180741) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2442. }, 0.45, false)
  2443. end
  2444. attack = false
  2445. end
  2446. function attacktwo()
  2447. attack = true
  2448. for i = 0, 1, 0.12 do
  2449. swait()
  2450. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  2451. PlayAnimationFromTable({
  2452. CFrame.new(-0.0382043272, -0.447743475, -0.209081307, 0.653245032, -0.0733856931, 0.753581822, -0.271655023, 0.906307638, 0.323743671, -0.706735075, -0.416198224, 0.572105408) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2453. CFrame.new(-2.74181366E-6, 1.49999321, -3.4570694E-6, 0.707105815, -0.183012873, -0.683013678, -8.7171793E-7, 0.965925694, -0.258819759, 0.707107782, 0.183013588, 0.683011472) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2454. CFrame.new(1.65075588, 0.743636727, -0.356577665, 0.542998552, -0.115416825, 0.831764221, 0.839699984, 0.0834951103, -0.536593378, -0.00751632452, 0.989801884, 0.142253295) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2455. CFrame.new(-1.08620656, -0.00580590963, -0.864283919, 0.656464815, -0.698875248, 0.283949524, 0.478162557, 0.0943745971, -0.873186052, 0.583450615, 0.708990037, 0.396129608) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2456. CFrame.new(0.856426239, -1.40340364, -0.356423855, 0.707105279, -0.122788861, -0.696365654, 9.42498446E-7, 0.98480767, -0.173648372, 0.707108438, 0.122787014, 0.696362913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2457. CFrame.new(-0.695387185, -1.90375674, -0.304245114, 0.92541647, 0.246137589, -0.288133472, -0.173648298, 0.951251149, 0.254887551, 0.336824656, -0.185843274, 0.923044682) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2458. }, 0.34, false)
  2459. end
  2460. MagnitudeDamage(HitboxL, 7, 10, 15, math.random(1, 3), "Normal", "260430079", 1.1)
  2461. CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
  2462. aroa = CFuncs.Sound.Create("1125531040")
  2463. aroa.Volume = 5
  2464.  
  2465.  
  2466.  
  2467. RootPart.Velocity = RootPart.CFrame.lookVector * 40
  2468. for i = 0, 1, 0.12 do
  2469. swait()
  2470. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  2471. PlayAnimationFromTable({
  2472. CFrame.new(-0.479634404, -0.393727064, -0.220339894, 0.248309121, 0.219825819, -0.94340837, 0.019257009, 0.972597659, 0.231695861, 0.968489468, -0.0756994039, 0.237271711) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2473. CFrame.new(-4.01586294E-6, 1.4999907, -1.59628689E-6, 0.237956509, -0.0991817266, 0.966198623, 0.22414881, 0.973527908, 0.0447304621, -0.945057809, 0.205928385, 0.253888786) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2474. CFrame.new(1.08192515, 0.657660127, -1.1749661, 0.228772208, 0.493058115, 0.839379132, 0.874719322, 0.27430138, -0.399530977, -0.427234828, 0.825622678, -0.368534833) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2475. CFrame.new(-1.23054802, 1.29996836, -0.754827142, 0.94838953, -0.316170156, 0.0243683457, -0.269034386, -0.84291333, -0.465958893, 0.167862713, 0.43535465, -0.88447094) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2476. CFrame.new(0.839919031, -1.81287205, 0.0102108568, 0.808574855, -0.267538428, 0.524051666, 0.171010748, 0.95905602, 0.22575888, -0.562994003, -0.0929245204, 0.821220458) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2477. CFrame.new(-0.846072078, -1.7213496, -0.247524291, 0.693717241, 0.0689389557, 0.716940701, -0.0478171073, 0.997620881, -0.0496601462, -0.718658566, 1.68083934E-4, 0.695363283) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2478. }, 0.45, false)
  2479. end
  2480.  
  2481. attack = false
  2482. wait(1)
  2483. aroa:Destroy()
  2484. end
  2485. function findNearestTorso(pos)
  2486. local list = game.Workspace:children()
  2487. local torso
  2488. local dist = 1000
  2489. local temp, human, temp2
  2490. for x = 1, #list do
  2491. temp2 = list[x]
  2492. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  2493. temp = temp2:findFirstChild("Torso")
  2494. human = temp2:findFirstChild("Humanoid")
  2495. if temp ~= nil and human ~= nil and human.Health > 0 and dist > (temp.Position - pos).magnitude then
  2496. local dohit = true
  2497. if dohit == true then
  2498. torso = temp
  2499. dist = (temp.Position - pos).magnitude
  2500. end
  2501. end
  2502. end
  2503. end
  2504. return torso, dist
  2505. end
  2506. function TrueAim(aim)
  2507. local target, distance = findNearestTorso(Mouse.Hit.p)
  2508. local tehcf = HitboxR.CFrame * CFrame.fromEulerAnglesXYZ(1.57, 0, 0).lookVector
  2509. if aim ~= nil then
  2510. tehcf = aim
  2511. end
  2512. table.insert(Effects, {
  2513. tehcf,
  2514. "Shoot",
  2515. 30,
  2516. HitboxR.Position,
  2517. 10,
  2518. 15,
  2519. 0,
  2520. 3,
  2521. HitboxR,
  2522. target
  2523. })
  2524.  
  2525. end
  2526.  
  2527.  
  2528.  
  2529.  
  2530.  
  2531.  
  2532.  
  2533. function SutaFinga()
  2534. attack = true
  2535. Humanoid.WalkSpeed = 20
  2536. for i = 0, 1, 0.1 do
  2537. swait()
  2538. Effects.Elec.Create(HitboxR.CFrame, 0, 0, 0)
  2539. PlayAnimationFromTable({
  2540. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1.55, 0),
  2541. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1.15, 0),
  2542. CFrame.new(0.45,0.5,-1.2) * CFrame.new(0, 0, 0) * CFrame.Angles(0,-0.5,-1.55),
  2543. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.1, 0, 0),
  2544. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
  2545. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1), }, .5, false)
  2546. end
  2547. local RA = Instance.new("Part",RightArm)
  2548. RA.Size = Vector3.new(1.1,2.1,1.1)
  2549.  
  2550. RA.BrickColor = BrickColor.new("White")
  2551. RA.Material = "Neon"
  2552.  
  2553. RA.Transparency = 0
  2554. local RA2 = Instance.new("Weld",RA)
  2555. RA2.Part0 = RightArm
  2556. RA2.Part1 = RA
  2557. RA2.C0 = CFrame.new(0,0,0)
  2558.  
  2559. for i = 1,2 do ----15
  2560. for i = 1,5 do
  2561. RA.Transparency = RA.Transparency + 0.1
  2562. game:GetService("RunService").RenderStepped:wait()
  2563. end
  2564. wait(0.1)
  2565. for i = 1,5 do
  2566. RA.Transparency = RA.Transparency - 0.1
  2567. game:GetService("RunService").RenderStepped:wait()
  2568. end
  2569. end
  2570. for i = 1,10 do
  2571. RA.Transparency = RA.Transparency + 0.1
  2572. game:GetService("RunService").RenderStepped:wait()
  2573. end
  2574. Effects.Wave.Create(BrickColor.new("White"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06)
  2575. RightArm.Transparency = 1
  2576. local owo = Instance.new("Model",Torso)
  2577. Instance.new("Humanoid",owo)
  2578. stretch = CFuncs.Sound.Create("463010917")
  2579. stretch.Volume = 5
  2580. local R = Instance.new("Part",owo)
  2581. R.Size = Vector3.new(1,2,1)
  2582. R.TopSurface = 0
  2583. R.BottomSurface = 0
  2584. R.Name = 'Right Arm'
  2585. R.BrickColor = RightArm.BrickColor
  2586. R.CanCollide = false
  2587. R.Anchored = true
  2588. R.CFrame = RightArm.CFrame*CFrame.new(0,0,0)
  2589. R.Touched:connect(function(hit)
  2590. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then
  2591. if not ZZ then ZZ = true
  2592. hit.Parent.Humanoid:TakeDamage(40)
  2593.  
  2594. local Fl = Instance.new("BodyVelocity",hit.Parent.Torso)
  2595. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2596. Fl.velocity = RootPart.CFrame.lookVector*130
  2597. wait(0.1)
  2598. Fl:remove()
  2599. wait(0.00001)
  2600. ZZ = false
  2601. end
  2602. end
  2603. end)
  2604. coroutine.resume(coroutine.create(function()
  2605. for i = 1,20 do
  2606. R.Size = R.Size + Vector3.new(0,0.8,0)
  2607. R.CFrame = RightArm.CFrame*CFrame.new(0.015,-R.Size.Y/2.5,0)
  2608. game:GetService("RunService").RenderStepped:wait()
  2609. end
  2610. end))
  2611. for i = 0,1,0.1 do
  2612. swait()
  2613. PlayAnimationFromTable({
  2614. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1.5, 0),
  2615. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1.2, 0),
  2616. CFrame.new(1.95,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55),
  2617. CFrame.new(-1.5,0,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.7, 0, 0),
  2618. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
  2619. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1)
  2620. }, .5, false)
  2621. end
  2622. wait(1)
  2623. for i = 1,20 do
  2624. R.Size = R.Size - Vector3.new(0,0.8,0)
  2625. R.CFrame = RightArm.CFrame*CFrame.new(0.015,-R.Size.Y/2.75,0)
  2626. game:GetService("RunService").RenderStepped:wait()
  2627. end
  2628. RightArm.Transparency = 0
  2629. R:Destroy()
  2630. RA:Destroy()
  2631. stretch:Destroy()
  2632.  
  2633.  
  2634.  
  2635. Humanoid.WalkSpeed = 20
  2636. attack = false
  2637.  
  2638.  
  2639. end
  2640.  
  2641.  
  2642.  
  2643. Mouse.KeyDown:connect(function(k)
  2644. k = k:lower()
  2645. if attack == false and ora == false and k == "z" and IsWearingArmor == false and Invisible == false then
  2646. ora = true
  2647. ORA()
  2648. elseif k == "m" and bigg == false then
  2649. bigg = true
  2650. PE()
  2651. elseif k == "m" and bigg == true then
  2652. bigg = false
  2653. pep:Destroy()
  2654. elseif attack == false and k == "x" and IsWearingArmor == false and Invisible == false then
  2655. GRABEMBOIGRABEM()
  2656. elseif attack == false and k == "q" and IsWearingArmor == false and Invisible == false then
  2657. SutaFinga()
  2658. elseif attack == false and k == "f" and Invisible == false and IsWearingArmor == false then
  2659. Invisible = true
  2660. Character["Advancing Fortress"].Hat.Part.Transparency = 1
  2661. Par1.Enabled = false
  2662. Character["Advancing Fortress"].scarf.Part.Transparency = 1
  2663. Character["Advancing Fortress"].cloth.Part.Transparency = 1
  2664. Character["Advancing Fortress"].cloth2.Part.Transparency = 1
  2665. Character["Advancing Fortress"].rs.Part.Transparency = 1
  2666. Character["Advancing Fortress"].ls.Part.Transparency = 1
  2667. Character["Advancing Fortress"].FHead.face.Transparency = 1
  2668. Character["Advancing Fortress"].ear1.Part.Transparency = 1
  2669. Character["Advancing Fortress"].ear2.Part.Transparency = 1
  2670. Character["Advancing Fortress"].belt.Part.Transparency = 1
  2671. Character["Advancing Fortress"].belt2.Part.Transparency = 1
  2672. Character["Advancing Fortress"].belt3.Part.Transparency = 1
  2673. Character["Advancing Fortress"].gr.Part.Transparency = 1
  2674. Character["Advancing Fortress"].gl.Part.Transparency = 1
  2675. Character["Advancing Fortress"].ap1.Part.Transparency = 1
  2676. Character["Advancing Fortress"].ap2.Part.Transparency = 1
  2677. Character["Advancing Fortress"].ap3.Part.Transparency = 1
  2678. Character["Advancing Fortress"].ap4.Part.Transparency = 1
  2679. Character["Advancing Fortress"].muscle.Part.Transparency = 1
  2680. Character["Advancing Fortress"].circ1.Part.Transparency = 1
  2681. Character["Advancing Fortress"].circ2.Part.Transparency = 1
  2682. Character["Advancing Fortress"].circ3.Part.Transparency = 1
  2683. Character["Advancing Fortress"].circ4.Part.Transparency = 1
  2684. Character["Advancing Fortress"].boot1.Part.Transparency = 1
  2685. Character["Advancing Fortress"].boot2.Part.Transparency = 1
  2686. Character["Advancing Fortress"].glo1.Part.Transparency = 1
  2687. Character["Advancing Fortress"].glo2.Part.Transparency = 1
  2688. Effects.Sphere.Create(BrickColor.new("Lilac"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
  2689. Effects.Block.Create(BrickColor.new("Lilac"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1)
  2690. Disappear()
  2691.  
  2692. elseif attack == false and k == "f" and Invisible == true and IsWearingArmor == false and cooldown == false then
  2693. Invisible = false
  2694. summon = CFuncs.Sound.Create("463010917", Torso, 1, 1)
  2695. summon.Volume = 7
  2696. cooldown = true
  2697. Character["Advancing Fortress"].Hat.Part.Transparency = 0
  2698. Par1.Enabled = true
  2699. Character["Advancing Fortress"].scarf.Part.Transparency = 0
  2700. Character["Advancing Fortress"].cloth.Part.Transparency = 0
  2701. Character["Advancing Fortress"].cloth2.Part.Transparency = 0
  2702. Character["Advancing Fortress"].rs.Part.Transparency = 0
  2703. Character["Advancing Fortress"].ls.Part.Transparency = 0
  2704. Character["Advancing Fortress"].FHead.face.Transparency = 0
  2705. Character["Advancing Fortress"].ear1.Part.Transparency = 0
  2706. Character["Advancing Fortress"].ear2.Part.Transparency = 0
  2707. Character["Advancing Fortress"].belt.Part.Transparency = 0
  2708. Character["Advancing Fortress"].belt2.Part.Transparency = 0
  2709. Character["Advancing Fortress"].belt3.Part.Transparency = 0
  2710. Character["Advancing Fortress"].gr.Part.Transparency = 0
  2711. Character["Advancing Fortress"].gl.Part.Transparency = 0
  2712. Character["Advancing Fortress"].ap1.Part.Transparency = 0
  2713. Character["Advancing Fortress"].ap2.Part.Transparency = 0
  2714. Character["Advancing Fortress"].ap3.Part.Transparency = 0
  2715. Character["Advancing Fortress"].ap4.Part.Transparency = 0
  2716. Character["Advancing Fortress"].muscle.Part.Transparency = 0
  2717. Character["Advancing Fortress"].circ1.Part.Transparency = 0
  2718. Character["Advancing Fortress"].circ2.Part.Transparency = 0
  2719. Character["Advancing Fortress"].circ3.Part.Transparency = 0
  2720. Character["Advancing Fortress"].circ4.Part.Transparency = 0
  2721. Character["Advancing Fortress"].boot1.Part.Transparency = 0
  2722. Character["Advancing Fortress"].boot2.Part.Transparency = 0
  2723. Character["Advancing Fortress"].glo1.Part.Transparency = 0
  2724. Character["Advancing Fortress"].glo2.Part.Transparency = 0
  2725.  
  2726. Effects.Sphere.Create(BrickColor.new("Lilac"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.08)
  2727. for i = 1, 2 do
  2728. Effects.Block.Create(BrickColor.new("Lilac"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1)
  2729. end
  2730. for i = 1, 20 do
  2731. Effects.Break.Create(BrickColor.new("Lilac"), Torso.CFrame, 1, 1, 1)
  2732. end
  2733. Reappear()
  2734. staplachinuh = CFuncs.Sound.Create("469817479")
  2735. staplachinuh.TimePosition = 0.4
  2736. staplachinuh.Volume = 7
  2737. wait(0.96)
  2738. staplachinuh:Destroy()
  2739. cooldown = false
  2740. elseif attack == false and ShieldMode == false and k == "c" and IsWearingArmor == false and Invisible == false then
  2741. ShieldMode = true
  2742. HoloHexShield()
  2743. elseif attack == false and k == "v" and IsWearingArmor == false and Invisible == false then
  2744. CastleCrusherFist()
  2745. end
  2746. if k == "[" and IsWearingArmor == false and Invisible == false then
  2747. Armor("On")
  2748. Character["Advancing Fortress"].Hat.Part.Transparency = 1
  2749. Character["Advancing Fortress"].boot1.Part.Transparency = 1
  2750. Character["Advancing Fortress"].boot2.Part.Transparency = 1
  2751. Character["Advancing Fortress"].glo1.Part.Transparency = 1
  2752. Character["Advancing Fortress"].glo2.Part.Transparency = 1
  2753. Character["Advancing Fortress"].scarf.Part.Transparency = 1
  2754. Character["Advancing Fortress"].cloth.Part.Transparency = 1
  2755. Character["Advancing Fortress"].cloth2.Part.Transparency = 1
  2756. Character["Advancing Fortress"].rs.Part.Transparency = 1
  2757. Character["Advancing Fortress"].ls.Part.Transparency = 1
  2758. Character["Advancing Fortress"].FHead.face.Transparency = 1
  2759. Character["Advancing Fortress"].ear1.Part.Transparency = 1
  2760. Character["Advancing Fortress"].ear2.Part.Transparency = 1
  2761. Character["Advancing Fortress"].belt.Part.Transparency = 1
  2762. Character["Advancing Fortress"].belt2.Part.Transparency = 1
  2763. Character["Advancing Fortress"].belt3.Part.Transparency = 1
  2764. Character["Advancing Fortress"].gr.Part.Transparency = 1
  2765. Character["Advancing Fortress"].gl.Part.Transparency = 1
  2766. Character["Advancing Fortress"].ap1.Part.Transparency = 1
  2767. Character["Advancing Fortress"].ap2.Part.Transparency = 1
  2768. Character["Advancing Fortress"].ap3.Part.Transparency = 1
  2769. Character["Advancing Fortress"].ap4.Part.Transparency = 1
  2770. Character["Advancing Fortress"].muscle.Part.Transparency = 1
  2771. Character["Advancing Fortress"].circ1.Part.Transparency = 1
  2772. Character["Advancing Fortress"].circ2.Part.Transparency = 1
  2773. Character["Advancing Fortress"].circ3.Part.Transparency = 1
  2774. Character["Advancing Fortress"].circ4.Part.Transparency = 1
  2775. end
  2776. if k == "]" and IsWearingArmor == true and Invisible == false then
  2777. Armor("Off")
  2778. Character["Advancing Fortress"].Hat.Part.Transparency = 0
  2779. Character["Advancing Fortress"].boot1.Part.Transparency = 0
  2780. Character["Advancing Fortress"].boot2.Part.Transparency = 0
  2781. Character["Advancing Fortress"].glo1.Part.Transparency = 0
  2782. Character["Advancing Fortress"].glo2.Part.Transparency = 0
  2783. Character["Advancing Fortress"].scarf.Part.Transparency = 0
  2784. Character["Advancing Fortress"].cloth.Part.Transparency = 0
  2785. Character["Advancing Fortress"].cloth2.Part.Transparency = 0
  2786. Character["Advancing Fortress"].rs.Part.Transparency = 0
  2787. Character["Advancing Fortress"].ls.Part.Transparency = 0
  2788. Character["Advancing Fortress"].FHead.face.Transparency = 0
  2789. Character["Advancing Fortress"].ear1.Part.Transparency = 0
  2790. Character["Advancing Fortress"].ear2.Part.Transparency = 0
  2791. Character["Advancing Fortress"].belt.Part.Transparency = 0
  2792. Character["Advancing Fortress"].belt2.Part.Transparency = 0
  2793. Character["Advancing Fortress"].belt3.Part.Transparency = 0
  2794. Character["Advancing Fortress"].gr.Part.Transparency = 0
  2795. Character["Advancing Fortress"].gl.Part.Transparency = 0
  2796. Character["Advancing Fortress"].ap1.Part.Transparency = 0
  2797. Character["Advancing Fortress"].ap2.Part.Transparency = 0
  2798. Character["Advancing Fortress"].ap3.Part.Transparency = 0
  2799. Character["Advancing Fortress"].ap4.Part.Transparency = 0
  2800. Character["Advancing Fortress"].muscle.Part.Transparency = 0
  2801. Character["Advancing Fortress"].circ1.Part.Transparency = 0
  2802. Character["Advancing Fortress"].circ2.Part.Transparency = 0
  2803. Character["Advancing Fortress"].circ3.Part.Transparency = 0
  2804. Character["Advancing Fortress"].circ4.Part.Transparency = 0
  2805.  
  2806. end
  2807. end)
  2808. Mouse.KeyUp:connect(function(k)
  2809. k = k:lower()
  2810. if attack == true and ora == true and k == "z" and IsWearingArmor == false then
  2811. ora = false
  2812. elseif attack == true and ShieldMode == true and k == "c" and IsWearingArmor == false then
  2813. ShieldMode = false
  2814. end
  2815. end)
  2816. coroutine.resume(coroutine.create(function(Part, Part2)
  2817. while Part.Parent ~= nil do
  2818. swait(math.random(100, 150))
  2819. for i = 0, 1, 0.2 do
  2820. wait()
  2821. Eye1.Mesh.Scale = Vector3.new(1, 0.7 - 1 * i, 1)
  2822. Eye2.Mesh.Scale = Vector3.new(1, 0.7 - 1 * i, 1)
  2823. end
  2824. for i = 0, 1, 0.2 do
  2825. swait()
  2826. Eye1.Mesh.Scale = Vector3.new(1, 0.7 + 0.3 * i, 1)
  2827. Eye2.Mesh.Scale = Vector3.new(1, 0.7 + 0.3 * i, 1)
  2828. end
  2829. end
  2830. end), Eye1, Eye2)
  2831. while true do
  2832. swait()
  2833. for i, v in pairs(Character:children()) do
  2834. if v:IsA("Part") and IsWearingArmor == true then
  2835. v.Anchored = false
  2836. end
  2837. end
  2838. for i, v in pairs(AdvancingFortress:GetChildren()) do
  2839. if v:IsA("Part") then
  2840. v.Material = "SmoothPlastic"
  2841.  
  2842. v.CanCollide = false
  2843.  
  2844. elseif v:IsA("Humanoid") then
  2845. v.PlatformStand = true
  2846.  
  2847.  
  2848.  
  2849.  
  2850. end
  2851. end
  2852. HHandle.Transparency = 1
  2853. THandle.Transparency = 1
  2854. AHandleR.Transparency = 1
  2855. AHandleL.Transparency = 1
  2856. LHandleR.Transparency = 1
  2857. LHandleL.Transparency = 1
  2858. RootPart.Transparency = 1
  2859. HitboxR.Transparency = 1
  2860. HitboxL.Transparency = 1
  2861. Head.BrickColor = BrickColor.new("Lilac")
  2862. Torso.BrickColor = BrickColor.new("Lilac")
  2863. RightArm.BrickColor = BrickColor.new("Lilac")
  2864. LeftArm.BrickColor = BrickColor.new("Lilac")
  2865. RightLeg.BrickColor = BrickColor.new("Lilac")
  2866. LeftLeg.BrickColor = BrickColor.new("Lilac")
  2867. RootPart.Anchored = true
  2868. Torsovelocity = (Character.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2869. velocity = Character.HumanoidRootPart.Velocity.y
  2870. sine = sine + change
  2871. Shield.Anchored = true
  2872. Shield.CFrame = Shield.CFrame:lerp(RootPart.CFrame * CFrame.new(0, 0, -3.2), 1)
  2873. local hit, pos = rayCast(Character.HumanoidRootPart.Position, CFrame.new(Character.HumanoidRootPart.Position, Character.HumanoidRootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  2874. if Character.HumanoidRootPart.Velocity.y > 1 and hit == nil then
  2875. Anim = "Jump"
  2876. if attack == false then
  2877. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  2878. PlayAnimationFromTable({
  2879. CFrame.new(0, 0.00872418843, 0.0292903651, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2880. CFrame.new(0, 1.49999177, -1.49011612E-7, 1, 0, 0, 0, 0.98480767, 0.173648626, 0, -0.173648626, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0.3, 0, 0),
  2881. CFrame.new(1.64140427, 0.273908556, 0.192029893, 0.946035206, -0.31541416, 0.0743736848, 0.284469575, 0.91821146, 0.275617331, -0.155224368, -0.239586651, 0.958386064) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2882. CFrame.new(-1.59350562, 0.239538491, 0.192243189, 0.935008764, 0.347148597, -0.0724328309, -0.312019885, 0.902400434, 0.297181845, 0.168529674, -0.255267143, 0.952069581) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2883. CFrame.new(0.602718651, -1.95556056, 0.410092652, 0.978475571, 0.0150757888, -0.205834776, 0.0853612274, 0.878464639, 0.470120817, 0.187906027, -0.477568805, 0.85826844) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2884. CFrame.new(-0.41903314, -1.41877925, -0.229210436, 0.962251842, -0.0299757104, 0.270510197, -0.084186092, 0.912393093, 0.400567293, -0.258819073, -0.408219665, 0.875425339) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2885. }, 0.3, false)
  2886. end
  2887. elseif Character.HumanoidRootPart.Velocity.y < -1 and hit == nil then
  2888. Anim = "Fall"
  2889. if attack == false then
  2890. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  2891. PlayAnimationFromTable({
  2892. CFrame.new(0, -0.0366669223, -0.0478199311, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2893. CFrame.new(0, 1.58110774, -0.115850762, 1, 0, 0, 0, 0.98480767, 0.173647821, 0, -0.173647821, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2894. CFrame.new(1.72150326, 0.610064566, 0.0891361833, 0.724097908, -0.685675204, 0.0743751749, 0.645872176, 0.711960018, 0.275611937, -0.241932437, -0.151533186, 0.958387375) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2895. CFrame.new(-1.69228244, 0.568353653, 0.082095027, 0.759895504, 0.646005511, -0.0724337399, -0.601845145, 0.741260946, 0.297183931, 0.24567467, -0.182231784, 0.952074111) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2896. CFrame.new(0.60271728, -1.95556188, 0.410093039, 0.978470623, -0.00292155147, -0.206365243, 0.0853614658, 0.916095972, 0.391767859, 0.187905625, -0.400949359, 0.896622121) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2897. CFrame.new(-0.453899324, -1.81726217, -0.229221463, 0.962255239, -0.00628663599, 0.272094905, -0.0841865242, 0.943832874, 0.319526881, -0.258820891, -0.33037129, 0.90767473) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2898. }, 0.3, false)
  2899. end
  2900. elseif Torsovelocity < 1 and hit ~= nil then
  2901. Anim = "Idle"
  2902. if attack == false then
  2903. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  2904. PlayAnimationFromTable({
  2905. CFrame.new(0, -0.00190299738, -0.0435779989, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1, 0),
  2906. CFrame.new(0, 1.49999213, 3.27825546E-7, 1, 0, 0, 0, 0.99619478, 0.0871553123, 0, -0.0871553123, 0.99619478) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1, 0),
  2907. CFrame.new(1.64141297, 0.173907071, -0.107973814, 0.946035922, -0.270955235, 0.177766502, 0.284470022, 0.957103431, -0.055051513, -0.155224428, 0.102649838, 0.982532144) * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0.1, 0),
  2908. CFrame.new(-1.59350157, 0.139536366, -0.107754946, 0.935009062, 0.284010828, -0.212358981, -0.312018842, 0.943447471, -0.11203292, 0.168530986, 0.171011835, 0.970748305) * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0.1, 0),
  2909. CFrame.new(0.602711678, -1.89952374, -0.0967197716, 0.978471398, -0.0562333167, -0.198576227, 0.0853610933, 0.986278713, 0.141314447, 0.187904745, -0.155223012, 0.969844699) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2910. CFrame.new(-0.619029164, -1.90815639, -0.0860156417, 0.962250412, 0.0410595387, 0.269051194, -0.0841863081, 0.984977186, 0.150772721, -0.258818805, -0.167731494, 0.951251626) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2911. }, 0.3, false)
  2912. end
  2913. elseif Torsovelocity > 2 and hit ~= nil then
  2914. Anim = "Walk"
  2915. if attack == false then
  2916. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  2917. PlayAnimationFromTable({
  2918. CFrame.new(0, -0.0234659836, -0.171147972, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1, 0),
  2919. CFrame.new(0, 1.49999166, 1.1920929E-7, 1, 0, 0, 0, 0.98480773, -0.173648983, 0, 0.173648953, 0.98480773) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1, 0),
  2920. CFrame.new(1.60905385, 0.122740321, 0.227665678, 0.946036339, -0.320693314, 0.0465966538, 0.284468234, 0.89069742, 0.354595304, -0.155219615, -0.322205007, 0.93385905) * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0.1, 0),
  2921. CFrame.new(-1.55878484, 0.127169654, 0.148623466, 0.93500936, 0.339513272, -0.102411598, -0.312018752, 0.924868107, 0.217401206, 0.168527737, -0.171317667, 0.970695019) * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0.1, 0),
  2922. CFrame.new(0.585851789, -1.60362172, -0.143285036, 0.978476226, 0.0150748575, -0.205834031, 0.0853618756, 0.878461003, 0.470117748, 0.187905103, -0.477570593, 0.858265638) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2923. CFrame.new(-0.563320339, -1.90456724, 0.225245774, 0.982039452, -0.00800410938, 0.188514173, -0.0707257539, 0.910641074, 0.407099873, -0.174927384, -0.413120717, 0.893718541) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  2924. }, 0.3, false)
  2925. end
  2926.  
  2927.  
  2928.  
  2929. end
  2930. if 0 < #Effects then
  2931. for e = 1, #Effects do
  2932. if Effects[e] ~= nil then
  2933. local Thing = Effects[e]
  2934. if Thing ~= nil then
  2935. local Part = Thing[1]
  2936. local Mode = Thing[2]
  2937. local Delay = Thing[3]
  2938. local IncX = Thing[4]
  2939. local IncY = Thing[5]
  2940. local IncZ = Thing[6]
  2941. if Thing[2] == "Shoot" then
  2942. local Look = Thing[1]
  2943. local move = 30
  2944. if Thing[8] == 3 then
  2945. move = 10
  2946. end
  2947. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  2948. if Thing[10] ~= nil then
  2949. da = pos
  2950. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  2951. cfa = CFrame.new(Thing[4], pos)
  2952. tehCF = cfa:lerp(cf2, 0.2)
  2953. Thing[1] = tehCF.lookVector
  2954. end
  2955. local mag = (Thing[4] - pos).magnitude
  2956. Effects.Head.Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
  2957. if Thing[8] == 2 then
  2958. Effects.Ring.Create(Torso.BrickColor, CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0), 1, 1, 0.1, 0.5, 0.5, 0.1, 0.1, 1)
  2959. end
  2960. Thing[4] = Thing[4] + Look * move
  2961. Thing[3] = Thing[3] - 1
  2962. if 2 < Thing[5] then
  2963. Thing[5] = Thing[5] - 0.3
  2964. Thing[6] = Thing[6] - 0.3
  2965. end
  2966. if hit ~= nil then
  2967. Thing[3] = 0
  2968. if Thing[8] == 1 or Thing[8] == 3 then
  2969. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  2970. elseif Thing[8] == 2 then
  2971. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  2972. if hit.Parent:findFirstChild("Humanoid") ~= nil or hit.Parent.Parent:findFirstChild("Humanoid") ~= nil then
  2973. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Lilac"), "Reference", Vector3.new())
  2974. ref.Anchored = true
  2975. ref.CFrame = CFrame.new(pos)
  2976. CFuncs.Sound.Create("161006093", ref, 1, 1.2)
  2977. game:GetService("Debris"):AddItem(ref, 0.2)
  2978. Effects.Block.Create(Torso.BrickColor, CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 1, 10, 10, 10, 0.1, 2)
  2979. Effects.Ring.Create(BrickColor.new("Bright yellow"), CFrame.new(ref.Position) * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 1, 0.1, 4, 4, 0.1, 0.1)
  2980. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  2981. end
  2982. end
  2983. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Lilac"), "Reference", Vector3.new())
  2984. ref.Anchored = true
  2985. ref.CFrame = CFrame.new(pos)
  2986. Effects.Sphere.Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  2987. game:GetService("Debris"):AddItem(ref, 1)
  2988. end
  2989. if Thing[3] <= 0 then
  2990. table.remove(Effects, e)
  2991. end
  2992. end
  2993. if Thing[2] == "FireWave" then
  2994. if Thing[3] <= Thing[4] then
  2995. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  2996. Thing[3] = Thing[3] + 1
  2997. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  2998. else
  2999. Part.Parent = nil
  3000. table.remove(Effects, e)
  3001. end
  3002. end
  3003. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  3004. if Thing[1].Transparency <= 1 then
  3005. if Thing[2] == "Block1" then
  3006. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3007. Mesh = Thing[7]
  3008. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3009. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3010. elseif Thing[2] == "Block2" then
  3011. Thing[1].CFrame = Thing[1].CFrame
  3012. Mesh = Thing[7]
  3013. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3014. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3015. elseif Thing[2] == "Fire" then
  3016. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  3017. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3018. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3019. elseif Thing[2] == "Cylinder" then
  3020. Mesh = Thing[7]
  3021. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3022. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3023. elseif Thing[2] == "Blood" then
  3024. Mesh = Thing[7]
  3025. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  3026. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3027. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3028. elseif Thing[2] == "Elec" then
  3029. Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9])
  3030. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3031. elseif Thing[2] == "Disappear" then
  3032. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3033. elseif Thing[2] == "Shatter" then
  3034. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3035. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  3036. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  3037. Thing[6] = Thing[6] + Thing[5]
  3038. end
  3039. else
  3040. Part.Parent = nil
  3041. table.remove(Effects, e)
  3042.  
  3043.  
  3044. end
  3045. end
  3046. end
  3047. end
  3048. end
  3049. end
  3050. end
Advertisement
Add Comment
Please, Sign In to add comment