carlosname

Untitled

Jan 16th, 2020
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility by WaverlyCole & Fireboltofdeath");print("https://github.com/WaverlyCole/FE-Compatibility-VoidSb-")
  2. local Wrapper = {};Wrapper.Fake = {};Wrapper.Real = {};Wrapper.Data = {};
  3. local sGame = game;local sScript = script;local sOwner = owner;local sInstance = Instance;local sLoadLibrary = LoadLibrary
  4. Wrapper.Event = Instance.new("RemoteEvent");Wrapper.Event.Name = "UserInput";
  5. Wrapper.CreateObject = function(connections, index)
  6. local proxy = newproxy (true);local meta = getmetatable (proxy);
  7. local runbind = function (self, i, ...) connections[i]:Fire (...); end;
  8. while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
  9. meta.__index = function (self, i)
  10. if (i == 'TriggerEvent') then return runbind end;
  11. return connections[i] and connections[i].Event or index[i];
  12. end;
  13. meta.__newindex = index;meta.__metatable = false;return proxy
  14. end;
  15. Wrapper.Mouse = Wrapper.CreateObject({"KeyUp","KeyDown","Button1Down","Button1Up","Move","Button2Down","Button2Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
  16. Wrapper.UserInputService = Wrapper.CreateObject({"InputBegan","InputEnded"},{})
  17. Wrapper.ContextActionService = {Actions={};BindAction = function(self,actionName,Func,touch,...)self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil end;UnBindAction = function(self,actionName,Func,touch,...)self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil end};
  18. Wrapper.Sandbox = function(...)
  19. local Unwrap = {...};
  20. for obi = 1,#Unwrap do
  21. local Object = Unwrap[obi];
  22. if (Wrapper.Fake[Object] == nil and Wrapper.Real[Object] == nil) then
  23. local Type = typeof(Object);local Replacement = Object;
  24. if (Type == "function") then
  25. Replacement = function(...)
  26. local IsRoblox = not (pcall(function() string.dump(Object) end))
  27. if IsRoblox then
  28. return Object(Wrapper.Unsandbox(...))
  29. end
  30. return Object(Wrapper.Sandbox(...))
  31. end
  32. elseif (Type == "table") then
  33. Replacement = {};
  34. setmetatable(Replacement, {
  35. __index = function(self, i)
  36. return Wrapper.Sandbox(Object[Wrapper.Unsandbox(i)])
  37. end,
  38. __newindex = function(self,i,v)
  39. Object[Wrapper.Unsandbox(i)] = Wrapper.Unsandbox(v)
  40. end;
  41. })
  42. elseif (Type == "Instance") then
  43. Replacement = newproxy(true);
  44. local Mt = getmetatable(Replacement);
  45. Mt.__namecall = function(self, ...)
  46. local Pack = {...};local Name = Pack[#Pack];table.remove(Pack, #Pack);
  47. local Rest = nil;pcall(function()Rest = Object[Name];end);
  48. for g, x in pairs (Wrapper.InstanceMT["GET"]) do
  49. if (Object:IsA(g) or g == "Global") then
  50. for t, v in pairs(x) do
  51. for str in string.gmatch(t .. ",", "(%w+),") do
  52. if (Name == str) then
  53. if typeof(v) == "function" then
  54. return Wrapper.Sandbox(v(Wrapper.Unsandbox(self), Wrapper.Unsandbox(unpack(Pack))))
  55. else
  56. return v;
  57. end
  58. end
  59. end
  60. end
  61. end
  62. end
  63. if (Rest == nil) then
  64. if Wrapper.Sandbox(sGame):GetService(unpack(Pack)) then return Wrapper.Sandbox(sGame):GetService(unpack(Pack))end;
  65. return Wrapper.Sandbox(Object[Name]);
  66. elseif (typeof(Rest) == "function") then
  67. return Wrapper.Sandbox(Rest(Wrapper.Unsandbox(self), Wrapper.Unsandbox(unpack(Pack))))
  68. end
  69. return Wrapper.Sandbox(Object[Name]);
  70. end
  71. Mt.__index = function(self, i)
  72. local Rest = nil;pcall(function()Rest = Object[i];end)
  73. for g, x in pairs (Wrapper.InstanceMT["GET"]) do
  74. if (Object:IsA(g) or g == "Global") then
  75. for t, v in pairs(x) do
  76. for str in string.gmatch(t .. ",", "(%w+),") do
  77. if (i == str) then
  78. if typeof(v) == "function" then
  79. return function(...)return Wrapper.Sandbox(v(Wrapper.Unsandbox(self), Wrapper.Unsandbox(...)))end;
  80. else
  81. return v;
  82. end
  83. end
  84. end
  85. end
  86. end
  87. end
  88. if (Object:IsA("Sound") and i == "PlaybackLoudness") then return Wrapper.SoundLoudness[Wrapper.Unsandbox(Object)];end;
  89. if (Rest == nil) then
  90. if Wrapper.Sandbox(sGame):GetService(i) then return Wrapper.Sandbox(sGame):GetService(i)end;
  91. return Wrapper.Sandbox(Object[i]);
  92. elseif (typeof(Rest) == "function") then
  93. local isService,Service = pcall(function() return sGame:GetService(i) end)
  94. if isService and Service then return Wrapper.Sandbox(Service) end
  95. return function(self, ...)
  96. return Wrapper.Sandbox(Rest(Wrapper.Unsandbox(self), Wrapper.Unsandbox(...)))
  97. end
  98. end
  99. return Wrapper.Sandbox(Object[i]);
  100. end
  101. Mt.__newindex = function(self, i, v)
  102. for g,x in pairs (Wrapper.InstanceMT["SET"]) do
  103. if (Object:IsA(g)) then
  104. for t, v in pairs(x) do
  105. for str in string.gmatch( t .. ",", "(%w+),") do
  106. if v(Wrapper.Unsandbox(self, i, v)) == true then
  107. Object[Wrapper.Unsandbox(i)] = Wrapper.Unsandbox(v);return
  108. end
  109. end
  110. end
  111. end
  112. end
  113. Object[Wrapper.Unsandbox(i)] = Wrapper.Unsandbox(v);
  114. end
  115. Mt.__tostring = function(self) return tostring(Object) end
  116. --elseif (Type == "") then -- Etc
  117. end
  118. Wrapper.Fake[Object] = Replacement;Wrapper.Real[Replacement] = Object;Unwrap[obi] = Replacement;
  119. else
  120. return Wrapper.Fake[Object] or Object;
  121. end
  122. end
  123. return unpack(Unwrap);
  124. end
  125. Wrapper.Unsandbox = function(...)
  126. local Unsandbox = {...};
  127. for i,v in pairs (Unsandbox) do Unsandbox[i] = Wrapper.Real[v] or Unsandbox[i]end;
  128. return unpack(Unsandbox)
  129. end
  130. Wrapper.Services = {
  131. ['contextactionservice'] = Wrapper.ContextActionService;
  132. ["userinputservice"] = Wrapper.UserInputService;
  133. }
  134. Wrapper.InstanceMT = {
  135. ["GET"] = {
  136. ["Global"] = {
  137. ["IsFake,isFake"] = function(self)return true;end;
  138. };
  139. ["Player"] = {
  140. ["mouse,Mouse,getMouse,GetMouse"] = function(self)return Wrapper.Mouse;end;
  141. };
  142. ["Players"] = {
  143. ["localPlayer,LocalPlayer"] = Wrapper.Sandbox(owner)
  144. };
  145. ["DataModel"] = {
  146. ["getService,GetService"] = function(self,service)
  147. if Wrapper.Services[service:lower()] then return Wrapper.Sandbox(Wrapper.Services[service:lower()])end;
  148. return Wrapper.Sandbox(sGame:GetService(service))
  149. end
  150. };
  151. ["RunService"] = {
  152. ["renderstepped,renderStepped,RenderStepped"] = sGame:GetService("RunService").Stepped;
  153. }
  154. };
  155. ["SET"] = {
  156. }
  157. }
  158. Wrapper.SoundLoudness = {};
  159. Wrapper.Event.OnServerEvent:Connect(function(FiredBy,Input)
  160. if FiredBy ~= sOwner then return end
  161. if Input.MouseEvent then
  162. Wrapper.Mouse.Target = Input.Target;Wrapper.Mouse.Hit = Input.Hit;Wrapper.Mouse:TriggerEvent("Move")
  163. elseif Input.Sound then
  164. if Wrapper.SoundLoudness[Input.Sound] then Wrapper.SoundLoudness[Input.Sound] = Input.Loudness end
  165. else
  166. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  167. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Wrapper.Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
  168. if Input.UserInputType == Enum.UserInputType.MouseButton2 then return Wrapper.Mouse:TriggerEvent(Begin and "Button2Down" or "Button2Up") end
  169. for _,Action in pairs(Wrapper.ContextActionService.Actions) do
  170. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  171. end
  172. Wrapper.Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());Wrapper.UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  173. end
  174. end);
  175. Wrapper.Event.Parent = NLS([[
  176. local Player = owner;local Sounds = {};local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse();
  177. local Input = function(Input,gameProcessedEvent)
  178. if gameProcessedEvent then return end;
  179. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  180. end
  181. Event.OnClientEvent:connect(function(Args)
  182. if Args[1] == "NewSound" and Args[2]:IsA("Sound") then table.insert(Sounds,Args[2]) end
  183. end)
  184. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  185. local Hit,Target;while wait(1/30) do
  186. for x,Sound in pairs(Sounds) do if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end; end;
  187. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  188. Hit = Mouse.Hit;Target = Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  189. end
  190. end]],sOwner.Character)
  191. Instance = {
  192. ["new"] = function(Type,Parent)
  193. local Real = sInstance.new(Type,Wrapper.Unsandbox(Parent))
  194. if Type:lower() == "sound" then
  195. if not Parent then
  196. Parent = sOwner.Character
  197. end
  198. Wrapper.SoundLoudness[Real] = 0;Wrapper.Event:FireClient(sOwner,{"NewSound",Real})
  199. end
  200. return Wrapper.Sandbox(Real)
  201. end
  202. }
  203. LoadLibrary = function(Library)
  204. if Library == "RbxUtility" then
  205. return setmetatable({},{
  206. __tostring = function() return "RbxUtility" end;
  207. __index = function(self, Index)
  208. if Index:lower() == "create" then
  209. return function(Type) return function(Data)
  210. Data = Data or {};local Inst = Instance.new(Type)
  211. for x,y in pairs(Data) do Inst[x] = y end
  212. return Inst
  213. end;end;
  214. end
  215. return sLoadLibrary(Library)[Index]
  216. end})
  217. end
  218. return sLoadLibrary(Library)
  219. end
  220. owner = Wrapper.Sandbox(owner);game = Wrapper.Sandbox(game)workspace = Wrapper.Sandbox(workspace)
  221. Game= game;Workspace = workspace;
  222.  
  223.  
  224. --Edit by UserID 131443620 on ROBLOX--
  225. --Don't leak, please!!!--
  226. print("The time of heaven is now upon us!")
  227.  
  228. do
  229. local filteredMessages = { ['___'] = '___' };
  230. local onPropertyChanged = function (obj)
  231. if (obj:isDescendantOf (workspace)) then
  232. local objText = obj.Text;
  233.  
  234. if (objText ~= '___' and objText:find '(%S)') then
  235. if (filteredMessages [objText] and filteredMessages [objText] ~= objText) then
  236. obj.Text = filteredMessages [objText];
  237. elseif (not filteredMessages [objText]) then
  238. obj.Text = '___';
  239.  
  240. local filtered = game:service 'Chat':FilterStringForBroadcast (objText, game:service 'Players'.localPlayer);
  241.  
  242. filteredMessages [objText] = filtered;
  243. filteredMessages [filtered] = filtered;
  244.  
  245. obj.Text = filtered;
  246. end;
  247. end;
  248. end;
  249. end;
  250.  
  251. local newInstance = Instance.new;
  252. Instance = {
  253. new = function (class, parent)
  254. local obj = newInstance (class, parent);
  255.  
  256. if (pcall (function()return obj.Text;end)) then
  257. obj:getPropertyChangedSignal ('Parent'):connect (function () onPropertyChanged (obj) end);
  258. obj:getPropertyChangedSignal ('Text'):connect (function() onPropertyChanged (obj) end);
  259. end;
  260.  
  261. return obj;
  262. end;
  263. };
  264. end;
  265. plr = game.Players.LocalPlayer
  266. char = game.Players.LocalPlayer.Character
  267.  
  268.  
  269. mse = plr:GetMouse()
  270. local Head = char.Head
  271.  
  272. zw = Instance.new("Sound", char.Head)
  273. zw.SoundId = "https://www.roblox.com/asset/?id=616576400"
  274. zw.Volume = 10
  275. ugoki = Instance.new("Sound", char.Head)
  276. ugoki.SoundId = "https://www.roblox.com/asset/?id=1054568598"
  277. ugoki.Volume = 10
  278. move = Instance.new("Sound", char.Head)
  279. move.SoundId = "https://www.roblox.com/asset/?id=864569342"
  280. move.Volume = 10
  281. z = Instance.new("Sound", char.Head)
  282. z.SoundId = "https://www.roblox.com/asset/?id=730085432"
  283. z.Volume = 6
  284. z.Looped = true
  285. one = Instance.new("Sound", char.Head)
  286. one.SoundId = "https://www.roblox.com/asset/?id=877368036"
  287. one.Volume = 10
  288. two = Instance.new("Sound", char.Head)
  289. two.SoundId = "https://www.roblox.com/asset/?id=877368433"
  290. two.Volume = 10
  291. three = Instance.new("Sound", char.Head)
  292. three.SoundId = "https://www.roblox.com/asset/?id=794070439"
  293. three.Volume = 10
  294. four = Instance.new("Sound", char.Head)
  295. four.SoundId = "https://www.roblox.com/asset/?id=962038258"
  296. four.Volume = 10
  297. five = Instance.new("Sound", char.Head)
  298. five.SoundId = "https://www.roblox.com/asset/?id=794068813"
  299. five.Volume = 10
  300. six = Instance.new("Sound", char.Head)
  301. six.SoundId = "https://www.roblox.com/asset/?id=962030665"
  302. six.Volume = 10
  303. seven = Instance.new("Sound", char.Head)
  304. seven.SoundId = "https://www.roblox.com/asset/?id=962029774"
  305. seven.Volume = 10
  306. eight = Instance.new("Sound", char.Head)
  307. eight.SoundId = "https://www.roblox.com/asset/?id=877367823"
  308. eight.Volume = 10
  309. nine = Instance.new("Sound", char.Head)
  310. nine.SoundId = "https://www.roblox.com/asset/?id=794076177"
  311. nine.Volume = 10
  312. ten = Instance.new("Sound", char.Head)
  313. ten.SoundId = "https://www.roblox.com/asset/?id=445339523"
  314. ten.Volume = 10
  315. xd = Instance.new("Sound", char.Head)
  316. xd.SoundId = "rbxassetid://930292558"
  317. xd.Volume = 10
  318. xd.Looped = true
  319.  
  320. base = Instance.new("ScreenGui",plr.PlayerGui)
  321. bbg = Instance.new("BillboardGui",plr.Character.Head)
  322. bbg.Size = UDim2.new(0,200,0,50)
  323. bbg.StudsOffset = Vector3.new(0,3,0)
  324. bbgTl = Instance.new("TextLabel",bbg)
  325. bbgTl.BackgroundTransparency = 1
  326. bbgTl.Size = UDim2.new(10,0,1,0)
  327. bbgTl.Position = UDim2.new(-4.5,0,0,0)
  328. bbgTl.Font = "Garamond"
  329. bbgTl.Text = " "
  330. bbgTl.TextSize = 25
  331. bbgTl.TextStrokeColor3 = Color3.new(255, 231, 160)
  332. bbgTl.TextColor3 = Color3.new(255, 246, 123)
  333. bbgTl.TextStrokeTransparency = 0
  334. bbgTl.TextWrapped = true
  335. plr.Chatted:connect(function(msg)
  336. bbgTl.Text = msg
  337. wait(5)
  338. if bbgTl.Text == msg then
  339. bbgTl.Text = " "
  340. end
  341. end)
  342.  
  343. local Orin = "rbxassetid://1250061532"
  344. Head.face.Texture = Orin
  345. spawn(function()
  346. while wait() do
  347. char["Body Colors"].HeadColor = BrickColor.new("Quill grey")
  348. char["Body Colors"].TorsoColor = BrickColor.new("Quill grey")
  349. char["Body Colors"].LeftArmColor = BrickColor.new("Quill grey")
  350. char["Body Colors"].RightArmColor = BrickColor.new("Quill grey")
  351. char["Body Colors"].LeftLegColor = BrickColor.new("Quill grey")
  352. char["Body Colors"].RightLegColor = BrickColor.new("Quill grey")
  353. end
  354. end)
  355.  
  356. shirt = Instance.new("Shirt", char)
  357. shirt.Name = "Shirt"
  358. pants = Instance.new("Pants", char)
  359. pants.Name = "Pants"
  360. char.Shirt.ShirtTemplate = "rbxassetid://751273816"
  361. char.Pants.PantsTemplate = "rbxassetid://746124715"
  362.  
  363. for i, v in pairs(char:GetChildren()) do
  364. if v.ClassName == "Accessory" then
  365. v:Remove()
  366. end
  367. end
  368.  
  369. Hat3 = Instance.new("Model")
  370. Hat3.Parent = char
  371. Hat3.Name = "Hat3"
  372. rh = Instance.new("Part")
  373. rh.Parent = Hat3
  374. rh.BrickColor = BrickColor.new("Really black")
  375. rh.Locked = true
  376. rh.CanCollide = false
  377. mesh = Instance.new("SpecialMesh")
  378. rh.formFactor = "Symmetric"
  379. mesh.MeshType = "FileMesh"
  380. mesh.MeshId = "rbxassetid://431511681"
  381. mesh.TextureId = "rbxassetid://431511684"
  382. mesh.Parent = rh
  383. local weld = Instance.new("Weld")
  384. weld.Parent = rh
  385. weld.Part0 = rh
  386. weld.Part1 =char.Head
  387. weld.C0 = CFrame.new(0, 0.67, 0.5)*CFrame.Angles(0, 3, 0)
  388. mesh.Scale = Vector3.new(0.0032,0.0035, 0.0032)
  389. Hat3.Part.Transparency = 0
  390.  
  391. Hat = Instance.new("Model")
  392. Hat.Parent = char
  393. Hat.Name = "Hat"
  394. rh = Instance.new("Part")
  395. rh.Parent = Hat
  396. rh.BrickColor = BrickColor.new("Quill grey")
  397. rh.Locked = true
  398. rh.CanCollide = false
  399. mesh = Instance.new("SpecialMesh")
  400. rh.formFactor = "Symmetric"
  401. mesh.MeshType = "FileMesh"
  402. mesh.MeshId = "rbxassetid://955724194"
  403. mesh.Parent = rh
  404. local weld = Instance.new("Weld")
  405. weld.Parent = rh
  406. weld.Part0 = rh
  407. weld.Part1 =char.Head
  408. weld.C0 = CFrame.new(0, -0.5, 0)*CFrame.Angles(12.4, 0, 0)
  409. mesh.Scale = Vector3.new(0.03,0.028, 0.03)
  410.  
  411. Pipe = Instance.new("Model")
  412. Pipe.Parent = char
  413. Pipe.Name = "Pipe"
  414. rh = Instance.new("Part")
  415. rh.Parent = Pipe
  416. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  417. rh.Locked = true
  418. rh.CanCollide = false
  419. mesh = Instance.new("SpecialMesh")
  420. rh.formFactor = "Symmetric"
  421. mesh.MeshType = "FileMesh"
  422. mesh.MeshId = "rbxassetid://956069283"
  423. mesh.Parent = rh
  424. local weld = Instance.new("Weld")
  425. weld.Parent = rh
  426. weld.Part0 = rh
  427. weld.Part1 =char.Head
  428. weld.C0 = CFrame.new(0, -0.5, -0.5)*CFrame.Angles(12.4, 0, 0)
  429. mesh.Scale = Vector3.new(0.04,0.04, 0.04)
  430.  
  431. Armor = Instance.new("Model")
  432. Armor.Parent = char
  433. Armor.Name = "Armor"
  434. rh = Instance.new("Part")
  435. rh.Parent = Armor
  436. rh.BrickColor = BrickColor.new("Quill grey")
  437. rh.Locked = true
  438. rh.CanCollide = false
  439. mesh = Instance.new("SpecialMesh")
  440. rh.formFactor = "Symmetric"
  441. mesh.MeshType = "FileMesh"
  442. mesh.MeshId = "rbxassetid://958074736"
  443. mesh.Parent = rh
  444. local weld = Instance.new("Weld")
  445. weld.Parent = rh
  446. weld.Part0 = rh
  447. weld.Part1 =char.Torso
  448. weld.C0 = CFrame.new(0, 0.1, 0.5)*CFrame.Angles(12.4, 0, 0)
  449. mesh.Scale = Vector3.new(0.01,0.01,0.01)
  450.  
  451. armban1 = Instance.new("Model")
  452. armban1.Parent = char
  453. armban1.Name = "armban1"
  454. rh = Instance.new("Part")
  455. rh.Parent = armban1
  456. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  457. rh.Locked = true
  458. rh.CanCollide = false
  459. mesh = Instance.new("SpecialMesh")
  460. rh.formFactor = "Symmetric"
  461. mesh.MeshType = "FileMesh"
  462. mesh.MeshId = "rbxassetid://958788075"
  463. mesh.Parent = rh
  464. local weld = Instance.new("Weld")
  465. weld.Parent = rh
  466. weld.Part0 = rh
  467. weld.Part1 =char.Torso
  468. weld.C0 = CFrame.new(-0.6, -0.28, 0)*CFrame.Angles(12.4, 0, 0)
  469. mesh.Scale = Vector3.new(0.015,0.015,0.015)
  470.  
  471. armban2 = Instance.new("Model")
  472. armban2.Parent = char
  473. armban2.Name = "armban2"
  474. rh = Instance.new("Part")
  475. rh.Parent = armban2
  476. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  477. rh.Locked = true
  478. rh.CanCollide = false
  479. mesh = Instance.new("SpecialMesh")
  480. rh.formFactor = "Symmetric"
  481. mesh.MeshType = "FileMesh"
  482. mesh.MeshId = "rbxassetid://958788277"
  483. mesh.Parent = rh
  484. local weld = Instance.new("Weld")
  485. weld.Parent = rh
  486. weld.Part0 = rh
  487. weld.Part1 =char.Torso
  488. weld.C0 = CFrame.new(0.6, -0.28, 0)*CFrame.Angles(12.4, 0, 0)
  489. mesh.Scale = Vector3.new(0.015,0.015,0.015)
  490.  
  491. lhip = Instance.new("Model")
  492. lhip.Parent = char
  493. lhip.Name = "lhip"
  494. rh = Instance.new("Part")
  495. rh.Parent = lhip
  496. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  497. rh.Locked = true
  498. rh.CanCollide = false
  499. mesh = Instance.new("SpecialMesh")
  500. rh.formFactor = "Symmetric"
  501. mesh.MeshType = "FileMesh"
  502. mesh.MeshId = "rbxassetid://971395227"
  503. mesh.Parent = rh
  504. local weld = Instance.new("Weld")
  505. weld.Parent = rh
  506. weld.Part0 = rh
  507. weld.Part1 =char.Torso
  508. weld.C0 = CFrame.new(1, 1, 0)*CFrame.Angles(12.4, 0, 0)
  509. mesh.Scale = Vector3.new(0.02,0.02,0.02)
  510.  
  511. rhip = Instance.new("Model")
  512. rhip.Parent = char
  513. rhip.Name = "rhip"
  514. rh = Instance.new("Part")
  515. rh.Parent = rhip
  516. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  517. rh.Locked = true
  518. rh.CanCollide = false
  519. mesh = Instance.new("SpecialMesh")
  520. rh.formFactor = "Symmetric"
  521. mesh.MeshType = "FileMesh"
  522. mesh.MeshId = "rbxassetid://971396150"
  523. mesh.Parent = rh
  524. local weld = Instance.new("Weld")
  525. weld.Parent = rh
  526. weld.Part0 = rh
  527. weld.Part1 =char.Torso
  528. weld.C0 = CFrame.new(-1, 1, 0)*CFrame.Angles(12.4, 0, 0)
  529. mesh.Scale = Vector3.new(0.02,0.02,0.02)
  530.  
  531. h1 = Instance.new("Model")
  532. h1.Parent = char
  533. h1.Name = "h1"
  534. rh = Instance.new("Part")
  535. rh.Parent = h1
  536. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  537. rh.Locked = true
  538. rh.CanCollide = false
  539. mesh = Instance.new("SpecialMesh")
  540. rh.formFactor = "Symmetric"
  541. mesh.MeshType = "FileMesh"
  542. mesh.MeshId = "rbxassetid://964265074"
  543. mesh.Parent = rh
  544. local weld = Instance.new("Weld")
  545. weld.Parent = rh
  546. weld.Part0 = rh
  547. weld.Part1 =char.Head
  548. weld.C0 = CFrame.new(0, -0.6, 0.6)*CFrame.Angles(14, 0, 0)
  549. mesh.Scale = Vector3.new(0.002,0.002,0.002)
  550.  
  551. h2 = Instance.new("Model")
  552. h2.Parent = char
  553. h2.Name = "h2"
  554. rh = Instance.new("Part")
  555. rh.Parent = h2
  556. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  557. rh.Locked = true
  558. rh.CanCollide = false
  559. mesh = Instance.new("SpecialMesh")
  560. rh.formFactor = "Symmetric"
  561. mesh.MeshType = "FileMesh"
  562. mesh.MeshId = "rbxassetid://964265074"
  563. mesh.Parent = rh
  564. local weld = Instance.new("Weld")
  565. weld.Parent = rh
  566. weld.Part0 = rh
  567. weld.Part1 =char.Torso
  568. weld.C0 = CFrame.new(0, -0.6, 1.2)*CFrame.Angles(14, 0, 0)
  569. mesh.Scale = Vector3.new(0.005,0.005,0.005)
  570.  
  571. h3 = Instance.new("Model")
  572. h3.Parent = char
  573. h3.Name = "h3"
  574. rh = Instance.new("Part")
  575. rh.Parent = h3
  576. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  577. rh.Locked = true
  578. rh.CanCollide = false
  579. mesh = Instance.new("SpecialMesh")
  580. rh.formFactor = "Symmetric"
  581. mesh.MeshType = "FileMesh"
  582. mesh.MeshId = "rbxassetid://964265074"
  583. mesh.Parent = rh
  584. local weld = Instance.new("Weld")
  585. weld.Parent = rh
  586. weld.Part0 = rh
  587. weld.Part1 = char["Right Leg"]
  588. weld.C0 = CFrame.new(0.2, -0.8, 0)*CFrame.Angles(14, 0.2, 0)
  589. mesh.Scale = Vector3.new(0.003,0.003, 0.003)
  590.  
  591. h4 = Instance.new("Model")
  592. h4.Parent = char
  593. h4.Name = "h4"
  594. rh = Instance.new("Part")
  595. rh.Parent = h4
  596. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  597. rh.Locked = true
  598. rh.CanCollide = false
  599. mesh = Instance.new("SpecialMesh")
  600. rh.formFactor = "Symmetric"
  601. mesh.MeshType = "FileMesh"
  602. mesh.MeshId = "rbxassetid://964265074"
  603. mesh.Parent = rh
  604. local weld = Instance.new("Weld")
  605. weld.Parent = rh
  606. weld.Part0 = rh
  607. weld.Part1 = char["Left Leg"]
  608. weld.C0 = CFrame.new(-0.2, -0.8, 0)*CFrame.Angles(14, -0.2, 0)
  609. mesh.Scale = Vector3.new(0.003,0.003, 0.003)
  610.  
  611.  
  612. pack = Instance.new("Model")
  613. pack.Parent = char
  614. pack.Name = "pack"
  615. rh = Instance.new("Part")
  616. rh.Parent = pack
  617. rh.BrickColor = BrickColor.new("Tr. Flu. Yellow")
  618. rh.Locked = true
  619. rh.CanCollide = false
  620. mesh = Instance.new("SpecialMesh")
  621. rh.formFactor = "Symmetric"
  622. mesh.MeshType = "FileMesh"
  623. mesh.MeshId = "rbxassetid://882255459"
  624. mesh.Parent = rh
  625. local weld = Instance.new("Weld")
  626. weld.Parent = rh
  627. weld.Part0 = rh
  628. weld.Part1 = char.Torso
  629. weld.C0 = CFrame.new(0, -0.8, -0.5)*CFrame.Angles(0, 0, 0)
  630. mesh.Scale = Vector3.new(0.018,0.0125,0.02)
  631.  
  632. hand1 = Instance.new("Model")
  633. hand1.Parent = char
  634. hand1.Name = "hand1"
  635. rh = Instance.new("Part")
  636. rh.Parent = hand1
  637. rh.BrickColor = BrickColor.new("Quill grey")
  638. rh.Locked = true
  639. rh.CanCollide = false
  640. mesh = Instance.new("SpecialMesh")
  641. rh.formFactor = "Symmetric"
  642. mesh.MeshType = "FileMesh"
  643. mesh.MeshId = "rbxassetid://1208185808"
  644. mesh.Parent = rh
  645. local weld = Instance.new("Weld")
  646. weld.Parent = rh
  647. weld.Part0 = rh
  648. weld.Part1 = char["Right Arm"]
  649. weld.C0 = CFrame.new(-0.05, 0.6, 0.635)*CFrame.Angles(0, 1.5, 0)
  650. mesh.Scale = Vector3.new(0.07,0.07, 0.07)
  651.  
  652. hand2 = Instance.new("Model")
  653. hand2.Parent = char
  654. hand2.Name = "hand2"
  655. rh = Instance.new("Part")
  656. rh.Parent = hand2
  657. rh.BrickColor = BrickColor.new("Quill grey")
  658. rh.Locked = true
  659. rh.CanCollide = false
  660. mesh = Instance.new("SpecialMesh")
  661. rh.formFactor = "Symmetric"
  662. mesh.MeshType = "FileMesh"
  663. mesh.MeshId = "rbxassetid://1208185808"
  664. mesh.Parent = rh
  665. local weld = Instance.new("Weld")
  666. weld.Parent = rh
  667. weld.Part0 = rh
  668. weld.Part1 = char["Left Arm"]
  669. weld.C0 = CFrame.new(0.05, 0.6, 0.635)*CFrame.Angles(0, -1.5, 0)
  670. mesh.Scale = Vector3.new(0.07,0.07, 0.07)
  671.  
  672.  
  673. New = function(Object, Parent, Name, Data)
  674. local Object = Instance.new(Object)
  675. for Index, Value in pairs(Data or {}) do
  676. Object[Index] = Value
  677. end
  678. Object.Parent = Parent
  679. Object.Name = Name
  680. return Object
  681. end
  682.  
  683. mse.KeyDown:connect(function(key)
  684. key = key:lower()
  685. if key == "p" then
  686. canworld = true
  687. one:Play()
  688. end
  689. end
  690. )
  691.  
  692. mse.KeyDown:connect(function(key)
  693. key = key:lower()
  694. if key == "j" then
  695. canworld = true
  696. two:Play()
  697. end
  698. end
  699. )
  700.  
  701. mse.KeyDown:connect(function(key)
  702. key = key:lower()
  703. if key == "k" then
  704. canworld = true
  705. three:Play()
  706. end
  707. end
  708. )
  709.  
  710. mse.KeyDown:connect(function(key)
  711. key = key:lower()
  712. if key == "l" then
  713. canworld = true
  714. four:Play()
  715. end
  716. end
  717. )
  718.  
  719. mse.KeyDown:connect(function(key)
  720. key = key:lower()
  721. if key == "n" then
  722. canworld = true
  723. five:Play()
  724. end
  725. end
  726. )
  727.  
  728. mse.KeyDown:connect(function(key)
  729. key = key:lower()
  730. if key == "m" then
  731. canworld = true
  732. six:Play()
  733. end
  734. end
  735. )
  736.  
  737. mse.KeyDown:connect(function(key)
  738. key = key:lower()
  739. if key == "," then
  740. canworld = true
  741. seven:Play()
  742. end
  743. end
  744. )
  745.  
  746. mse.KeyDown:connect(function(key)
  747. key = key:lower()
  748. if key == "." then
  749. canworld = true
  750. eight:Play()
  751. end
  752. end
  753. )
  754.  
  755. mse.KeyDown:connect(function(key)
  756. key = key:lower()
  757. if key == "r" then
  758. canworld = true
  759. nine:Play()
  760. end
  761. end
  762. )
  763.  
  764. mse.KeyDown:connect(function(key)
  765. key = key:lower()
  766. if key == "t" then
  767. canworld = true
  768. ten:Play()
  769. end
  770. end
  771. )
  772.  
  773. mse.KeyDown:connect(function(key)
  774. key = key:lower()
  775. if key == "y" then
  776. canworld = true
  777. laugh = CFuncs.Sound.Create("1384420463")
  778. laugh.Volume = 7
  779. bbgTl.Text = "*laughs in japanese*"
  780. wait(10)
  781. bbgTl.Text = " "
  782. end
  783. end
  784. )
  785.  
  786. function clerp(a,b,c,d)
  787. for i = 0,d,.01 do
  788. a.CFrame = CFrame.new(b:lerp(c,i))
  789. wait()
  790. end
  791. end
  792. function slerp(a2,b2,c2,d2)
  793. for i2 = 0,d2,.01 do
  794. a2.CFrame = CFrame.new(b2:lerp(c2,i2))
  795. wait()
  796. end
  797. end
  798. part = nil
  799. mse.KeyDown:connect(function(key)
  800. if key == "e" and part == nil then
  801.  
  802. 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)
  803. end
  804. end
  805. )
  806.  
  807. mse.KeyDown:connect(function(key)
  808. if key == "e" and part == nil then
  809.  
  810. bam = CFuncs.Sound.Create("1180230203")
  811. bam.Volume = 10
  812. Instance.new("DistortionSoundEffect", bam).Level = 0.1
  813.  
  814. end
  815. end
  816. )
  817.  
  818. mse.KeyDown:connect(function(key)
  819. if key == "e" and part == nil then
  820.  
  821. cce = Instance.new("ColorCorrectionEffect", game.Lighting)
  822. cce.Saturation = -2.5
  823. wait(0.000004)
  824. cce.Saturation = 0
  825. end
  826. end
  827. )
  828.  
  829. canworld = true
  830. mse.KeyDown:connect(function(key)
  831. key = key:lower()
  832. if key == "g" then
  833. if canworld == false then return end
  834. if canworld then
  835. canworld = false
  836. zwoh = CFuncs.Sound.Create("1193182658")
  837. zwoh.Volume = 7
  838.  
  839. bbgTl.Text = "「THE WORLD: OVER HEAVEN」!"
  840. local function spawnpart()
  841. sphere = Instance.new("Part")
  842. --game.Debris:AddItem(sphere,3)
  843. local sm = Instance.new("SpecialMesh", sphere)
  844. sm.MeshType = "Sphere"
  845. sphere.Transparency = 1
  846. sphere.Anchored = true
  847. sphere.CanCollide = false
  848. sphere.Material = "Neon"
  849. sphere.BrickColor = BrickColor.new("White")
  850. end
  851. wait(1.5)
  852. xd:Play()
  853.  
  854. local function weld(lol)
  855. local weld = Instance.new("Weld", plr.Character.Torso)
  856. weld.Part0 = plr.Character.Torso
  857. weld.Part1 = lol
  858. weld.C0 = plr.Character.Torso.CFrame:inverse()
  859. weld.C1 = lol.CFrame:inverse()
  860. end
  861. wait(1.4)
  862. spawnpart()
  863. for i, v in pairs(game.Players:GetChildren()) do
  864. t = v.Character:FindFirstChild("Torso")
  865. if t then
  866. t.Anchored = true
  867. plr.Character:FindFirstChild("Torso").Anchored = false
  868. end
  869. RA = v.Character:FindFirstChild("Right Arm")
  870. if RA then
  871. RA.Anchored = true
  872. plr.Character:FindFirstChild("Right Arm").Anchored = false
  873. end
  874. LA = v.Character:FindFirstChild("Left Arm")
  875. if LA then
  876. LA.Anchored = true
  877. plr.Character:FindFirstChild("Left Arm").Anchored = false
  878. end
  879. RL = v.Character:FindFirstChild("Right Leg")
  880. if RL then
  881. RL.Anchored = true
  882. plr.Character:FindFirstChild("Right Leg").Anchored = false
  883. end
  884. LL = v.Character:FindFirstChild("Left Leg")
  885. if LL then
  886. LL.Anchored = true
  887. plr.Character:FindFirstChild("Left Leg").Anchored = false
  888. end
  889. end
  890.  
  891. weld(sphere)
  892. cce = Instance.new("ColorCorrectionEffect", game.Lighting)
  893. cce.Saturation = -1.6
  894. --game.Debris:AddItem(cce, 5)
  895. sphere.Parent = game.Workspace
  896. for i = 1,10 do
  897. sphere.Size = sphere.Size + Vector3.new(100,100,100)
  898. wait()
  899. end
  900. --wait(5)
  901.  
  902. wait(2)
  903. bbgTl.Text = " "
  904. end
  905. end
  906. end)
  907.  
  908. mse.KeyDown:connect(function(key)
  909. key = key:lower()
  910. if key == "h" then
  911. canworld = true
  912. ugoki:Play()
  913. wait(.5)
  914. move:Play()
  915. xd:Stop()
  916. bbgTl.Text = "..Time resumes once again."
  917. for i, v in pairs(game.Players:GetChildren()) do
  918. t = v.Character:FindFirstChild("Torso")
  919. if t then
  920. t.Anchored = false
  921. end
  922. RA = v.Character:FindFirstChild("Right Arm")
  923. if RA then
  924. RA.Anchored = false
  925. end
  926. LA = v.Character:FindFirstChild("Left Arm")
  927. if LA then
  928. LA.Anchored = false
  929. end
  930. RL = v.Character:FindFirstChild("Right Leg")
  931. if RL then
  932. RL.Anchored = false
  933. end
  934. LL = v.Character:FindFirstChild("Left Leg")
  935. if LL then
  936. LL.Anchored = false
  937. end
  938. end
  939.  
  940. cce.Saturation = -1.5
  941. wait(0.01)
  942. cce.Saturation = -1.4
  943. wait(0.01)
  944. cce.Saturation = -1.3
  945. wait(0.01)
  946. cce.Saturation = -1.2
  947. wait(0.01)
  948. cce.Saturation = -1.1
  949. wait(0.01)
  950. cce.Saturation = -1
  951. wait(0.01)
  952. cce.Saturation = -0.9
  953. wait(0.01)
  954. cce.Saturation = -0.8
  955. wait(0.01)
  956. cce.Saturation = -0.7
  957. wait(0.01)
  958. cce.Saturation = -0.6
  959. wait(0.01)
  960. cce.Saturation = -0.5
  961. wait(0.01)
  962. cce.Saturation = -0.4
  963. wait(0.01)
  964. cce.Saturation = -0.3
  965. wait(0.01)
  966. cce.Saturation = -0.2
  967. wait(0.01)
  968. cce.Saturation = -0.1
  969. wait(0.01)
  970. cce.Saturation = 0
  971.  
  972.  
  973.  
  974. wait(0.5)
  975. bbgTl.Text = " "
  976.  
  977. sphere:Destroy()
  978. end
  979. end)
  980.  
  981.  
  982.  
  983. Effects = {}
  984. local Player = game.Players.localPlayer
  985. local Character = Player.Character
  986. Character.Archivable = true
  987. AdvancingFortress = Character:Clone()
  988. AdvancingFortress.Parent = Character
  989. torso = AdvancingFortress.Torso
  990. hum = AdvancingFortress.Humanoid
  991. AdvancingFortress.Name = "Advancing Fortress"
  992. pl = AdvancingFortress
  993. local FOrin = "rbxassetid://541645615"
  994. AdvancingFortress.Head.face.Texture = FOrin
  995. Character["Advancing Fortress"].Hat3:Destroy()
  996. Character["Advancing Fortress"].Hat.Part.Transparency = 1
  997. Character["Advancing Fortress"].Pipe.Part.Transparency = 1
  998. Character["Advancing Fortress"].Armor.Part.Transparency = 1
  999. Character["Advancing Fortress"].armban1.Part.Transparency = 1
  1000. Character["Advancing Fortress"].armban2.Part.Transparency = 1
  1001. Character["Advancing Fortress"].lhip.Part.Transparency = 1
  1002. Character["Advancing Fortress"].rhip.Part.Transparency = 1
  1003. Character["Advancing Fortress"].h1.Part.Transparency = 1
  1004. Character["Advancing Fortress"].h2.Part.Transparency = 1
  1005. Character["Advancing Fortress"].h3.Part.Transparency = 1
  1006. Character["Advancing Fortress"].h4.Part.Transparency = 1
  1007. Character["Advancing Fortress"].pack.Part.Transparency = 1
  1008. Character["Advancing Fortress"].hand1.Part.Transparency = 1
  1009. Character["Advancing Fortress"].hand2.Part.Transparency = 1
  1010. AdvancingFortress.Head.face.Transparency = 1
  1011. Character.Hat:Destroy()
  1012. Character.Pipe:Destroy()
  1013. Character.Armor:Destroy()
  1014. Character.armban1:Destroy()
  1015. Character.armban2:Destroy()
  1016. Character.lhip:Destroy()
  1017. Character.rhip:Destroy()
  1018. Character.h1:Destroy()
  1019. Character.h2:Destroy()
  1020. Character.h3:Destroy()
  1021. Character.h4:Destroy()
  1022. Character.pack:Destroy()
  1023. Character.hand1:Destroy()
  1024. Character.hand2:Destroy()
  1025. for i, v in pairs(AdvancingFortress:GetChildren()) do
  1026. if v:IsA("BasePart") then
  1027. v.Transparency = 1
  1028. end
  1029. end
  1030. local Humanoid = AdvancingFortress.Humanoid
  1031. local Mouse = Player:GetMouse()
  1032. local LeftArm = AdvancingFortress["Left Arm"]
  1033. local RightArm = AdvancingFortress["Right Arm"]
  1034. local LeftLeg = AdvancingFortress["Left Leg"]
  1035. local RightLeg = AdvancingFortress["Right Leg"]
  1036. local Head = AdvancingFortress.Head
  1037. local Torso = AdvancingFortress.Torso
  1038. local Camera = game.Workspace.CurrentCamera
  1039. local RootPart = AdvancingFortress.HumanoidRootPart
  1040. local RootJoint = RootPart.RootJoint
  1041. local attack = false
  1042. local Anim = "Idle"
  1043. local attacktype = 1
  1044. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1045. local velocity = RootPart.Velocity.y
  1046. local sine = 0
  1047. local change = 1
  1048. local Create = LoadLibrary("RbxUtility").Create
  1049. local TimeStop = false
  1050. local m = Create("Model")({
  1051. Parent = AdvancingFortress,
  1052. Name = "WeaponModel"
  1053. })
  1054.  
  1055. AdvancingFortress.Head.Name = "FHead"
  1056. AdvancingFortress.Torso.Name = "FTorso"
  1057. AdvancingFortress.HumanoidRootPart.Name = "FHumanoidRootPart"
  1058. Humanoid.Animator.Parent = nil
  1059. AdvancingFortress.Animate.Parent = nil
  1060. local function newMotor(part0, part1, c0, c1)
  1061. local w = Create("Weld")({
  1062. Parent = part0,
  1063. Part0 = part0,
  1064. Part1 = part1,
  1065. C0 = c0,
  1066. C1 = c1
  1067. })
  1068. return w
  1069. end
  1070. function clerp(a, b, t)
  1071. return a:lerp(b, t)
  1072. end
  1073. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  1074. NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1075. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  1076. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  1077. local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
  1078. local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
  1079. RootJoint.C1 = CFrame.new(0, 0, 0)
  1080. RootJoint.C0 = CFrame.new(0, 0, 0)
  1081. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  1082. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  1083. local rarmc1 = RW.C1
  1084. local larmc1 = LW.C1
  1085. local rlegc1 = RH.C1
  1086. local llegc1 = LH.C1
  1087. local resetc1 = false
  1088. function PlayAnimationFromTable(table, speed, bool)
  1089. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  1090. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  1091. RW.C0 = clerp(RW.C0, table[3], speed)
  1092. LW.C0 = clerp(LW.C0, table[4], speed)
  1093. RH.C0 = clerp(RH.C0, table[5], speed)
  1094. LH.C0 = clerp(LH.C0, table[6], speed)
  1095. if bool == true and resetc1 == false then
  1096. resetc1 = true
  1097. RootJoint.C1 = RootJoint.C1
  1098. Torso.Neck.C1 = Torso.Neck.C1
  1099. RW.C1 = rarmc1
  1100. LW.C1 = larmc1
  1101. RH.C1 = rlegc1
  1102. LH.C1 = llegc1
  1103. end
  1104. end
  1105. ArtificialHB = Create("BindableEvent", script)({Parent = script, Name = "Heartbeat"})
  1106. script:WaitForChild("Heartbeat")
  1107. frame = 0.03333333333333333
  1108. tf = 0
  1109. allowframeloss = false
  1110. tossremainder = false
  1111. lastframe = tick()
  1112. script.Heartbeat:Fire()
  1113. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1114. tf = tf + s
  1115. if tf >= frame then
  1116. if allowframeloss then
  1117. script.Heartbeat:Fire()
  1118. lastframe = tick()
  1119. else
  1120. for i = 1, math.floor(tf / frame) do
  1121. script.Heartbeat:Fire()
  1122. end
  1123. lastframe = tick()
  1124. end
  1125. if tossremainder then
  1126. tf = 0
  1127. else
  1128. tf = tf - frame * math.floor(tf / frame)
  1129. end
  1130. end
  1131. end)
  1132. function swait(num)
  1133. if num == 0 or num == nil then
  1134. ArtificialHB.Event:wait()
  1135. else
  1136. for i = 0, num do
  1137. ArtificialHB.Event:wait()
  1138. end
  1139. end
  1140. end
  1141. function RemoveOutlines(part)
  1142. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1143. end
  1144. CFuncs = {
  1145. Part = {
  1146. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1147. local Part = Create("Part")({
  1148. Parent = Parent,
  1149. Reflectance = Reflectance,
  1150. Transparency = Transparency,
  1151. CanCollide = false,
  1152. Locked = true,
  1153. BrickColor = BrickColor.new(tostring(BColor)),
  1154. Name = Name,
  1155. Size = Size,
  1156. Material = Material
  1157. })
  1158. RemoveOutlines(Part)
  1159. return Part
  1160. end
  1161. },
  1162. Mesh = {
  1163. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1164. local Msh = Create(Mesh)({
  1165. Parent = Part,
  1166. Offset = OffSet,
  1167. Scale = Scale
  1168. })
  1169. if Mesh == "SpecialMesh" then
  1170. Msh.MeshType = MeshType
  1171. Msh.MeshId = MeshId
  1172. end
  1173. return Msh
  1174. end
  1175. },
  1176. Weld = {
  1177. Create = function(Parent, Part0, Part1, C0, C1)
  1178. local Weld = Create("Weld")({
  1179. Parent = Parent,
  1180. Part0 = Part0,
  1181. Part1 = Part1,
  1182. C0 = C0,
  1183. C1 = C1
  1184. })
  1185. return Weld
  1186. end
  1187. },
  1188. Sound = {
  1189. Create = function(id, par, vol, pit)
  1190. local Sound = Create("Sound")({
  1191. Volume = vol,
  1192. Pitch = pit or 1,
  1193. SoundId = "rbxassetid://" .. id,
  1194. Parent = par or workspace
  1195. })
  1196. Sound:play()
  1197. game:GetService("Debris"):AddItem(Sound, 130)
  1198. return Sound
  1199. end
  1200. },
  1201. Decal = {
  1202. Create = function(Color, Texture, Transparency, Name, Parent)
  1203. local Decal = Create("Decal")({
  1204. Color3 = Color,
  1205. Texture = "rbxassetid://" .. Texture,
  1206. Transparency = Transparency,
  1207. Name = Name,
  1208. Parent = Parent
  1209. })
  1210. return Decal
  1211. end
  1212. },
  1213. BillboardGui = {
  1214. Create = function(Parent, Image, Position, Size)
  1215. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  1216. BillPar.CFrame = CFrame.new(Position)
  1217. local Bill = Create("BillboardGui")({
  1218. Parent = BillPar,
  1219. Adornee = BillPar,
  1220. Size = UDim2.new(1, 0, 1, 0),
  1221. SizeOffset = Vector2.new(Size, Size)
  1222. })
  1223. local d = Create("ImageLabel", Bill)({
  1224. Parent = Bill,
  1225. BackgroundTransparency = 1,
  1226. Size = UDim2.new(1, 0, 1, 0),
  1227. Image = "rbxassetid://" .. Image
  1228. })
  1229. return BillPar
  1230. end
  1231. },
  1232. ParticleEmitter = {
  1233. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1234. local Particle = Create("ParticleEmitter")({
  1235. Parent = Parent,
  1236. Color = ColorSequence.new(Color1, Color2),
  1237. LightEmission = LightEmission,
  1238. Size = Size,
  1239. Texture = Texture,
  1240. Transparency = Transparency,
  1241. ZOffset = ZOffset,
  1242. Acceleration = Accel,
  1243. Drag = Drag,
  1244. LockedToPart = LockedToPart,
  1245. VelocityInheritance = VelocityInheritance,
  1246. EmissionDirection = EmissionDirection,
  1247. Enabled = Enabled,
  1248. Lifetime = LifeTime,
  1249. Rate = Rate,
  1250. Rotation = Rotation,
  1251. RotSpeed = RotSpeed,
  1252. Speed = Speed,
  1253. VelocitySpread = VelocitySpread
  1254. })
  1255. return Particle
  1256. end
  1257. },
  1258. CreateTemplate = {}
  1259. }
  1260. function rayCast(Position, Direction, Range, Ignore)
  1261. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1262. end
  1263. function FindNearestTorso(pos)
  1264. local list = game.Workspace:children()
  1265. local torso
  1266. local dist = 1000
  1267. local temp, human, temp2
  1268. for x = 1, #list do
  1269. temp2 = list[x]
  1270. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  1271. temp = temp2:findFirstChild("Torso")
  1272. human = temp2:findFirstChild("Humanoid")
  1273. if temp ~= nil and human ~= nil and human.Health > 0 and dist > (temp.Position - pos).magnitude then
  1274. local dohit = true
  1275. if dohit == true then
  1276. torso = temp
  1277. dist = (temp.Position - pos).magnitude
  1278. end
  1279. end
  1280. end
  1281. end
  1282. return torso, dist
  1283. end
  1284. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1285. if hit.Parent == nil then
  1286. return
  1287. end
  1288. local h = hit.Parent:FindFirstChild("Humanoid")
  1289. for _, v in pairs(hit.Parent:children()) do
  1290. if v:IsA("Humanoid") then
  1291. h = v
  1292. end
  1293. end
  1294. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1295. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1296. return
  1297. end
  1298. local c = Create("ObjectValue")({
  1299. Name = "creator",
  1300. Value = game:service("Players").LocalPlayer,
  1301. Parent = h
  1302. })
  1303. game:GetService("Debris"):AddItem(c, 0.5)
  1304. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1305. local Damage = math.random(minim, maxim)
  1306. local blocked = false
  1307. local block = hit.Parent:findFirstChild("Block")
  1308. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1309. blocked = true
  1310. block.Value = block.Value - 1
  1311. print(block.Value)
  1312. end
  1313. if TimeStop == false then
  1314. h.Health = h.Health - Damage
  1315. 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)
  1316. elseif TimeStop == true then
  1317. repeat wait() until TimeStop == false
  1318. h.Health = h.Health - Damage / 2
  1319. 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)
  1320. end
  1321. if Type == "Knockdown" then
  1322. local hum = hit.Parent.Humanoid
  1323. hum.PlatformStand = true
  1324. coroutine.resume(coroutine.create(function(HHumanoid)
  1325. swait(1)
  1326. HHumanoid.PlatformStand = false
  1327. end), hum)
  1328. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1329. local bodvol = Create("BodyVelocity")({
  1330. velocity = angle * knockback,
  1331. P = 5000,
  1332. maxForce = Vector3.new(8000, 8000, 8000),
  1333. Parent = hit
  1334. })
  1335. local rl = Create("BodyAngularVelocity")({
  1336. P = 3000,
  1337. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1338. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1339. Parent = hit
  1340. })
  1341. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1342. game:GetService("Debris"):AddItem(rl, 0.5)
  1343. elseif Type == "Normal" then
  1344. local vp = Create("BodyVelocity")({
  1345. P = 500,
  1346. maxForce = Vector3.new(math.huge, 0, math.huge),
  1347. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1348. })
  1349. if knockback > 0 then
  1350. vp.Parent = hit.Parent.Torso
  1351. end
  1352. game:GetService("Debris"):AddItem(vp, 0.5)
  1353. elseif Type == "Up" then
  1354. local bodyVelocity = Create("BodyVelocity")({
  1355. velocity = Vector3.new(0, 20, 0),
  1356. P = 5000,
  1357. maxForce = Vector3.new(8000, 8000, 8000),
  1358. Parent = hit
  1359. })
  1360. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1361. elseif Type == "DarkUp" then
  1362. coroutine.resume(coroutine.create(function()
  1363. for i = 0, 1, 0.1 do
  1364. swait()
  1365. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  1366. end
  1367. end))
  1368. local bodyVelocity = Create("BodyVelocity")({
  1369. velocity = Vector3.new(0, 20, 0),
  1370. P = 5000,
  1371. maxForce = Vector3.new(8000, 8000, 8000),
  1372. Parent = hit
  1373. })
  1374. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1375. elseif Type == "Snare" then
  1376. local bp = Create("BodyPosition")({
  1377. P = 2000,
  1378. D = 100,
  1379. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1380. position = hit.Parent.Torso.Position,
  1381. Parent = hit.Parent.Torso
  1382. })
  1383. game:GetService("Debris"):AddItem(bp, 1)
  1384. elseif Type == "Freeze" then
  1385. local BodPos = Create("BodyPosition")({
  1386. P = 50000,
  1387. D = 1000,
  1388. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1389. position = hit.Parent.Torso.Position,
  1390. Parent = hit.Parent.Torso
  1391. })
  1392. local BodGy = Create("BodyGyro")({
  1393. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1394. P = 20000,
  1395. Parent = hit.Parent.Torso,
  1396. cframe = hit.Parent.Torso.CFrame
  1397. })
  1398. hit.Parent.Torso.Anchored = true
  1399. coroutine.resume(coroutine.create(function(Part)
  1400. swait(1.5)
  1401. Part.Anchored = false
  1402. end), hit.Parent.Torso)
  1403. game:GetService("Debris"):AddItem(BodPos, 3)
  1404. game:GetService("Debris"):AddItem(BodGy, 3)
  1405. end
  1406. local debounce = Create("BoolValue")({
  1407. Name = "DebounceHit",
  1408. Parent = hit.Parent,
  1409. Value = true
  1410. })
  1411. game:GetService("Debris"):AddItem(debounce, Delay)
  1412. c = Create("ObjectValue")({
  1413. Name = "creator",
  1414. Value = Player,
  1415. Parent = h
  1416. })
  1417. game:GetService("Debris"):AddItem(c, 0.5)
  1418. end
  1419. end
  1420. function ShowDamage(Pos, Text, Time, Color)
  1421. local Rate = 0.03333333333333333
  1422. local Pos = Pos or Vector3.new(0, 0, 0)
  1423. local Text = Text or ""
  1424. local Time = Time or 2
  1425. local Color = Color or Color3.new(1, 0, 1)
  1426. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1427. EffectPart.Anchored = true
  1428. local BillboardGui = Create("BillboardGui")({
  1429. Size = UDim2.new(3, 0, 3, 0),
  1430. Adornee = EffectPart,
  1431. Parent = EffectPart
  1432. })
  1433. local TextLabel = Create("TextLabel")({
  1434. BackgroundTransparency = 1,
  1435. Size = UDim2.new(1, 0, 1, 0),
  1436. Text = Text,
  1437. Font = "SciFi",
  1438. TextColor3 = Color,
  1439. TextScaled = true,
  1440. Parent = BillboardGui
  1441. })
  1442. game.Debris:AddItem(EffectPart, Time)
  1443. EffectPart.Parent = game:GetService("Workspace")
  1444. delay(0, function()
  1445. local Frames = Time / Rate
  1446. for Frame = 1, Frames do
  1447. wait(Rate)
  1448. local Percent = Frame / Frames
  1449. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1450. TextLabel.TextTransparency = Percent
  1451. end
  1452. if EffectPart and EffectPart.Parent then
  1453. EffectPart:Destroy()
  1454. end
  1455. end)
  1456. end
  1457. local STDamage = false
  1458. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  1459. for _, c in pairs(workspace:children()) do
  1460. local hum = c:findFirstChild("Humanoid")
  1461. if hum ~= nil then
  1462. local head = c:findFirstChild("Torso")
  1463. if head ~= nil then
  1464. local targ = head.Position - Part.Position
  1465. local mag = targ.magnitude
  1466. if Magnitude >= mag and c.Name ~= Player.Name then
  1467. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0.1, HitSound, HitPitch)
  1468. if STDamage == true then
  1469. for i = 1, 3 do
  1470. Effects.Block.Create(BrickColor.new("Maroon"), head.CFrame, 1, 1, 1, 4, 4, 4, 0.07, 1)
  1471. end
  1472. for i = 1, 10 do
  1473. CamShake(1, 70000)
  1474. Effects.Break.Create(BrickColor.new("Maroon"), head.CFrame, 1, 1, 1)
  1475. end
  1476. elseif STDamage == false then
  1477. CamShake(1, 90000)
  1478. Effects.Block.Create(BrickColor.new("Maroon"), head.CFrame, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.07, 1)
  1479. for i = 1, 2 do
  1480. Effects.Break.Create(BrickColor.new("Maroon"), head.CFrame, 0.4, 0.4, 0.4)
  1481. end
  1482. end
  1483. end
  1484. end
  1485. end
  1486. end
  1487. end
  1488. HHandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "HHandle", Vector3.new(1.09999979, 0.299999923, 1.0999999))
  1489. 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))
  1490. Eye1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Really black", "Eye1", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  1491. 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))
  1492. CFuncs.Mesh.Create("SpecialMesh", Eye1, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1493. Eye2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Really black", "Eye2", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  1494. 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))
  1495. CFuncs.Mesh.Create("SpecialMesh", Eye2, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1496. THandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "THandle", Vector3.new(1, 0.799999893, 1))
  1497. 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))
  1498. AHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "AHandleR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  1499. 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))
  1500. HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "HitboxR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  1501. 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))
  1502. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998))
  1503. 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))
  1504. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  1505. 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))
  1506. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  1507. 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))
  1508. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005))
  1509. 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))
  1510. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998))
  1511. 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))
  1512. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998))
  1513. 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))
  1514. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041))
  1515. 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))
  1516. HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "HitboxR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  1517. 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))
  1518. AHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "AHandleL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
  1519. 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))
  1520. HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "HitboxL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
  1521. 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))
  1522. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  1523. 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))
  1524. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041))
  1525. 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))
  1526. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  1527. 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))
  1528. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005))
  1529. 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))
  1530. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998))
  1531. 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))
  1532. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998))
  1533. 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))
  1534. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998))
  1535. 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))
  1536. LHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "LHandleR", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  1537. 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))
  1538. HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "HitboxR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  1539. 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))
  1540. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.800000012, 0.800000012, 0.200000003))
  1541. 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))
  1542. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  1543. 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))
  1544. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(1.02999997, 0.699999928, 1.19000006))
  1545. 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))
  1546. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.400000006, 1.20000005, 0.200000003))
  1547. 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))
  1548. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Quill grey", "Part", Vector3.new(0.800000131, 1.20000005, 0.800000012))
  1549. 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))
  1550. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1551. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1552. 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))
  1553. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1554. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1555. 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))
  1556. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1557. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1558. 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))
  1559. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1560. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1561. 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))
  1562. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1563. LHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "LHandleL", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  1564. 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))
  1565. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1566. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  1567. 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))
  1568. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.400000006, 1.20000005, 0.300000012))
  1569. 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))
  1570. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(1.02999997, 0.699999928, 1.19000006))
  1571. 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))
  1572. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Quill grey", "Part", Vector3.new(0.800000131, 1.20000005, 0.800000012))
  1573. 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))
  1574. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1575. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Part", Vector3.new(0.800000012, 0.800000012, 0.300000012))
  1576. 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))
  1577. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  1578. 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))
  1579. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1580. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  1581. 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))
  1582. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1583. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  1584. 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))
  1585. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1586. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Tr. Flu. Yellow", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  1587. 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))
  1588. Shield = CFuncs.Part.Create(m, "Neon", 0, 0, "Tr. Flu. Yellow", "Part", Vector3.new(9.1, 8.5, 0.2))
  1589. CFuncs.Mesh.Create("SpecialMesh", Shield, "FileMesh", "rbxassetid://0", Vector3.new(0, 0, 0), Vector3.new(0.04, 0.04, 0.04))
  1590. Shield.Parent = nil
  1591. EffectModel = Create("Model")({Parent = Character, Name = "Effects"})
  1592. Effects = {
  1593. Block = {
  1594. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1595. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1596. prt.Anchored = true
  1597. prt.CFrame = cframe
  1598. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1599. game:GetService("Debris"):AddItem(prt, 10)
  1600. if Type == 1 or Type == nil then
  1601. table.insert(Effects, {
  1602. prt,
  1603. "Block1",
  1604. delay,
  1605. x3,
  1606. y3,
  1607. z3,
  1608. msh
  1609. })
  1610. elseif Type == 2 then
  1611. table.insert(Effects, {
  1612. prt,
  1613. "Block2",
  1614. delay,
  1615. x3,
  1616. y3,
  1617. z3,
  1618. msh
  1619. })
  1620. end
  1621. end
  1622. },
  1623. Cylinder = {
  1624. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1625. local prt = CFuncs.Part .. Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  1626. prt.Anchored = true
  1627. prt.CFrame = cframe
  1628. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1629. game:GetService("Debris"):AddItem(prt, 2)
  1630. Effects[#Effects + 1] = {
  1631. prt,
  1632. "Cylinder",
  1633. delay,
  1634. x3,
  1635. y3,
  1636. z3
  1637. }
  1638. end
  1639. },
  1640. Head = {
  1641. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1642. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1643. prt.Anchored = true
  1644. prt.CFrame = cframe
  1645. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1646. game:GetService("Debris"):AddItem(prt, 10)
  1647. table.insert(Effects, {
  1648. prt,
  1649. "Cylinder",
  1650. delay,
  1651. x3,
  1652. y3,
  1653. z3,
  1654. msh
  1655. })
  1656. end
  1657. },
  1658. Sphere = {
  1659. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1660. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1661. prt.Anchored = true
  1662. prt.CFrame = cframe
  1663. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1664. game:GetService("Debris"):AddItem(prt, 10)
  1665. table.insert(Effects, {
  1666. prt,
  1667. "Cylinder",
  1668. delay,
  1669. x3,
  1670. y3,
  1671. z3,
  1672. msh
  1673. })
  1674. end
  1675. },
  1676. Sphere2 = {
  1677. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1678. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1679. prt.Anchored = true
  1680. prt.CFrame = cframe
  1681. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1682. game:GetService("Debris"):AddItem(prt, 10)
  1683. table.insert(Effects, {
  1684. prt,
  1685. "Cylinder",
  1686. delay,
  1687. x3,
  1688. y3,
  1689. z3,
  1690. msh
  1691. })
  1692. end
  1693. },
  1694. Elec = {
  1695. Create = function(cff, x, y, z)
  1696. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Tr. Flu. Yellow"), "Part", Vector3.new(1, 1, 1))
  1697. prt.Anchored = true
  1698. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  1699. prt.CFrame = CFrame.new(prt.Position)
  1700. game:GetService("Debris"):AddItem(prt, 2)
  1701. local xval = math.random() / 2
  1702. local yval = math.random() / 2
  1703. local zval = math.random() / 2
  1704. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  1705. table.insert(Effects, {
  1706. prt,
  1707. "Elec",
  1708. 0.1,
  1709. x,
  1710. y,
  1711. z,
  1712. xval,
  1713. yval,
  1714. zval
  1715. })
  1716. end
  1717. },
  1718. Ring = {
  1719. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1720. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1721. prt.Anchored = true
  1722. prt.CFrame = cframe
  1723. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1724. game:GetService("Debris"):AddItem(prt, 10)
  1725. table.insert(Effects, {
  1726. prt,
  1727. "Cylinder",
  1728. delay,
  1729. x3,
  1730. y3,
  1731. z3,
  1732. msh
  1733. })
  1734. end
  1735. },
  1736. Wave = {
  1737. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1738. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1739. prt.Anchored = true
  1740. prt.CFrame = cframe
  1741. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1742. game:GetService("Debris"):AddItem(prt, 10)
  1743. table.insert(Effects, {
  1744. prt,
  1745. "Cylinder",
  1746. delay,
  1747. x3,
  1748. y3,
  1749. z3,
  1750. msh
  1751. })
  1752. end
  1753. },
  1754. Break = {
  1755. Create = function(brickcolor, cframe, x1, y1, z1)
  1756. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1757. prt.Anchored = true
  1758. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1759. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1760. local num = math.random(10, 50) / 1000
  1761. game:GetService("Debris"):AddItem(prt, 10)
  1762. table.insert(Effects, {
  1763. prt,
  1764. "Shatter",
  1765. num,
  1766. prt.CFrame,
  1767. math.random() - math.random(),
  1768. 0,
  1769. math.random(50, 100) / 100
  1770. })
  1771. end
  1772. },
  1773. Fire = {
  1774. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  1775. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1776. prt.Anchored = true
  1777. prt.CFrame = cframe
  1778. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1779. game:GetService("Debris"):AddItem(prt, 10)
  1780. table.insert(Effects, {
  1781. prt,
  1782. "Fire",
  1783. delay,
  1784. 1,
  1785. 1,
  1786. 1,
  1787. msh
  1788. })
  1789. end
  1790. },
  1791. FireWave = {
  1792. Create = function(brickcolor, cframe, x1, y1, z1)
  1793. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  1794. prt.Anchored = true
  1795. prt.CFrame = cframe
  1796. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1797. local d = Create("Decal")({
  1798. Parent = prt,
  1799. Texture = "rbxassetid://26356434",
  1800. Face = "Top"
  1801. })
  1802. local d = Create("Decal")({
  1803. Parent = prt,
  1804. Texture = "rbxassetid://26356434",
  1805. Face = "Bottom"
  1806. })
  1807. game:GetService("Debris"):AddItem(prt, 10)
  1808. table.insert(Effects, {
  1809. prt,
  1810. "FireWave",
  1811. 1,
  1812. 30,
  1813. math.random(400, 600) / 100,
  1814. msh
  1815. })
  1816. end
  1817. },
  1818. Lightning = {
  1819. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  1820. local magz = (p0 - p1).magnitude
  1821. local curpos = p0
  1822. local trz = {
  1823. -ofs,
  1824. ofs
  1825. }
  1826. for i = 1, tym do
  1827. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  1828. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  1829. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  1830. li.Material = "Neon"
  1831. if tym == i then
  1832. local magz2 = (curpos - p1).magnitude
  1833. li.Size = Vector3.new(th, th, magz2)
  1834. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  1835. table.insert(Effects, {
  1836. li,
  1837. "Disappear",
  1838. last
  1839. })
  1840. else
  1841. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  1842. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  1843. game.Debris:AddItem(li, 10)
  1844. table.insert(Effects, {
  1845. li,
  1846. "Disappear",
  1847. last
  1848. })
  1849. end
  1850. end
  1851. end
  1852. },
  1853. EffectTemplate = {}
  1854. }
  1855. local Invisible = true
  1856. function Reappear()
  1857. for _, i in pairs(AdvancingFortress:children()) do
  1858. if i:IsA("BasePart") then
  1859. coroutine.resume(coroutine.create(function(Part)
  1860. for i = 0, 1, 0.3 do
  1861. swait()
  1862. Part.Transparency = -i
  1863. end
  1864. Part.Transparency = 0
  1865. end), i)
  1866. end
  1867. end
  1868. for _, i in pairs(m:children()) do
  1869. if i:IsA("BasePart") then
  1870. coroutine.resume(coroutine.create(function(Part)
  1871. for i = 0, 1, 0.3 do
  1872. swait()
  1873. Part.Transparency = i
  1874. end
  1875. Part.Transparency = 0
  1876. end), i)
  1877. end
  1878. end
  1879. end
  1880. function ReappearArmorOnly()
  1881. for _, i in pairs(m:children()) do
  1882. if i:IsA("BasePart") then
  1883. coroutine.resume(coroutine.create(function(Part)
  1884. for i = 0, 1, 0.3 do
  1885. swait()
  1886. Part.Transparency = i
  1887. end
  1888. Part.Transparency = 0
  1889. end), i)
  1890. end
  1891. end
  1892. end
  1893. function Disappear()
  1894. for _, i in pairs(AdvancingFortress:children()) do
  1895. if i:IsA("BasePart") then
  1896. coroutine.resume(coroutine.create(function(Part)
  1897. for i = 0, 1, 0.3 do
  1898. swait()
  1899. Part.Transparency = i
  1900. end
  1901. Part.Transparency = 1
  1902. end), i)
  1903. end
  1904. end
  1905. for _, i in pairs(m:children()) do
  1906. if i:IsA("BasePart") then
  1907. coroutine.resume(coroutine.create(function(Part)
  1908. for i = 0, 1, 0.3 do
  1909. swait()
  1910. Part.Transparency = i
  1911. end
  1912. Part.Transparency = 1
  1913. end), i)
  1914. end
  1915. end
  1916. end
  1917. function DisappearArmorOnly()
  1918. for _, i in pairs(m:children()) do
  1919. if i:IsA("BasePart") then
  1920. coroutine.resume(coroutine.create(function(Part)
  1921. for i = 0, 1, 0.3 do
  1922. swait()
  1923. Part.Transparency = i
  1924. end
  1925. Part.Transparency = 1
  1926. end), i)
  1927. end
  1928. end
  1929. end
  1930. function CamShake(time, freq)
  1931. coroutine.resume(coroutine.create(function()
  1932. local cam = game:GetService("Workspace").CurrentCamera
  1933. local time = 10
  1934. local seed = Vector3.new(math.random(100, 200) / freq, math.random(100, 200) / freq, 0)
  1935. if math.random(1, 2) == 1 then
  1936. seed = Vector3.new(-seed.x, seed.y, 0)
  1937. end
  1938. if math.random(1, 2) == 1 then
  1939. seed = Vector3.new(seed.x, -seed.y, 0)
  1940. end
  1941. 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)
  1942. for i = 1, time do
  1943. 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)
  1944. wait()
  1945. end
  1946. end))
  1947. end
  1948.  
  1949. local bigg = false
  1950. function PE()
  1951. pep = Instance.new("ParticleEmitter")
  1952. pep.Name = "pep"
  1953. pep.Lifetime = NumberRange.new(1)
  1954. pep.Rate = 5
  1955. pep.Texture = "rbxassetid://298768656"
  1956. pep.VelocitySpread = 60
  1957. pep.Parent = char.Head
  1958. end
  1959.  
  1960. local ora = false
  1961. function ORA()
  1962. attack = true
  1963. local S = CFuncs.Sound.Create("601465752", Torso, 1, 1)
  1964. S.Looped = true
  1965. S.Volume = 10
  1966. if ora == true then
  1967. while ora == true do
  1968. CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
  1969. MagnitudeDamage(HitboxL, 5, 4, 10, 0, "Normal", "131070686", 1)
  1970. for i = 0, 1, 0.8 do
  1971. swait()
  1972. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  1973. PlayAnimationFromTable({
  1974. 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),
  1975. 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),
  1976. 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),
  1977. 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),
  1978. 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),
  1979. 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)
  1980. }, 0.8, false)
  1981. end
  1982. CFuncs.Sound.Create("200632136", HitboxR, 0.3, math.random(1, 1.2))
  1983. MagnitudeDamage(HitboxR, 5, 4, 10, 0, "Normal", "131070686", 1)
  1984. for i = 0, 1, 0.8 do
  1985. swait()
  1986. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  1987. PlayAnimationFromTable({
  1988. 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),
  1989. 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),
  1990. 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),
  1991. 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),
  1992. 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),
  1993. 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)
  1994. }, 0.8, false)
  1995. end
  1996. CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
  1997. MagnitudeDamage(HitboxL, 5, 4, 10, 0, "Normal", "131070686", 1)
  1998. for i = 0, 1, 0.8 do
  1999. swait()
  2000. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  2001. PlayAnimationFromTable({
  2002. 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),
  2003. 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),
  2004. 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),
  2005. 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),
  2006. 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),
  2007. 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)
  2008. }, 0.8, false)
  2009. end
  2010. CFuncs.Sound.Create("200632136", HitboxR, 0.3, math.random(1, 1.2))
  2011. MagnitudeDamage(HitboxR, 5, 4, 10, 0, "Normal", "131070686", 1)
  2012. for i = 0, 1, 0.8 do
  2013. swait()
  2014. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  2015. PlayAnimationFromTable({
  2016. 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),
  2017. 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),
  2018. 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),
  2019. 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),
  2020. 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),
  2021. 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)
  2022. }, 0.8, false)
  2023. end
  2024. CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
  2025. MagnitudeDamage(HitboxL, 5, 4, 10, 0, "Normal", "131070686", 1)
  2026. end
  2027. end
  2028. S:Stop()
  2029. local S2 = CFuncs.Sound.Create("1277342512", Torso, 1.5, 1)
  2030.  
  2031. S2.Volume = 10
  2032. for i = 0, 1, 0.13 do
  2033. swait()
  2034. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -3), 0.5)
  2035. PlayAnimationFromTable({
  2036. 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),
  2037. 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),
  2038. 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),
  2039. 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),
  2040. 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),
  2041. 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)
  2042. }, 0.2, false)
  2043. end
  2044. CFuncs.Sound.Create("471881954", HitboxR, 1, 1)
  2045. MagnitudeDamage(HitboxR, 7, 10, 15, 50, "Normal", "610359590", 1)
  2046. for i = 0, 1, 0.1 do
  2047. swait()
  2048. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 0.3)
  2049. PlayAnimationFromTable({
  2050. 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),
  2051. 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),
  2052. 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),
  2053. 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),
  2054. 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),
  2055. 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)
  2056. }, 0.6, false)
  2057. end
  2058. attack = false
  2059. end
  2060. function CastleCrusherFist()
  2061. attack = true
  2062. STDamage = true
  2063. local S3 = CFuncs.Sound.Create("1368114767", Torso, 1, 1)
  2064. Instance.new("DistortionSoundEffect", S3).Level = 0
  2065. for i = 0, 1, 0.1 do
  2066. S3.Volume = 10
  2067. swait()
  2068. Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  2069. Effects.Break.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  2070. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.2)
  2071. PlayAnimationFromTable({
  2072. 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),
  2073. 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),
  2074. 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),
  2075. 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),
  2076. 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),
  2077. 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)
  2078. }, 0.2, false)
  2079. end
  2080. MagnitudeDamage(HitboxR, 100, 40, 170, 190, "Normal", "705598350", 5)
  2081. 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)
  2082. CFuncs.Sound.Create("471881980", HitboxR, 1, 0.9)
  2083. CFuncs.Sound.Create("471881954", HitboxR, 1, 0.8)
  2084.  
  2085. for i = 0, 1, 0.08 do
  2086. swait()
  2087. Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  2088. Effects.Break.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  2089. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 0.3)
  2090. PlayAnimationFromTable({
  2091. 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),
  2092. 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),
  2093. 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),
  2094. 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),
  2095. 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),
  2096. 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)
  2097. }, 0.6, false)
  2098. end
  2099. STDamage = false
  2100. attack = false
  2101. end
  2102. function CastleCrusherFist()
  2103. attack = true
  2104. STDamage = true
  2105. local S2 = CFuncs.Sound.Create("1368114767", Torso, 1, 1)
  2106. Instance.new("DistortionSoundEffect", S2).Level = 0
  2107. for i = 0, 1, 0.1 do
  2108. S2.Volume = 10
  2109. swait()
  2110. Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  2111. Effects.Break.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  2112. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.5)
  2113. PlayAnimationFromTable({
  2114. 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),
  2115. 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),
  2116. 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),
  2117. 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),
  2118. 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),
  2119. 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)
  2120. }, 0.2, false)
  2121. end
  2122. 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)
  2123. Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 200
  2124. CFuncs.Sound.Create("471881980", HitboxR, 1, 0.9)
  2125. CFuncs.Sound.Create("471881954", HitboxR, 1, 0.8)
  2126. for i = 0, 1, 0.08 do
  2127. swait()
  2128. MagnitudeDamage(HitboxR, 5, 50, 80, 100, "Normal", "705598350", 1)
  2129. Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  2130. Effects.Break.Create(BrickColor.new("Tr. Flu. Yellow"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  2131. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 1)
  2132. PlayAnimationFromTable({
  2133. 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),
  2134. 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),
  2135. 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),
  2136. 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),
  2137. 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),
  2138. 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)
  2139. }, 0.6, false)
  2140. end
  2141. STDamage = false
  2142. attack = false
  2143. end
  2144. function weld5(part0, part1, c0, c1)
  2145. local weeld = Instance.new("Weld", part0)
  2146. weeld.Part0 = part0
  2147. weeld.Part1 = part1
  2148. weeld.C0 = c0
  2149. weeld.C1 = c1
  2150. return weeld
  2151. end
  2152. local Grab = false
  2153. function GRABEMBOIGRABEM()
  2154. attack = true
  2155. gp = nil
  2156. con1 = HitboxR.Touched:connect(function(hit)
  2157. local ht = hit.Parent
  2158. local hum1 = ht:FindFirstChild("Humanoid")
  2159. if Grab == false then
  2160. if hum1 ~= nil and hit.Parent ~= Character then
  2161. hum1.PlatformStand = true
  2162. gp = ht
  2163. Grab = true
  2164. local asd = weld5(RightArm, ht:FindFirstChild("Head"), CFrame.new(0, -1.5, 0), CFrame.new(0, 0, 0))
  2165. asd.Parent = RightArm
  2166. asd.Name = "asd"
  2167. asd.C0 = asd.C0 * CFrame.Angles(math.rad(-90), 0, 0)
  2168. CFuncs.Sound.Create("200632821", Torso, 1, 1)
  2169. CFuncs.Sound.Create("957028076", Torso, 1, 1)
  2170. elseif hum1 == nil then
  2171. con1:disconnect()
  2172. wait()
  2173. return
  2174. end
  2175. end
  2176. end)
  2177. for i = 0, 1, 0.2 do
  2178. swait()
  2179. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.3)
  2180. PlayAnimationFromTable({
  2181. 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),
  2182. 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),
  2183. 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),
  2184. 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),
  2185. 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),
  2186. 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)
  2187. }, 0.3, false)
  2188. end
  2189. for i = 0, 1, 0.1 do
  2190. swait()
  2191. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -6), 0.3)
  2192. PlayAnimationFromTable({
  2193. 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),
  2194. 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),
  2195. 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),
  2196. 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),
  2197. 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),
  2198. 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)
  2199. }, 0.3, false)
  2200. end
  2201. if Grab == true then
  2202. for i = 1, 5 do
  2203. for i = 0, 1, 0.35 do
  2204. swait()
  2205. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 13, -6), 0.3)
  2206. PlayAnimationFromTable({
  2207. 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),
  2208. 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),
  2209. 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),
  2210. 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),
  2211. 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),
  2212. 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)
  2213. }, 0.4, false)
  2214. end
  2215. for i = 0, 1, 0.3 do
  2216. swait()
  2217. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -6), 0.3)
  2218. PlayAnimationFromTable({
  2219. 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),
  2220. 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),
  2221. 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),
  2222. 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),
  2223. 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),
  2224. 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)
  2225. }, 0.7, false)
  2226. end
  2227. local hit, pos = rayCast(HitboxR.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character)
  2228. if hit ~= nil then
  2229. MagnitudeDamage(HitboxR, 5, 10, 30, 0, "Normal", "610359515", 1.3)
  2230. Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09, 1)
  2231. Effects.Wave.Create(BrickColor.new("Tr. Flu. Yellow"), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09)
  2232. Effects.Sphere.Create(BrickColor.new("Tr. Flu. Yellow"), CFrame.new(pos), 3, 3, 3, 5, 5, 5, 0.09)
  2233. end
  2234. end
  2235. end
  2236. for i, v in pairs(RightArm:GetChildren()) do
  2237. if v.Name == "asd" and v:IsA("Weld") then
  2238. v:Remove()
  2239. end
  2240. end
  2241. Grab = false
  2242. con1:disconnect()
  2243. attack = false
  2244. end
  2245. local IsWearingArmor = false
  2246. function Armor(Mode)
  2247. attack = true
  2248. if IsWearingArmor == false and Mode == "On" then
  2249. IsWearingArmor = true
  2250. Disappear()
  2251. swait(10)
  2252. ReappearArmorOnly()
  2253. CFuncs.Sound.Create("710036613")
  2254. Character.Humanoid.MaxHealth = math.huge
  2255. Character.Humanoid.Health = math.huge
  2256. HHandleWeld.Part0 = Character.Head
  2257. THandleWeld.Part0 = Character.Torso
  2258. AHandleRWeld.Part0 = Character["Right Arm"]
  2259. AHandleLWeld.Part0 = Character["Left Arm"]
  2260. LHandleRWeld.Part0 = Character["Right Leg"]
  2261. LHandleLWeld.Part0 = Character["Left Leg"]
  2262. for i, v in pairs(AdvancingFortress:GetChildren()) do
  2263. if v:IsA("BasePart") then
  2264. v.Transparency = 1
  2265. end
  2266. end
  2267. for i, v in pairs(Character:GetChildren()) do
  2268. if v:IsA("Accessory") then
  2269. v.Handle.Transparency = 1
  2270. for i, v in pairs(Character:GetChildren()) do
  2271. if v:IsA("Model") then
  2272. v.Handle.Transparency = 1
  2273. end
  2274. end
  2275. end
  2276. end
  2277. elseif IsWearingArmor == true and Mode == "Off" then
  2278. IsWearingArmor = false
  2279. DisappearArmorOnly()
  2280. for i, v in pairs(Character:GetChildren()) do
  2281. if v:IsA("Accessory") then
  2282. v.Handle.Transparency = 0
  2283. for i, v in pairs(Character:GetChildren()) do
  2284. if v:IsA("Model") then
  2285. v.Handle.Transparency = 0
  2286. end
  2287. end
  2288. end
  2289. end
  2290. swait(10)
  2291. Reappear()
  2292. Character.Humanoid.MaxHealth = math.huge
  2293. Character.Humanoid.Health = math.huge
  2294. HHandleWeld.Part0 = Head
  2295. THandleWeld.Part0 = Torso
  2296. AHandleRWeld.Part0 = RightArm
  2297. AHandleLWeld.Part0 = LeftArm
  2298. LHandleRWeld.Part0 = RightLeg
  2299. LHandleLWeld.Part0 = LeftLeg
  2300. for i, v in pairs(AdvancingFortress:GetChildren()) do
  2301. if v:IsA("BasePart") then
  2302. v.Transparency = 0
  2303. end
  2304. end
  2305. end
  2306. attack = false
  2307. end
  2308.  
  2309.  
  2310. local ShieldMode = false
  2311. local ShieldCharge = false
  2312. function HoloHexShield()
  2313. attack = true
  2314. Shield.Parent = m
  2315. Shield.CanCollide = true
  2316. if ShieldMode == true then
  2317. while ShieldMode == true do
  2318. swait()
  2319. Effects.Elec.Create(Shield.CFrame, 6, 6, 6)
  2320. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  2321. PlayAnimationFromTable({
  2322. 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),
  2323. 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),
  2324. 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),
  2325. 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),
  2326. 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),
  2327. 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)
  2328. }, 0.3, false)
  2329. end
  2330. end
  2331. Shield.CanCollide = false
  2332. CFuncs.Sound.Create("200632211", HitboxR, 1, 0.8)
  2333. CFuncs.Sound.Create("200632875", HitboxR, 1, 0.9)
  2334. CFuncs.Sound.Create("794070439", HitboxR, 1, 0.9)
  2335. Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 160
  2336. 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)
  2337. for i = 0, 1, 0.05 do
  2338. swait()
  2339. MagnitudeDamage(Shield, 5, 10, 15, 20, "Normal", "610359515", 1.3)
  2340. Effects.Elec.Create(Shield.CFrame, 6, 6, 6)
  2341. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -3), 1)
  2342. PlayAnimationFromTable({
  2343. 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),
  2344. 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),
  2345. 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),
  2346. 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),
  2347. 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),
  2348. 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)
  2349. }, 0.5, false)
  2350. end
  2351. Shield.Parent = nil
  2352. attack = false
  2353. end
  2354. Mouse.Button1Down:connect(function()
  2355. if attack == false and attacktype == 1 and IsWearingArmor == false and Invisible == false then
  2356. attacktype = 2
  2357. attackone()
  2358. elseif attack == false and attacktype == 2 and IsWearingArmor == false and Invisible == false then
  2359. attacktype = 1
  2360. attacktwo()
  2361. end
  2362. end)
  2363. game.Lighting.Outlines = false
  2364. function attackone()
  2365. attack = true
  2366. for i = 0, 1, 0.12 do
  2367. swait()
  2368. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  2369. PlayAnimationFromTable({
  2370. 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),
  2371. 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),
  2372. 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),
  2373. 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),
  2374. 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),
  2375. 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)
  2376. }, 0.3, false)
  2377. end
  2378. MagnitudeDamage(HitboxR, 7, 10, 15, math.random(1, 3), "Normal", "131070686", 1)
  2379. CFuncs.Sound.Create("200632136", HitboxR, 1, 1)
  2380. RootPart.Velocity = RootPart.CFrame.lookVector * 40
  2381. for i = 0, 1, 0.11 do
  2382. swait()
  2383. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  2384. PlayAnimationFromTable({
  2385. 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),
  2386. 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),
  2387. 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),
  2388. 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),
  2389. 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),
  2390. 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)
  2391. }, 0.45, false)
  2392. end
  2393. attack = false
  2394. end
  2395. function attacktwo()
  2396. attack = true
  2397. for i = 0, 1, 0.12 do
  2398. swait()
  2399. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  2400. PlayAnimationFromTable({
  2401. 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),
  2402. 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),
  2403. 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),
  2404. 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),
  2405. 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),
  2406. 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)
  2407. }, 0.34, false)
  2408. end
  2409. MagnitudeDamage(HitboxL, 7, 10, 15, math.random(1, 3), "Normal", "131070686", 1.1)
  2410. CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
  2411. RootPart.Velocity = RootPart.CFrame.lookVector * 40
  2412. for i = 0, 1, 0.12 do
  2413. swait()
  2414. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  2415. PlayAnimationFromTable({
  2416. 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),
  2417. 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),
  2418. 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),
  2419. 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),
  2420. 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),
  2421. 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)
  2422. }, 0.45, false)
  2423. end
  2424. attack = false
  2425. end
  2426.  
  2427. Mouse.KeyDown:connect(function(k)
  2428. k = k:lower()
  2429. if attack == false and ora == false and k == "z" and IsWearingArmor == false and Invisible == false then
  2430. ora = true
  2431. ORA()
  2432. elseif k == ";" and bigg == false then
  2433. bigg = true
  2434. PE()
  2435. z:Play()
  2436.  
  2437. elseif k == ";" and bigg == true then
  2438. bigg = false
  2439. pep:Destroy()
  2440. z:Stop()
  2441. elseif attack == false and k == "x" and IsWearingArmor == false and Invisible == false then
  2442. GRABEMBOIGRABEM()
  2443.  
  2444. elseif attack == false and k == "f" and Invisible == false and IsWearingArmor == false then
  2445. Invisible = true
  2446. Character["Advancing Fortress"].Hat.Part.Transparency = 1
  2447. Character["Advancing Fortress"].Pipe.Part.Transparency = 1
  2448. Character["Advancing Fortress"].Armor.Part.Transparency = 1
  2449. Character["Advancing Fortress"].armban1.Part.Transparency = 1
  2450. Character["Advancing Fortress"].armban2.Part.Transparency = 1
  2451. Character["Advancing Fortress"].lhip.Part.Transparency = 1
  2452. Character["Advancing Fortress"].rhip.Part.Transparency = 1
  2453. Character["Advancing Fortress"].h1.Part.Transparency = 1
  2454. Character["Advancing Fortress"].h2.Part.Transparency = 1
  2455. Character["Advancing Fortress"].h3.Part.Transparency = 1
  2456. Character["Advancing Fortress"].h4.Part.Transparency = 1
  2457. Character["Advancing Fortress"].pack.Part.Transparency = 1
  2458. Character["Advancing Fortress"].hand1.Part.Transparency = 1
  2459. Character["Advancing Fortress"].hand2.Part.Transparency = 1
  2460. Character["Advancing Fortress"].FHead.face.Transparency = 1
  2461. Effects.Sphere.Create(BrickColor.new("Tr. Flu. Yellow"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
  2462. Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1)
  2463. Disappear()
  2464. elseif attack == false and k == "f" and Invisible == true and IsWearingArmor == false then
  2465. Invisible = false
  2466. CFuncs.Sound.Create("1033003355", Torso, 1, 1)
  2467. Character["Advancing Fortress"].Hat.Part.Transparency = 0
  2468. Character["Advancing Fortress"].Pipe.Part.Transparency = 0
  2469. Character["Advancing Fortress"].Armor.Part.Transparency = 0
  2470. Character["Advancing Fortress"].armban1.Part.Transparency = 0
  2471. Character["Advancing Fortress"].armban2.Part.Transparency = 0
  2472. Character["Advancing Fortress"].lhip.Part.Transparency = 0
  2473. Character["Advancing Fortress"].rhip.Part.Transparency = 0
  2474. Character["Advancing Fortress"].h1.Part.Transparency = 0
  2475. Character["Advancing Fortress"].h2.Part.Transparency = 0
  2476. Character["Advancing Fortress"].h3.Part.Transparency = 0
  2477. Character["Advancing Fortress"].h4.Part.Transparency = 0
  2478. Character["Advancing Fortress"].pack.Part.Transparency = 0
  2479. Character["Advancing Fortress"].hand1.Part.Transparency = 0
  2480. Character["Advancing Fortress"].hand2.Part.Transparency = 0
  2481. Character["Advancing Fortress"].FHead.face.Transparency = 0
  2482. Effects.Sphere.Create(BrickColor.new("Tr. Flu. Yellow"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.08)
  2483. for i = 1, 2 do
  2484. Effects.Block.Create(BrickColor.new("Tr. Flu. Yellow"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1)
  2485. end
  2486. for i = 1, 20 do
  2487. Effects.Break.Create(BrickColor.new("Tr. Flu. Yellow"), Torso.CFrame, 1, 1, 1)
  2488. end
  2489. Reappear()
  2490. elseif attack == false and ShieldMode == false and k == "c" and IsWearingArmor == false and Invisible == false then
  2491. ShieldMode = true
  2492. HoloHexShield()
  2493. elseif attack == false and k == "v" and IsWearingArmor == false and Invisible == false then
  2494. CastleCrusherFist()
  2495. end
  2496. if k == "[" and IsWearingArmor == false and Invisible == false then
  2497. Armor("On")
  2498. Character["Advancing Fortress"].Hat.Part.Transparency = 1
  2499. Character["Advancing Fortress"].Pipe.Part.Transparency = 1
  2500. Character["Advancing Fortress"].Armor.Part.Transparency = 1
  2501. Character["Advancing Fortress"].armban1.Part.Transparency = 1
  2502. Character["Advancing Fortress"].armban2.Part.Transparency = 1
  2503. Character["Advancing Fortress"].lhip.Part.Transparency = 1
  2504. Character["Advancing Fortress"].rhip.Part.Transparency = 1
  2505. Character["Advancing Fortress"].h1.Part.Transparency = 1
  2506. Character["Advancing Fortress"].h2.Part.Transparency = 1
  2507. Character["Advancing Fortress"].h3.Part.Transparency = 1
  2508. Character["Advancing Fortress"].h4.Part.Transparency = 1
  2509. Character["Advancing Fortress"].pack.Part.Transparency = 1
  2510. Character["Advancing Fortress"].hand1.Part.Transparency = 1
  2511. Character["Advancing Fortress"].hand2.Part.Transparency = 1
  2512. Character["Advancing Fortress"].FHead.face.Transparency = 1
  2513. end
  2514. if k == "]" and IsWearingArmor == true and Invisible == false then
  2515. Armor("Off")
  2516. Character["Advancing Fortress"].Hat.Part.Transparency = 0
  2517. Character["Advancing Fortress"].Pipe.Part.Transparency = 0
  2518. Character["Advancing Fortress"].Armor.Part.Transparency = 0
  2519. Character["Advancing Fortress"].armban1.Part.Transparency = 0
  2520. Character["Advancing Fortress"].armban2.Part.Transparency = 0
  2521. Character["Advancing Fortress"].lhip.Part.Transparency = 0
  2522. Character["Advancing Fortress"].rhip.Part.Transparency = 0
  2523. Character["Advancing Fortress"].h1.Part.Transparency = 0
  2524. Character["Advancing Fortress"].h2.Part.Transparency = 0
  2525. Character["Advancing Fortress"].h3.Part.Transparency = 0
  2526. Character["Advancing Fortress"].h4.Part.Transparency = 0
  2527. Character["Advancing Fortress"].pack.Part.Transparency = 0
  2528. Character["Advancing Fortress"].hand1.Part.Transparency = 0
  2529. Character["Advancing Fortress"].hand2.Part.Transparency = 0
  2530. Character["Advancing Fortress"].FHead.face.Transparency = 0
  2531. end
  2532. end)
  2533. Mouse.KeyUp:connect(function(k)
  2534. k = k:lower()
  2535. if attack == true and ora == true and k == "z" and IsWearingArmor == false then
  2536. ora = false
  2537. elseif attack == true and ShieldMode == true and k == "c" and IsWearingArmor == false then
  2538. ShieldMode = false
  2539. end
  2540. end)
  2541. coroutine.resume(coroutine.create(function(Part, Part2)
  2542. while Part.Parent ~= nil do
  2543. swait(math.random(100, 150))
  2544. for i = 0, 1, 0.2 do
  2545. wait()
  2546. Eye1.Mesh.Scale = Vector3.new(1, 0.7 - 1 * i, 1)
  2547. Eye2.Mesh.Scale = Vector3.new(1, 0.7 - 1 * i, 1)
  2548. end
  2549. for i = 0, 1, 0.2 do
  2550. swait()
  2551. Eye1.Mesh.Scale = Vector3.new(1, 0.7 + 0.3 * i, 1)
  2552. Eye2.Mesh.Scale = Vector3.new(1, 0.7 + 0.3 * i, 1)
  2553. end
  2554. end
  2555. end), Eye1, Eye2)
  2556. while true do
  2557. swait()
  2558. for i, v in pairs(Character:children()) do
  2559. if v:IsA("Part") and IsWearingArmor == true then
  2560. v.Anchored = false
  2561. end
  2562. end
  2563. for i, v in pairs(AdvancingFortress:GetChildren()) do
  2564. if v:IsA("Part") then
  2565. v.Material = "SmoothPlastic"
  2566. v.CanCollide = false
  2567. elseif v:IsA("Humanoid") then
  2568. v:remove()
  2569. elseif v:IsA("Accessory") then
  2570. v:remove()
  2571. elseif v:IsA("Shirt") then
  2572. v:remove()
  2573. elseif v:IsA("Pants") then
  2574. v:remove()
  2575. elseif v:IsA("Script") or v:IsA("LocalScript") then
  2576. v:remove()
  2577. elseif v:IsA("BodyColors") then
  2578. v:remove()
  2579. elseif v:IsA("ShirtGraphic") then
  2580. v:remove()
  2581. end
  2582. end
  2583. HHandle.Transparency = 1
  2584. THandle.Transparency = 1
  2585. AHandleR.Transparency = 1
  2586. AHandleL.Transparency = 1
  2587. LHandleR.Transparency = 1
  2588. LHandleL.Transparency = 1
  2589. RootPart.Transparency = 1
  2590. HitboxR.Transparency = 1
  2591. HitboxL.Transparency = 1
  2592. Head.BrickColor = BrickColor.new("Lily white")
  2593. Torso.BrickColor = BrickColor.new("Lily white")
  2594. RightArm.BrickColor = BrickColor.new("Lily white")
  2595. LeftArm.BrickColor = BrickColor.new("Lily white")
  2596. RightLeg.BrickColor = BrickColor.new("Lily white")
  2597. LeftLeg.BrickColor = BrickColor.new("Lily white")
  2598. RootPart.Anchored = true
  2599. Torsovelocity = (Character.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2600. velocity = Character.HumanoidRootPart.Velocity.y
  2601. sine = sine + change
  2602. Shield.Anchored = true
  2603. Shield.CFrame = Shield.CFrame:lerp(RootPart.CFrame * CFrame.new(0, 0, -3.2), 1)
  2604. local hit, pos = rayCast(Character.HumanoidRootPart.Position, CFrame.new(Character.HumanoidRootPart.Position, Character.HumanoidRootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  2605. if Character.HumanoidRootPart.Velocity.y > 1 and hit == nil then
  2606. Anim = "Jump"
  2607. if attack == false then
  2608. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  2609. PlayAnimationFromTable({
  2610. 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),
  2611. 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),
  2612. 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),
  2613. 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),
  2614. 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),
  2615. 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)
  2616. }, 0.3, false)
  2617. end
  2618. elseif Character.HumanoidRootPart.Velocity.y < -1 and hit == nil then
  2619. Anim = "Fall"
  2620. if attack == false then
  2621. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  2622. PlayAnimationFromTable({
  2623. 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),
  2624. 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),
  2625. 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),
  2626. 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),
  2627. 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),
  2628. 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)
  2629. }, 0.3, false)
  2630. end
  2631. elseif Torsovelocity < 1 and hit ~= nil then
  2632. Anim = "Idle"
  2633. if attack == false then
  2634. change = 1
  2635. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  2636. PlayAnimationFromTable({
  2637. 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),
  2638. 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),
  2639. 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),
  2640. 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),
  2641. 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),
  2642. 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)
  2643. }, 0.3, false)
  2644. end
  2645. elseif Torsovelocity > 2 and hit ~= nil then
  2646. Anim = "Walk"
  2647. if attack == false then
  2648. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  2649. PlayAnimationFromTable({
  2650. 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),
  2651. 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),
  2652. 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),
  2653. 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),
  2654. 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),
  2655. 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)
  2656. }, 0.3, false)
  2657. end
  2658. end
  2659. if 0 < #Effects then
  2660. for e = 1, #Effects do
  2661. if Effects[e] ~= nil then
  2662. local Thing = Effects[e]
  2663. if Thing ~= nil then
  2664. local Part = Thing[1]
  2665. local Mode = Thing[2]
  2666. local Delay = Thing[3]
  2667. local IncX = Thing[4]
  2668. local IncY = Thing[5]
  2669. local IncZ = Thing[6]
  2670. if Thing[2] == "Shoot" then
  2671. local Look = Thing[1]
  2672. local move = 30
  2673. if Thing[8] == 3 then
  2674. move = 10
  2675. end
  2676. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  2677. if Thing[10] ~= nil then
  2678. da = pos
  2679. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  2680. cfa = CFrame.new(Thing[4], pos)
  2681. tehCF = cfa:lerp(cf2, 0.2)
  2682. Thing[1] = tehCF.lookVector
  2683. end
  2684. local mag = (Thing[4] - pos).magnitude
  2685. 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)
  2686. if Thing[8] == 2 then
  2687. 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)
  2688. end
  2689. Thing[4] = Thing[4] + Look * move
  2690. Thing[3] = Thing[3] - 1
  2691. if 2 < Thing[5] then
  2692. Thing[5] = Thing[5] - 0.3
  2693. Thing[6] = Thing[6] - 0.3
  2694. end
  2695. if hit ~= nil then
  2696. Thing[3] = 0
  2697. if Thing[8] == 1 or Thing[8] == 3 then
  2698. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  2699. elseif Thing[8] == 2 then
  2700. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  2701. if hit.Parent:findFirstChild("Humanoid") ~= nil or hit.Parent.Parent:findFirstChild("Humanoid") ~= nil then
  2702. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Tr. Flu. Yellow"), "Reference", Vector3.new())
  2703. ref.Anchored = true
  2704. ref.CFrame = CFrame.new(pos)
  2705. CFuncs.Sound.Create("161006093", ref, 1, 1.2)
  2706. game:GetService("Debris"):AddItem(ref, 0.2)
  2707. 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)
  2708. 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)
  2709. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  2710. end
  2711. end
  2712. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Tr. Flu. Yellow"), "Reference", Vector3.new())
  2713. ref.Anchored = true
  2714. ref.CFrame = CFrame.new(pos)
  2715. Effects.Sphere.Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  2716. game:GetService("Debris"):AddItem(ref, 1)
  2717. end
  2718. if Thing[3] <= 0 then
  2719. table.remove(Effects, e)
  2720. end
  2721. end
  2722. if Thing[2] == "FireWave" then
  2723. if Thing[3] <= Thing[4] then
  2724. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  2725. Thing[3] = Thing[3] + 1
  2726. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  2727. else
  2728. Part.Parent = nil
  2729. table.remove(Effects, e)
  2730. end
  2731. end
  2732. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  2733. if Thing[1].Transparency <= 1 then
  2734. if Thing[2] == "Block1" then
  2735. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2736. Mesh = Thing[7]
  2737. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2738. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2739. elseif Thing[2] == "Block2" then
  2740. Thing[1].CFrame = Thing[1].CFrame
  2741. Mesh = Thing[7]
  2742. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2743. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2744. elseif Thing[2] == "Fire" then
  2745. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  2746. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2747. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2748. elseif Thing[2] == "Cylinder" then
  2749. Mesh = Thing[7]
  2750. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2751. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2752. elseif Thing[2] == "Blood" then
  2753. Mesh = Thing[7]
  2754. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  2755. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2756. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2757. elseif Thing[2] == "Elec" then
  2758. Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9])
  2759. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2760. elseif Thing[2] == "Disappear" then
  2761. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2762. elseif Thing[2] == "Shatter" then
  2763. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2764. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2765. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2766. Thing[6] = Thing[6] + Thing[5]
  2767. end
  2768. else
  2769. Part.Parent = nil
  2770. table.remove(Effects, e)
  2771.  
  2772. end
  2773. end
  2774. end
  2775. end
  2776. end
  2777. end
  2778. end
Advertisement
Add Comment
Please, Sign In to add comment