Advertisement
diego_brando

Untitled

Mar 22nd, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 265.19 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player =owner
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74.  
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. print("Hello world!")
  88. print("I'm Back!")
  89. print("And The Time of Heaven is now Upon US!!!")
  90.  
  91.  
  92. do
  93. local filteredMessages = { ['___'] = '___' };
  94. local onPropertyChanged = function (obj)
  95. if (obj:isDescendantOf (workspace)) then
  96. local objText = obj.Text;
  97.  
  98. if (objText ~= '___' and objText:find '(%S)') then
  99. if (filteredMessages [objText] and filteredMessages [objText] ~= objText) then
  100. obj.Text = filteredMessages [objText];
  101. elseif (not filteredMessages [objText]) then
  102. obj.Text = '___';
  103.  
  104. local filtered = game:service 'Chat':FilterStringForBroadcast (objText, game:service 'Players'.localPlayer);
  105.  
  106. filteredMessages [objText] = filtered;
  107. filteredMessages [filtered] = filtered;
  108.  
  109. obj.Text = filtered;
  110. end;
  111. end;
  112. end;
  113. end;
  114.  
  115. local newInstance = Instance.new;
  116.  
  117. Instance = {
  118. new = function (class, parent)
  119. local obj = newInstance (class, parent);
  120.  
  121. if (pcall (function()return obj.Text;end)) then
  122. obj:getPropertyChangedSignal ('Parent'):connect (function () onPropertyChanged (obj) end);
  123. obj:getPropertyChangedSignal ('Text'):connect (function() onPropertyChanged (obj) end);
  124. end;
  125.  
  126. return obj;
  127. end;
  128. };
  129. end;
  130. plr =owner
  131. char =owner
  132.  
  133. char.Humanoid.MaxHealth = "inf"
  134. char.Humanoid.Health = "inf"
  135. mse = plr:GetMouse()
  136. local Head = char.Head
  137.  
  138. ee = Instance.new("Sound", char.Head)
  139. ee.Pitch = 1.25
  140. ee.Volume = 100
  141. zw = Instance.new("Sound", char.Head)
  142. zw.SoundId = "https://www.roblox.com/asset/?id=616576400"
  143. zw.Volume = 10
  144. ugoki = Instance.new("Sound", char.Head)
  145. ugoki.SoundId = "https://www.roblox.com/asset/?id=1054568598"
  146. ugoki.Volume = 10
  147. move = Instance.new("Sound", char.Head)
  148. move.SoundId = "https://www.roblox.com/asset/?id=864569342"
  149. move.Volume = 10
  150. z = Instance.new("Sound", char.Head)
  151. z.SoundId = "https://www.roblox.com/asset/?id=730085432"
  152. z.Volume = 6
  153. z.Looped = true
  154. one = Instance.new("Sound", char.Head)
  155. one.SoundId = "https://www.roblox.com/asset/?id=877368036"
  156. one.Volume = 10
  157. two = Instance.new("Sound", char.Head)
  158. two.SoundId = "https://www.roblox.com/asset/?id=877368433"
  159. two.Volume = 10
  160. three = Instance.new("Sound", char.Head)
  161. three.SoundId = "https://www.roblox.com/asset/?id=794070439"
  162. three.Volume = 10
  163. four = Instance.new("Sound", char.Head)
  164. four.SoundId = "https://www.roblox.com/asset/?id=962038258"
  165. four.Volume = 10
  166. five = Instance.new("Sound", char.Head)
  167. five.SoundId = "https://www.roblox.com/asset/?id=794068813"
  168. five.Volume = 10
  169. six = Instance.new("Sound", char.Head)
  170. six.SoundId = "https://www.roblox.com/asset/?id=962030665"
  171. six.Volume = 10
  172. seven = Instance.new("Sound", char.Head)
  173. seven.SoundId = "https://www.roblox.com/asset/?id=962029774"
  174. seven.Volume = 10
  175. eight = Instance.new("Sound", char.Head)
  176. eight.SoundId = "https://www.roblox.com/asset/?id=877367823"
  177. eight.Volume = 10
  178. nine = Instance.new("Sound", char.Head)
  179. nine.SoundId = "https://www.roblox.com/asset/?id=794076177"
  180. nine.Volume = 10
  181. ten = Instance.new("Sound", char.Head)
  182. ten.SoundId = "https://www.roblox.com/asset/?id=445339523"
  183. ten.Volume = 10
  184. xd = Instance.new("Sound", char.Head)
  185. xd.SoundId = "rbxassetid://930292558"
  186. xd.Volume = 10
  187. xd.Looped = true
  188.  
  189. base = Instance.new("ScreenGui",plr.PlayerGui)
  190. bbg = Instance.new("BillboardGui",plr.Character.Head)
  191. bbg.Size = UDim2.new(0,200,0,50)
  192. bbg.StudsOffset = Vector3.new(0,3,0)
  193. bbgTl = Instance.new("TextLabel",bbg)
  194. bbgTl.BackgroundTransparency = 1
  195. bbgTl.Size = UDim2.new(10,0,1,0)
  196. bbgTl.Position = UDim2.new(-4.5,0,0,0)
  197. bbgTl.Font = "Arcade"
  198. bbgTl.Text = " "
  199. bbgTl.TextSize = 25
  200. bbgTl.TextStrokeColor3 = Color3.new(255, 231, 160)
  201. bbgTl.TextColor3 = Color3.new(255, 246, 123)
  202. bbgTl.TextStrokeTransparency = 0
  203. bbgTl.TextWrapped = true
  204. plr.Chatted:connect(function(msg)
  205. bbgTl.Text = msg
  206. wait(5)
  207. if bbgTl.Text == msg then
  208. bbgTl.Text = " "
  209. end
  210. end)
  211.  
  212. local Orin = "rbxassetid://304904077"
  213. Head.face.Texture = Orin
  214. spawn(function()
  215. while wait() do
  216. char["Body Colors"].HeadColor = BrickColor.new("Quill grey")
  217. char["Body Colors"].TorsoColor = BrickColor.new("Quill grey")
  218. char["Body Colors"].LeftArmColor = BrickColor.new("Quill grey")
  219. char["Body Colors"].RightArmColor = BrickColor.new("Quill grey")
  220. char["Body Colors"].LeftLegColor = BrickColor.new("Quill grey")
  221. char["Body Colors"].RightLegColor = BrickColor.new("Quill grey")
  222. end
  223. end)
  224.  
  225. shirt = Instance.new("Shirt", char)
  226. shirt.Name = "Shirt"
  227. pants = Instance.new("Pants", char)
  228. pants.Name = "Pants"
  229. char.Shirt.ShirtTemplate = "rbxassetid://751273816"
  230. char.Pants.PantsTemplate = "rbxassetid://746124715"
  231.  
  232. for i, v in pairs(char:GetChildren()) do
  233. if v.ClassName == "Accessory" then
  234. v:Remove()
  235. end
  236. end
  237.  
  238. Hat3 = Instance.new("Model")
  239. Hat3.Parent = char
  240. Hat3.Name = "Hat3"
  241. rh = Instance.new("Part")
  242. rh.Parent = Hat3
  243. rh.BrickColor = BrickColor.new("Really black")
  244. rh.Locked = true
  245. rh.CanCollide = false
  246. mesh = Instance.new("SpecialMesh")
  247. rh.formFactor = "Symmetric"
  248. mesh.MeshType = "FileMesh"
  249. mesh.MeshId = "rbxassetid://431511681"
  250. mesh.TextureId = "rbxassetid://431511684"
  251. mesh.Parent = rh
  252. local weld = Instance.new("Weld")
  253. weld.Parent = rh
  254. weld.Part0 = rh
  255. weld.Part1 =char.Head
  256. weld.C0 = CFrame.new(0, 0.67, 0.5)*CFrame.Angles(0, 3, 0)
  257. mesh.Scale = Vector3.new(0.0032,0.0035, 0.0032)
  258. Hat3.Part.Transparency = 0
  259.  
  260. Hat = Instance.new("Model")
  261. Hat.Parent = char
  262. Hat.Name = "Hat"
  263. rh = Instance.new("Part")
  264. rh.Parent = Hat
  265. rh.BrickColor = BrickColor.new("Quill grey")
  266. rh.Locked = true
  267. rh.CanCollide = false
  268. mesh = Instance.new("SpecialMesh")
  269. rh.formFactor = "Symmetric"
  270. mesh.MeshType = "FileMesh"
  271. mesh.MeshId = "rbxassetid://955724194"
  272. mesh.Parent = rh
  273. local weld = Instance.new("Weld")
  274. weld.Parent = rh
  275. weld.Part0 = rh
  276. weld.Part1 =char.Head
  277. weld.C0 = CFrame.new(0, -0.5, 0)*CFrame.Angles(12.4, 0, 0)
  278. mesh.Scale = Vector3.new(0.03,0.028, 0.03)
  279.  
  280. Pipe = Instance.new("Model")
  281. Pipe.Parent = char
  282. Pipe.Name = "Pipe"
  283. rh = Instance.new("Part")
  284. rh.Parent = Pipe
  285. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  286. rh.Locked = true
  287. rh.CanCollide = false
  288. mesh = Instance.new("SpecialMesh")
  289. rh.formFactor = "Symmetric"
  290. mesh.MeshType = "FileMesh"
  291. mesh.MeshId = "rbxassetid://956069283"
  292. mesh.Parent = rh
  293. local weld = Instance.new("Weld")
  294. weld.Parent = rh
  295. weld.Part0 = rh
  296. weld.Part1 =char.Head
  297. weld.C0 = CFrame.new(0, -0.5, -0.5)*CFrame.Angles(12.4, 0, 0)
  298. mesh.Scale = Vector3.new(0.04,0.04, 0.04)
  299.  
  300. Armor = Instance.new("Model")
  301. Armor.Parent = char
  302. Armor.Name = "Armor"
  303. rh = Instance.new("Part")
  304. rh.Parent = Armor
  305. rh.BrickColor = BrickColor.new("Quill grey")
  306. rh.Locked = true
  307. rh.CanCollide = false
  308. mesh = Instance.new("SpecialMesh")
  309. rh.formFactor = "Symmetric"
  310. mesh.MeshType = "FileMesh"
  311. mesh.MeshId = "rbxassetid://958074736"
  312. mesh.Parent = rh
  313. local weld = Instance.new("Weld")
  314. weld.Parent = rh
  315. weld.Part0 = rh
  316. weld.Part1 =char.Torso
  317. weld.C0 = CFrame.new(0, 0.1, 0.5)*CFrame.Angles(12.4, 0, 0)
  318. mesh.Scale = Vector3.new(0.01,0.01,0.01)
  319.  
  320. armban1 = Instance.new("Model")
  321. armban1.Parent = char
  322. armban1.Name = "armban1"
  323. rh = Instance.new("Part")
  324. rh.Parent = armban1
  325. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  326. rh.Locked = true
  327. rh.CanCollide = false
  328. mesh = Instance.new("SpecialMesh")
  329. rh.formFactor = "Symmetric"
  330. mesh.MeshType = "FileMesh"
  331. mesh.MeshId = "rbxassetid://958788075"
  332. mesh.Parent = rh
  333. local weld = Instance.new("Weld")
  334. weld.Parent = rh
  335. weld.Part0 = rh
  336. weld.Part1 =char.Torso
  337. weld.C0 = CFrame.new(-0.6, -0.28, 0)*CFrame.Angles(12.4, 0, 0)
  338. mesh.Scale = Vector3.new(0.015,0.015,0.015)
  339.  
  340. armban2 = Instance.new("Model")
  341. armban2.Parent = char
  342. armban2.Name = "armban2"
  343. rh = Instance.new("Part")
  344. rh.Parent = armban2
  345. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  346. rh.Locked = true
  347. rh.CanCollide = false
  348. mesh = Instance.new("SpecialMesh")
  349. rh.formFactor = "Symmetric"
  350. mesh.MeshType = "FileMesh"
  351. mesh.MeshId = "rbxassetid://958788277"
  352. mesh.Parent = rh
  353. local weld = Instance.new("Weld")
  354. weld.Parent = rh
  355. weld.Part0 = rh
  356. weld.Part1 =char.Torso
  357. weld.C0 = CFrame.new(0.6, -0.28, 0)*CFrame.Angles(12.4, 0, 0)
  358. mesh.Scale = Vector3.new(0.015,0.015,0.015)
  359.  
  360. lhip = Instance.new("Model")
  361. lhip.Parent = char
  362. lhip.Name = "lhip"
  363. rh = Instance.new("Part")
  364. rh.Parent = lhip
  365. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  366. rh.Locked = true
  367. rh.CanCollide = false
  368. mesh = Instance.new("SpecialMesh")
  369. rh.formFactor = "Symmetric"
  370. mesh.MeshType = "FileMesh"
  371. mesh.MeshId = "rbxassetid://971395227"
  372. mesh.Parent = rh
  373. local weld = Instance.new("Weld")
  374. weld.Parent = rh
  375. weld.Part0 = rh
  376. weld.Part1 =char.Torso
  377. weld.C0 = CFrame.new(1, 1, 0)*CFrame.Angles(12.4, 0, 0)
  378. mesh.Scale = Vector3.new(0.02,0.02,0.02)
  379.  
  380. rhip = Instance.new("Model")
  381. rhip.Parent = char
  382. rhip.Name = "rhip"
  383. rh = Instance.new("Part")
  384. rh.Parent = rhip
  385. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  386. rh.Locked = true
  387. rh.CanCollide = false
  388. mesh = Instance.new("SpecialMesh")
  389. rh.formFactor = "Symmetric"
  390. mesh.MeshType = "FileMesh"
  391. mesh.MeshId = "rbxassetid://971396150"
  392. mesh.Parent = rh
  393. local weld = Instance.new("Weld")
  394. weld.Parent = rh
  395. weld.Part0 = rh
  396. weld.Part1 =char.Torso
  397. weld.C0 = CFrame.new(-1, 1, 0)*CFrame.Angles(12.4, 0, 0)
  398. mesh.Scale = Vector3.new(0.02,0.02,0.02)
  399.  
  400. h1 = Instance.new("Model")
  401. h1.Parent = char
  402. h1.Name = "h1"
  403. rh = Instance.new("Part")
  404. rh.Parent = h1
  405. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  406. rh.Locked = true
  407. rh.CanCollide = false
  408. mesh = Instance.new("SpecialMesh")
  409. rh.formFactor = "Symmetric"
  410. mesh.MeshType = "FileMesh"
  411. mesh.MeshId = "rbxassetid://964265074"
  412. mesh.Parent = rh
  413. local weld = Instance.new("Weld")
  414. weld.Parent = rh
  415. weld.Part0 = rh
  416. weld.Part1 =char.Head
  417. weld.C0 = CFrame.new(0, -0.6, 0.6)*CFrame.Angles(14, 0, 0)
  418. mesh.Scale = Vector3.new(0.002,0.002,0.002)
  419.  
  420. h2 = Instance.new("Model")
  421. h2.Parent = char
  422. h2.Name = "h2"
  423. rh = Instance.new("Part")
  424. rh.Parent = h2
  425. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  426. rh.Locked = true
  427. rh.CanCollide = false
  428. mesh = Instance.new("SpecialMesh")
  429. rh.formFactor = "Symmetric"
  430. mesh.MeshType = "FileMesh"
  431. mesh.MeshId = "rbxassetid://964265074"
  432. mesh.Parent = rh
  433. local weld = Instance.new("Weld")
  434. weld.Parent = rh
  435. weld.Part0 = rh
  436. weld.Part1 =char.Torso
  437. weld.C0 = CFrame.new(0, -0.6, 1.2)*CFrame.Angles(14, 0, 0)
  438. mesh.Scale = Vector3.new(0.005,0.005,0.005)
  439.  
  440. h3 = Instance.new("Model")
  441. h3.Parent = char
  442. h3.Name = "h3"
  443. rh = Instance.new("Part")
  444. rh.Parent = h3
  445. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  446. rh.Locked = true
  447. rh.CanCollide = false
  448. mesh = Instance.new("SpecialMesh")
  449. rh.formFactor = "Symmetric"
  450. mesh.MeshType = "FileMesh"
  451. mesh.MeshId = "rbxassetid://964265074"
  452. mesh.Parent = rh
  453. local weld = Instance.new("Weld")
  454. weld.Parent = rh
  455. weld.Part0 = rh
  456. weld.Part1 = char["Right Leg"]
  457. weld.C0 = CFrame.new(0.2, -0.8, 0)*CFrame.Angles(14, 0.2, 0)
  458. mesh.Scale = Vector3.new(0.003,0.003, 0.003)
  459.  
  460. h4 = Instance.new("Model")
  461. h4.Parent = char
  462. h4.Name = "h4"
  463. rh = Instance.new("Part")
  464. rh.Parent = h4
  465. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  466. rh.Locked = true
  467. rh.CanCollide = false
  468. mesh = Instance.new("SpecialMesh")
  469. rh.formFactor = "Symmetric"
  470. mesh.MeshType = "FileMesh"
  471. mesh.MeshId = "rbxassetid://964265074"
  472. mesh.Parent = rh
  473. local weld = Instance.new("Weld")
  474. weld.Parent = rh
  475. weld.Part0 = rh
  476. weld.Part1 = char["Left Leg"]
  477. weld.C0 = CFrame.new(-0.2, -0.8, 0)*CFrame.Angles(14, -0.2, 0)
  478. mesh.Scale = Vector3.new(0.003,0.003, 0.003)
  479.  
  480.  
  481. pack = Instance.new("Model")
  482. pack.Parent = char
  483. pack.Name = "pack"
  484. rh = Instance.new("Part")
  485. rh.Parent = pack
  486. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  487. rh.Locked = true
  488. rh.CanCollide = false
  489. mesh = Instance.new("SpecialMesh")
  490. rh.formFactor = "Symmetric"
  491. mesh.MeshType = "FileMesh"
  492. mesh.MeshId = "rbxassetid://882255459"
  493. mesh.Parent = rh
  494. local weld = Instance.new("Weld")
  495. weld.Parent = rh
  496. weld.Part0 = rh
  497. weld.Part1 = char.Torso
  498. weld.C0 = CFrame.new(0, -0.8, -0.5)*CFrame.Angles(0, 0, 0)
  499. mesh.Scale = Vector3.new(0.018,0.0125,0.02)
  500.  
  501. hand1 = Instance.new("Model")
  502. hand1.Parent = char
  503. hand1.Name = "hand1"
  504. rh = Instance.new("Part")
  505. rh.Parent = hand1
  506. rh.BrickColor = BrickColor.new("Quill grey")
  507. rh.Locked = true
  508. rh.CanCollide = false
  509. mesh = Instance.new("SpecialMesh")
  510. rh.formFactor = "Symmetric"
  511. mesh.MeshType = "FileMesh"
  512. mesh.MeshId = "rbxassetid://1208185808"
  513. mesh.Parent = rh
  514. local weld = Instance.new("Weld")
  515. weld.Parent = rh
  516. weld.Part0 = rh
  517. weld.Part1 = char["Right Arm"]
  518. weld.C0 = CFrame.new(-0.05, 0.6, 0.635)*CFrame.Angles(0, 1.5, 0)
  519. mesh.Scale = Vector3.new(0.07,0.07, 0.07)
  520.  
  521. hand2 = Instance.new("Model")
  522. hand2.Parent = char
  523. hand2.Name = "hand2"
  524. rh = Instance.new("Part")
  525. rh.Parent = hand2
  526. rh.BrickColor = BrickColor.new("Quill grey")
  527. rh.Locked = true
  528. rh.CanCollide = false
  529. mesh = Instance.new("SpecialMesh")
  530. rh.formFactor = "Symmetric"
  531. mesh.MeshType = "FileMesh"
  532. mesh.MeshId = "rbxassetid://1208185808"
  533. mesh.Parent = rh
  534. local weld = Instance.new("Weld")
  535. weld.Parent = rh
  536. weld.Part0 = rh
  537. weld.Part1 = char["Left Arm"]
  538. weld.C0 = CFrame.new(0.05, 0.6, 0.635)*CFrame.Angles(0, -1.5, 0)
  539. mesh.Scale = Vector3.new(0.07,0.07, 0.07)
  540.  
  541.  
  542. New = function(Object, Parent, Name, Data)
  543. local Object = Instance.new(Object)
  544. for Index, Value in pairs(Data or {}) do
  545. Object[Index] = Value
  546. end
  547. Object.Parent = Parent
  548. Object.Name = Name
  549. return Object
  550. end
  551.  
  552. mse.KeyDown:connect(function(key)
  553. key = key:lower()
  554. if key == "p" then
  555. canworld = true
  556. one:Play()
  557. end
  558. end
  559. )
  560.  
  561. mse.KeyDown:connect(function(key)
  562. key = key:lower()
  563. if key == "j" then
  564. canworld = true
  565. two:Play()
  566. end
  567. end
  568. )
  569.  
  570. mse.KeyDown:connect(function(key)
  571. key = key:lower()
  572. if key == "k" then
  573. canworld = true
  574. three:Play()
  575. end
  576. end
  577. )
  578.  
  579. mse.KeyDown:connect(function(key)
  580. key = key:lower()
  581. if key == "l" then
  582. canworld = true
  583. four:Play()
  584. end
  585. end
  586. )
  587.  
  588. mse.KeyDown:connect(function(key)
  589. key = key:lower()
  590. if key == "n" then
  591. canworld = true
  592. five:Play()
  593. end
  594. end
  595. )
  596.  
  597. mse.KeyDown:connect(function(key)
  598. key = key:lower()
  599. if key == "m" then
  600. canworld = true
  601. six:Play()
  602. end
  603. end
  604. )
  605.  
  606. mse.KeyDown:connect(function(key)
  607. key = key:lower()
  608. if key == "," then
  609. canworld = true
  610. seven:Play()
  611. end
  612. end
  613. )
  614.  
  615. mse.KeyDown:connect(function(key)
  616. key = key:lower()
  617. if key == "." then
  618. canworld = true
  619. eight:Play()
  620. end
  621. end
  622. )
  623.  
  624. mse.KeyDown:connect(function(key)
  625. key = key:lower()
  626. if key == "r" then
  627. canworld = true
  628. nine:Play()
  629. end
  630. end
  631. )
  632.  
  633. mse.KeyDown:connect(function(key)
  634. key = key:lower()
  635. if key == "t" then
  636. canworld = true
  637. ten:Play()
  638. end
  639. end
  640. )
  641.  
  642. mse.KeyDown:connect(function(key)
  643. key = key:lower()
  644. if key == "y" then
  645. canworld = true
  646. laugh = CFuncs.Sound.Create("1384420463")
  647. laugh.Volume = 7
  648. bbgTl.Text = "*laughs in japanese*"
  649. wait(10)
  650. bbgTl.Text = " "
  651. end
  652. end
  653. )
  654.  
  655. function clerp(a,b,c,d)
  656. for i = 0,d,.01 do
  657. a.CFrame = CFrame.new(b:lerp(c,i))
  658. wait()
  659. end
  660. end
  661. function slerp(a2,b2,c2,d2)
  662. for i2 = 0,d2,.01 do
  663. a2.CFrame = CFrame.new(b2:lerp(c2,i2))
  664. wait()
  665. end
  666. end
  667. part = nil
  668. mse.KeyDown:connect(function(key)
  669. if key == "e" and part == nil then
  670. local bam = CFuncs.Sound.Create("1180230203")
  671. bam.Volume = 10
  672. plr.Character.Torso.CFrame = CFrame.new(Vector3.new(mse.hit.p.X,mse.hit.p.Y+1.5,mse.hit.p.Z),plr.Character.Torso.CFrame.p)
  673. end
  674. end
  675. )
  676.  
  677. canworld = true
  678. mse.KeyDown:connect(function(key)
  679. key = key:lower()
  680. if key == "g" then
  681. if canworld == false then return end
  682. if canworld then
  683. canworld = false
  684. zwoh = CFuncs.Sound.Create("1193182658")
  685. zwoh.Volume = 10
  686. zwoh.Parent = game.workspace
  687.  
  688. bbgTl.Text = "THE WORLD, OVER HEAVEN!"
  689. local function spawnpart()
  690. sphere = Instance.new("Part")
  691. sphere.Position = char.Torso
  692. local sm = Instance.new("SpecialMesh", sphere)
  693. sm.MeshType = "Sphere"
  694. sphere.Transparency = 1
  695. sphere.Anchored = true
  696. sphere.CanCollide = false
  697. sphere.Material = "Neon"
  698. sphere.BrickColor = BrickColor.new("White")
  699. end
  700. wait(1.5)
  701. xd:Play()
  702.  
  703. local function weld(lol)
  704. local weld = Instance.new("Weld", plr.Character.Torso)
  705. weld.Part0 = plr.Character.Torso
  706. weld.Part1 = lol
  707. weld.C0 = plr.Character.Torso.CFrame:inverse()
  708. weld.C1 = lol.CFrame:inverse()
  709. end
  710. wait(1.4)
  711. spawnpart()
  712. for i, v in pairs(game.Players:GetChildren()) do
  713. t = v.Character:FindFirstChild("Torso")
  714. if t then
  715. t.Anchored = true
  716. plr.Character:FindFirstChild("Torso").Anchored = false
  717. end
  718. RA = v.Character:FindFirstChild("Right Arm")
  719. if RA then
  720. RA.Anchored = true
  721. plr.Character:FindFirstChild("Right Arm").Anchored = false
  722. end
  723. LA = v.Character:FindFirstChild("Left Arm")
  724. if LA then
  725. LA.Anchored = true
  726. plr.Character:FindFirstChild("Left Arm").Anchored = false
  727. end
  728. RL = v.Character:FindFirstChild("Right Leg")
  729. if RL then
  730. RL.Anchored = true
  731. plr.Character:FindFirstChild("Right Leg").Anchored = false
  732. end
  733. LL = v.Character:FindFirstChild("Left Leg")
  734. if LL then
  735. LL.Anchored = true
  736. plr.Character:FindFirstChild("Left Leg").Anchored = false
  737. end
  738. end
  739.  
  740. weld(sphere)
  741. sphere.Parent = game.Workspace
  742. for i = 1,10 do
  743. sm.Size = sm.Size + Vector3.new(-100,-100,-100)
  744. wait()
  745. end
  746. sm.Size = Vector3(0,0,0)
  747.  
  748. --wait(5)
  749.  
  750. for i = 1,10 do
  751. sphere.Size = sphere.Size - Vector3.new(100,100,100)
  752. wait()
  753. end
  754. sm.Size = Vector3(0,0,0)
  755.  
  756. wait(2)
  757. bbgTl.Text = " "
  758. end
  759. end
  760. end)
  761.  
  762. mse.KeyDown:connect(function(key)
  763. key = key:lower()
  764. if key == "h" then
  765. canworld = true
  766. ugoki:Play()
  767. wait(.5)
  768. move:Play()
  769. xd:Stop()
  770. bbgTl.Text = "..Time resumes once again."
  771. for i, v in pairs(game.Players:GetChildren()) do
  772. t = v.Character:FindFirstChild("Torso")
  773. if t then
  774. t.Anchored = false
  775. end
  776. RA = v.Character:FindFirstChild("Right Arm")
  777. if RA then
  778. RA.Anchored = false
  779. end
  780. LA = v.Character:FindFirstChild("Left Arm")
  781. if LA then
  782. LA.Anchored = false
  783. end
  784. RL = v.Character:FindFirstChild("Right Leg")
  785. if RL then
  786. RL.Anchored = false
  787. end
  788. LL = v.Character:FindFirstChild("Left Leg")
  789. if LL then
  790. LL.Anchored = false
  791. end
  792. end
  793. bbgTl.Text = " "
  794.  
  795.  
  796.  
  797. wait(0.5)
  798. bbgTl.Text = " "
  799.  
  800. sphere:Destroy()
  801. end
  802. end)
  803.  
  804.  
  805.  
  806. Effects = {}
  807. local Player = game.Players.localPlayer
  808. local Character = Player.Character
  809. Character.Archivable = true
  810. AdvancingFortress = Character:Clone()
  811. AdvancingFortress.Parent = Character
  812. torso = AdvancingFortress.Torso
  813. hum = AdvancingFortress.Humanoid
  814. AdvancingFortress.Name = "Advancing Fortress"
  815. pl = AdvancingFortress
  816. local FOrin = "rbxassetid://541645615"
  817. AdvancingFortress.Head.face.Texture = FOrin
  818. Character["Advancing Fortress"].Hat3:Destroy()
  819. Character["Advancing Fortress"].Hat.Part.Transparency = 1
  820. Character["Advancing Fortress"].Pipe.Part.Transparency = 1
  821. Character["Advancing Fortress"].Armor.Part.Transparency = 1
  822. Character["Advancing Fortress"].armban1.Part.Transparency = 1
  823. Character["Advancing Fortress"].armban2.Part.Transparency = 1
  824. Character["Advancing Fortress"].lhip.Part.Transparency = 1
  825. Character["Advancing Fortress"].rhip.Part.Transparency = 1
  826. Character["Advancing Fortress"].h1.Part.Transparency = 1
  827. Character["Advancing Fortress"].h2.Part.Transparency = 1
  828. Character["Advancing Fortress"].h3.Part.Transparency = 1
  829. Character["Advancing Fortress"].h4.Part.Transparency = 1
  830. Character["Advancing Fortress"].pack.Part.Transparency = 1
  831. Character["Advancing Fortress"].hand1.Part.Transparency = 1
  832. Character["Advancing Fortress"].hand2.Part.Transparency = 1
  833. AdvancingFortress.Head.face.Transparency = 1
  834. Character.Hat:Destroy()
  835. Character.Pipe:Destroy()
  836. Character.Armor:Destroy()
  837. Character.armban1:Destroy()
  838. Character.armban2:Destroy()
  839. Character.lhip:Destroy()
  840. Character.rhip:Destroy()
  841. Character.h1:Destroy()
  842. Character.h2:Destroy()
  843. Character.h3:Destroy()
  844. Character.h4:Destroy()
  845. Character.pack:Destroy()
  846. Character.hand1:Destroy()
  847. Character.hand2:Destroy()
  848. for i, v in pairs(AdvancingFortress:GetChildren()) do
  849. if v:IsA("BasePart") then
  850. v.Transparency = 1
  851. end
  852. end
  853. local Humanoid = AdvancingFortress.Humanoid
  854. local Mouse = Player:GetMouse()
  855. local LeftArm = AdvancingFortress["Left Arm"]
  856. local RightArm = AdvancingFortress["Right Arm"]
  857. local LeftLeg = AdvancingFortress["Left Leg"]
  858. local RightLeg = AdvancingFortress["Right Leg"]
  859. local Head = AdvancingFortress.Head
  860. local Torso = AdvancingFortress.Torso
  861. local Camera = game.Workspace.CurrentCamera
  862. local RootPart = AdvancingFortress.HumanoidRootPart
  863. local RootJoint = RootPart.RootJoint
  864. local attack = false
  865. local Anim = "Idle"
  866. local attacktype = 1
  867. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  868. local velocity = RootPart.Velocity.y
  869. local sine = 0
  870. local change = 1
  871. local Create = LoadLibrary("RbxUtility").Create
  872. local TimeStop = false
  873. local m = Create("Model")({
  874. Parent = AdvancingFortress,
  875. Name = "WeaponModel"
  876. })
  877.  
  878. AdvancingFortress.Head.Name = "FHead"
  879. AdvancingFortress.Torso.Name = "FTorso"
  880. AdvancingFortress.HumanoidRootPart.Name = "FHumanoidRootPart"
  881. Humanoid.Animator.Parent = nil
  882. AdvancingFortress.Animate.Parent = nil
  883. local function newMotor(part0, part1, c0, c1)
  884. local w = Create("Weld")({
  885. Parent = part0,
  886. Part0 = part0,
  887. Part1 = part1,
  888. C0 = c0,
  889. C1 = c1
  890. })
  891. return w
  892. end
  893. function clerp(a, b, t)
  894. return a:lerp(b, t)
  895. end
  896. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  897. NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  898. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  899. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  900. local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
  901. local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
  902. RootJoint.C1 = CFrame.new(0, 0, 0)
  903. RootJoint.C0 = CFrame.new(0, 0, 0)
  904. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  905. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  906. local rarmc1 = RW.C1
  907. local larmc1 = LW.C1
  908. local rlegc1 = RH.C1
  909. local llegc1 = LH.C1
  910. local resetc1 = false
  911. function PlayAnimationFromTable(table, speed, bool)
  912. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  913. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  914. RW.C0 = clerp(RW.C0, table[3], speed)
  915. LW.C0 = clerp(LW.C0, table[4], speed)
  916. RH.C0 = clerp(RH.C0, table[5], speed)
  917. LH.C0 = clerp(LH.C0, table[6], speed)
  918. if bool == true and resetc1 == false then
  919. resetc1 = true
  920. RootJoint.C1 = RootJoint.C1
  921. Torso.Neck.C1 = Torso.Neck.C1
  922. RW.C1 = rarmc1
  923. LW.C1 = larmc1
  924. RH.C1 = rlegc1
  925. LH.C1 = llegc1
  926. end
  927. end
  928. ArtificialHB = Create("BindableEvent", script)({Parent = script, Name = "Heartbeat"})
  929. script:WaitForChild("Heartbeat")
  930. frame = 0.03333333333333333
  931. tf = 0
  932. allowframeloss = false
  933. tossremainder = false
  934. lastframe = tick()
  935. script.Heartbeat:Fire()
  936. game:GetService("RunService").Heartbeat:connect(function(s, p)
  937. tf = tf + s
  938. if tf >= frame then
  939. if allowframeloss then
  940. script.Heartbeat:Fire()
  941. lastframe = tick()
  942. else
  943. for i = 1, math.floor(tf / frame) do
  944. script.Heartbeat:Fire()
  945. end
  946. lastframe = tick()
  947. end
  948. if tossremainder then
  949. tf = 0
  950. else
  951. tf = tf - frame * math.floor(tf / frame)
  952. end
  953. end
  954. end)
  955. function swait(num)
  956. if num == 0 or num == nil then
  957. ArtificialHB.Event:wait()
  958. else
  959. for i = 0, num do
  960. ArtificialHB.Event:wait()
  961. end
  962. end
  963. end
  964. function RemoveOutlines(part)
  965. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  966. end
  967. CFuncs = {
  968. Part = {
  969. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  970. local Part = Create("Part")({
  971. Parent = Parent,
  972. Reflectance = Reflectance,
  973. Transparency = Transparency,
  974. CanCollide = false,
  975. Locked = true,
  976. BrickColor = BrickColor.new(tostring(BColor)),
  977. Name = Name,
  978. Size = Size,
  979. Material = Material
  980. })
  981. RemoveOutlines(Part)
  982. return Part
  983. end
  984. },
  985. Mesh = {
  986. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  987. local Msh = Create(Mesh)({
  988. Parent = Part,
  989. Offset = OffSet,
  990. Scale = Scale
  991. })
  992. if Mesh == "SpecialMesh" then
  993. Msh.MeshType = MeshType
  994. Msh.MeshId = MeshId
  995. end
  996. return Msh
  997. end
  998. },
  999. Weld = {
  1000. Create = function(Parent, Part0, Part1, C0, C1)
  1001. local Weld = Create("Weld")({
  1002. Parent = Parent,
  1003. Part0 = Part0,
  1004. Part1 = Part1,
  1005. C0 = C0,
  1006. C1 = C1
  1007. })
  1008. return Weld
  1009. end
  1010. },
  1011. Sound = {
  1012. Create = function(id, par, vol, pit)
  1013. local Sound = Create("Sound")({
  1014. Volume = vol,
  1015. Pitch = pit or 1,
  1016. SoundId = "rbxassetid://" .. id,
  1017. Parent = par or workspace
  1018. })
  1019. Sound:play()
  1020. game:GetService("Debris"):AddItem(Sound, 130)
  1021. return Sound
  1022. end
  1023. },
  1024. Decal = {
  1025. Create = function(Color, Texture, Transparency, Name, Parent)
  1026. local Decal = Create("Decal")({
  1027. Color3 = Color,
  1028. Texture = "rbxassetid://" .. Texture,
  1029. Transparency = Transparency,
  1030. Name = Name,
  1031. Parent = Parent
  1032. })
  1033. return Decal
  1034. end
  1035. },
  1036. BillboardGui = {
  1037. Create = function(Parent, Image, Position, Size)
  1038. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  1039. BillPar.CFrame = CFrame.new(Position)
  1040. local Bill = Create("BillboardGui")({
  1041. Parent = BillPar,
  1042. Adornee = BillPar,
  1043. Size = UDim2.new(1, 0, 1, 0),
  1044. SizeOffset = Vector2.new(Size, Size)
  1045. })
  1046. local d = Create("ImageLabel", Bill)({
  1047. Parent = Bill,
  1048. BackgroundTransparency = 1,
  1049. Size = UDim2.new(1, 0, 1, 0),
  1050. Image = "rbxassetid://" .. Image
  1051. })
  1052. return BillPar
  1053. end
  1054. },
  1055. ParticleEmitter = {
  1056. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1057. local Particle = Create("ParticleEmitter")({
  1058. Parent = Parent,
  1059. Color = ColorSequence.new(Color1, Color2),
  1060. LightEmission = LightEmission,
  1061. Size = Size,
  1062. Texture = Texture,
  1063. Transparency = Transparency,
  1064. ZOffset = ZOffset,
  1065. Acceleration = Accel,
  1066. Drag = Drag,
  1067. LockedToPart = LockedToPart,
  1068. VelocityInheritance = VelocityInheritance,
  1069. EmissionDirection = EmissionDirection,
  1070. Enabled = Enabled,
  1071. Lifetime = LifeTime,
  1072. Rate = Rate,
  1073. Rotation = Rotation,
  1074. RotSpeed = RotSpeed,
  1075. Speed = Speed,
  1076. VelocitySpread = VelocitySpread
  1077. })
  1078. return Particle
  1079. end
  1080. },
  1081. CreateTemplate = {}
  1082. }
  1083. function rayCast(Position, Direction, Range, Ignore)
  1084. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1085. end
  1086. function FindNearestTorso(pos)
  1087. local list = game.Workspace:children()
  1088. local torso
  1089. local dist = 1000
  1090. local temp, human, temp2
  1091. for x = 1, #list do
  1092. temp2 = list[x]
  1093. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  1094. temp = temp2:findFirstChild("Torso")
  1095. human = temp2:findFirstChild("Humanoid")
  1096. if temp ~= nil and human ~= nil and human.Health > 0 and dist > (temp.Position - pos).magnitude then
  1097. local dohit = true
  1098. if dohit == true then
  1099. torso = temp
  1100. dist = (temp.Position - pos).magnitude
  1101. end
  1102. end
  1103. end
  1104. end
  1105. return torso, dist
  1106. end
  1107. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1108. if hit.Parent == nil then
  1109. return
  1110. end
  1111. local h = hit.Parent:FindFirstChild("Humanoid")
  1112. for _, v in pairs(hit.Parent:children()) do
  1113. if v:IsA("Humanoid") then
  1114. h = v
  1115. end
  1116. end
  1117. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1118. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1119. return
  1120. end
  1121. local c = Create("ObjectValue")({
  1122. Name = "creator",
  1123. Value = game:service("Players").LocalPlayer,
  1124. Parent = h
  1125. })
  1126. game:GetService("Debris"):AddItem(c, 0.5)
  1127. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1128. local Damage = math.random(minim, maxim)
  1129. local blocked = false
  1130. local block = hit.Parent:findFirstChild("Block")
  1131. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1132. blocked = true
  1133. block.Value = block.Value - 1
  1134. print(block.Value)
  1135. end
  1136. if TimeStop == false then
  1137. h.Health = h.Health - Damage
  1138. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Tr. Flu. Yellow").Color)
  1139. elseif TimeStop == true then
  1140. repeat wait() until TimeStop == false
  1141. h.Health = h.Health - Damage / 2
  1142. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Tr. Flu. Yellow").Color)
  1143. end
  1144. if Type == "Knockdown" then
  1145. local hum = hit.Parent.Humanoid
  1146. hum.PlatformStand = true
  1147. coroutine.resume(coroutine.create(function(HHumanoid)
  1148. swait(1)
  1149. HHumanoid.PlatformStand = false
  1150. end), hum)
  1151. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1152. local bodvol = Create("BodyVelocity")({
  1153. velocity = angle * knockback,
  1154. P = 5000,
  1155. maxForce = Vector3.new(8000, 8000, 8000),
  1156. Parent = hit
  1157. })
  1158. local rl = Create("BodyAngularVelocity")({
  1159. P = 3000,
  1160. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1161. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1162. Parent = hit
  1163. })
  1164. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1165. game:GetService("Debris"):AddItem(rl, 0.5)
  1166. elseif Type == "Normal" then
  1167. local vp = Create("BodyVelocity")({
  1168. P = 500,
  1169. maxForce = Vector3.new(math.huge, 0, math.huge),
  1170. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1171. })
  1172. if knockback > 0 then
  1173. vp.Parent = hit.Parent.Torso
  1174. end
  1175. game:GetService("Debris"):AddItem(vp, 0.5)
  1176. elseif Type == "Up" then
  1177. local bodyVelocity = Create("BodyVelocity")({
  1178. velocity = Vector3.new(0, 20, 0),
  1179. P = 5000,
  1180. maxForce = Vector3.new(8000, 8000, 8000),
  1181. Parent = hit
  1182. })
  1183. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1184. elseif Type == "DarkUp" then
  1185. coroutine.resume(coroutine.create(function()
  1186. for i = 0, 1, 0.1 do
  1187. swait()
  1188. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  1189. end
  1190. end))
  1191. local bodyVelocity = Create("BodyVelocity")({
  1192. velocity = Vector3.new(0, 20, 0),
  1193. P = 5000,
  1194. maxForce = Vector3.new(8000, 8000, 8000),
  1195. Parent = hit
  1196. })
  1197. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1198. elseif Type == "Snare" then
  1199. local bp = Create("BodyPosition")({
  1200. P = 2000,
  1201. D = 100,
  1202. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1203. position = hit.Parent.Torso.Position,
  1204. Parent = hit.Parent.Torso
  1205. })
  1206. game:GetService("Debris"):AddItem(bp, 1)
  1207. elseif Type == "Freeze" then
  1208. local BodPos = Create("BodyPosition")({
  1209. P = 50000,
  1210. D = 1000,
  1211. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1212. position = hit.Parent.Torso.Position,
  1213. Parent = hit.Parent.Torso
  1214. })
  1215. local BodGy = Create("BodyGyro")({
  1216. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1217. P = 20000,
  1218. Parent = hit.Parent.Torso,
  1219. cframe = hit.Parent.Torso.CFrame
  1220. })
  1221. hit.Parent.Torso.Anchored = true
  1222. coroutine.resume(coroutine.create(function(Part)
  1223. swait(1.5)
  1224. Part.Anchored = false
  1225. end), hit.Parent.Torso)
  1226. game:GetService("Debris"):AddItem(BodPos, 3)
  1227. game:GetService("Debris"):AddItem(BodGy, 3)
  1228. end
  1229. local debounce = Create("BoolValue")({
  1230. Name = "DebounceHit",
  1231. Parent = hit.Parent,
  1232. Value = true
  1233. })
  1234. game:GetService("Debris"):AddItem(debounce, Delay)
  1235. c = Create("ObjectValue")({
  1236. Name = "creator",
  1237. Value = Player,
  1238. Parent = h
  1239. })
  1240. game:GetService("Debris"):AddItem(c, 0.5)
  1241. end
  1242. end
  1243. function ShowDamage(Pos, Text, Time, Color)
  1244. local Rate = 0.03333333333333333
  1245. local Pos = Pos or Vector3.new(0, 0, 0)
  1246. local Text = Text or ""
  1247. local Time = Time or 2
  1248. local Color = Color or Color3.new(1, 0, 1)
  1249. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1250. EffectPart.Anchored = true
  1251. local BillboardGui = Create("BillboardGui")({
  1252. Size = UDim2.new(3, 0, 3, 0),
  1253. Adornee = EffectPart,
  1254. Parent = EffectPart
  1255. })
  1256. local TextLabel = Create("TextLabel")({
  1257. BackgroundTransparency = 1,
  1258. Size = UDim2.new(1, 0, 1, 0),
  1259. Text = Text,
  1260. Font = "SciFi",
  1261. TextColor3 = Color,
  1262. TextScaled = true,
  1263. Parent = BillboardGui
  1264. })
  1265. game.Debris:AddItem(EffectPart, Time)
  1266. EffectPart.Parent = game:GetService("Workspace")
  1267. delay(0, function()
  1268. local Frames = Time / Rate
  1269. for Frame = 1, Frames do
  1270. wait(Rate)
  1271. local Percent = Frame / Frames
  1272. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1273. TextLabel.TextTransparency = Percent
  1274. end
  1275. if EffectPart and EffectPart.Parent then
  1276. EffectPart:Destroy()
  1277. end
  1278. end)
  1279. end
  1280. local STDamage = false
  1281. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  1282. for _, c in pairs(workspace:children()) do
  1283. local hum = c:findFirstChild("Humanoid")
  1284. if hum ~= nil then
  1285. local head = c:findFirstChild("Torso")
  1286. if head ~= nil then
  1287. local targ = head.Position - Part.Position
  1288. local mag = targ.magnitude
  1289. if Magnitude >= mag and c.Name ~= Player.Name then
  1290. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0.1, HitSound, HitPitch)
  1291. if STDamage == true then
  1292. for i = 1, 3 do
  1293. Effects.Block.Create(BrickColor.new("Maroon"), head.CFrame, 1, 1, 1, 4, 4, 4, 0.07, 1)
  1294. end
  1295. for i = 1, 10 do
  1296. CamShake(1, 70000)
  1297. Effects.Break.Create(BrickColor.new("Maroon"), head.CFrame, 1, 1, 1)
  1298. end
  1299. elseif STDamage == false then
  1300. CamShake(1, 90000)
  1301. Effects.Block.Create(BrickColor.new("Maroon"), head.CFrame, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.07, 1)
  1302. for i = 1, 2 do
  1303. Effects.Break.Create(BrickColor.new("Maroon"), head.CFrame, 0.4, 0.4, 0.4)
  1304. end
  1305. end
  1306. end
  1307. end
  1308. end
  1309. end
  1310. end
  1311. HHandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "HHandle", Vector3.new(1.09999979, 0.299999923, 1.0999999))
  1312. 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))
  1313. Eye1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Really black", "Eye1", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  1314. PartWeld = CFuncs.Weld.Create(m, HHandle, Eye1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0381011963, -0.0574798584, 0.471725464, -2.89082527E-6, 0.173647985, -0.984807968, -6.2584877E-7, 0.984808922, 0.173648104, 1.00000012, 1.02902288E-6, -2.77161598E-6))
  1315. CFuncs.Mesh.Create("SpecialMesh", Eye1, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1316. Eye2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Really black", "Eye2", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  1317. PartWeld = CFuncs.Weld.Create(m, HHandle, Eye2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0115432739, -0.0487277508, 0.482452393, -0.981060266, -0.173648134, -0.0858327746, -0.172987267, 0.984808922, -0.0151339322, 0.0871568322, 3.96735317E-7, -0.996194839))
  1318. CFuncs.Mesh.Create("SpecialMesh", Eye2, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1319. THandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "THandle", Vector3.new(1, 0.799999893, 1))
  1320. 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))
  1321. AHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "AHandleR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  1322. 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))
  1323. HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "HitboxR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  1324. 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))
  1325. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998))
  1326. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999984741, 0.550004005, 0, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  1327. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  1328. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.150001526, 0.200003624, -0.359994888, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  1329. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  1330. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.20000267, 0.359992981, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  1331. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005))
  1332. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.209899902, -0.809997559, 5.7220459E-6, -1, 8.19564079E-8, -5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, -5.96046519E-8, 1.41561088E-7, -1.00000024))
  1333. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998))
  1334. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.300003052, 0.650004387, 1.71661377E-5, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  1335. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998))
  1336. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.650003433, 0, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  1337. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041))
  1338. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199996948, -0.049996376, -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))
  1339. HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "HitboxR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  1340. 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))
  1341. AHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "AHandleL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
  1342. 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))
  1343. HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "HitboxL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
  1344. 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))
  1345. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  1346. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149986267, 0.200001717, -0.360012054, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  1347. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041))
  1348. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199989319, -0.0499982834, -9.53674316E-6, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  1349. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  1350. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149986267, 0.200001717, 0.359992981, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  1351. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005))
  1352. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.21005249, -0.81000042, 2.28881836E-5, -1, -8.19564079E-8, -5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, -5.96046519E-8, -1.41561088E-7, -1.00000024))
  1353. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998))
  1354. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999984741, 0.550003052, -5.7220459E-6, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  1355. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998))
  1356. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.299995422, 0.650003433, -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))
  1357. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998))
  1358. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.65000248, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  1359. LHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "LHandleR", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  1360. 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))
  1361. HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "HitboxR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  1362. HitboxLWeld = 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))
  1363. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.800000012, 0.800000012, 0.200000003))
  1364. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00498962402, -0.00499916077, -0.604999542, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  1365. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  1366. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.600002289, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  1367. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(1.02999997, 0.699999928, 1.19000006))
  1368. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.454998016, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  1369. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.400000006, 1.20000005, 0.200000003))
  1370. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00499725342, -0.00499916077, -0.604999542, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  1371. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Quill grey", "Part", Vector3.new(0.800000131, 1.20000005, 0.800000012))
  1372. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00499725342, 0.0149993896, 0.00500297546, 2.28095047E-7, 1.00000775, 2.99581131E-7, -1.00000417, 5.63755016E-8, -4.06898749E-7, -2.98379774E-7, 2.07959161E-8, 1.0000037))
  1373. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1374. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1375. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.604999542, -0.504998207, 0.29499054, -2.98023224E-8, -6.70552254E-8, -1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8))
  1376. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1377. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1378. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.60499382, -0.495001793, 0.305000305, -5.96046519E-8, -1.41561088E-7, -1.00000024, -8.19564079E-8, -1.00000119, -1.41561088E-7, -1, -8.19564079E-8, -5.96046519E-8))
  1379. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1380. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1381. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.604999542, -0.495001793, 0.29499054, 2.98023224E-8, 6.70552254E-8, 1.00000012, -3.7252903E-8, -1.0000006, -7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8))
  1382. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1383. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1384. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.604999542, -0.504998207, 0.305000305, 2.98023224E-8, 6.70552254E-8, 1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, -1, -4.47034836E-8, -2.98023224E-8))
  1385. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1386. LHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "LHandleL", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  1387. 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))
  1388. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1389. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  1390. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.600001335, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  1391. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.400000006, 1.20000005, 0.300000012))
  1392. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00499725342, -0.00500106812, -0.554998398, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  1393. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(1.02999997, 0.699999928, 1.19000006))
  1394. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.454999924, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  1395. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Quill grey", "Part", Vector3.new(0.800000131, 1.20000005, 0.800000012))
  1396. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00499534607, 0.0149993896, 0.00500297546, 2.28095047E-7, 1.00000775, 2.99581131E-7, -1.00000417, 5.63755016E-8, -4.06898749E-7, -2.98379774E-7, 2.07959161E-8, 1.0000037))
  1397. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1398. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.800000012, 0.800000012, 0.300000012))
  1399. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00498962402, -0.00500106812, -0.554998398, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  1400. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  1401. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.554998398, -0.505000114, 0.305000305, 2.98023224E-8, 6.70552254E-8, 1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, -1, -4.47034836E-8, -2.98023224E-8))
  1402. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1403. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  1404. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.554998398, -0.505000114, 0.29499054, -2.98023224E-8, -6.70552254E-8, -1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8))
  1405. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1406. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  1407. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.554998398, -0.494999886, 0.29499054, 2.98023224E-8, 6.70552254E-8, 1.00000012, -3.7252903E-8, -1.0000006, -7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8))
  1408. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1409. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  1410. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.554998398, -0.494999886, 0.305000305, -5.96046519E-8, -1.41561088E-7, -1.00000024, -8.19564079E-8, -1.00000119, -1.41561088E-7, -1, -8.19564079E-8, -5.96046519E-8))
  1411. Shield = CFuncs.Part.Create(m, "Neon", 0, 0, "Tr. Flu. Yellow", "Part", Vector3.new(9.1, 8.5, 0.2))
  1412. CFuncs.Mesh.Create("SpecialMesh", Shield, "FileMesh", "rbxassetid://0", Vector3.new(0, 0, 0), Vector3.new(0.04, 0.04, 0.04))
  1413. Shield.Parent = nil
  1414. EffectModel = Create("Model")({Parent = Character, Name = "Effects"})
  1415. Effects = {
  1416. Block = {
  1417. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1418. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1419. prt.Anchored = true
  1420. prt.CFrame = cframe
  1421. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1422. game:GetService("Debris"):AddItem(prt, 10)
  1423. if Type == 1 or Type == nil then
  1424. table.insert(Effects, {
  1425. prt,
  1426. "Block1",
  1427. delay,
  1428. x3,
  1429. y3,
  1430. z3,
  1431. msh
  1432. })
  1433. elseif Type == 2 then
  1434. table.insert(Effects, {
  1435. prt,
  1436. "Block2",
  1437. delay,
  1438. x3,
  1439. y3,
  1440. z3,
  1441. msh
  1442. })
  1443. end
  1444. end
  1445. },
  1446. Cylinder = {
  1447. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1448. local prt = CFuncs.Part .. Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  1449. prt.Anchored = true
  1450. prt.CFrame = cframe
  1451. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1452. game:GetService("Debris"):AddItem(prt, 2)
  1453. Effects[#Effects + 1] = {
  1454. prt,
  1455. "Cylinder",
  1456. delay,
  1457. x3,
  1458. y3,
  1459. z3
  1460. }
  1461. end
  1462. },
  1463. Head = {
  1464. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1465. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1466. prt.Anchored = true
  1467. prt.CFrame = cframe
  1468. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1469. game:GetService("Debris"):AddItem(prt, 10)
  1470. table.insert(Effects, {
  1471. prt,
  1472. "Cylinder",
  1473. delay,
  1474. x3,
  1475. y3,
  1476. z3,
  1477. msh
  1478. })
  1479. end
  1480. },
  1481. Sphere = {
  1482. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1483. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1484. prt.Anchored = true
  1485. prt.CFrame = cframe
  1486. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1487. game:GetService("Debris"):AddItem(prt, 10)
  1488. table.insert(Effects, {
  1489. prt,
  1490. "Cylinder",
  1491. delay,
  1492. x3,
  1493. y3,
  1494. z3,
  1495. msh
  1496. })
  1497. end
  1498. },
  1499. Sphere2 = {
  1500. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1501. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1502. prt.Anchored = true
  1503. prt.CFrame = cframe
  1504. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1505. game:GetService("Debris"):AddItem(prt, 10)
  1506. table.insert(Effects, {
  1507. prt,
  1508. "Cylinder",
  1509. delay,
  1510. x3,
  1511. y3,
  1512. z3,
  1513. msh
  1514. })
  1515. end
  1516. },
  1517. Elec = {
  1518. Create = function(cff, x, y, z)
  1519. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Tr. Flu. Yellow"), "Part", Vector3.new(1, 1, 1))
  1520. prt.Anchored = true
  1521. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  1522. prt.CFrame = CFrame.new(prt.Position)
  1523. game:GetService("Debris"):AddItem(prt, 2)
  1524. local xval = math.random() / 2
  1525. local yval = math.random() / 2
  1526. local zval = math.random() / 2
  1527. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  1528. table.insert(Effects, {
  1529. prt,
  1530. "Elec",
  1531. 0.1,
  1532. x,
  1533. y,
  1534. z,
  1535. xval,
  1536. yval,
  1537. zval
  1538. })
  1539. end
  1540. },
  1541. Ring = {
  1542. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1543. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1544. prt.Anchored = true
  1545. prt.CFrame = cframe
  1546. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1547. game:GetService("Debris"):AddItem(prt, 10)
  1548. table.insert(Effects, {
  1549. prt,
  1550. "Cylinder",
  1551. delay,
  1552. x3,
  1553. y3,
  1554. z3,
  1555. msh
  1556. })
  1557. end
  1558. },
  1559. Wave = {
  1560. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1561. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1562. prt.Anchored = true
  1563. prt.CFrame = cframe
  1564. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1565. game:GetService("Debris"):AddItem(prt, 10)
  1566. table.insert(Effects, {
  1567. prt,
  1568. "Cylinder",
  1569. delay,
  1570. x3,
  1571. y3,
  1572. z3,
  1573. msh
  1574. })
  1575. end
  1576. },
  1577. Break = {
  1578. Create = function(brickcolor, cframe, x1, y1, z1)
  1579. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1580. prt.Anchored = true
  1581. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1582. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1583. local num = math.random(10, 50) / 1000
  1584. game:GetService("Debris"):AddItem(prt, 10)
  1585. table.insert(Effects, {
  1586. prt,
  1587. "Shatter",
  1588. num,
  1589. prt.CFrame,
  1590. math.random() - math.random(),
  1591. 0,
  1592. math.random(50, 100) / 100
  1593. })
  1594. end
  1595. },
  1596. Fire = {
  1597. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  1598. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1599. prt.Anchored = true
  1600. prt.CFrame = cframe
  1601. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1602. game:GetService("Debris"):AddItem(prt, 10)
  1603. table.insert(Effects, {
  1604. prt,
  1605. "Fire",
  1606. delay,
  1607. 1,
  1608. 1,
  1609. 1,
  1610. msh
  1611. })
  1612. end
  1613. },
  1614. FireWave = {
  1615. Create = function(brickcolor, cframe, x1, y1, z1)
  1616. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  1617. prt.Anchored = true
  1618. prt.CFrame = cframe
  1619. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1620. local d = Create("Decal")({
  1621. Parent = prt,
  1622. Texture = "rbxassetid://26356434",
  1623. Face = "Top"
  1624. })
  1625. local d = Create("Decal")({
  1626. Parent = prt,
  1627. Texture = "rbxassetid://26356434",
  1628. Face = "Bottom"
  1629. })
  1630. game:GetService("Debris"):AddItem(prt, 10)
  1631. table.insert(Effects, {
  1632. prt,
  1633. "FireWave",
  1634. 1,
  1635. 30,
  1636. math.random(400, 600) / 100,
  1637. msh
  1638. })
  1639. end
  1640. },
  1641. Lightning = {
  1642. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  1643. local magz = (p0 - p1).magnitude
  1644. local curpos = p0
  1645. local trz = {
  1646. -ofs,
  1647. ofs
  1648. }
  1649. for i = 1, tym do
  1650. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  1651. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  1652. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  1653. li.Material = "Neon"
  1654. if tym == i then
  1655. local magz2 = (curpos - p1).magnitude
  1656. li.Size = Vector3.new(th, th, magz2)
  1657. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  1658. table.insert(Effects, {
  1659. li,
  1660. "Disappear",
  1661. last
  1662. })
  1663. else
  1664. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  1665. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  1666. game.Debris:AddItem(li, 10)
  1667. table.insert(Effects, {
  1668. li,
  1669. "Disappear",
  1670. last
  1671. })
  1672. end
  1673. end
  1674. end
  1675. },
  1676. EffectTemplate = {}
  1677. }
  1678. local Invisible = true
  1679. function Reappear()
  1680. for _, i in pairs(AdvancingFortress:children()) do
  1681. if i:IsA("BasePart") then
  1682. coroutine.resume(coroutine.create(function(Part)
  1683. for i = 0, 1, 0.3 do
  1684. swait()
  1685. Part.Transparency = -i
  1686. end
  1687. Part.Transparency = 0
  1688. end), i)
  1689. end
  1690. end
  1691. for _, i in pairs(m:children()) do
  1692. if i:IsA("BasePart") then
  1693. coroutine.resume(coroutine.create(function(Part)
  1694. for i = 0, 1, 0.3 do
  1695. swait()
  1696. Part.Transparency = i
  1697. end
  1698. Part.Transparency = 0
  1699. end), i)
  1700. end
  1701. end
  1702. end
  1703. function ReappearArmorOnly()
  1704. for _, i in pairs(m:children()) do
  1705. if i:IsA("BasePart") then
  1706. coroutine.resume(coroutine.create(function(Part)
  1707. for i = 0, 1, 0.3 do
  1708. swait()
  1709. Part.Transparency = i
  1710. end
  1711. Part.Transparency = 0
  1712. end), i)
  1713. end
  1714. end
  1715. end
  1716. function Disappear()
  1717. for _, i in pairs(AdvancingFortress:children()) do
  1718. if i:IsA("BasePart") then
  1719. coroutine.resume(coroutine.create(function(Part)
  1720. for i = 0, 1, 0.3 do
  1721. swait()
  1722. Part.Transparency = i
  1723. end
  1724. Part.Transparency = 1
  1725. end), i)
  1726. end
  1727. end
  1728. for _, i in pairs(m:children()) do
  1729. if i:IsA("BasePart") then
  1730. coroutine.resume(coroutine.create(function(Part)
  1731. for i = 0, 1, 0.3 do
  1732. swait()
  1733. Part.Transparency = i
  1734. end
  1735. Part.Transparency = 1
  1736. end), i)
  1737. end
  1738. end
  1739. end
  1740. function DisappearArmorOnly()
  1741. for _, i in pairs(m:children()) do
  1742. if i:IsA("BasePart") then
  1743. coroutine.resume(coroutine.create(function(Part)
  1744. for i = 0, 1, 0.3 do
  1745. swait()
  1746. Part.Transparency = i
  1747. end
  1748. Part.Transparency = 1
  1749. end), i)
  1750. end
  1751. end
  1752. end
  1753. function CamShake(time, freq)
  1754. coroutine.resume(coroutine.create(function()
  1755. local cam = game:GetService("Workspace").CurrentCamera
  1756. local time = 10
  1757. local seed = Vector3.new(math.random(100, 200) / freq, math.random(100, 200) / freq, 0)
  1758. if math.random(1, 2) == 1 then
  1759. seed = Vector3.new(-seed.x, seed.y, 0)
  1760. end
  1761. if math.random(1, 2) == 1 then
  1762. seed = Vector3.new(seed.x, -seed.y, 0)
  1763. end
  1764. 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)
  1765. for i = 1, time do
  1766. 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)
  1767. wait()
  1768. end
  1769. end))
  1770. end
  1771.  
  1772. local bigg = false
  1773. function PE()
  1774. pep = Instance.new("ParticleEmitter")
  1775. pep.Name = "pep"
  1776. pep.Lifetime = NumberRange.new(1)
  1777. pep.Rate = 5
  1778. pep.Texture = "rbxassetid://298768656"
  1779. pep.VelocitySpread = 60
  1780. pep.Parent = char.Head
  1781. end
  1782.  
  1783. local ora = false
  1784. function ORA()
  1785. attack = true
  1786. local S = CFuncs.Sound.Create("601465752", Torso, 1, 1)
  1787. S.Looped = true
  1788. S.Volume = 10
  1789. if ora == true then
  1790. while ora == true do
  1791. CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
  1792. MagnitudeDamage(HitboxL, 5, 4, 10, 0, "Normal", "131070686", 1)
  1793. for i = 0, 1, 0.8 do
  1794. swait()
  1795. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  1796. PlayAnimationFromTable({
  1797. 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),
  1798. 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),
  1799. 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),
  1800. 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),
  1801. 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),
  1802. 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)
  1803. }, 0.8, false)
  1804. end
  1805. CFuncs.Sound.Create("200632136", HitboxR, 0.3, math.random(1, 1.2))
  1806. MagnitudeDamage(HitboxR, 5, 4, 10, 0, "Normal", "131070686", 1)
  1807. for i = 0, 1, 0.8 do
  1808. swait()
  1809. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  1810. PlayAnimationFromTable({
  1811. 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),
  1812. 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),
  1813. 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),
  1814. 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),
  1815. 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),
  1816. 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)
  1817. }, 0.8, false)
  1818. end
  1819. CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
  1820. MagnitudeDamage(HitboxL, 5, 4, 10, 0, "Normal", "131070686", 1)
  1821. for i = 0, 1, 0.8 do
  1822. swait()
  1823. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  1824. PlayAnimationFromTable({
  1825. 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),
  1826. 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),
  1827. 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),
  1828. 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),
  1829. 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),
  1830. 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)
  1831. }, 0.8, false)
  1832. end
  1833. CFuncs.Sound.Create("200632136", HitboxR, 0.3, math.random(1, 1.2))
  1834. MagnitudeDamage(HitboxR, 5, 4, 10, 0, "Normal", "131070686", 1)
  1835. for i = 0, 1, 0.8 do
  1836. swait()
  1837. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  1838. PlayAnimationFromTable({
  1839. 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),
  1840. 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),
  1841. 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),
  1842. 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),
  1843. 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),
  1844. 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)
  1845. }, 0.8, false)
  1846. end
  1847. CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
  1848. MagnitudeDamage(HitboxL, 5, 4, 10, 0, "Normal", "131070686", 1)
  1849. end
  1850. end
  1851. S:Stop()
  1852. local S2 = CFuncs.Sound.Create("1277342512", Torso, 1.5, 1)
  1853.  
  1854. S2.Volume = 10
  1855. for i = 0, 1, 0.13 do
  1856. swait()
  1857. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -3), 0.5)
  1858. PlayAnimationFromTable({
  1859. 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),
  1860. 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),
  1861. 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),
  1862. 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),
  1863. 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),
  1864. 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)
  1865. }, 0.2, false)
  1866. end
  1867. CFuncs.Sound.Create("471881954", HitboxR, 1, 1)
  1868. MagnitudeDamage(HitboxR, 7, 10, 15, 50, "Normal", "610359590", 1)
  1869. for i = 0, 1, 0.1 do
  1870. swait()
  1871. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 0.3)
  1872. PlayAnimationFromTable({
  1873. 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),
  1874. 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),
  1875. 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),
  1876. 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),
  1877. 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),
  1878. 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)
  1879. }, 0.6, false)
  1880. end
  1881. attack = false
  1882. end
  1883. function CastleCrusherFist()
  1884. attack = true
  1885. STDamage = true
  1886. local S3 = CFuncs.Sound.Create("1368114767", Torso, 1, 1)
  1887. S3.Volume = 10
  1888. swait()
  1889. Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  1890. Effects.Break.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  1891. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.2)
  1892. PlayAnimationFromTable({
  1893. 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),
  1894. 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),
  1895. 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),
  1896. 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),
  1897. 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),
  1898. 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)
  1899. }, 0.2, false)
  1900. end
  1901. MagnitudeDamage(HitboxR, 100, 40, 170, 190, "Normal", "705598350", 5)
  1902. Effects.Wave.Create(BrickColor.new("Tr. Flu. Yellow"), 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)
  1903. CFuncs.Sound.Create("471881980", HitboxR, 1, 0.9)
  1904. CFuncs.Sound.Create("471881954", HitboxR, 1, 0.8)
  1905.  
  1906. for i = 0, 1, 0.08 do
  1907. swait()
  1908. Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  1909. Effects.Break.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  1910. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 0.3)
  1911. PlayAnimationFromTable({
  1912. 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),
  1913. 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),
  1914. 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),
  1915. 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),
  1916. 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),
  1917. 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)
  1918. }, 0.6, false)
  1919. end
  1920. STDamage = false
  1921. attack = false
  1922.  
  1923. function CastleCrusherFist()
  1924. attack = true
  1925. STDamage = true
  1926. local S2 = CFuncs.Sound.Create("1368114767", Torso, 1, 1)
  1927. for i = 0, 1, 0.1 do
  1928. S2.Volume = 10
  1929. swait()
  1930. Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  1931. Effects.Break.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  1932. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.5)
  1933. PlayAnimationFromTable({
  1934. 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),
  1935. 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),
  1936. 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),
  1937. 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),
  1938. 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),
  1939. 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)
  1940. }, 0.2, false)
  1941. end
  1942. Effects.Wave.Create(BrickColor.new("Tr. Flu. Yellow"), 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)
  1943. Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 200
  1944. CFuncs.Sound.Create("471881980", HitboxR, 1, 0.9)
  1945. CFuncs.Sound.Create("471881954", HitboxR, 1, 0.8)
  1946. for i = 0, 1, 0.08 do
  1947. swait()
  1948. MagnitudeDamage(HitboxR, 5, 50, 80, 100, "Normal", "705598350", 1)
  1949. Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  1950. Effects.Break.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  1951. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 1)
  1952. PlayAnimationFromTable({
  1953. 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),
  1954. 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),
  1955. 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),
  1956. 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),
  1957. 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),
  1958. 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)
  1959. }, 0.6, false)
  1960. end
  1961. STDamage = false
  1962. attack = false
  1963. end
  1964. function weld5(part0, part1, c0, c1)
  1965. local weeld = Instance.new("Weld", part0)
  1966. weeld.Part0 = part0
  1967. weeld.Part1 = part1
  1968. weeld.C0 = c0
  1969. weeld.C1 = c1
  1970. return weeld
  1971. end
  1972. local Grab = false
  1973. function GRABEMBOIGRABEM()
  1974. attack = true
  1975. gp = nil
  1976. con1 = HitboxR.Touched:connect(function(hit)
  1977. local ht = hit.Parent
  1978. local hum1 = ht:FindFirstChild("Humanoid")
  1979. if Grab == false then
  1980. if hum1 ~= nil and hit.Parent ~= Character then
  1981. hum1.PlatformStand = true
  1982. gp = ht
  1983. Grab = true
  1984. local asd = weld5(RightArm, ht:FindFirstChild("Head"), CFrame.new(0, -1.5, 0), CFrame.new(0, 0, 0))
  1985. asd.Parent = RightArm
  1986. asd.Name = "asd"
  1987. asd.C0 = asd.C0 * CFrame.Angles(math.rad(-90), 0, 0)
  1988. CFuncs.Sound.Create("200632821", Torso, 1, 1)
  1989. CFuncs.Sound.Create("957028076", Torso, 1, 1)
  1990. elseif hum1 == nil then
  1991. con1:disconnect()
  1992. wait()
  1993. return
  1994. end
  1995. end
  1996. end)
  1997. for i = 0, 1, 0.2 do
  1998. swait()
  1999. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.3)
  2000. PlayAnimationFromTable({
  2001. CFrame.new(-1.08022243E-4, -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),
  2002. 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),
  2003. 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),
  2004. 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),
  2005. 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),
  2006. 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)
  2007. }, 0.3, false)
  2008. end
  2009. for i = 0, 1, 0.1 do
  2010. swait()
  2011. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -6), 0.3)
  2012. PlayAnimationFromTable({
  2013. 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),
  2014. 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),
  2015. 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),
  2016. 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),
  2017. 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),
  2018. 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)
  2019. }, 0.3, false)
  2020. end
  2021. if Grab == true then
  2022. for i = 1, 5 do
  2023. for i = 0, 1, 0.35 do
  2024. swait()
  2025. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 13, -6), 0.3)
  2026. PlayAnimationFromTable({
  2027. 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),
  2028. 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),
  2029. 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),
  2030. 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),
  2031. 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),
  2032. 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)
  2033. }, 0.4, false)
  2034. end
  2035. for i = 0, 1, 0.3 do
  2036. swait()
  2037. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -6), 0.3)
  2038. PlayAnimationFromTable({
  2039. 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),
  2040. 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),
  2041. 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),
  2042. 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),
  2043. 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),
  2044. 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)
  2045. }, 0.7, false)
  2046. end
  2047. local hit, pos = rayCast(HitboxR.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character)
  2048. if hit ~= nil then
  2049. MagnitudeDamage(HitboxR, 5, 10, 30, 0, "Normal", "610359515", 1.3)
  2050. Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09, 1)
  2051. Effects.Wave.Create(BrickColor.new("Tr. Flu. Yellow"), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09)
  2052. Effects.Sphere.Create(BrickColor.new("Tr. Flu. Yellow"), CFrame.new(pos), 3, 3, 3, 5, 5, 5, 0.09)
  2053. end
  2054. end
  2055. end
  2056. for i, v in pairs(RightArm:GetChildren()) do
  2057. if v.Name == "asd" and v:IsA("Weld") then
  2058. v:Remove()
  2059. end
  2060. end
  2061. Grab = false
  2062. con1:disconnect()
  2063. attack = false
  2064. end
  2065. local IsWearingArmor = false
  2066. function Armor(Mode)
  2067. attack = true
  2068. if IsWearingArmor == false and Mode == "On" then
  2069. IsWearingArmor = true
  2070. Disappear()
  2071. swait(10)
  2072. ReappearArmorOnly()
  2073. CFuncs.Sound.Create("710036613")
  2074. Character.Humanoid.MaxHealth = math.huge
  2075. Character.Humanoid.Health = math.huge
  2076. HHandleWeld.Part0 = Character.Head
  2077. THandleWeld.Part0 = Character.Torso
  2078. AHandleRWeld.Part0 = Character["Right Arm"]
  2079. AHandleLWeld.Part0 = Character["Left Arm"]
  2080. LHandleRWeld.Part0 = Character["Right Leg"]
  2081. LHandleLWeld.Part0 = Character["Left Leg"]
  2082. for i, v in pairs(AdvancingFortress:GetChildren()) do
  2083. if v:IsA("BasePart") then
  2084. v.Transparency = 1
  2085. end
  2086. end
  2087. for i, v in pairs(Character:GetChildren()) do
  2088. if v:IsA("Accessory") then
  2089. v.Handle.Transparency = 1
  2090. for i, v in pairs(Character:GetChildren()) do
  2091. if v:IsA("Model") then
  2092. v.Handle.Transparency = 1
  2093. end
  2094. end
  2095. end
  2096. end
  2097. elseif IsWearingArmor == true and Mode == "Off" then
  2098. IsWearingArmor = false
  2099. DisappearArmorOnly()
  2100. for i, v in pairs(Character:GetChildren()) do
  2101. if v:IsA("Accessory") then
  2102. v.Handle.Transparency = 0
  2103. for i, v in pairs(Character:GetChildren()) do
  2104. if v:IsA("Model") then
  2105. v.Handle.Transparency = 0
  2106. end
  2107. end
  2108. end
  2109. end
  2110. swait(10)
  2111. Reappear()
  2112. Character.Humanoid.MaxHealth = math.huge
  2113. Character.Humanoid.Health = math.huge
  2114. HHandleWeld.Part0 = Head
  2115. THandleWeld.Part0 = Torso
  2116. AHandleRWeld.Part0 = RightArm
  2117. AHandleLWeld.Part0 = LeftArm
  2118. LHandleRWeld.Part0 = RightLeg
  2119. LHandleLWeld.Part0 = LeftLeg
  2120. for i, v in pairs(AdvancingFortress:GetChildren()) do
  2121. if v:IsA("BasePart") then
  2122. v.Transparency = 0
  2123. end
  2124. end
  2125. end
  2126. attack = false
  2127. end
  2128.  
  2129.  
  2130. local ShieldMode = false
  2131. local ShieldCharge = false
  2132. function HoloHexShield()
  2133. attack = true
  2134. Shield.Parent = m
  2135. Shield.CanCollide = true
  2136. if ShieldMode == true then
  2137. while ShieldMode == true do
  2138. swait()
  2139. Effects.Elec.Create(Shield.CFrame, 6, 6, 6)
  2140. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  2141. PlayAnimationFromTable({
  2142. 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),
  2143. 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),
  2144. 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),
  2145. 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),
  2146. 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),
  2147. 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)
  2148. }, 0.3, false)
  2149. end
  2150. end
  2151. Shield.CanCollide = false
  2152. CFuncs.Sound.Create("200632211", HitboxR, 1, 0.8)
  2153. CFuncs.Sound.Create("200632875", HitboxR, 1, 0.9)
  2154. CFuncs.Sound.Create("794070439", HitboxR, 1, 0.9)
  2155. Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 160
  2156. Effects.Wave.Create(BrickColor.new("Tr. Flu. Yellow"), 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)
  2157. for i = 0, 1, 0.05 do
  2158. swait()
  2159. MagnitudeDamage(Shield, 5, 10, 15, 20, "Normal", "610359515", 1.3)
  2160. Effects.Elec.Create(Shield.CFrame, 6, 6, 6)
  2161. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -3), 1)
  2162. PlayAnimationFromTable({
  2163. 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),
  2164. 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),
  2165. 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),
  2166. 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),
  2167. 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),
  2168. 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)
  2169. }, 0.5, false)
  2170. end
  2171. Shield.Parent = nil
  2172. attack = false
  2173. end
  2174. Mouse.Button1Down:connect(function()
  2175. if attack == false and attacktype == 1 and IsWearingArmor == false and Invisible == false then
  2176. attacktype = 2
  2177. attackone()
  2178. elseif attack == false and attacktype == 2 and IsWearingArmor == false and Invisible == false then
  2179. attacktype = 1
  2180. attacktwo()
  2181. end
  2182. end)
  2183. game.Lighting.Outlines = false
  2184. function attackone()
  2185. attack = true
  2186. for i = 0, 1, 0.12 do
  2187. swait()
  2188. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  2189. PlayAnimationFromTable({
  2190. 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),
  2191. 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),
  2192. 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),
  2193. 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),
  2194. 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),
  2195. 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)
  2196. }, 0.3, false)
  2197. end
  2198. MagnitudeDamage(HitboxR, 10, 20, 40, math.random(1, 3), "Normal", "131070686", 1)
  2199. CFuncs.Sound.Create("200632136", HitboxR, 1, 1)
  2200. RootPart.Velocity = RootPart.CFrame.lookVector * 40
  2201. for i = 0, 1, 0.11 do
  2202. swait()
  2203. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  2204. PlayAnimationFromTable({
  2205. 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),
  2206. 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),
  2207. 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),
  2208. 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),
  2209. 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),
  2210. 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)
  2211. }, 0.45, false)
  2212. end
  2213. attack = false
  2214. end
  2215. function attacktwo()
  2216. attack = true
  2217. for i = 0, 1, 0.12 do
  2218. swait()
  2219. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  2220. PlayAnimationFromTable({
  2221. 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),
  2222. 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),
  2223. 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),
  2224. 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),
  2225. 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),
  2226. 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)
  2227. }, 0.34, false)
  2228. end
  2229. MagnitudeDamage(HitboxL, 10, 20, 40, math.random(1, 3), "Normal", "131070686", 1.1)
  2230. CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
  2231. RootPart.Velocity = RootPart.CFrame.lookVector * 40
  2232. for i = 0, 1, 0.12 do
  2233. swait()
  2234. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  2235. PlayAnimationFromTable({
  2236. 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),
  2237. 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),
  2238. 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),
  2239. 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),
  2240. 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),
  2241. 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)
  2242. }, 0.45, false)
  2243. end
  2244. attack = false
  2245. end
  2246.  
  2247. Mouse.KeyDown:connect(function(k)
  2248. k = k:lower()
  2249. if attack == false and ora == false and k == "z" and IsWearingArmor == false and Invisible == false then
  2250. ora = true
  2251. ORA()
  2252. elseif k == ";" and bigg == false then
  2253. bigg = true
  2254. PE()
  2255. z:Play()
  2256.  
  2257. elseif k == ";" and bigg == true then
  2258. bigg = false
  2259. pep:Destroy()
  2260. z:Stop()
  2261. elseif attack == false and k == "x" and IsWearingArmor == false and Invisible == false then
  2262. GRABEMBOIGRABEM()
  2263.  
  2264. elseif attack == false and k == "f" and Invisible == false and IsWearingArmor == false then
  2265. Invisible = true
  2266. Character["Advancing Fortress"].Hat.Part.Transparency = 1
  2267. Character["Advancing Fortress"].Pipe.Part.Transparency = 1
  2268. Character["Advancing Fortress"].Armor.Part.Transparency = 1
  2269. Character["Advancing Fortress"].armban1.Part.Transparency = 1
  2270. Character["Advancing Fortress"].armban2.Part.Transparency = 1
  2271. Character["Advancing Fortress"].lhip.Part.Transparency = 1
  2272. Character["Advancing Fortress"].rhip.Part.Transparency = 1
  2273. Character["Advancing Fortress"].h1.Part.Transparency = 1
  2274. Character["Advancing Fortress"].h2.Part.Transparency = 1
  2275. Character["Advancing Fortress"].h3.Part.Transparency = 1
  2276. Character["Advancing Fortress"].h4.Part.Transparency = 1
  2277. Character["Advancing Fortress"].pack.Part.Transparency = 1
  2278. Character["Advancing Fortress"].hand1.Part.Transparency = 1
  2279. Character["Advancing Fortress"].hand2.Part.Transparency = 1
  2280. Character["Advancing Fortress"].FHead.face.Transparency = 1
  2281. Effects.Sphere.Create(BrickColor.new("Tr. Flu. Yellow"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
  2282. Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1)
  2283. Disappear()
  2284. elseif attack == false and k == "f" and Invisible == true and IsWearingArmor == false then
  2285. Invisible = false
  2286. CFuncs.Sound.Create("1033003355", Torso, 1, 1)
  2287. Character["Advancing Fortress"].Hat.Part.Transparency = 0
  2288. Character["Advancing Fortress"].Pipe.Part.Transparency = 0
  2289. Character["Advancing Fortress"].Armor.Part.Transparency = 0
  2290. Character["Advancing Fortress"].armban1.Part.Transparency = 0
  2291. Character["Advancing Fortress"].armban2.Part.Transparency = 0
  2292. Character["Advancing Fortress"].lhip.Part.Transparency = 0
  2293. Character["Advancing Fortress"].rhip.Part.Transparency = 0
  2294. Character["Advancing Fortress"].h1.Part.Transparency = 0
  2295. Character["Advancing Fortress"].h2.Part.Transparency = 0
  2296. Character["Advancing Fortress"].h3.Part.Transparency = 0
  2297. Character["Advancing Fortress"].h4.Part.Transparency = 0
  2298. Character["Advancing Fortress"].pack.Part.Transparency = 0
  2299. Character["Advancing Fortress"].hand1.Part.Transparency = 0
  2300. Character["Advancing Fortress"].hand2.Part.Transparency = 0
  2301. Character["Advancing Fortress"].FHead.face.Transparency = 0
  2302. Effects.Sphere.Create(BrickColor.new("Tr. Flu. Yellow"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.08)
  2303. for i = 1, 2 do
  2304. Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1)
  2305. end
  2306. for i = 1, 20 do
  2307. Effects.Break.Create(BrickColor.new("Tr. Flu. Yellow"), Torso.CFrame, 1, 1, 1)
  2308. end
  2309. Reappear()
  2310. elseif attack == false and ShieldMode == false and k == "c" and IsWearingArmor == false and Invisible == false then
  2311. ShieldMode = true
  2312. HoloHexShield()
  2313. elseif attack == false and k == "v" and IsWearingArmor == false and Invisible == false then
  2314. CastleCrusherFist()
  2315. end
  2316. if k == "[" and IsWearingArmor == false and Invisible == false then
  2317. Armor("On")
  2318. Character["Advancing Fortress"].Hat.Part.Transparency = 1
  2319. Character["Advancing Fortress"].Pipe.Part.Transparency = 1
  2320. Character["Advancing Fortress"].Armor.Part.Transparency = 1
  2321. Character["Advancing Fortress"].armban1.Part.Transparency = 1
  2322. Character["Advancing Fortress"].armban2.Part.Transparency = 1
  2323. Character["Advancing Fortress"].lhip.Part.Transparency = 1
  2324. Character["Advancing Fortress"].rhip.Part.Transparency = 1
  2325. Character["Advancing Fortress"].h1.Part.Transparency = 1
  2326. Character["Advancing Fortress"].h2.Part.Transparency = 1
  2327. Character["Advancing Fortress"].h3.Part.Transparency = 1
  2328. Character["Advancing Fortress"].h4.Part.Transparency = 1
  2329. Character["Advancing Fortress"].pack.Part.Transparency = 1
  2330. Character["Advancing Fortress"].hand1.Part.Transparency = 1
  2331. Character["Advancing Fortress"].hand2.Part.Transparency = 1
  2332. Character["Advancing Fortress"].FHead.face.Transparency = 1
  2333. end
  2334. if k == "]" and IsWearingArmor == true and Invisible == false then
  2335. Armor("Off")
  2336. Character["Advancing Fortress"].Hat.Part.Transparency = 0
  2337. Character["Advancing Fortress"].Pipe.Part.Transparency = 0
  2338. Character["Advancing Fortress"].Armor.Part.Transparency = 0
  2339. Character["Advancing Fortress"].armban1.Part.Transparency = 0
  2340. Character["Advancing Fortress"].armban2.Part.Transparency = 0
  2341. Character["Advancing Fortress"].lhip.Part.Transparency = 0
  2342. Character["Advancing Fortress"].rhip.Part.Transparency = 0
  2343. Character["Advancing Fortress"].h1.Part.Transparency = 0
  2344. Character["Advancing Fortress"].h2.Part.Transparency = 0
  2345. Character["Advancing Fortress"].h3.Part.Transparency = 0
  2346. Character["Advancing Fortress"].h4.Part.Transparency = 0
  2347. Character["Advancing Fortress"].pack.Part.Transparency = 0
  2348. Character["Advancing Fortress"].hand1.Part.Transparency = 0
  2349. Character["Advancing Fortress"].hand2.Part.Transparency = 0
  2350. Character["Advancing Fortress"].FHead.face.Transparency = 0
  2351. end
  2352. end)
  2353. Mouse.KeyUp:connect(function(k)
  2354. k = k:lower()
  2355. if attack == true and ora == true and k == "z" and IsWearingArmor == false then
  2356. ora = false
  2357. elseif attack == true and ShieldMode == true and k == "c" and IsWearingArmor == false then
  2358. ShieldMode = false
  2359. end
  2360. end)
  2361. coroutine.resume(coroutine.create(function(Part, Part2)
  2362. while Part.Parent ~= nil do
  2363. swait(math.random(100, 150))
  2364. for i = 0, 1, 0.2 do
  2365. wait()
  2366. Eye1.Mesh.Scale = Vector3.new(1, 0.7 - 1 * i, 1)
  2367. Eye2.Mesh.Scale = Vector3.new(1, 0.7 - 1 * i, 1)
  2368. end
  2369. for i = 0, 1, 0.2 do
  2370. swait()
  2371. Eye1.Mesh.Scale = Vector3.new(1, 0.7 + 0.3 * i, 1)
  2372. Eye2.Mesh.Scale = Vector3.new(1, 0.7 + 0.3 * i, 1)
  2373. end
  2374. end
  2375. end), Eye1, Eye2)
  2376. while true do
  2377. swait()
  2378. for i, v in pairs(Character:children()) do
  2379. if v:IsA("Part") and IsWearingArmor == true then
  2380. v.Anchored = false
  2381. end
  2382. end
  2383. for i, v in pairs(AdvancingFortress:GetChildren()) do
  2384. if v:IsA("Part") then
  2385. v.Material = "SmoothPlastic"
  2386. v.CanCollide = false
  2387. elseif v:IsA("Humanoid") then
  2388. v:remove()
  2389. elseif v:IsA("Accessory") then
  2390. v:remove()
  2391. elseif v:IsA("Shirt") then
  2392. v:remove()
  2393. elseif v:IsA("Pants") then
  2394. v:remove()
  2395. elseif v:IsA("Script") or v:IsA("LocalScript") then
  2396. v:remove()
  2397. elseif v:IsA("BodyColors") then
  2398. v:remove()
  2399. elseif v:IsA("ShirtGraphic") then
  2400. v:remove()
  2401. end
  2402. end
  2403. HHandle.Transparency = 1
  2404. THandle.Transparency = 1
  2405. AHandleR.Transparency = 1
  2406. AHandleL.Transparency = 1
  2407. LHandleR.Transparency = 1
  2408. LHandleL.Transparency = 1
  2409. RootPart.Transparency = 1
  2410. HitboxR.Transparency = 1
  2411. HitboxL.Transparency = 1
  2412. Head.BrickColor = BrickColor.new("Lily white")
  2413. Torso.BrickColor = BrickColor.new("Lily white")
  2414. RightArm.BrickColor = BrickColor.new("Lily white")
  2415. LeftArm.BrickColor = BrickColor.new("Lily white")
  2416. RightLeg.BrickColor = BrickColor.new("Lily white")
  2417. LeftLeg.BrickColor = BrickColor.new("Lily white")
  2418. RootPart.Anchored = true
  2419. Torsovelocity = (Character.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2420. velocity = Character.HumanoidRootPart.Velocity.y
  2421. sine = sine + change
  2422. Shield.Anchored = true
  2423. Shield.CFrame = Shield.CFrame:lerp(RootPart.CFrame * CFrame.new(0, 0, -3.2), 1)
  2424. local hit, pos = rayCast(Character.HumanoidRootPart.Position, CFrame.new(Character.HumanoidRootPart.Position, Character.HumanoidRootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  2425. if Character.HumanoidRootPart.Velocity.y > 1 and hit == nil then
  2426. Anim = "Jump"
  2427. if attack == false then
  2428. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  2429. PlayAnimationFromTable({
  2430. 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),
  2431. 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, 0, 0),
  2432. 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),
  2433. 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),
  2434. 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),
  2435. 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)
  2436. }, 0.3, false)
  2437. end
  2438. elseif Character.HumanoidRootPart.Velocity.y < -1 and hit == nil then
  2439. Anim = "Fall"
  2440. if attack == false then
  2441. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  2442. PlayAnimationFromTable({
  2443. 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),
  2444. 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),
  2445. 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),
  2446. 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),
  2447. 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),
  2448. 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)
  2449. }, 0.3, false)
  2450. end
  2451. elseif Torsovelocity < 1 and hit ~= nil then
  2452. Anim = "Idle"
  2453. if attack == false then
  2454. change = 1
  2455. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  2456. PlayAnimationFromTable({
  2457. CFrame.new(0.1, -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, 0, 0),
  2458. CFrame.new(0.1, 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, 0, 0),
  2459. CFrame.new(1.74141297, 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, 0, 0),
  2460. CFrame.new(-1.49350157, 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, 0, 0),
  2461. CFrame.new(0.702711678, -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),
  2462. CFrame.new(-0.519029164, -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)
  2463. }, 0.3, false)
  2464. end
  2465. elseif Torsovelocity > 2 and hit ~= nil then
  2466. Anim = "Walk"
  2467. if attack == false then
  2468. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  2469. PlayAnimationFromTable({
  2470. 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, 0, 0),
  2471. 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, 0, 0),
  2472. 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, 0, 0),
  2473. 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, 0, 0),
  2474. 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),
  2475. 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)
  2476. }, 0.3, false)
  2477. end
  2478. end
  2479. if 0 < #Effects then
  2480. for e = 1, #Effects do
  2481. if Effects[e] ~= nil then
  2482. local Thing = Effects[e]
  2483. if Thing ~= nil then
  2484. local Part = Thing[1]
  2485. local Mode = Thing[2]
  2486. local Delay = Thing[3]
  2487. local IncX = Thing[4]
  2488. local IncY = Thing[5]
  2489. local IncZ = Thing[6]
  2490. if Thing[2] == "Shoot" then
  2491. local Look = Thing[1]
  2492. local move = 30
  2493. if Thing[8] == 3 then
  2494. move = 10
  2495. end
  2496. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  2497. if Thing[10] ~= nil then
  2498. da = pos
  2499. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  2500. cfa = CFrame.new(Thing[4], pos)
  2501. tehCF = cfa:lerp(cf2, 0.2)
  2502. Thing[1] = tehCF.lookVector
  2503. end
  2504. local mag = (Thing[4] - pos).magnitude
  2505. 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)
  2506. if Thing[8] == 2 then
  2507. 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)
  2508. end
  2509. Thing[4] = Thing[4] + Look * move
  2510. Thing[3] = Thing[3] - 1
  2511. if 2 < Thing[5] then
  2512. Thing[5] = Thing[5] - 0.3
  2513. Thing[6] = Thing[6] - 0.3
  2514. end
  2515. if hit ~= nil then
  2516. Thing[3] = 0
  2517. if Thing[8] == 1 or Thing[8] == 3 then
  2518. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  2519. elseif Thing[8] == 2 then
  2520. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  2521. if hit.Parent:findFirstChild("Humanoid") ~= nil or hit.Parent.Parent:findFirstChild("Humanoid") ~= nil then
  2522. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Tr. Flu. Yellow"), "Reference", Vector3.new())
  2523. ref.Anchored = true
  2524. ref.CFrame = CFrame.new(pos)
  2525. CFuncs.Sound.Create("161006093", ref, 1, 1.2)
  2526. game:GetService("Debris"):AddItem(ref, 0.2)
  2527. 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)
  2528. 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)
  2529. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  2530. end
  2531. end
  2532. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Tr. Flu. Yellow"), "Reference", Vector3.new())
  2533. ref.Anchored = true
  2534. ref.CFrame = CFrame.new(pos)
  2535. Effects.Sphere.Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  2536. game:GetService("Debris"):AddItem(ref, 1)
  2537. end
  2538. if Thing[3] <= 0 then
  2539. table.remove(Effects, e)
  2540. end
  2541. end
  2542. if Thing[2] == "FireWave" then
  2543. if Thing[3] <= Thing[4] then
  2544. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  2545. Thing[3] = Thing[3] + 1
  2546. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  2547. else
  2548. Part.Parent = nil
  2549. table.remove(Effects, e)
  2550. end
  2551. end
  2552. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  2553. if Thing[1].Transparency <= 1 then
  2554. if Thing[2] == "Block1" then
  2555. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2556. Mesh = Thing[7]
  2557. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2558. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2559. elseif Thing[2] == "Block2" then
  2560. Thing[1].CFrame = Thing[1].CFrame
  2561. Mesh = Thing[7]
  2562. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2563. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2564. elseif Thing[2] == "Fire" then
  2565. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  2566. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2567. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2568. elseif Thing[2] == "Cylinder" then
  2569. Mesh = Thing[7]
  2570. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2571. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2572. elseif Thing[2] == "Blood" then
  2573. Mesh = Thing[7]
  2574. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  2575. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2576. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2577. elseif Thing[2] == "Elec" then
  2578. Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9])
  2579. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2580. elseif Thing[2] == "Disappear" then
  2581. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2582. elseif Thing[2] == "Shatter" then
  2583. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2584. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2585. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2586. Thing[6] = Thing[6] + Thing[5]
  2587. end
  2588. else
  2589. Part.Parent = nil
  2590. table.remove(Effects, e)
  2591.  
  2592. end
  2593. end
  2594. end
  2595. end
  2596. end
  2597. end
  2598. end
  2599. RAW Paste Data
  2600.  
  2601. -- This script has been converted to FE by iPxter
  2602.  
  2603.  
  2604. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2605. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  2606. do
  2607. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  2608. script.Parent = Player.Character
  2609.  
  2610. --RemoteEvent for communicating
  2611. local Event = Instance.new("RemoteEvent")
  2612. Event.Name = "UserInput_Event"
  2613.  
  2614. --Fake event to make stuff like Mouse.KeyDown work
  2615. local function fakeEvent()
  2616. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  2617. t.connect = t.Connect
  2618. return t
  2619. end
  2620.  
  2621. --Creating fake input objects with fake variables
  2622. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  2623. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  2624. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  2625. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  2626. end}
  2627. --Merged 2 functions into one by checking amount of arguments
  2628. CAS.UnbindAction = CAS.BindAction
  2629.  
  2630. --This function will trigger the events that have been :Connect()'ed
  2631. local function te(self,ev,...)
  2632. local t = m[ev]
  2633. if t and t._fakeEvent and t.Function then
  2634. t.Function(...)
  2635. end
  2636. end
  2637. m.TrigEvent = te
  2638. UIS.TrigEvent = te
  2639.  
  2640. Event.OnServerEvent:Connect(function(plr,io)
  2641. if plr~=Player then return end
  2642. if io.isMouse then
  2643. m.Target = io.Target
  2644. m.Hit = io.Hit
  2645. else
  2646. local b = io.UserInputState == Enum.UserInputState.Begin
  2647. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  2648. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  2649. end
  2650. for _,t in pairs(CAS.Actions) do
  2651. for _,k in pairs(t.Keys) do
  2652. if k==io.KeyCode then
  2653. t.Function(t.Name,io.UserInputState,io)
  2654. end
  2655. end
  2656. end
  2657. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  2658. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  2659. end
  2660. end)
  2661. Event.Parent = NLS([==[
  2662. local Player = game:GetService("Players").LocalPlayer
  2663. local Event = script:WaitForChild("UserInput_Event")
  2664.  
  2665. local UIS = game:GetService("UserInputService")
  2666. local input = function(io,a)
  2667. if a then return end
  2668. --Since InputObject is a client-side instance, we create and pass table instead
  2669. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  2670. end
  2671. UIS.InputBegan:Connect(input)
  2672. UIS.InputEnded:Connect(input)
  2673.  
  2674. local Mouse = Player:GetMouse()
  2675. local h,t
  2676. --Give the server mouse data 30 times every second, but only if the values changed
  2677. --If player is not moving their mouse, client won't fire events
  2678. while wait(1/30) do
  2679. if h~=Mouse.Hit or t~=Mouse.Target then
  2680. h,t=Mouse.Hit,Mouse.Target
  2681. Event:FireServer({isMouse=true,Target=t,Hit=h})
  2682. end
  2683. end]==],Player.Character)
  2684. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  2685. end
  2686.  
  2687. print("Hello world!")
  2688. print("I'm Back!")
  2689. print("And The Time of Heaven is now Upon US!!!")
  2690.  
  2691.  
  2692. do
  2693. local filteredMessages = { ['___'] = '___' };
  2694. local onPropertyChanged = function (obj)
  2695. if (obj:isDescendantOf (workspace)) then
  2696. local objText = obj.Text;
  2697.  
  2698. if (objText ~= '___' and objText:find '(%S)') then
  2699. if (filteredMessages [objText] and filteredMessages [objText] ~= objText) then
  2700. obj.Text = filteredMessages [objText];
  2701. elseif (not filteredMessages [objText]) then
  2702. obj.Text = '___';
  2703.  
  2704. local filtered = game:service 'Chat':FilterStringForBroadcast (objText, game:service 'Players'.localPlayer);
  2705.  
  2706. filteredMessages [objText] = filtered;
  2707. filteredMessages [filtered] = filtered;
  2708.  
  2709. obj.Text = filtered;
  2710. end;
  2711. end;
  2712. end;
  2713. end;
  2714.  
  2715. local newInstance = Instance.new;
  2716.  
  2717. Instance = {
  2718. new = function (class, parent)
  2719. local obj = newInstance (class, parent);
  2720.  
  2721. if (pcall (function()return obj.Text;end)) then
  2722. obj:getPropertyChangedSignal ('Parent'):connect (function () onPropertyChanged (obj) end);
  2723. obj:getPropertyChangedSignal ('Text'):connect (function() onPropertyChanged (obj) end);
  2724. end;
  2725.  
  2726. return obj;
  2727. end;
  2728. };
  2729. end;
  2730. plr = game.Players.LocalPlayer
  2731. char = game.Players.LocalPlayer.Character
  2732.  
  2733. char.Humanoid.MaxHealth = "inf"
  2734. char.Humanoid.Health = "inf"
  2735. mse = plr:GetMouse()
  2736. local Head = char.Head
  2737.  
  2738. ee = Instance.new("Sound", char.Head)
  2739. ee.Pitch = 1.25
  2740. ee.Volume = 100
  2741. zw = Instance.new("Sound", char.Head)
  2742. zw.SoundId = "https://www.roblox.com/asset/?id=616576400"
  2743. zw.Volume = 10
  2744. ugoki = Instance.new("Sound", char.Head)
  2745. ugoki.SoundId = "https://www.roblox.com/asset/?id=1054568598"
  2746. ugoki.Volume = 10
  2747. move = Instance.new("Sound", char.Head)
  2748. move.SoundId = "https://www.roblox.com/asset/?id=864569342"
  2749. move.Volume = 10
  2750. z = Instance.new("Sound", char.Head)
  2751. z.SoundId = "https://www.roblox.com/asset/?id=730085432"
  2752. z.Volume = 6
  2753. z.Looped = true
  2754. one = Instance.new("Sound", char.Head)
  2755. one.SoundId = "https://www.roblox.com/asset/?id=877368036"
  2756. one.Volume = 10
  2757. two = Instance.new("Sound", char.Head)
  2758. two.SoundId = "https://www.roblox.com/asset/?id=877368433"
  2759. two.Volume = 10
  2760. three = Instance.new("Sound", char.Head)
  2761. three.SoundId = "https://www.roblox.com/asset/?id=794070439"
  2762. three.Volume = 10
  2763. four = Instance.new("Sound", char.Head)
  2764. four.SoundId = "https://www.roblox.com/asset/?id=962038258"
  2765. four.Volume = 10
  2766. five = Instance.new("Sound", char.Head)
  2767. five.SoundId = "https://www.roblox.com/asset/?id=794068813"
  2768. five.Volume = 10
  2769. six = Instance.new("Sound", char.Head)
  2770. six.SoundId = "https://www.roblox.com/asset/?id=962030665"
  2771. six.Volume = 10
  2772. seven = Instance.new("Sound", char.Head)
  2773. seven.SoundId = "https://www.roblox.com/asset/?id=962029774"
  2774. seven.Volume = 10
  2775. eight = Instance.new("Sound", char.Head)
  2776. eight.SoundId = "https://www.roblox.com/asset/?id=877367823"
  2777. eight.Volume = 10
  2778. nine = Instance.new("Sound", char.Head)
  2779. nine.SoundId = "https://www.roblox.com/asset/?id=794076177"
  2780. nine.Volume = 10
  2781. ten = Instance.new("Sound", char.Head)
  2782. ten.SoundId = "https://www.roblox.com/asset/?id=445339523"
  2783. ten.Volume = 10
  2784. xd = Instance.new("Sound", char.Head)
  2785. xd.SoundId = "rbxassetid://930292558"
  2786. xd.Volume = 10
  2787. xd.Looped = true
  2788.  
  2789. base = Instance.new("ScreenGui",plr.PlayerGui)
  2790. bbg = Instance.new("BillboardGui",plr.Character.Head)
  2791. bbg.Size = UDim2.new(0,200,0,50)
  2792. bbg.StudsOffset = Vector3.new(0,3,0)
  2793. bbgTl = Instance.new("TextLabel",bbg)
  2794. bbgTl.BackgroundTransparency = 1
  2795. bbgTl.Size = UDim2.new(10,0,1,0)
  2796. bbgTl.Position = UDim2.new(-4.5,0,0,0)
  2797. bbgTl.Font = "Arcade"
  2798. bbgTl.Text = " "
  2799. bbgTl.TextSize = 25
  2800. bbgTl.TextStrokeColor3 = Color3.new(255, 231, 160)
  2801. bbgTl.TextColor3 = Color3.new(255, 246, 123)
  2802. bbgTl.TextStrokeTransparency = 0
  2803. bbgTl.TextWrapped = true
  2804. plr.Chatted:connect(function(msg)
  2805. bbgTl.Text = msg
  2806. wait(5)
  2807. if bbgTl.Text == msg then
  2808. bbgTl.Text = " "
  2809. end
  2810. end)
  2811.  
  2812. local Orin = "rbxassetid://304904077"
  2813. Head.face.Texture = Orin
  2814. spawn(function()
  2815. while wait() do
  2816. char["Body Colors"].HeadColor = BrickColor.new("Quill grey")
  2817. char["Body Colors"].TorsoColor = BrickColor.new("Quill grey")
  2818. char["Body Colors"].LeftArmColor = BrickColor.new("Quill grey")
  2819. char["Body Colors"].RightArmColor = BrickColor.new("Quill grey")
  2820. char["Body Colors"].LeftLegColor = BrickColor.new("Quill grey")
  2821. char["Body Colors"].RightLegColor = BrickColor.new("Quill grey")
  2822. end
  2823. end)
  2824.  
  2825. shirt = Instance.new("Shirt", char)
  2826. shirt.Name = "Shirt"
  2827. pants = Instance.new("Pants", char)
  2828. pants.Name = "Pants"
  2829. char.Shirt.ShirtTemplate = "rbxassetid://751273816"
  2830. char.Pants.PantsTemplate = "rbxassetid://746124715"
  2831.  
  2832. for i, v in pairs(char:GetChildren()) do
  2833. if v.ClassName == "Accessory" then
  2834. v:Remove()
  2835. end
  2836. end
  2837.  
  2838. Hat3 = Instance.new("Model")
  2839. Hat3.Parent = char
  2840. Hat3.Name = "Hat3"
  2841. rh = Instance.new("Part")
  2842. rh.Parent = Hat3
  2843. rh.BrickColor = BrickColor.new("Really black")
  2844. rh.Locked = true
  2845. rh.CanCollide = false
  2846. mesh = Instance.new("SpecialMesh")
  2847. rh.formFactor = "Symmetric"
  2848. mesh.MeshType = "FileMesh"
  2849. mesh.MeshId = "rbxassetid://431511681"
  2850. mesh.TextureId = "rbxassetid://431511684"
  2851. mesh.Parent = rh
  2852. local weld = Instance.new("Weld")
  2853. weld.Parent = rh
  2854. weld.Part0 = rh
  2855. weld.Part1 =char.Head
  2856. weld.C0 = CFrame.new(0, 0.67, 0.5)*CFrame.Angles(0, 3, 0)
  2857. mesh.Scale = Vector3.new(0.0032,0.0035, 0.0032)
  2858. Hat3.Part.Transparency = 0
  2859.  
  2860. Hat = Instance.new("Model")
  2861. Hat.Parent = char
  2862. Hat.Name = "Hat"
  2863. rh = Instance.new("Part")
  2864. rh.Parent = Hat
  2865. rh.BrickColor = BrickColor.new("Quill grey")
  2866. rh.Locked = true
  2867. rh.CanCollide = false
  2868. mesh = Instance.new("SpecialMesh")
  2869. rh.formFactor = "Symmetric"
  2870. mesh.MeshType = "FileMesh"
  2871. mesh.MeshId = "rbxassetid://955724194"
  2872. mesh.Parent = rh
  2873. local weld = Instance.new("Weld")
  2874. weld.Parent = rh
  2875. weld.Part0 = rh
  2876. weld.Part1 =char.Head
  2877. weld.C0 = CFrame.new(0, -0.5, 0)*CFrame.Angles(12.4, 0, 0)
  2878. mesh.Scale = Vector3.new(0.03,0.028, 0.03)
  2879.  
  2880. Pipe = Instance.new("Model")
  2881. Pipe.Parent = char
  2882. Pipe.Name = "Pipe"
  2883. rh = Instance.new("Part")
  2884. rh.Parent = Pipe
  2885. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  2886. rh.Locked = true
  2887. rh.CanCollide = false
  2888. mesh = Instance.new("SpecialMesh")
  2889. rh.formFactor = "Symmetric"
  2890. mesh.MeshType = "FileMesh"
  2891. mesh.MeshId = "rbxassetid://956069283"
  2892. mesh.Parent = rh
  2893. local weld = Instance.new("Weld")
  2894. weld.Parent = rh
  2895. weld.Part0 = rh
  2896. weld.Part1 =char.Head
  2897. weld.C0 = CFrame.new(0, -0.5, -0.5)*CFrame.Angles(12.4, 0, 0)
  2898. mesh.Scale = Vector3.new(0.04,0.04, 0.04)
  2899.  
  2900. Armor = Instance.new("Model")
  2901. Armor.Parent = char
  2902. Armor.Name = "Armor"
  2903. rh = Instance.new("Part")
  2904. rh.Parent = Armor
  2905. rh.BrickColor = BrickColor.new("Quill grey")
  2906. rh.Locked = true
  2907. rh.CanCollide = false
  2908. mesh = Instance.new("SpecialMesh")
  2909. rh.formFactor = "Symmetric"
  2910. mesh.MeshType = "FileMesh"
  2911. mesh.MeshId = "rbxassetid://958074736"
  2912. mesh.Parent = rh
  2913. local weld = Instance.new("Weld")
  2914. weld.Parent = rh
  2915. weld.Part0 = rh
  2916. weld.Part1 =char.Torso
  2917. weld.C0 = CFrame.new(0, 0.1, 0.5)*CFrame.Angles(12.4, 0, 0)
  2918. mesh.Scale = Vector3.new(0.01,0.01,0.01)
  2919.  
  2920. armban1 = Instance.new("Model")
  2921. armban1.Parent = char
  2922. armban1.Name = "armban1"
  2923. rh = Instance.new("Part")
  2924. rh.Parent = armban1
  2925. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  2926. rh.Locked = true
  2927. rh.CanCollide = false
  2928. mesh = Instance.new("SpecialMesh")
  2929. rh.formFactor = "Symmetric"
  2930. mesh.MeshType = "FileMesh"
  2931. mesh.MeshId = "rbxassetid://958788075"
  2932. mesh.Parent = rh
  2933. local weld = Instance.new("Weld")
  2934. weld.Parent = rh
  2935. weld.Part0 = rh
  2936. weld.Part1 =char.Torso
  2937. weld.C0 = CFrame.new(-0.6, -0.28, 0)*CFrame.Angles(12.4, 0, 0)
  2938. mesh.Scale = Vector3.new(0.015,0.015,0.015)
  2939.  
  2940. armban2 = Instance.new("Model")
  2941. armban2.Parent = char
  2942. armban2.Name = "armban2"
  2943. rh = Instance.new("Part")
  2944. rh.Parent = armban2
  2945. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  2946. rh.Locked = true
  2947. rh.CanCollide = false
  2948. mesh = Instance.new("SpecialMesh")
  2949. rh.formFactor = "Symmetric"
  2950. mesh.MeshType = "FileMesh"
  2951. mesh.MeshId = "rbxassetid://958788277"
  2952. mesh.Parent = rh
  2953. local weld = Instance.new("Weld")
  2954. weld.Parent = rh
  2955. weld.Part0 = rh
  2956. weld.Part1 =char.Torso
  2957. weld.C0 = CFrame.new(0.6, -0.28, 0)*CFrame.Angles(12.4, 0, 0)
  2958. mesh.Scale = Vector3.new(0.015,0.015,0.015)
  2959.  
  2960. lhip = Instance.new("Model")
  2961. lhip.Parent = char
  2962. lhip.Name = "lhip"
  2963. rh = Instance.new("Part")
  2964. rh.Parent = lhip
  2965. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  2966. rh.Locked = true
  2967. rh.CanCollide = false
  2968. mesh = Instance.new("SpecialMesh")
  2969. rh.formFactor = "Symmetric"
  2970. mesh.MeshType = "FileMesh"
  2971. mesh.MeshId = "rbxassetid://971395227"
  2972. mesh.Parent = rh
  2973. local weld = Instance.new("Weld")
  2974. weld.Parent = rh
  2975. weld.Part0 = rh
  2976. weld.Part1 =char.Torso
  2977. weld.C0 = CFrame.new(1, 1, 0)*CFrame.Angles(12.4, 0, 0)
  2978. mesh.Scale = Vector3.new(0.02,0.02,0.02)
  2979.  
  2980. rhip = Instance.new("Model")
  2981. rhip.Parent = char
  2982. rhip.Name = "rhip"
  2983. rh = Instance.new("Part")
  2984. rh.Parent = rhip
  2985. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  2986. rh.Locked = true
  2987. rh.CanCollide = false
  2988. mesh = Instance.new("SpecialMesh")
  2989. rh.formFactor = "Symmetric"
  2990. mesh.MeshType = "FileMesh"
  2991. mesh.MeshId = "rbxassetid://971396150"
  2992. mesh.Parent = rh
  2993. local weld = Instance.new("Weld")
  2994. weld.Parent = rh
  2995. weld.Part0 = rh
  2996. weld.Part1 =char.Torso
  2997. weld.C0 = CFrame.new(-1, 1, 0)*CFrame.Angles(12.4, 0, 0)
  2998. mesh.Scale = Vector3.new(0.02,0.02,0.02)
  2999.  
  3000. h1 = Instance.new("Model")
  3001. h1.Parent = char
  3002. h1.Name = "h1"
  3003. rh = Instance.new("Part")
  3004. rh.Parent = h1
  3005. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  3006. rh.Locked = true
  3007. rh.CanCollide = false
  3008. mesh = Instance.new("SpecialMesh")
  3009. rh.formFactor = "Symmetric"
  3010. mesh.MeshType = "FileMesh"
  3011. mesh.MeshId = "rbxassetid://964265074"
  3012. mesh.Parent = rh
  3013. local weld = Instance.new("Weld")
  3014. weld.Parent = rh
  3015. weld.Part0 = rh
  3016. weld.Part1 =char.Head
  3017. weld.C0 = CFrame.new(0, -0.6, 0.6)*CFrame.Angles(14, 0, 0)
  3018. mesh.Scale = Vector3.new(0.002,0.002,0.002)
  3019.  
  3020. h2 = Instance.new("Model")
  3021. h2.Parent = char
  3022. h2.Name = "h2"
  3023. rh = Instance.new("Part")
  3024. rh.Parent = h2
  3025. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  3026. rh.Locked = true
  3027. rh.CanCollide = false
  3028. mesh = Instance.new("SpecialMesh")
  3029. rh.formFactor = "Symmetric"
  3030. mesh.MeshType = "FileMesh"
  3031. mesh.MeshId = "rbxassetid://964265074"
  3032. mesh.Parent = rh
  3033. local weld = Instance.new("Weld")
  3034. weld.Parent = rh
  3035. weld.Part0 = rh
  3036. weld.Part1 =char.Torso
  3037. weld.C0 = CFrame.new(0, -0.6, 1.2)*CFrame.Angles(14, 0, 0)
  3038. mesh.Scale = Vector3.new(0.005,0.005,0.005)
  3039.  
  3040. h3 = Instance.new("Model")
  3041. h3.Parent = char
  3042. h3.Name = "h3"
  3043. rh = Instance.new("Part")
  3044. rh.Parent = h3
  3045. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  3046. rh.Locked = true
  3047. rh.CanCollide = false
  3048. mesh = Instance.new("SpecialMesh")
  3049. rh.formFactor = "Symmetric"
  3050. mesh.MeshType = "FileMesh"
  3051. mesh.MeshId = "rbxassetid://964265074"
  3052. mesh.Parent = rh
  3053. local weld = Instance.new("Weld")
  3054. weld.Parent = rh
  3055. weld.Part0 = rh
  3056. weld.Part1 = char["Right Leg"]
  3057. weld.C0 = CFrame.new(0.2, -0.8, 0)*CFrame.Angles(14, 0.2, 0)
  3058. mesh.Scale = Vector3.new(0.003,0.003, 0.003)
  3059.  
  3060. h4 = Instance.new("Model")
  3061. h4.Parent = char
  3062. h4.Name = "h4"
  3063. rh = Instance.new("Part")
  3064. rh.Parent = h4
  3065. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  3066. rh.Locked = true
  3067. rh.CanCollide = false
  3068. mesh = Instance.new("SpecialMesh")
  3069. rh.formFactor = "Symmetric"
  3070. mesh.MeshType = "FileMesh"
  3071. mesh.MeshId = "rbxassetid://964265074"
  3072. mesh.Parent = rh
  3073. local weld = Instance.new("Weld")
  3074. weld.Parent = rh
  3075. weld.Part0 = rh
  3076. weld.Part1 = char["Left Leg"]
  3077. weld.C0 = CFrame.new(-0.2, -0.8, 0)*CFrame.Angles(14, -0.2, 0)
  3078. mesh.Scale = Vector3.new(0.003,0.003, 0.003)
  3079.  
  3080.  
  3081. pack = Instance.new("Model")
  3082. pack.Parent = char
  3083. pack.Name = "pack"
  3084. rh = Instance.new("Part")
  3085. rh.Parent = pack
  3086. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  3087. rh.Locked = true
  3088. rh.CanCollide = false
  3089. mesh = Instance.new("SpecialMesh")
  3090. rh.formFactor = "Symmetric"
  3091. mesh.MeshType = "FileMesh"
  3092. mesh.MeshId = "rbxassetid://882255459"
  3093. mesh.Parent = rh
  3094. local weld = Instance.new("Weld")
  3095. weld.Parent = rh
  3096. weld.Part0 = rh
  3097. weld.Part1 = char.Torso
  3098. weld.C0 = CFrame.new(0, -0.8, -0.5)*CFrame.Angles(0, 0, 0)
  3099. mesh.Scale = Vector3.new(0.018,0.0125,0.02)
  3100.  
  3101. hand1 = Instance.new("Model")
  3102. hand1.Parent = char
  3103. hand1.Name = "hand1"
  3104. rh = Instance.new("Part")
  3105. rh.Parent = hand1
  3106. rh.BrickColor = BrickColor.new("Quill grey")
  3107. rh.Locked = true
  3108. rh.CanCollide = false
  3109. mesh = Instance.new("SpecialMesh")
  3110. rh.formFactor = "Symmetric"
  3111. mesh.MeshType = "FileMesh"
  3112. mesh.MeshId = "rbxassetid://1208185808"
  3113. mesh.Parent = rh
  3114. local weld = Instance.new("Weld")
  3115. weld.Parent = rh
  3116. weld.Part0 = rh
  3117. weld.Part1 = char["Right Arm"]
  3118. weld.C0 = CFrame.new(-0.05, 0.6, 0.635)*CFrame.Angles(0, 1.5, 0)
  3119. mesh.Scale = Vector3.new(0.07,0.07, 0.07)
  3120.  
  3121. hand2 = Instance.new("Model")
  3122. hand2.Parent = char
  3123. hand2.Name = "hand2"
  3124. rh = Instance.new("Part")
  3125. rh.Parent = hand2
  3126. rh.BrickColor = BrickColor.new("Quill grey")
  3127. rh.Locked = true
  3128. rh.CanCollide = false
  3129. mesh = Instance.new("SpecialMesh")
  3130. rh.formFactor = "Symmetric"
  3131. mesh.MeshType = "FileMesh"
  3132. mesh.MeshId = "rbxassetid://1208185808"
  3133. mesh.Parent = rh
  3134. local weld = Instance.new("Weld")
  3135. weld.Parent = rh
  3136. weld.Part0 = rh
  3137. weld.Part1 = char["Left Arm"]
  3138. weld.C0 = CFrame.new(0.05, 0.6, 0.635)*CFrame.Angles(0, -1.5, 0)
  3139. mesh.Scale = Vector3.new(0.07,0.07, 0.07)
  3140.  
  3141.  
  3142. New = function(Object, Parent, Name, Data)
  3143. local Object = Instance.new(Object)
  3144. for Index, Value in pairs(Data or {}) do
  3145. Object[Index] = Value
  3146. end
  3147. Object.Parent = Parent
  3148. Object.Name = Name
  3149. return Object
  3150. end
  3151.  
  3152. mse.KeyDown:connect(function(key)
  3153. key = key:lower()
  3154. if key == "p" then
  3155. canworld = true
  3156. one:Play()
  3157. end
  3158. end
  3159. )
  3160.  
  3161. mse.KeyDown:connect(function(key)
  3162. key = key:lower()
  3163. if key == "j" then
  3164. canworld = true
  3165. two:Play()
  3166. end
  3167. end
  3168. )
  3169.  
  3170. mse.KeyDown:connect(function(key)
  3171. key = key:lower()
  3172. if key == "k" then
  3173. canworld = true
  3174. three:Play()
  3175. end
  3176. end
  3177. )
  3178.  
  3179. mse.KeyDown:connect(function(key)
  3180. key = key:lower()
  3181. if key == "l" then
  3182. canworld = true
  3183. four:Play()
  3184. end
  3185. end
  3186. )
  3187.  
  3188. mse.KeyDown:connect(function(key)
  3189. key = key:lower()
  3190. if key == "n" then
  3191. canworld = true
  3192. five:Play()
  3193. end
  3194. end
  3195. )
  3196.  
  3197. mse.KeyDown:connect(function(key)
  3198. key = key:lower()
  3199. if key == "m" then
  3200. canworld = true
  3201. six:Play()
  3202. end
  3203. end
  3204. )
  3205.  
  3206. mse.KeyDown:connect(function(key)
  3207. key = key:lower()
  3208. if key == "," then
  3209. canworld = true
  3210. seven:Play()
  3211. end
  3212. end
  3213. )
  3214.  
  3215. mse.KeyDown:connect(function(key)
  3216. key = key:lower()
  3217. if key == "." then
  3218. canworld = true
  3219. eight:Play()
  3220. end
  3221. end
  3222. )
  3223.  
  3224. mse.KeyDown:connect(function(key)
  3225. key = key:lower()
  3226. if key == "r" then
  3227. canworld = true
  3228. nine:Play()
  3229. end
  3230. end
  3231. )
  3232.  
  3233. mse.KeyDown:connect(function(key)
  3234. key = key:lower()
  3235. if key == "t" then
  3236. canworld = true
  3237. ten:Play()
  3238. end
  3239. end
  3240. )
  3241.  
  3242. mse.KeyDown:connect(function(key)
  3243. key = key:lower()
  3244. if key == "y" then
  3245. canworld = true
  3246. laugh = CFuncs.Sound.Create("1384420463")
  3247. laugh.Volume = 7
  3248. bbgTl.Text = "*laughs in japanese*"
  3249. wait(10)
  3250. bbgTl.Text = " "
  3251. end
  3252. end
  3253. )
  3254.  
  3255. function clerp(a,b,c,d)
  3256. for i = 0,d,.01 do
  3257. a.CFrame = CFrame.new(b:lerp(c,i))
  3258. wait()
  3259. end
  3260. end
  3261. function slerp(a2,b2,c2,d2)
  3262. for i2 = 0,d2,.01 do
  3263. a2.CFrame = CFrame.new(b2:lerp(c2,i2))
  3264. wait()
  3265. end
  3266. end
  3267. part = nil
  3268. mse.KeyDown:connect(function(key)
  3269. if key == "e" and part == nil then
  3270. local bam = CFuncs.Sound.Create("1180230203")
  3271. bam.Volume = 10
  3272. plr.Character.Torso.CFrame = CFrame.new(Vector3.new(mse.hit.p.X,mse.hit.p.Y+1.5,mse.hit.p.Z),plr.Character.Torso.CFrame.p)
  3273. end
  3274. end
  3275. )
  3276.  
  3277. canworld = true
  3278. mse.KeyDown:connect(function(key)
  3279. key = key:lower()
  3280. if key == "g" then
  3281. if canworld == false then return end
  3282. if canworld then
  3283. canworld = false
  3284. zwoh = CFuncs.Sound.Create("1193182658")
  3285. zwoh.Volume = 10
  3286. zwoh.Parent = game.workspace
  3287.  
  3288. bbgTl.Text = "THE WORLD, OVER HEAVEN!"
  3289. local function spawnpart()
  3290. sphere = Instance.new("Part")
  3291. sphere.Position = char.Torso
  3292. local sm = Instance.new("SpecialMesh", sphere)
  3293. sm.MeshType = "Sphere"
  3294. sphere.Transparency = 1
  3295. sphere.Anchored = true
  3296. sphere.CanCollide = false
  3297. sphere.Material = "Neon"
  3298. sphere.BrickColor = BrickColor.new("White")
  3299. end
  3300. wait(1.5)
  3301. xd:Play()
  3302.  
  3303. local function weld(lol)
  3304. local weld = Instance.new("Weld", plr.Character.Torso)
  3305. weld.Part0 = plr.Character.Torso
  3306. weld.Part1 = lol
  3307. weld.C0 = plr.Character.Torso.CFrame:inverse()
  3308. weld.C1 = lol.CFrame:inverse()
  3309. end
  3310. wait(1.4)
  3311. spawnpart()
  3312. for i, v in pairs(game.Players:GetChildren()) do
  3313. t = v.Character:FindFirstChild("Torso")
  3314. if t then
  3315. t.Anchored = true
  3316. plr.Character:FindFirstChild("Torso").Anchored = false
  3317. end
  3318. RA = v.Character:FindFirstChild("Right Arm")
  3319. if RA then
  3320. RA.Anchored = true
  3321. plr.Character:FindFirstChild("Right Arm").Anchored = false
  3322. end
  3323. LA = v.Character:FindFirstChild("Left Arm")
  3324. if LA then
  3325. LA.Anchored = true
  3326. plr.Character:FindFirstChild("Left Arm").Anchored = false
  3327. end
  3328. RL = v.Character:FindFirstChild("Right Leg")
  3329. if RL then
  3330. RL.Anchored = true
  3331. plr.Character:FindFirstChild("Right Leg").Anchored = false
  3332. end
  3333. LL = v.Character:FindFirstChild("Left Leg")
  3334. if LL then
  3335. LL.Anchored = true
  3336. plr.Character:FindFirstChild("Left Leg").Anchored = false
  3337. end
  3338. end
  3339.  
  3340. weld(sphere)
  3341. sphere.Parent = game.Workspace
  3342. for i = 1,10 do
  3343. sm.Size = sm.Size + Vector3.new(-100,-100,-100)
  3344. wait()
  3345. end
  3346. sm.Size = Vector3(0,0,0)
  3347.  
  3348. --wait(5)
  3349.  
  3350. for i = 1,10 do
  3351. sphere.Size = sphere.Size - Vector3.new(100,100,100)
  3352. wait()
  3353. end
  3354. sm.Size = Vector3(0,0,0)
  3355.  
  3356. wait(2)
  3357. bbgTl.Text = " "
  3358. end
  3359. end
  3360. end)
  3361.  
  3362. mse.KeyDown:connect(function(key)
  3363. key = key:lower()
  3364. if key == "h" then
  3365. canworld = true
  3366. ugoki:Play()
  3367. wait(.5)
  3368. move:Play()
  3369. xd:Stop()
  3370. bbgTl.Text = "..Time resumes once again."
  3371. for i, v in pairs(game.Players:GetChildren()) do
  3372. t = v.Character:FindFirstChild("Torso")
  3373. if t then
  3374. t.Anchored = false
  3375. end
  3376. RA = v.Character:FindFirstChild("Right Arm")
  3377. if RA then
  3378. RA.Anchored = false
  3379. end
  3380. LA = v.Character:FindFirstChild("Left Arm")
  3381. if LA then
  3382. LA.Anchored = false
  3383. end
  3384. RL = v.Character:FindFirstChild("Right Leg")
  3385. if RL then
  3386. RL.Anchored = false
  3387. end
  3388. LL = v.Character:FindFirstChild("Left Leg")
  3389. if LL then
  3390. LL.Anchored = false
  3391. end
  3392. end
  3393. bbgTl.Text = " "
  3394.  
  3395.  
  3396.  
  3397. wait(0.5)
  3398. bbgTl.Text = " "
  3399.  
  3400. sphere:Destroy()
  3401. end
  3402. end)
  3403.  
  3404.  
  3405.  
  3406. Effects = {}
  3407. local Player = game.Players.localPlayer
  3408. local Character = Player.Character
  3409. Character.Archivable = true
  3410. AdvancingFortress = Character:Clone()
  3411. AdvancingFortress.Parent = Character
  3412. torso = AdvancingFortress.Torso
  3413. hum = AdvancingFortress.Humanoid
  3414. AdvancingFortress.Name = "Advancing Fortress"
  3415. pl = AdvancingFortress
  3416. local FOrin = "rbxassetid://541645615"
  3417. AdvancingFortress.Head.face.Texture = FOrin
  3418. Character["Advancing Fortress"].Hat3:Destroy()
  3419. Character["Advancing Fortress"].Hat.Part.Transparency = 1
  3420. Character["Advancing Fortress"].Pipe.Part.Transparency = 1
  3421. Character["Advancing Fortress"].Armor.Part.Transparency = 1
  3422. Character["Advancing Fortress"].armban1.Part.Transparency = 1
  3423. Character["Advancing Fortress"].armban2.Part.Transparency = 1
  3424. Character["Advancing Fortress"].lhip.Part.Transparency = 1
  3425. Character["Advancing Fortress"].rhip.Part.Transparency = 1
  3426. Character["Advancing Fortress"].h1.Part.Transparency = 1
  3427. Character["Advancing Fortress"].h2.Part.Transparency = 1
  3428. Character["Advancing Fortress"].h3.Part.Transparency = 1
  3429. Character["Advancing Fortress"].h4.Part.Transparency = 1
  3430. Character["Advancing Fortress"].pack.Part.Transparency = 1
  3431. Character["Advancing Fortress"].hand1.Part.Transparency = 1
  3432. Character["Advancing Fortress"].hand2.Part.Transparency = 1
  3433. AdvancingFortress.Head.face.Transparency = 1
  3434. Character.Hat:Destroy()
  3435. Character.Pipe:Destroy()
  3436. Character.Armor:Destroy()
  3437. Character.armban1:Destroy()
  3438. Character.armban2:Destroy()
  3439. Character.lhip:Destroy()
  3440. Character.rhip:Destroy()
  3441. Character.h1:Destroy()
  3442. Character.h2:Destroy()
  3443. Character.h3:Destroy()
  3444. Character.h4:Destroy()
  3445. Character.pack:Destroy()
  3446. Character.hand1:Destroy()
  3447. Character.hand2:Destroy()
  3448. for i, v in pairs(AdvancingFortress:GetChildren()) do
  3449. if v:IsA("BasePart") then
  3450. v.Transparency = 1
  3451. end
  3452. end
  3453. local Humanoid = AdvancingFortress.Humanoid
  3454. local Mouse = Player:GetMouse()
  3455. local LeftArm = AdvancingFortress["Left Arm"]
  3456. local RightArm = AdvancingFortress["Right Arm"]
  3457. local LeftLeg = AdvancingFortress["Left Leg"]
  3458. local RightLeg = AdvancingFortress["Right Leg"]
  3459. local Head = AdvancingFortress.Head
  3460. local Torso = AdvancingFortress.Torso
  3461. local Camera = game.Workspace.CurrentCamera
  3462. local RootPart = AdvancingFortress.HumanoidRootPart
  3463. local RootJoint = RootPart.RootJoint
  3464. local attack = false
  3465. local Anim = "Idle"
  3466. local attacktype = 1
  3467. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  3468. local velocity = RootPart.Velocity.y
  3469. local sine = 0
  3470. local change = 1
  3471. local Create = LoadLibrary("RbxUtility").Create
  3472. local TimeStop = false
  3473. local m = Create("Model")({
  3474. Parent = AdvancingFortress,
  3475. Name = "WeaponModel"
  3476. })
  3477.  
  3478. AdvancingFortress.Head.Name = "FHead"
  3479. AdvancingFortress.Torso.Name = "FTorso"
  3480. AdvancingFortress.HumanoidRootPart.Name = "FHumanoidRootPart"
  3481. Humanoid.Animator.Parent = nil
  3482. AdvancingFortress.Animate.Parent = nil
  3483. local function newMotor(part0, part1, c0, c1)
  3484. local w = Create("Weld")({
  3485. Parent = part0,
  3486. Part0 = part0,
  3487. Part1 = part1,
  3488. C0 = c0,
  3489. C1 = c1
  3490. })
  3491. return w
  3492. end
  3493. function clerp(a, b, t)
  3494. return a:lerp(b, t)
  3495. end
  3496. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  3497. NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  3498. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  3499. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  3500. local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
  3501. local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
  3502. RootJoint.C1 = CFrame.new(0, 0, 0)
  3503. RootJoint.C0 = CFrame.new(0, 0, 0)
  3504. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  3505. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  3506. local rarmc1 = RW.C1
  3507. local larmc1 = LW.C1
  3508. local rlegc1 = RH.C1
  3509. local llegc1 = LH.C1
  3510. local resetc1 = false
  3511. function PlayAnimationFromTable(table, speed, bool)
  3512. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  3513. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  3514. RW.C0 = clerp(RW.C0, table[3], speed)
  3515. LW.C0 = clerp(LW.C0, table[4], speed)
  3516. RH.C0 = clerp(RH.C0, table[5], speed)
  3517. LH.C0 = clerp(LH.C0, table[6], speed)
  3518. if bool == true and resetc1 == false then
  3519. resetc1 = true
  3520. RootJoint.C1 = RootJoint.C1
  3521. Torso.Neck.C1 = Torso.Neck.C1
  3522. RW.C1 = rarmc1
  3523. LW.C1 = larmc1
  3524. RH.C1 = rlegc1
  3525. LH.C1 = llegc1
  3526. end
  3527. end
  3528. ArtificialHB = Create("BindableEvent", script)({Parent = script, Name = "Heartbeat"})
  3529. script:WaitForChild("Heartbeat")
  3530. frame = 0.03333333333333333
  3531. tf = 0
  3532. allowframeloss = false
  3533. tossremainder = false
  3534. lastframe = tick()
  3535. script.Heartbeat:Fire()
  3536. game:GetService("RunService").Heartbeat:connect(function(s, p)
  3537. tf = tf + s
  3538. if tf >= frame then
  3539. if allowframeloss then
  3540. script.Heartbeat:Fire()
  3541. lastframe = tick()
  3542. else
  3543. for i = 1, math.floor(tf / frame) do
  3544. script.Heartbeat:Fire()
  3545. end
  3546. lastframe = tick()
  3547. end
  3548. if tossremainder then
  3549. tf = 0
  3550. else
  3551. tf = tf - frame * math.floor(tf / frame)
  3552. end
  3553. end
  3554. end)
  3555. function swait(num)
  3556. if num == 0 or num == nil then
  3557. ArtificialHB.Event:wait()
  3558. else
  3559. for i = 0, num do
  3560. ArtificialHB.Event:wait()
  3561. end
  3562. end
  3563. end
  3564. function RemoveOutlines(part)
  3565. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  3566. end
  3567. CFuncs = {
  3568. Part = {
  3569. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  3570. local Part = Create("Part")({
  3571. Parent = Parent,
  3572. Reflectance = Reflectance,
  3573. Transparency = Transparency,
  3574. CanCollide = false,
  3575. Locked = true,
  3576. BrickColor = BrickColor.new(tostring(BColor)),
  3577. Name = Name,
  3578. Size = Size,
  3579. Material = Material
  3580. })
  3581. RemoveOutlines(Part)
  3582. return Part
  3583. end
  3584. },
  3585. Mesh = {
  3586. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  3587. local Msh = Create(Mesh)({
  3588. Parent = Part,
  3589. Offset = OffSet,
  3590. Scale = Scale
  3591. })
  3592. if Mesh == "SpecialMesh" then
  3593. Msh.MeshType = MeshType
  3594. Msh.MeshId = MeshId
  3595. end
  3596. return Msh
  3597. end
  3598. },
  3599. Weld = {
  3600. Create = function(Parent, Part0, Part1, C0, C1)
  3601. local Weld = Create("Weld")({
  3602. Parent = Parent,
  3603. Part0 = Part0,
  3604. Part1 = Part1,
  3605. C0 = C0,
  3606. C1 = C1
  3607. })
  3608. return Weld
  3609. end
  3610. },
  3611. Sound = {
  3612. Create = function(id, par, vol, pit)
  3613. local Sound = Create("Sound")({
  3614. Volume = vol,
  3615. Pitch = pit or 1,
  3616. SoundId = "rbxassetid://" .. id,
  3617. Parent = par or workspace
  3618. })
  3619. Sound:play()
  3620. game:GetService("Debris"):AddItem(Sound, 130)
  3621. return Sound
  3622. end
  3623. },
  3624. Decal = {
  3625. Create = function(Color, Texture, Transparency, Name, Parent)
  3626. local Decal = Create("Decal")({
  3627. Color3 = Color,
  3628. Texture = "rbxassetid://" .. Texture,
  3629. Transparency = Transparency,
  3630. Name = Name,
  3631. Parent = Parent
  3632. })
  3633. return Decal
  3634. end
  3635. },
  3636. BillboardGui = {
  3637. Create = function(Parent, Image, Position, Size)
  3638. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  3639. BillPar.CFrame = CFrame.new(Position)
  3640. local Bill = Create("BillboardGui")({
  3641. Parent = BillPar,
  3642. Adornee = BillPar,
  3643. Size = UDim2.new(1, 0, 1, 0),
  3644. SizeOffset = Vector2.new(Size, Size)
  3645. })
  3646. local d = Create("ImageLabel", Bill)({
  3647. Parent = Bill,
  3648. BackgroundTransparency = 1,
  3649. Size = UDim2.new(1, 0, 1, 0),
  3650. Image = "rbxassetid://" .. Image
  3651. })
  3652. return BillPar
  3653. end
  3654. },
  3655. ParticleEmitter = {
  3656. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  3657. local Particle = Create("ParticleEmitter")({
  3658. Parent = Parent,
  3659. Color = ColorSequence.new(Color1, Color2),
  3660. LightEmission = LightEmission,
  3661. Size = Size,
  3662. Texture = Texture,
  3663. Transparency = Transparency,
  3664. ZOffset = ZOffset,
  3665. Acceleration = Accel,
  3666. Drag = Drag,
  3667. LockedToPart = LockedToPart,
  3668. VelocityInheritance = VelocityInheritance,
  3669. EmissionDirection = EmissionDirection,
  3670. Enabled = Enabled,
  3671. Lifetime = LifeTime,
  3672. Rate = Rate,
  3673. Rotation = Rotation,
  3674. RotSpeed = RotSpeed,
  3675. Speed = Speed,
  3676. VelocitySpread = VelocitySpread
  3677. })
  3678. return Particle
  3679. end
  3680. },
  3681. CreateTemplate = {}
  3682. }
  3683. function rayCast(Position, Direction, Range, Ignore)
  3684. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  3685. end
  3686. function FindNearestTorso(pos)
  3687. local list = game.Workspace:children()
  3688. local torso
  3689. local dist = 1000
  3690. local temp, human, temp2
  3691. for x = 1, #list do
  3692. temp2 = list[x]
  3693. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  3694. temp = temp2:findFirstChild("Torso")
  3695. human = temp2:findFirstChild("Humanoid")
  3696. if temp ~= nil and human ~= nil and human.Health > 0 and dist > (temp.Position - pos).magnitude then
  3697. local dohit = true
  3698. if dohit == true then
  3699. torso = temp
  3700. dist = (temp.Position - pos).magnitude
  3701. end
  3702. end
  3703. end
  3704. end
  3705. return torso, dist
  3706. end
  3707. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  3708. if hit.Parent == nil then
  3709. return
  3710. end
  3711. local h = hit.Parent:FindFirstChild("Humanoid")
  3712. for _, v in pairs(hit.Parent:children()) do
  3713. if v:IsA("Humanoid") then
  3714. h = v
  3715. end
  3716. end
  3717. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  3718. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  3719. return
  3720. end
  3721. local c = Create("ObjectValue")({
  3722. Name = "creator",
  3723. Value = game:service("Players").LocalPlayer,
  3724. Parent = h
  3725. })
  3726. game:GetService("Debris"):AddItem(c, 0.5)
  3727. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  3728. local Damage = math.random(minim, maxim)
  3729. local blocked = false
  3730. local block = hit.Parent:findFirstChild("Block")
  3731. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  3732. blocked = true
  3733. block.Value = block.Value - 1
  3734. print(block.Value)
  3735. end
  3736. if TimeStop == false then
  3737. h.Health = h.Health - Damage
  3738. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Tr. Flu. Yellow").Color)
  3739. elseif TimeStop == true then
  3740. repeat wait() until TimeStop == false
  3741. h.Health = h.Health - Damage / 2
  3742. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Tr. Flu. Yellow").Color)
  3743. end
  3744. if Type == "Knockdown" then
  3745. local hum = hit.Parent.Humanoid
  3746. hum.PlatformStand = true
  3747. coroutine.resume(coroutine.create(function(HHumanoid)
  3748. swait(1)
  3749. HHumanoid.PlatformStand = false
  3750. end), hum)
  3751. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  3752. local bodvol = Create("BodyVelocity")({
  3753. velocity = angle * knockback,
  3754. P = 5000,
  3755. maxForce = Vector3.new(8000, 8000, 8000),
  3756. Parent = hit
  3757. })
  3758. local rl = Create("BodyAngularVelocity")({
  3759. P = 3000,
  3760. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  3761. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  3762. Parent = hit
  3763. })
  3764. game:GetService("Debris"):AddItem(bodvol, 0.5)
  3765. game:GetService("Debris"):AddItem(rl, 0.5)
  3766. elseif Type == "Normal" then
  3767. local vp = Create("BodyVelocity")({
  3768. P = 500,
  3769. maxForce = Vector3.new(math.huge, 0, math.huge),
  3770. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  3771. })
  3772. if knockback > 0 then
  3773. vp.Parent = hit.Parent.Torso
  3774. end
  3775. game:GetService("Debris"):AddItem(vp, 0.5)
  3776. elseif Type == "Up" then
  3777. local bodyVelocity = Create("BodyVelocity")({
  3778. velocity = Vector3.new(0, 20, 0),
  3779. P = 5000,
  3780. maxForce = Vector3.new(8000, 8000, 8000),
  3781. Parent = hit
  3782. })
  3783. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  3784. elseif Type == "DarkUp" then
  3785. coroutine.resume(coroutine.create(function()
  3786. for i = 0, 1, 0.1 do
  3787. swait()
  3788. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  3789. end
  3790. end))
  3791. local bodyVelocity = Create("BodyVelocity")({
  3792. velocity = Vector3.new(0, 20, 0),
  3793. P = 5000,
  3794. maxForce = Vector3.new(8000, 8000, 8000),
  3795. Parent = hit
  3796. })
  3797. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  3798. elseif Type == "Snare" then
  3799. local bp = Create("BodyPosition")({
  3800. P = 2000,
  3801. D = 100,
  3802. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3803. position = hit.Parent.Torso.Position,
  3804. Parent = hit.Parent.Torso
  3805. })
  3806. game:GetService("Debris"):AddItem(bp, 1)
  3807. elseif Type == "Freeze" then
  3808. local BodPos = Create("BodyPosition")({
  3809. P = 50000,
  3810. D = 1000,
  3811. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3812. position = hit.Parent.Torso.Position,
  3813. Parent = hit.Parent.Torso
  3814. })
  3815. local BodGy = Create("BodyGyro")({
  3816. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  3817. P = 20000,
  3818. Parent = hit.Parent.Torso,
  3819. cframe = hit.Parent.Torso.CFrame
  3820. })
  3821. hit.Parent.Torso.Anchored = true
  3822. coroutine.resume(coroutine.create(function(Part)
  3823. swait(1.5)
  3824. Part.Anchored = false
  3825. end), hit.Parent.Torso)
  3826. game:GetService("Debris"):AddItem(BodPos, 3)
  3827. game:GetService("Debris"):AddItem(BodGy, 3)
  3828. end
  3829. local debounce = Create("BoolValue")({
  3830. Name = "DebounceHit",
  3831. Parent = hit.Parent,
  3832. Value = true
  3833. })
  3834. game:GetService("Debris"):AddItem(debounce, Delay)
  3835. c = Create("ObjectValue")({
  3836. Name = "creator",
  3837. Value = Player,
  3838. Parent = h
  3839. })
  3840. game:GetService("Debris"):AddItem(c, 0.5)
  3841. end
  3842. end
  3843. function ShowDamage(Pos, Text, Time, Color)
  3844. local Rate = 0.03333333333333333
  3845. local Pos = Pos or Vector3.new(0, 0, 0)
  3846. local Text = Text or ""
  3847. local Time = Time or 2
  3848. local Color = Color or Color3.new(1, 0, 1)
  3849. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  3850. EffectPart.Anchored = true
  3851. local BillboardGui = Create("BillboardGui")({
  3852. Size = UDim2.new(3, 0, 3, 0),
  3853. Adornee = EffectPart,
  3854. Parent = EffectPart
  3855. })
  3856. local TextLabel = Create("TextLabel")({
  3857. BackgroundTransparency = 1,
  3858. Size = UDim2.new(1, 0, 1, 0),
  3859. Text = Text,
  3860. Font = "SciFi",
  3861. TextColor3 = Color,
  3862. TextScaled = true,
  3863. Parent = BillboardGui
  3864. })
  3865. game.Debris:AddItem(EffectPart, Time)
  3866. EffectPart.Parent = game:GetService("Workspace")
  3867. delay(0, function()
  3868. local Frames = Time / Rate
  3869. for Frame = 1, Frames do
  3870. wait(Rate)
  3871. local Percent = Frame / Frames
  3872. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  3873. TextLabel.TextTransparency = Percent
  3874. end
  3875. if EffectPart and EffectPart.Parent then
  3876. EffectPart:Destroy()
  3877. end
  3878. end)
  3879. end
  3880. local STDamage = false
  3881. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  3882. for _, c in pairs(workspace:children()) do
  3883. local hum = c:findFirstChild("Humanoid")
  3884. if hum ~= nil then
  3885. local head = c:findFirstChild("Torso")
  3886. if head ~= nil then
  3887. local targ = head.Position - Part.Position
  3888. local mag = targ.magnitude
  3889. if Magnitude >= mag and c.Name ~= Player.Name then
  3890. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0.1, HitSound, HitPitch)
  3891. if STDamage == true then
  3892. for i = 1, 3 do
  3893. Effects.Block.Create(BrickColor.new("Maroon"), head.CFrame, 1, 1, 1, 4, 4, 4, 0.07, 1)
  3894. end
  3895. for i = 1, 10 do
  3896. CamShake(1, 70000)
  3897. Effects.Break.Create(BrickColor.new("Maroon"), head.CFrame, 1, 1, 1)
  3898. end
  3899. elseif STDamage == false then
  3900. CamShake(1, 90000)
  3901. Effects.Block.Create(BrickColor.new("Maroon"), head.CFrame, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.07, 1)
  3902. for i = 1, 2 do
  3903. Effects.Break.Create(BrickColor.new("Maroon"), head.CFrame, 0.4, 0.4, 0.4)
  3904. end
  3905. end
  3906. end
  3907. end
  3908. end
  3909. end
  3910. end
  3911. HHandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "HHandle", Vector3.new(1.09999979, 0.299999923, 1.0999999))
  3912. 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))
  3913. Eye1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Really black", "Eye1", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  3914. PartWeld = CFuncs.Weld.Create(m, HHandle, Eye1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0381011963, -0.0574798584, 0.471725464, -2.89082527E-6, 0.173647985, -0.984807968, -6.2584877E-7, 0.984808922, 0.173648104, 1.00000012, 1.02902288E-6, -2.77161598E-6))
  3915. CFuncs.Mesh.Create("SpecialMesh", Eye1, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3916. Eye2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Really black", "Eye2", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  3917. PartWeld = CFuncs.Weld.Create(m, HHandle, Eye2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0115432739, -0.0487277508, 0.482452393, -0.981060266, -0.173648134, -0.0858327746, -0.172987267, 0.984808922, -0.0151339322, 0.0871568322, 3.96735317E-7, -0.996194839))
  3918. CFuncs.Mesh.Create("SpecialMesh", Eye2, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3919. THandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "THandle", Vector3.new(1, 0.799999893, 1))
  3920. 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))
  3921. AHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "AHandleR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  3922. 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))
  3923. HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "HitboxR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  3924. 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))
  3925. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998))
  3926. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999984741, 0.550004005, 0, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  3927. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  3928. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.150001526, 0.200003624, -0.359994888, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  3929. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  3930. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.20000267, 0.359992981, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  3931. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005))
  3932. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.209899902, -0.809997559, 5.7220459E-6, -1, 8.19564079E-8, -5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, -5.96046519E-8, 1.41561088E-7, -1.00000024))
  3933. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998))
  3934. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.300003052, 0.650004387, 1.71661377E-5, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  3935. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998))
  3936. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.650003433, 0, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  3937. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041))
  3938. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199996948, -0.049996376, -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))
  3939. HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "HitboxR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  3940. 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))
  3941. AHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "AHandleL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
  3942. 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))
  3943. HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "HitboxL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
  3944. 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))
  3945. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  3946. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149986267, 0.200001717, -0.360012054, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  3947. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041))
  3948. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199989319, -0.0499982834, -9.53674316E-6, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  3949. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  3950. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149986267, 0.200001717, 0.359992981, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  3951. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005))
  3952. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.21005249, -0.81000042, 2.28881836E-5, -1, -8.19564079E-8, -5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, -5.96046519E-8, -1.41561088E-7, -1.00000024))
  3953. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998))
  3954. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999984741, 0.550003052, -5.7220459E-6, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  3955. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998))
  3956. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.299995422, 0.650003433, -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))
  3957. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998))
  3958. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.65000248, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  3959. LHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "LHandleR", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  3960. 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))
  3961. HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "HitboxR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  3962. HitboxLWeld = 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))
  3963. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.800000012, 0.800000012, 0.200000003))
  3964. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00498962402, -0.00499916077, -0.604999542, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  3965. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  3966. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.600002289, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  3967. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(1.02999997, 0.699999928, 1.19000006))
  3968. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.454998016, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  3969. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.400000006, 1.20000005, 0.200000003))
  3970. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00499725342, -0.00499916077, -0.604999542, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  3971. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Quill grey", "Part", Vector3.new(0.800000131, 1.20000005, 0.800000012))
  3972. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00499725342, 0.0149993896, 0.00500297546, 2.28095047E-7, 1.00000775, 2.99581131E-7, -1.00000417, 5.63755016E-8, -4.06898749E-7, -2.98379774E-7, 2.07959161E-8, 1.0000037))
  3973. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3974. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  3975. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.604999542, -0.504998207, 0.29499054, -2.98023224E-8, -6.70552254E-8, -1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8))
  3976. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3977. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  3978. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.60499382, -0.495001793, 0.305000305, -5.96046519E-8, -1.41561088E-7, -1.00000024, -8.19564079E-8, -1.00000119, -1.41561088E-7, -1, -8.19564079E-8, -5.96046519E-8))
  3979. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3980. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  3981. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.604999542, -0.495001793, 0.29499054, 2.98023224E-8, 6.70552254E-8, 1.00000012, -3.7252903E-8, -1.0000006, -7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8))
  3982. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3983. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  3984. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.604999542, -0.504998207, 0.305000305, 2.98023224E-8, 6.70552254E-8, 1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, -1, -4.47034836E-8, -2.98023224E-8))
  3985. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3986. LHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "LHandleL", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  3987. 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))
  3988. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3989. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  3990. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.600001335, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  3991. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.400000006, 1.20000005, 0.300000012))
  3992. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00499725342, -0.00500106812, -0.554998398, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  3993. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(1.02999997, 0.699999928, 1.19000006))
  3994. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.454999924, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  3995. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Quill grey", "Part", Vector3.new(0.800000131, 1.20000005, 0.800000012))
  3996. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00499534607, 0.0149993896, 0.00500297546, 2.28095047E-7, 1.00000775, 2.99581131E-7, -1.00000417, 5.63755016E-8, -4.06898749E-7, -2.98379774E-7, 2.07959161E-8, 1.0000037))
  3997. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3998. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.800000012, 0.800000012, 0.300000012))
  3999. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00498962402, -0.00500106812, -0.554998398, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  4000. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  4001. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.554998398, -0.505000114, 0.305000305, 2.98023224E-8, 6.70552254E-8, 1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, -1, -4.47034836E-8, -2.98023224E-8))
  4002. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4003. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  4004. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.554998398, -0.505000114, 0.29499054, -2.98023224E-8, -6.70552254E-8, -1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8))
  4005. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4006. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  4007. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.554998398, -0.494999886, 0.29499054, 2.98023224E-8, 6.70552254E-8, 1.00000012, -3.7252903E-8, -1.0000006, -7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8))
  4008. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  4009. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  4010. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.554998398, -0.494999886, 0.305000305, -5.96046519E-8, -1.41561088E-7, -1.00000024, -8.19564079E-8, -1.00000119, -1.41561088E-7, -1, -8.19564079E-8, -5.96046519E-8))
  4011. Shield = CFuncs.Part.Create(m, "Neon", 0, 0, "Tr. Flu. Yellow", "Part", Vector3.new(9.1, 8.5, 0.2))
  4012. CFuncs.Mesh.Create("SpecialMesh", Shield, "FileMesh", "rbxassetid://0", Vector3.new(0, 0, 0), Vector3.new(0.04, 0.04, 0.04))
  4013. Shield.Parent = nil
  4014. EffectModel = Create("Model")({Parent = Character, Name = "Effects"})
  4015. Effects = {
  4016. Block = {
  4017. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  4018. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  4019. prt.Anchored = true
  4020. prt.CFrame = cframe
  4021. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4022. game:GetService("Debris"):AddItem(prt, 10)
  4023. if Type == 1 or Type == nil then
  4024. table.insert(Effects, {
  4025. prt,
  4026. "Block1",
  4027. delay,
  4028. x3,
  4029. y3,
  4030. z3,
  4031. msh
  4032. })
  4033. elseif Type == 2 then
  4034. table.insert(Effects, {
  4035. prt,
  4036. "Block2",
  4037. delay,
  4038. x3,
  4039. y3,
  4040. z3,
  4041. msh
  4042. })
  4043. end
  4044. end
  4045. },
  4046. Cylinder = {
  4047. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  4048. local prt = CFuncs.Part .. Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  4049. prt.Anchored = true
  4050. prt.CFrame = cframe
  4051. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4052. game:GetService("Debris"):AddItem(prt, 2)
  4053. Effects[#Effects + 1] = {
  4054. prt,
  4055. "Cylinder",
  4056. delay,
  4057. x3,
  4058. y3,
  4059. z3
  4060. }
  4061. end
  4062. },
  4063. Head = {
  4064. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  4065. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  4066. prt.Anchored = true
  4067. prt.CFrame = cframe
  4068. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4069. game:GetService("Debris"):AddItem(prt, 10)
  4070. table.insert(Effects, {
  4071. prt,
  4072. "Cylinder",
  4073. delay,
  4074. x3,
  4075. y3,
  4076. z3,
  4077. msh
  4078. })
  4079. end
  4080. },
  4081. Sphere = {
  4082. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  4083. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  4084. prt.Anchored = true
  4085. prt.CFrame = cframe
  4086. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4087. game:GetService("Debris"):AddItem(prt, 10)
  4088. table.insert(Effects, {
  4089. prt,
  4090. "Cylinder",
  4091. delay,
  4092. x3,
  4093. y3,
  4094. z3,
  4095. msh
  4096. })
  4097. end
  4098. },
  4099. Sphere2 = {
  4100. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  4101. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  4102. prt.Anchored = true
  4103. prt.CFrame = cframe
  4104. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4105. game:GetService("Debris"):AddItem(prt, 10)
  4106. table.insert(Effects, {
  4107. prt,
  4108. "Cylinder",
  4109. delay,
  4110. x3,
  4111. y3,
  4112. z3,
  4113. msh
  4114. })
  4115. end
  4116. },
  4117. Elec = {
  4118. Create = function(cff, x, y, z)
  4119. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Tr. Flu. Yellow"), "Part", Vector3.new(1, 1, 1))
  4120. prt.Anchored = true
  4121. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  4122. prt.CFrame = CFrame.new(prt.Position)
  4123. game:GetService("Debris"):AddItem(prt, 2)
  4124. local xval = math.random() / 2
  4125. local yval = math.random() / 2
  4126. local zval = math.random() / 2
  4127. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  4128. table.insert(Effects, {
  4129. prt,
  4130. "Elec",
  4131. 0.1,
  4132. x,
  4133. y,
  4134. z,
  4135. xval,
  4136. yval,
  4137. zval
  4138. })
  4139. end
  4140. },
  4141. Ring = {
  4142. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  4143. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  4144. prt.Anchored = true
  4145. prt.CFrame = cframe
  4146. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4147. game:GetService("Debris"):AddItem(prt, 10)
  4148. table.insert(Effects, {
  4149. prt,
  4150. "Cylinder",
  4151. delay,
  4152. x3,
  4153. y3,
  4154. z3,
  4155. msh
  4156. })
  4157. end
  4158. },
  4159. Wave = {
  4160. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  4161. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  4162. prt.Anchored = true
  4163. prt.CFrame = cframe
  4164. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4165. game:GetService("Debris"):AddItem(prt, 10)
  4166. table.insert(Effects, {
  4167. prt,
  4168. "Cylinder",
  4169. delay,
  4170. x3,
  4171. y3,
  4172. z3,
  4173. msh
  4174. })
  4175. end
  4176. },
  4177. Break = {
  4178. Create = function(brickcolor, cframe, x1, y1, z1)
  4179. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  4180. prt.Anchored = true
  4181. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  4182. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4183. local num = math.random(10, 50) / 1000
  4184. game:GetService("Debris"):AddItem(prt, 10)
  4185. table.insert(Effects, {
  4186. prt,
  4187. "Shatter",
  4188. num,
  4189. prt.CFrame,
  4190. math.random() - math.random(),
  4191. 0,
  4192. math.random(50, 100) / 100
  4193. })
  4194. end
  4195. },
  4196. Fire = {
  4197. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  4198. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  4199. prt.Anchored = true
  4200. prt.CFrame = cframe
  4201. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4202. game:GetService("Debris"):AddItem(prt, 10)
  4203. table.insert(Effects, {
  4204. prt,
  4205. "Fire",
  4206. delay,
  4207. 1,
  4208. 1,
  4209. 1,
  4210. msh
  4211. })
  4212. end
  4213. },
  4214. FireWave = {
  4215. Create = function(brickcolor, cframe, x1, y1, z1)
  4216. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  4217. prt.Anchored = true
  4218. prt.CFrame = cframe
  4219. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  4220. local d = Create("Decal")({
  4221. Parent = prt,
  4222. Texture = "rbxassetid://26356434",
  4223. Face = "Top"
  4224. })
  4225. local d = Create("Decal")({
  4226. Parent = prt,
  4227. Texture = "rbxassetid://26356434",
  4228. Face = "Bottom"
  4229. })
  4230. game:GetService("Debris"):AddItem(prt, 10)
  4231. table.insert(Effects, {
  4232. prt,
  4233. "FireWave",
  4234. 1,
  4235. 30,
  4236. math.random(400, 600) / 100,
  4237. msh
  4238. })
  4239. end
  4240. },
  4241. Lightning = {
  4242. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  4243. local magz = (p0 - p1).magnitude
  4244. local curpos = p0
  4245. local trz = {
  4246. -ofs,
  4247. ofs
  4248. }
  4249. for i = 1, tym do
  4250. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  4251. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  4252. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  4253. li.Material = "Neon"
  4254. if tym == i then
  4255. local magz2 = (curpos - p1).magnitude
  4256. li.Size = Vector3.new(th, th, magz2)
  4257. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  4258. table.insert(Effects, {
  4259. li,
  4260. "Disappear",
  4261. last
  4262. })
  4263. else
  4264. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  4265. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  4266. game.Debris:AddItem(li, 10)
  4267. table.insert(Effects, {
  4268. li,
  4269. "Disappear",
  4270. last
  4271. })
  4272. end
  4273. end
  4274. end
  4275. },
  4276. EffectTemplate = {}
  4277. }
  4278. local Invisible = true
  4279. function Reappear()
  4280. for _, i in pairs(AdvancingFortress:children()) do
  4281. if i:IsA("BasePart") then
  4282. coroutine.resume(coroutine.create(function(Part)
  4283. for i = 0, 1, 0.3 do
  4284. swait()
  4285. Part.Transparency = -i
  4286. end
  4287. Part.Transparency = 0
  4288. end), i)
  4289. end
  4290. end
  4291. for _, i in pairs(m:children()) do
  4292. if i:IsA("BasePart") then
  4293. coroutine.resume(coroutine.create(function(Part)
  4294. for i = 0, 1, 0.3 do
  4295. swait()
  4296. Part.Transparency = i
  4297. end
  4298. Part.Transparency = 0
  4299. end), i)
  4300. end
  4301. end
  4302. end
  4303. function ReappearArmorOnly()
  4304. for _, i in pairs(m:children()) do
  4305. if i:IsA("BasePart") then
  4306. coroutine.resume(coroutine.create(function(Part)
  4307. for i = 0, 1, 0.3 do
  4308. swait()
  4309. Part.Transparency = i
  4310. end
  4311. Part.Transparency = 0
  4312. end), i)
  4313. end
  4314. end
  4315. end
  4316. function Disappear()
  4317. for _, i in pairs(AdvancingFortress:children()) do
  4318. if i:IsA("BasePart") then
  4319. coroutine.resume(coroutine.create(function(Part)
  4320. for i = 0, 1, 0.3 do
  4321. swait()
  4322. Part.Transparency = i
  4323. end
  4324. Part.Transparency = 1
  4325. end), i)
  4326. end
  4327. end
  4328. for _, i in pairs(m:children()) do
  4329. if i:IsA("BasePart") then
  4330. coroutine.resume(coroutine.create(function(Part)
  4331. for i = 0, 1, 0.3 do
  4332. swait()
  4333. Part.Transparency = i
  4334. end
  4335. Part.Transparency = 1
  4336. end), i)
  4337. end
  4338. end
  4339. end
  4340. function DisappearArmorOnly()
  4341. for _, i in pairs(m:children()) do
  4342. if i:IsA("BasePart") then
  4343. coroutine.resume(coroutine.create(function(Part)
  4344. for i = 0, 1, 0.3 do
  4345. swait()
  4346. Part.Transparency = i
  4347. end
  4348. Part.Transparency = 1
  4349. end), i)
  4350. end
  4351. end
  4352. end
  4353. function CamShake(time, freq)
  4354. coroutine.resume(coroutine.create(function()
  4355. local cam = game:GetService("Workspace").CurrentCamera
  4356. local time = 10
  4357. local seed = Vector3.new(math.random(100, 200) / freq, math.random(100, 200) / freq, 0)
  4358. if math.random(1, 2) == 1 then
  4359. seed = Vector3.new(-seed.x, seed.y, 0)
  4360. end
  4361. if math.random(1, 2) == 1 then
  4362. seed = Vector3.new(seed.x, -seed.y, 0)
  4363. end
  4364. 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)
  4365. for i = 1, time do
  4366. 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)
  4367. wait()
  4368. end
  4369. end))
  4370. end
  4371.  
  4372. local bigg = false
  4373. function PE()
  4374. pep = Instance.new("ParticleEmitter")
  4375. pep.Name = "pep"
  4376. pep.Lifetime = NumberRange.new(1)
  4377. pep.Rate = 5
  4378. pep.Texture = "rbxassetid://298768656"
  4379. pep.VelocitySpread = 60
  4380. pep.Parent = char.Head
  4381. end
  4382.  
  4383. local ora = false
  4384. function ORA()
  4385. attack = true
  4386. local S = CFuncs.Sound.Create("601465752", Torso, 1, 1)
  4387. S.Looped = true
  4388. S.Volume = 10
  4389. if ora == true then
  4390. while ora == true do
  4391. CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
  4392. MagnitudeDamage(HitboxL, 5, 4, 10, 0, "Normal", "131070686", 1)
  4393. for i = 0, 1, 0.8 do
  4394. swait()
  4395. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  4396. PlayAnimationFromTable({
  4397. 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),
  4398. 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),
  4399. 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),
  4400. 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),
  4401. 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),
  4402. 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)
  4403. }, 0.8, false)
  4404. end
  4405. CFuncs.Sound.Create("200632136", HitboxR, 0.3, math.random(1, 1.2))
  4406. MagnitudeDamage(HitboxR, 5, 4, 10, 0, "Normal", "131070686", 1)
  4407. for i = 0, 1, 0.8 do
  4408. swait()
  4409. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  4410. PlayAnimationFromTable({
  4411. 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),
  4412. 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),
  4413. 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),
  4414. 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),
  4415. 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),
  4416. 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)
  4417. }, 0.8, false)
  4418. end
  4419. CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
  4420. MagnitudeDamage(HitboxL, 5, 4, 10, 0, "Normal", "131070686", 1)
  4421. for i = 0, 1, 0.8 do
  4422. swait()
  4423. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  4424. PlayAnimationFromTable({
  4425. 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),
  4426. 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),
  4427. 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),
  4428. 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),
  4429. 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),
  4430. 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)
  4431. }, 0.8, false)
  4432. end
  4433. CFuncs.Sound.Create("200632136", HitboxR, 0.3, math.random(1, 1.2))
  4434. MagnitudeDamage(HitboxR, 5, 4, 10, 0, "Normal", "131070686", 1)
  4435. for i = 0, 1, 0.8 do
  4436. swait()
  4437. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  4438. PlayAnimationFromTable({
  4439. 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),
  4440. 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),
  4441. 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),
  4442. 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),
  4443. 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),
  4444. 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)
  4445. }, 0.8, false)
  4446. end
  4447. CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
  4448. MagnitudeDamage(HitboxL, 5, 4, 10, 0, "Normal", "131070686", 1)
  4449. end
  4450. end
  4451. S:Stop()
  4452. local S2 = CFuncs.Sound.Create("1277342512", Torso, 1.5, 1)
  4453.  
  4454. S2.Volume = 10
  4455. for i = 0, 1, 0.13 do
  4456. swait()
  4457. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -3), 0.5)
  4458. PlayAnimationFromTable({
  4459. 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),
  4460. 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),
  4461. 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),
  4462. 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),
  4463. 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),
  4464. 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)
  4465. }, 0.2, false)
  4466. end
  4467. CFuncs.Sound.Create("471881954", HitboxR, 1, 1)
  4468. MagnitudeDamage(HitboxR, 7, 10, 15, 50, "Normal", "610359590", 1)
  4469. for i = 0, 1, 0.1 do
  4470. swait()
  4471. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 0.3)
  4472. PlayAnimationFromTable({
  4473. 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),
  4474. 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),
  4475. 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),
  4476. 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),
  4477. 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),
  4478. 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)
  4479. }, 0.6, false)
  4480. end
  4481. attack = false
  4482. end
  4483. function CastleCrusherFist()
  4484. attack = true
  4485. STDamage = true
  4486. local S3 = CFuncs.Sound.Create("1368114767", Torso, 1, 1)
  4487. S3.Volume = 10
  4488. swait()
  4489. Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  4490. Effects.Break.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  4491. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.2)
  4492. PlayAnimationFromTable({
  4493. 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),
  4494. 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),
  4495. 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),
  4496. 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),
  4497. 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),
  4498. 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)
  4499. }, 0.2, false)
  4500. end
  4501. MagnitudeDamage(HitboxR, 100, 40, 170, 190, "Normal", "705598350", 5)
  4502. Effects.Wave.Create(BrickColor.new("Tr. Flu. Yellow"), 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)
  4503. CFuncs.Sound.Create("471881980", HitboxR, 1, 0.9)
  4504. CFuncs.Sound.Create("471881954", HitboxR, 1, 0.8)
  4505.  
  4506. for i = 0, 1, 0.08 do
  4507. swait()
  4508. Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  4509. Effects.Break.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  4510. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 0.3)
  4511. PlayAnimationFromTable({
  4512. 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),
  4513. 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),
  4514. 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),
  4515. 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),
  4516. 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),
  4517. 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)
  4518. }, 0.6, false)
  4519. end
  4520. STDamage = false
  4521. attack = false
  4522.  
  4523. function CastleCrusherFist()
  4524. attack = true
  4525. STDamage = true
  4526. local S2 = CFuncs.Sound.Create("1368114767", Torso, 1, 1)
  4527. for i = 0, 1, 0.1 do
  4528. S2.Volume = 10
  4529. swait()
  4530. Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  4531. Effects.Break.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  4532. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.5)
  4533. PlayAnimationFromTable({
  4534. 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),
  4535. 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),
  4536. 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),
  4537. 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),
  4538. 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),
  4539. 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)
  4540. }, 0.2, false)
  4541. end
  4542. Effects.Wave.Create(BrickColor.new("Tr. Flu. Yellow"), 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)
  4543. Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 200
  4544. CFuncs.Sound.Create("471881980", HitboxR, 1, 0.9)
  4545. CFuncs.Sound.Create("471881954", HitboxR, 1, 0.8)
  4546. for i = 0, 1, 0.08 do
  4547. swait()
  4548. MagnitudeDamage(HitboxR, 5, 50, 80, 100, "Normal", "705598350", 1)
  4549. Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  4550. Effects.Break.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  4551. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 1)
  4552. PlayAnimationFromTable({
  4553. 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),
  4554. 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),
  4555. 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),
  4556. 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),
  4557. 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),
  4558. 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)
  4559. }, 0.6, false)
  4560. end
  4561. STDamage = false
  4562. attack = false
  4563. end
  4564. function weld5(part0, part1, c0, c1)
  4565. local weeld = Instance.new("Weld", part0)
  4566. weeld.Part0 = part0
  4567. weeld.Part1 = part1
  4568. weeld.C0 = c0
  4569. weeld.C1 = c1
  4570. return weeld
  4571. end
  4572. local Grab = false
  4573. function GRABEMBOIGRABEM()
  4574. attack = true
  4575. gp = nil
  4576. con1 = HitboxR.Touched:connect(function(hit)
  4577. local ht = hit.Parent
  4578. local hum1 = ht:FindFirstChild("Humanoid")
  4579. if Grab == false then
  4580. if hum1 ~= nil and hit.Parent ~= Character then
  4581. hum1.PlatformStand = true
  4582. gp = ht
  4583. Grab = true
  4584. local asd = weld5(RightArm, ht:FindFirstChild("Head"), CFrame.new(0, -1.5, 0), CFrame.new(0, 0, 0))
  4585. asd.Parent = RightArm
  4586. asd.Name = "asd"
  4587. asd.C0 = asd.C0 * CFrame.Angles(math.rad(-90), 0, 0)
  4588. CFuncs.Sound.Create("200632821", Torso, 1, 1)
  4589. CFuncs.Sound.Create("957028076", Torso, 1, 1)
  4590. elseif hum1 == nil then
  4591. con1:disconnect()
  4592. wait()
  4593. return
  4594. end
  4595. end
  4596. end)
  4597. for i = 0, 1, 0.2 do
  4598. swait()
  4599. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.3)
  4600. PlayAnimationFromTable({
  4601. CFrame.new(-1.08022243E-4, -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),
  4602. 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),
  4603. 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),
  4604. 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),
  4605. 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),
  4606. 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)
  4607. }, 0.3, false)
  4608. end
  4609. for i = 0, 1, 0.1 do
  4610. swait()
  4611. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -6), 0.3)
  4612. PlayAnimationFromTable({
  4613. 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),
  4614. 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),
  4615. 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),
  4616. 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),
  4617. 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),
  4618. 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)
  4619. }, 0.3, false)
  4620. end
  4621. if Grab == true then
  4622. for i = 1, 5 do
  4623. for i = 0, 1, 0.35 do
  4624. swait()
  4625. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 13, -6), 0.3)
  4626. PlayAnimationFromTable({
  4627. 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),
  4628. 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),
  4629. 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),
  4630. 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),
  4631. 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),
  4632. 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)
  4633. }, 0.4, false)
  4634. end
  4635. for i = 0, 1, 0.3 do
  4636. swait()
  4637. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -6), 0.3)
  4638. PlayAnimationFromTable({
  4639. 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),
  4640. 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),
  4641. 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),
  4642. 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),
  4643. 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),
  4644. 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)
  4645. }, 0.7, false)
  4646. end
  4647. local hit, pos = rayCast(HitboxR.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character)
  4648. if hit ~= nil then
  4649. MagnitudeDamage(HitboxR, 5, 10, 30, 0, "Normal", "610359515", 1.3)
  4650. Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09, 1)
  4651. Effects.Wave.Create(BrickColor.new("Tr. Flu. Yellow"), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09)
  4652. Effects.Sphere.Create(BrickColor.new("Tr. Flu. Yellow"), CFrame.new(pos), 3, 3, 3, 5, 5, 5, 0.09)
  4653. end
  4654. end
  4655. end
  4656. for i, v in pairs(RightArm:GetChildren()) do
  4657. if v.Name == "asd" and v:IsA("Weld") then
  4658. v:Remove()
  4659. end
  4660. end
  4661. Grab = false
  4662. con1:disconnect()
  4663. attack = false
  4664. end
  4665. local IsWearingArmor = false
  4666. function Armor(Mode)
  4667. attack = true
  4668. if IsWearingArmor == false and Mode == "On" then
  4669. IsWearingArmor = true
  4670. Disappear()
  4671. swait(10)
  4672. ReappearArmorOnly()
  4673. CFuncs.Sound.Create("710036613")
  4674. Character.Humanoid.MaxHealth = math.huge
  4675. Character.Humanoid.Health = math.huge
  4676. HHandleWeld.Part0 = Character.Head
  4677. THandleWeld.Part0 = Character.Torso
  4678. AHandleRWeld.Part0 = Character["Right Arm"]
  4679. AHandleLWeld.Part0 = Character["Left Arm"]
  4680. LHandleRWeld.Part0 = Character["Right Leg"]
  4681. LHandleLWeld.Part0 = Character["Left Leg"]
  4682. for i, v in pairs(AdvancingFortress:GetChildren()) do
  4683. if v:IsA("BasePart") then
  4684. v.Transparency = 1
  4685. end
  4686. end
  4687. for i, v in pairs(Character:GetChildren()) do
  4688. if v:IsA("Accessory") then
  4689. v.Handle.Transparency = 1
  4690. for i, v in pairs(Character:GetChildren()) do
  4691. if v:IsA("Model") then
  4692. v.Handle.Transparency = 1
  4693. end
  4694. end
  4695. end
  4696. end
  4697. elseif IsWearingArmor == true and Mode == "Off" then
  4698. IsWearingArmor = false
  4699. DisappearArmorOnly()
  4700. for i, v in pairs(Character:GetChildren()) do
  4701. if v:IsA("Accessory") then
  4702. v.Handle.Transparency = 0
  4703. for i, v in pairs(Character:GetChildren()) do
  4704. if v:IsA("Model") then
  4705. v.Handle.Transparency = 0
  4706. end
  4707. end
  4708. end
  4709. end
  4710. swait(10)
  4711. Reappear()
  4712. Character.Humanoid.MaxHealth = math.huge
  4713. Character.Humanoid.Health = math.huge
  4714. HHandleWeld.Part0 = Head
  4715. THandleWeld.Part0 = Torso
  4716. AHandleRWeld.Part0 = RightArm
  4717. AHandleLWeld.Part0 = LeftArm
  4718. LHandleRWeld.Part0 = RightLeg
  4719. LHandleLWeld.Part0 = LeftLeg
  4720. for i, v in pairs(AdvancingFortress:GetChildren()) do
  4721. if v:IsA("BasePart") then
  4722. v.Transparency = 0
  4723. end
  4724. end
  4725. end
  4726. attack = false
  4727. end
  4728.  
  4729.  
  4730. local ShieldMode = false
  4731. local ShieldCharge = false
  4732. function HoloHexShield()
  4733. attack = true
  4734. Shield.Parent = m
  4735. Shield.CanCollide = true
  4736. if ShieldMode == true then
  4737. while ShieldMode == true do
  4738. swait()
  4739. Effects.Elec.Create(Shield.CFrame, 6, 6, 6)
  4740. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  4741. PlayAnimationFromTable({
  4742. 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),
  4743. 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),
  4744. 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),
  4745. 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),
  4746. 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),
  4747. 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)
  4748. }, 0.3, false)
  4749. end
  4750. end
  4751. Shield.CanCollide = false
  4752. CFuncs.Sound.Create("200632211", HitboxR, 1, 0.8)
  4753. CFuncs.Sound.Create("200632875", HitboxR, 1, 0.9)
  4754. CFuncs.Sound.Create("794070439", HitboxR, 1, 0.9)
  4755. Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 160
  4756. Effects.Wave.Create(BrickColor.new("Tr. Flu. Yellow"), 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)
  4757. for i = 0, 1, 0.05 do
  4758. swait()
  4759. MagnitudeDamage(Shield, 5, 10, 15, 20, "Normal", "610359515", 1.3)
  4760. Effects.Elec.Create(Shield.CFrame, 6, 6, 6)
  4761. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -3), 1)
  4762. PlayAnimationFromTable({
  4763. 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),
  4764. 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),
  4765. 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),
  4766. 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),
  4767. 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),
  4768. 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)
  4769. }, 0.5, false)
  4770. end
  4771. Shield.Parent = nil
  4772. attack = false
  4773. end
  4774. Mouse.Button1Down:connect(function()
  4775. if attack == false and attacktype == 1 and IsWearingArmor == false and Invisible == false then
  4776. attacktype = 2
  4777. attackone()
  4778. elseif attack == false and attacktype == 2 and IsWearingArmor == false and Invisible == false then
  4779. attacktype = 1
  4780. attacktwo()
  4781. end
  4782. end)
  4783. game.Lighting.Outlines = false
  4784. function attackone()
  4785. attack = true
  4786. for i = 0, 1, 0.12 do
  4787. swait()
  4788. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  4789. PlayAnimationFromTable({
  4790. 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),
  4791. 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),
  4792. 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),
  4793. 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),
  4794. 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),
  4795. 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)
  4796. }, 0.3, false)
  4797. end
  4798. MagnitudeDamage(HitboxR, 10, 20, 40, math.random(1, 3), "Normal", "131070686", 1)
  4799. CFuncs.Sound.Create("200632136", HitboxR, 1, 1)
  4800. RootPart.Velocity = RootPart.CFrame.lookVector * 40
  4801. for i = 0, 1, 0.11 do
  4802. swait()
  4803. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  4804. PlayAnimationFromTable({
  4805. 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),
  4806. 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),
  4807. 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),
  4808. 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),
  4809. 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),
  4810. 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)
  4811. }, 0.45, false)
  4812. end
  4813. attack = false
  4814. end
  4815. function attacktwo()
  4816. attack = true
  4817. for i = 0, 1, 0.12 do
  4818. swait()
  4819. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  4820. PlayAnimationFromTable({
  4821. 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),
  4822. 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),
  4823. 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),
  4824. 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),
  4825. 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),
  4826. 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)
  4827. }, 0.34, false)
  4828. end
  4829. MagnitudeDamage(HitboxL, 10, 20, 40, math.random(1, 3), "Normal", "131070686", 1.1)
  4830. CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
  4831. RootPart.Velocity = RootPart.CFrame.lookVector * 40
  4832. for i = 0, 1, 0.12 do
  4833. swait()
  4834. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  4835. PlayAnimationFromTable({
  4836. 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),
  4837. 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),
  4838. 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),
  4839. 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),
  4840. 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),
  4841. 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)
  4842. }, 0.45, false)
  4843. end
  4844. attack = false
  4845. end
  4846.  
  4847. Mouse.KeyDown:connect(function(k)
  4848. k = k:lower()
  4849. if attack == false and ora == false and k == "z" and IsWearingArmor == false and Invisible == false then
  4850. ora = true
  4851. ORA()
  4852. elseif k == ";" and bigg == false then
  4853. bigg = true
  4854. PE()
  4855. z:Play()
  4856.  
  4857. elseif k == ";" and bigg == true then
  4858. bigg = false
  4859. pep:Destroy()
  4860. z:Stop()
  4861. elseif attack == false and k == "x" and IsWearingArmor == false and Invisible == false then
  4862. GRABEMBOIGRABEM()
  4863.  
  4864. elseif attack == false and k == "f" and Invisible == false and IsWearingArmor == false then
  4865. Invisible = true
  4866. Character["Advancing Fortress"].Hat.Part.Transparency = 1
  4867. Character["Advancing Fortress"].Pipe.Part.Transparency = 1
  4868. Character["Advancing Fortress"].Armor.Part.Transparency = 1
  4869. Character["Advancing Fortress"].armban1.Part.Transparency = 1
  4870. Character["Advancing Fortress"].armban2.Part.Transparency = 1
  4871. Character["Advancing Fortress"].lhip.Part.Transparency = 1
  4872. Character["Advancing Fortress"].rhip.Part.Transparency = 1
  4873. Character["Advancing Fortress"].h1.Part.Transparency = 1
  4874. Character["Advancing Fortress"].h2.Part.Transparency = 1
  4875. Character["Advancing Fortress"].h3.Part.Transparency = 1
  4876. Character["Advancing Fortress"].h4.Part.Transparency = 1
  4877. Character["Advancing Fortress"].pack.Part.Transparency = 1
  4878. Character["Advancing Fortress"].hand1.Part.Transparency = 1
  4879. Character["Advancing Fortress"].hand2.Part.Transparency = 1
  4880. Character["Advancing Fortress"].FHead.face.Transparency = 1
  4881. Effects.Sphere.Create(BrickColor.new("Tr. Flu. Yellow"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
  4882. Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1)
  4883. Disappear()
  4884. elseif attack == false and k == "f" and Invisible == true and IsWearingArmor == false then
  4885. Invisible = false
  4886. CFuncs.Sound.Create("1033003355", Torso, 1, 1)
  4887. Character["Advancing Fortress"].Hat.Part.Transparency = 0
  4888. Character["Advancing Fortress"].Pipe.Part.Transparency = 0
  4889. Character["Advancing Fortress"].Armor.Part.Transparency = 0
  4890. Character["Advancing Fortress"].armban1.Part.Transparency = 0
  4891. Character["Advancing Fortress"].armban2.Part.Transparency = 0
  4892. Character["Advancing Fortress"].lhip.Part.Transparency = 0
  4893. Character["Advancing Fortress"].rhip.Part.Transparency = 0
  4894. Character["Advancing Fortress"].h1.Part.Transparency = 0
  4895. Character["Advancing Fortress"].h2.Part.Transparency = 0
  4896. Character["Advancing Fortress"].h3.Part.Transparency = 0
  4897. Character["Advancing Fortress"].h4.Part.Transparency = 0
  4898. Character["Advancing Fortress"].pack.Part.Transparency = 0
  4899. Character["Advancing Fortress"].hand1.Part.Transparency = 0
  4900. Character["Advancing Fortress"].hand2.Part.Transparency = 0
  4901. Character["Advancing Fortress"].FHead.face.Transparency = 0
  4902. Effects.Sphere.Create(BrickColor.new("Tr. Flu. Yellow"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.08)
  4903. for i = 1, 2 do
  4904. Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1)
  4905. end
  4906. for i = 1, 20 do
  4907. Effects.Break.Create(BrickColor.new("Tr. Flu. Yellow"), Torso.CFrame, 1, 1, 1)
  4908. end
  4909. Reappear()
  4910. elseif attack == false and ShieldMode == false and k == "c" and IsWearingArmor == false and Invisible == false then
  4911. ShieldMode = true
  4912. HoloHexShield()
  4913. elseif attack == false and k == "v" and IsWearingArmor == false and Invisible == false then
  4914. CastleCrusherFist()
  4915. end
  4916. if k == "[" and IsWearingArmor == false and Invisible == false then
  4917. Armor("On")
  4918. Character["Advancing Fortress"].Hat.Part.Transparency = 1
  4919. Character["Advancing Fortress"].Pipe.Part.Transparency = 1
  4920. Character["Advancing Fortress"].Armor.Part.Transparency = 1
  4921. Character["Advancing Fortress"].armban1.Part.Transparency = 1
  4922. Character["Advancing Fortress"].armban2.Part.Transparency = 1
  4923. Character["Advancing Fortress"].lhip.Part.Transparency = 1
  4924. Character["Advancing Fortress"].rhip.Part.Transparency = 1
  4925. Character["Advancing Fortress"].h1.Part.Transparency = 1
  4926. Character["Advancing Fortress"].h2.Part.Transparency = 1
  4927. Character["Advancing Fortress"].h3.Part.Transparency = 1
  4928. Character["Advancing Fortress"].h4.Part.Transparency = 1
  4929. Character["Advancing Fortress"].pack.Part.Transparency = 1
  4930. Character["Advancing Fortress"].hand1.Part.Transparency = 1
  4931. Character["Advancing Fortress"].hand2.Part.Transparency = 1
  4932. Character["Advancing Fortress"].FHead.face.Transparency = 1
  4933. end
  4934. if k == "]" and IsWearingArmor == true and Invisible == false then
  4935. Armor("Off")
  4936. Character["Advancing Fortress"].Hat.Part.Transparency = 0
  4937. Character["Advancing Fortress"].Pipe.Part.Transparency = 0
  4938. Character["Advancing Fortress"].Armor.Part.Transparency = 0
  4939. Character["Advancing Fortress"].armban1.Part.Transparency = 0
  4940. Character["Advancing Fortress"].armban2.Part.Transparency = 0
  4941. Character["Advancing Fortress"].lhip.Part.Transparency = 0
  4942. Character["Advancing Fortress"].rhip.Part.Transparency = 0
  4943. Character["Advancing Fortress"].h1.Part.Transparency = 0
  4944. Character["Advancing Fortress"].h2.Part.Transparency = 0
  4945. Character["Advancing Fortress"].h3.Part.Transparency = 0
  4946. Character["Advancing Fortress"].h4.Part.Transparency = 0
  4947. Character["Advancing Fortress"].pack.Part.Transparency = 0
  4948. Character["Advancing Fortress"].hand1.Part.Transparency = 0
  4949. Character["Advancing Fortress"].hand2.Part.Transparency = 0
  4950. Character["Advancing Fortress"].FHead.face.Transparency = 0
  4951. end
  4952. end)
  4953. Mouse.KeyUp:connect(function(k)
  4954. k = k:lower()
  4955. if attack == true and ora == true and k == "z" and IsWearingArmor == false then
  4956. ora = false
  4957. elseif attack == true and ShieldMode == true and k == "c" and IsWearingArmor == false then
  4958. ShieldMode = false
  4959. end
  4960. end)
  4961. coroutine.resume(coroutine.create(function(Part, Part2)
  4962. while Part.Parent ~= nil do
  4963. swait(math.random(100, 150))
  4964. for i = 0, 1, 0.2 do
  4965. wait()
  4966. Eye1.Mesh.Scale = Vector3.new(1, 0.7 - 1 * i, 1)
  4967. Eye2.Mesh.Scale = Vector3.new(1, 0.7 - 1 * i, 1)
  4968. end
  4969. for i = 0, 1, 0.2 do
  4970. swait()
  4971. Eye1.Mesh.Scale = Vector3.new(1, 0.7 + 0.3 * i, 1)
  4972. Eye2.Mesh.Scale = Vector3.new(1, 0.7 + 0.3 * i, 1)
  4973. end
  4974. end
  4975. end), Eye1, Eye2)
  4976. while true do
  4977. swait()
  4978. for i, v in pairs(Character:children()) do
  4979. if v:IsA("Part") and IsWearingArmor == true then
  4980. v.Anchored = false
  4981. end
  4982. end
  4983. for i, v in pairs(AdvancingFortress:GetChildren()) do
  4984. if v:IsA("Part") then
  4985. v.Material = "SmoothPlastic"
  4986. v.CanCollide = false
  4987. elseif v:IsA("Humanoid") then
  4988. v:remove()
  4989. elseif v:IsA("Accessory") then
  4990. v:remove()
  4991. elseif v:IsA("Shirt") then
  4992. v:remove()
  4993. elseif v:IsA("Pants") then
  4994. v:remove()
  4995. elseif v:IsA("Script") or v:IsA("LocalScript") then
  4996. v:remove()
  4997. elseif v:IsA("BodyColors") then
  4998. v:remove()
  4999. elseif v:IsA("ShirtGraphic") then
  5000. v:remove()
  5001. end
  5002. end
  5003. HHandle.Transparency = 1
  5004. THandle.Transparency = 1
  5005. AHandleR.Transparency = 1
  5006. AHandleL.Transparency = 1
  5007. LHandleR.Transparency = 1
  5008. LHandleL.Transparency = 1
  5009. RootPart.Transparency = 1
  5010. HitboxR.Transparency = 1
  5011. HitboxL.Transparency = 1
  5012. Head.BrickColor = BrickColor.new("Lily white")
  5013. Torso.BrickColor = BrickColor.new("Lily white")
  5014. RightArm.BrickColor = BrickColor.new("Lily white")
  5015. LeftArm.BrickColor = BrickColor.new("Lily white")
  5016. RightLeg.BrickColor = BrickColor.new("Lily white")
  5017. LeftLeg.BrickColor = BrickColor.new("Lily white")
  5018. RootPart.Anchored = true
  5019. Torsovelocity = (Character.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  5020. velocity = Character.HumanoidRootPart.Velocity.y
  5021. sine = sine + change
  5022. Shield.Anchored = true
  5023. Shield.CFrame = Shield.CFrame:lerp(RootPart.CFrame * CFrame.new(0, 0, -3.2), 1)
  5024. local hit, pos = rayCast(Character.HumanoidRootPart.Position, CFrame.new(Character.HumanoidRootPart.Position, Character.HumanoidRootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  5025. if Character.HumanoidRootPart.Velocity.y > 1 and hit == nil then
  5026. Anim = "Jump"
  5027. if attack == false then
  5028. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  5029. PlayAnimationFromTable({
  5030. 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),
  5031. 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, 0, 0),
  5032. 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),
  5033. 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),
  5034. 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),
  5035. 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)
  5036. }, 0.3, false)
  5037. end
  5038. elseif Character.HumanoidRootPart.Velocity.y < -1 and hit == nil then
  5039. Anim = "Fall"
  5040. if attack == false then
  5041. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  5042. PlayAnimationFromTable({
  5043. 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),
  5044. 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),
  5045. 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),
  5046. 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),
  5047. 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),
  5048. 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)
  5049. }, 0.3, false)
  5050. end
  5051. elseif Torsovelocity < 1 and hit ~= nil then
  5052. Anim = "Idle"
  5053. if attack == false then
  5054. change = 1
  5055. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  5056. PlayAnimationFromTable({
  5057. CFrame.new(0.1, -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, 0, 0),
  5058. CFrame.new(0.1, 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, 0, 0),
  5059. CFrame.new(1.74141297, 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, 0, 0),
  5060. CFrame.new(-1.49350157, 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, 0, 0),
  5061. CFrame.new(0.702711678, -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),
  5062. CFrame.new(-0.519029164, -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)
  5063. }, 0.3, false)
  5064. end
  5065. elseif Torsovelocity > 2 and hit ~= nil then
  5066. Anim = "Walk"
  5067. if attack == false then
  5068. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  5069. PlayAnimationFromTable({
  5070. 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, 0, 0),
  5071. 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, 0, 0),
  5072. 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, 0, 0),
  5073. 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, 0, 0),
  5074. 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),
  5075. 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)
  5076. }, 0.3, false)
  5077. end
  5078. end
  5079. if 0 < #Effects then
  5080. for e = 1, #Effects do
  5081. if Effects[e] ~= nil then
  5082. local Thing = Effects[e]
  5083. if Thing ~= nil then
  5084. local Part = Thing[1]
  5085. local Mode = Thing[2]
  5086. local Delay = Thing[3]
  5087. local IncX = Thing[4]
  5088. local IncY = Thing[5]
  5089. local IncZ = Thing[6]
  5090. if Thing[2] == "Shoot" then
  5091. local Look = Thing[1]
  5092. local move = 30
  5093. if Thing[8] == 3 then
  5094. move = 10
  5095. end
  5096. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  5097. if Thing[10] ~= nil then
  5098. da = pos
  5099. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  5100. cfa = CFrame.new(Thing[4], pos)
  5101. tehCF = cfa:lerp(cf2, 0.2)
  5102. Thing[1] = tehCF.lookVector
  5103. end
  5104. local mag = (Thing[4] - pos).magnitude
  5105. 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)
  5106. if Thing[8] == 2 then
  5107. 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)
  5108. end
  5109. Thing[4] = Thing[4] + Look * move
  5110. Thing[3] = Thing[3] - 1
  5111. if 2 < Thing[5] then
  5112. Thing[5] = Thing[5] - 0.3
  5113. Thing[6] = Thing[6] - 0.3
  5114. end
  5115. if hit ~= nil then
  5116. Thing[3] = 0
  5117. if Thing[8] == 1 or Thing[8] == 3 then
  5118. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  5119. elseif Thing[8] == 2 then
  5120. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  5121. if hit.Parent:findFirstChild("Humanoid") ~= nil or hit.Parent.Parent:findFirstChild("Humanoid") ~= nil then
  5122. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Tr. Flu. Yellow"), "Reference", Vector3.new())
  5123. ref.Anchored = true
  5124. ref.CFrame = CFrame.new(pos)
  5125. CFuncs.Sound.Create("161006093", ref, 1, 1.2)
  5126. game:GetService("Debris"):AddItem(ref, 0.2)
  5127. 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)
  5128. 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)
  5129. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  5130. end
  5131. end
  5132. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Tr. Flu. Yellow"), "Reference", Vector3.new())
  5133. ref.Anchored = true
  5134. ref.CFrame = CFrame.new(pos)
  5135. Effects.Sphere.Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  5136. game:GetService("Debris"):AddItem(ref, 1)
  5137. end
  5138. if Thing[3] <= 0 then
  5139. table.remove(Effects, e)
  5140. end
  5141. end
  5142. if Thing[2] == "FireWave" then
  5143. if Thing[3] <= Thing[4] then
  5144. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  5145. Thing[3] = Thing[3] + 1
  5146. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  5147. else
  5148. Part.Parent = nil
  5149. table.remove(Effects, e)
  5150. end
  5151. end
  5152. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  5153. if Thing[1].Transparency <= 1 then
  5154. if Thing[2] == "Block1" then
  5155. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  5156. Mesh = Thing[7]
  5157. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  5158. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5159. elseif Thing[2] == "Block2" then
  5160. Thing[1].CFrame = Thing[1].CFrame
  5161. Mesh = Thing[7]
  5162. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  5163. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5164. elseif Thing[2] == "Fire" then
  5165. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  5166. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  5167. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5168. elseif Thing[2] == "Cylinder" then
  5169. Mesh = Thing[7]
  5170. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  5171. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5172. elseif Thing[2] == "Blood" then
  5173. Mesh = Thing[7]
  5174. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  5175. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  5176. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5177. elseif Thing[2] == "Elec" then
  5178. Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9])
  5179. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5180. elseif Thing[2] == "Disappear" then
  5181. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5182. elseif Thing[2] == "Shatter" then
  5183. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  5184. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  5185. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  5186. Thing[6] = Thing[6] + Thing[5]
  5187. end
  5188. else
  5189. Part.Parent = nil
  5190. table.remove(Effects, e)
  5191.  
  5192. end
  5193. end
  5194. end
  5195. end
  5196. end
  5197. end
  5198. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement