Advertisement
HennadiY

test

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