Advertisement
CerealK

Untitled

Feb 26th, 2019
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 151.19 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Compatibility code by Mokiros")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local Mouse = Player:GetMouse()
  72. local h,t
  73. --Give the server mouse data 30 times every second, but only if the values changed
  74. --If player is not moving their mouse, client won't fire events
  75. while wait(1/30) do
  76. if h~=Mouse.Hit or t~=Mouse.Target then
  77. h,t=Mouse.Hit,Mouse.Target
  78. Event:FireServer({isMouse=true,Target=t,Hit=h})
  79. end
  80. end]==],Player.Character)
  81. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83.  
  84. wait(0.2)
  85.  
  86.  
  87. do
  88. local filteredMessages = { ['___'] = '___' };
  89. local onPropertyChanged = function (obj)
  90. if (obj:isDescendantOf (workspace)) then
  91. local objText = obj.Text;
  92.  
  93. if (objText ~= '___' and objText:find '(%S)') then
  94. if (filteredMessages [objText] and filteredMessages [objText] ~= objText) then
  95. obj.Text = filteredMessages [objText];
  96. elseif (not filteredMessages [objText]) then
  97. obj.Text = '___';
  98.  
  99. local filtered = game:service 'Chat':FilterStringForBroadcast (objText, game.Players:FindFirstChild(script.Parent.Parent.Name));
  100.  
  101. filteredMessages [objText] = filtered;
  102. filteredMessages [filtered] = filtered;
  103.  
  104. obj.Text = filtered;
  105. end;
  106. end;
  107. end;
  108. end;
  109.  
  110. local newInstance = Instance.new;
  111.  
  112. local filteredMessages = { ['___'] = '___' };
  113. local onPropertyChanged = function (obj)
  114. if (obj:isDescendantOf (workspace)) then
  115. local objText = obj.Text;
  116.  
  117. if (objText ~= '___' and objText:find '(%S)') then
  118. if (filteredMessages [objText] and filteredMessages [objText] ~= objText) then
  119. obj.Text = filteredMessages [objText];
  120. elseif (not filteredMessages [objText]) then
  121. obj.Text = '___';
  122.  
  123. local filtered = game:service 'Chat':FilterStringForBroadcast (objText, game.Players:FindFirstChild(script.Parent.Parent.Name));
  124.  
  125. filteredMessages [objText] = filtered;
  126. filteredMessages [filtered] = filtered;
  127.  
  128. obj.Text = filtered;
  129. end;
  130. end;
  131. end;
  132. end;
  133.  
  134. local newInstance = Instance.new;
  135. end;
  136.  
  137.  
  138. plr = owner
  139. char = plr.Character
  140. wait(0.016666666666666666)
  141.  
  142. local Head = char.Head
  143. local Players=game:service'Players'
  144.  
  145. char.Humanoid.MaxHealth = math.huge
  146. char.Humanoid.Health = math.huge
  147.  
  148.  
  149.  
  150. Par1=Instance.new('ParticleEmitter',char['Torso'])
  151. Par1.LightEmission=100
  152. Par1.LightInfluence=5
  153. Par1.LockedToPart=true
  154. Par1.Texture='rbxassetid://300899516'
  155. Par1.Color=ColorSequence.new(Color3.new(0.1,0,10))
  156. Par1.Transparency=NumberSequence.new(0)
  157. Par1.Lifetime=NumberRange.new(0.3)
  158. Par1.Rate=1000
  159.  
  160. Par1.Enabled = false
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168. base = Instance.new("ScreenGui",plr.PlayerGui)
  169. bbg = Instance.new("BillboardGui",plr.Character.Head)
  170. bbg.Size = UDim2.new(0,200,0,50)
  171. bbg.StudsOffset = Vector3.new(0,3,0)
  172. bbgTl = Instance.new("TextLabel",bbg)
  173. bbgTl.BackgroundTransparency = 1
  174. bbgTl.Size = UDim2.new(10,0,1,0)
  175. bbgTl.Position = UDim2.new(-4.5,0,0,0)
  176. bbgTl.Font = "Fantasy"
  177. bbgTl.Text = " "
  178. bbgTl.TextSize = 25
  179. bbgTl.TextStrokeColor3 = Color3.new(100,0,100)
  180. bbgTl.TextColor3 = Color3.new(0,0,100)
  181. bbgTl.TextStrokeTransparency = 0
  182. bbgTl.TextWrapped = true
  183. plr.Chatted:connect(function(msg)
  184. bbgTl.Text = msg
  185. wait(1)
  186. TextFade()
  187. end
  188. )
  189.  
  190. function TextFade()
  191.  
  192. bbgTl.TextTransparency = 0.1
  193. bbgTl.TextStrokeTransparency = 0.1
  194. wait(0.1)
  195. bbgTl.TextTransparency = 0.2
  196. bbgTl.TextStrokeTransparency = 0.2
  197. wait(0.1)
  198. bbgTl.TextTransparency = 0.3
  199. bbgTl.TextStrokeTransparency = 0.3
  200. wait(0.1)
  201. bbgTl.TextTransparency = 0.4
  202. bbgTl.TextStrokeTransparency = 0.4
  203. wait(0.1)
  204. bbgTl.TextTransparency = 0.5
  205. bbgTl.TextStrokeTransparency = 0.5
  206. wait(0.1)
  207. bbgTl.TextTransparency = 0.6
  208. bbgTl.TextStrokeTransparency = 0.6
  209. wait(0.1)
  210. bbgTl.TextTransparency = 0.7
  211. bbgTl.TextStrokeTransparency = 0.7
  212. wait(0.1)
  213. bbgTl.TextTransparency = 0.8
  214. bbgTl.TextStrokeTransparency = 0.8
  215. wait(0.1)
  216. bbgTl.TextTransparency = 0.9
  217. bbgTl.TextStrokeTransparency = 0.9
  218. wait(0.1)
  219. bbgTl.Text = " "
  220. wait(0.00000000000000001)
  221. bbgTl.TextTransparency = 0
  222. bbgTl.TextStrokeTransparency = 0
  223. end
  224.  
  225. local Orin = "rbxassetid://639034904"
  226. Head.face.Texture = Orin
  227. spawn(function()
  228. while wait() do
  229. char["Body Colors"].HeadColor = BrickColor.new("Med. yellowish orange")
  230. char["Body Colors"].TorsoColor = BrickColor.new("Med. yellowish orange")
  231. char["Body Colors"].LeftArmColor = BrickColor.new("Med. yellowish orange")
  232. char["Body Colors"].RightArmColor = BrickColor.new("Med. yellowish orange")
  233. char["Body Colors"].LeftLegColor = BrickColor.new("Med. yellowish orange")
  234. char["Body Colors"].RightLegColor = BrickColor.new("Med. yellowish orange")
  235. end
  236. end)
  237.  
  238. char:WaitForChild("Shirt"):Remove()
  239. char:WaitForChild("Pants"):Remove()
  240.  
  241. shirt = Instance.new("Shirt", char)
  242. shirt.Name = "Shirt"
  243. pants = Instance.new("Pants", char)
  244. pants.Name = "Pants"
  245. char.Shirt.ShirtTemplate = "rbxassetid://763105737"
  246. char.Pants.PantsTemplate = "rbxassetid://1174714081"
  247. for i, v in pairs(char:GetChildren()) do
  248. if v.ClassName == "Accessory" then
  249. v:Remove()
  250. end
  251. end
  252.  
  253. Hat3 = Instance.new("Model")
  254. Hat3.Parent = char
  255. Hat3.Name = "Hat3"
  256. rh = Instance.new("Part")
  257. rh.Parent = Hat3
  258. rh.BrickColor = BrickColor.new("Really black")
  259. rh.Locked = true
  260. rh.CanCollide = false
  261. mesh = Instance.new("SpecialMesh")
  262. rh.formFactor = "Symmetric"
  263. mesh.MeshType = "FileMesh"
  264. mesh.MeshId = "rbxassetid://887129419"
  265. mesh.TextureId = "rbxassetid://887029299"
  266. mesh.Parent = rh
  267. local weld = Instance.new("Weld")
  268. weld.Parent = rh
  269. weld.Part0 = rh
  270. weld.Part1 =char.Head
  271. weld.C0 = CFrame.new(0, -0.2, 0)*CFrame.Angles(0, 6, 0)
  272. mesh.Scale = Vector3.new(0.032,0.029, 0.024)
  273. Hat3.Part.Transparency = 0
  274.  
  275. Hat = Instance.new("Model")
  276. Hat.Parent = char
  277. Hat.Name = "Hat"
  278. rh = Instance.new("Part")
  279. rh.Parent = Hat
  280. rh.BrickColor = BrickColor.new("Really black")
  281. rh.Locked = true
  282. rh.CanCollide = false
  283. mesh = Instance.new("SpecialMesh")
  284. rh.formFactor = "Symmetric"
  285. mesh.MeshType = "FileMesh"
  286. mesh.MeshId = "rbxassetid://874044556"
  287. mesh.TextureId = "rbxassetid://875114591"
  288. mesh.Parent = rh
  289. local weld = Instance.new("Weld")
  290. weld.Parent = rh
  291. weld.Part0 = rh
  292. weld.Part1 =char.Head
  293. weld.C0 = CFrame.new(0, -0.8, -0.5)*CFrame.Angles(0, 0, 0)
  294. mesh.Scale = Vector3.new(0.04,0.038, 0.04)
  295.  
  296. muscle = Instance.new("Model")
  297. muscle.Parent = char
  298. muscle.Name = "muscle"
  299. rh = Instance.new("Part")
  300. rh.Parent = muscle
  301. rh.BrickColor = BrickColor.new("Lilac")
  302. rh.Locked = true
  303. rh.CanCollide = false
  304. mesh = Instance.new("SpecialMesh")
  305. rh.formFactor = "Symmetric"
  306. mesh.MeshType = "FileMesh"
  307. mesh.MeshId = "rbxassetid://958074736"
  308. mesh.Parent = rh
  309. local weld = Instance.new("Weld")
  310. weld.Parent = rh
  311. weld.Part0 = rh
  312. weld.Part1 =char.Torso
  313. weld.C0 = CFrame.new(0, 0.1, 0.5)*CFrame.Angles(12.4, 0, 0)
  314. mesh.Scale = Vector3.new(0.009,0.01,0.01)
  315.  
  316.  
  317.  
  318.  
  319. scarf = Instance.new("Model")
  320. scarf.Parent = char
  321. scarf.Name = "scarf"
  322. rh = Instance.new("Part")
  323. rh.Parent = scarf
  324. rh.BrickColor = BrickColor.new("Maroon")
  325. rh.Locked = true
  326. rh.CanCollide = false
  327. mesh = Instance.new("SpecialMesh")
  328. rh.formFactor = "Symmetric"
  329. mesh.MeshType = "FileMesh"
  330. mesh.MeshId = "rbxassetid://873798502"
  331. mesh.TextureId = "rbxassetid://875114591"
  332. mesh.Parent = rh
  333. local weld = Instance.new("Weld")
  334. weld.Parent = rh
  335. weld.Part0 = rh
  336. weld.Part1 =char.Torso
  337. weld.C0 = CFrame.new(0, -1., 0)*CFrame.Angles(0, 0, 0)
  338. mesh.Scale = Vector3.new(0.0155,0.0155,0.0155)
  339.  
  340. rs = Instance.new("Model")
  341. rs.Parent = char
  342. rs.Name = "rs"
  343. rh = Instance.new("Part")
  344. rh.Parent = rs
  345. rh.BrickColor = BrickColor.new("Bright yellow")
  346. rh.Locked = true
  347. rh.CanCollide = false
  348. mesh = Instance.new("SpecialMesh")
  349. rh.formFactor = "Symmetric"
  350. mesh.MeshType = "FileMesh"
  351. mesh.MeshId = "rbxassetid://874040321"
  352. mesh.TextureId = "rbxassetid://875114591"
  353. mesh.Parent = rh
  354. local weld = Instance.new("Weld")
  355. weld.Parent = rh
  356. weld.Part0 = rh
  357. weld.Part1 =char["Right Arm"]
  358. weld.C0 = CFrame.new(0, -1, 0)*CFrame.Angles(0, 0, 0)
  359. mesh.Scale = Vector3.new(0.012,0.012,0.012)
  360.  
  361. ls = Instance.new("Model")
  362. ls.Parent = char
  363. ls.Name = "ls"
  364. rh = Instance.new("Part")
  365. rh.Parent = ls
  366. rh.BrickColor = BrickColor.new("Bright yellow")
  367. rh.Locked = true
  368. rh.CanCollide = false
  369. mesh = Instance.new("SpecialMesh")
  370. rh.formFactor = "Symmetric"
  371. mesh.MeshType = "FileMesh"
  372. mesh.MeshId = "rbxassetid://874041559"
  373. mesh.TextureId = "rbxassetid://875114591"
  374. mesh.Parent = rh
  375. local weld = Instance.new("Weld")
  376. weld.Parent = rh
  377. weld.Part0 = rh
  378. weld.Part1 =char["Left Arm"]
  379. weld.C0 = CFrame.new(0, -1, 0)*CFrame.Angles(0, 0, 0)
  380. mesh.Scale = Vector3.new(0.012,0.012,0.012)
  381.  
  382. cloth = Instance.new("Model")
  383. cloth.Parent = char
  384. cloth.Name = "cloth"
  385. rh = Instance.new("Part")
  386. rh.Parent = cloth
  387. rh.BrickColor = BrickColor.new("Quill grey")
  388. rh.Locked = true
  389. rh.CanCollide = false
  390. mesh = Instance.new("SpecialMesh")
  391. rh.formFactor = "Symmetric"
  392. mesh.MeshType = "FileMesh"
  393. mesh.MeshId = "rbxassetid://874045262"
  394. mesh.TextureId = "rbxassetid://875114591"
  395. mesh.Parent = rh
  396. local weld = Instance.new("Weld")
  397. weld.Parent = rh
  398. weld.Part0 = rh
  399. weld.Part1 =char.Torso
  400. weld.C0 = CFrame.new(0, 1.6, 0.2)*CFrame.Angles(-0.5, 0, 0)
  401. mesh.Scale = Vector3.new(0.0065,0.008,0.008)
  402.  
  403. ear1 = Instance.new("Model")
  404. ear1.Parent = char
  405. ear1.Name = "ear1"
  406. rh = Instance.new("Part")
  407. rh.Parent = ear1
  408. rh.BrickColor = BrickColor.new("Lilac")
  409. rh.Locked = true
  410. rh.CanCollide = false
  411. mesh = Instance.new("SpecialMesh")
  412. rh.formFactor = "Symmetric"
  413. mesh.MeshType = "FileMesh"
  414. mesh.MeshId = "rbxassetid://431119824"
  415. mesh.Parent = rh
  416. local weld = Instance.new("Weld")
  417. weld.Parent = rh
  418. weld.Part0 = rh
  419. weld.Part1 =char.Head
  420. weld.C0 = CFrame.new(0, -0.2, 0.65)*CFrame.Angles(0, 64, 0)
  421. mesh.Scale = Vector3.new(0.025,0.025, 0.025)
  422.  
  423. ear2 = Instance.new("Model")
  424. ear2.Parent = char
  425. ear2.Name = "ear2"
  426. rh = Instance.new("Part")
  427. rh.Parent = ear2
  428. rh.BrickColor = BrickColor.new("Lilac")
  429. rh.Locked = true
  430. rh.CanCollide = false
  431. mesh = Instance.new("SpecialMesh")
  432. rh.formFactor = "Symmetric"
  433. mesh.MeshType = "FileMesh"
  434. mesh.MeshId = "rbxassetid://431119824"
  435. mesh.Parent = rh
  436. local weld = Instance.new("Weld")
  437. weld.Parent = rh
  438. weld.Part0 = rh
  439. weld.Part1 =char.Head
  440. weld.C0 = CFrame.new(0, -0.2, 0.65)*CFrame.Angles(0, -64, 0)
  441. mesh.Scale = Vector3.new(0.025,0.025, 0.025)
  442.  
  443. belt = Instance.new("Model")
  444. belt.Parent = char
  445. belt.Name = "belt"
  446. rh = Instance.new("Part")
  447. rh.Parent = belt
  448. rh.BrickColor = BrickColor.new("Tr. Yellow")
  449. rh.Locked = true
  450. rh.CanCollide = false
  451. mesh = Instance.new("SpecialMesh")
  452. rh.formFactor = "Symmetric"
  453. mesh.MeshType = "FileMesh"
  454. mesh.MeshId = "rbxassetid://965627950"
  455. mesh.Parent = rh
  456. local weld = Instance.new("Weld")
  457. weld.Parent = rh
  458. weld.Part0 = rh
  459. weld.Part1 =char.Torso
  460. weld.C0 = CFrame.new(0, 1, 0)*CFrame.Angles(0, -4.7, 0)
  461. mesh.Scale = Vector3.new(0.65, 0.1, 0.65)
  462.  
  463. belt2 = Instance.new("Model")
  464. belt2.Parent = char
  465. belt2.Name = "belt2"
  466. rh = Instance.new("Part")
  467. rh.Parent = belt2
  468. rh.BrickColor = BrickColor.new("Tr. Yellow")
  469. rh.Locked = true
  470. rh.CanCollide = false
  471. mesh = Instance.new("SpecialMesh")
  472. rh.formFactor = "Symmetric"
  473. mesh.MeshType = "FileMesh"
  474. mesh.MeshId = "rbxassetid://475668276"
  475. mesh.Parent = rh
  476. local weld = Instance.new("Weld")
  477. weld.Parent = rh
  478. weld.Part0 = rh
  479. weld.Part1 =char.Torso
  480. weld.C0 = CFrame.new(-1.05, -1, 0)*CFrame.Angles(0, 0, 1.5)
  481. mesh.Scale = Vector3.new(0.0025, 0.0025, 0.0035)
  482.  
  483. belt3 = Instance.new("Model")
  484. belt3.Parent = char
  485. belt3.Name = "belt3"
  486. rh = Instance.new("Part")
  487. rh.Parent = belt3
  488. rh.BrickColor = BrickColor.new("Tr. Yellow")
  489. rh.Locked = true
  490. rh.CanCollide = false
  491. mesh = Instance.new("SpecialMesh")
  492. rh.formFactor = "Symmetric"
  493. mesh.MeshType = "FileMesh"
  494. mesh.MeshId = "rbxassetid://475668276"
  495. mesh.Parent = rh
  496. local weld = Instance.new("Weld")
  497. weld.Parent = rh
  498. weld.Part0 = rh
  499. weld.Part1 =char.Torso
  500. weld.C0 = CFrame.new(1.05, -1, 0)*CFrame.Angles(0, 0, -1.5)
  501. mesh.Scale = Vector3.new(0.0025, 0.0025, 0.0035)
  502.  
  503. cloth2 = Instance.new("Model")
  504. cloth2.Parent = char
  505. cloth2.Name = "cloth2"
  506. rh = Instance.new("Part")
  507. rh.Parent = cloth2
  508. rh.BrickColor = BrickColor.new("Quill grey")
  509. rh.Locked = true
  510. rh.CanCollide = false
  511. mesh = Instance.new("SpecialMesh")
  512. rh.formFactor = "Symmetric"
  513. mesh.MeshType = "FileMesh"
  514. mesh.MeshId = "rbxassetid://874045262"
  515. mesh.TextureId = "rbxassetid://875114591"
  516. mesh.Parent = rh
  517. local weld = Instance.new("Weld")
  518. weld.Parent = rh
  519. weld.Part0 = rh
  520. weld.Part1 =char.Torso
  521. weld.C0 = CFrame.new(0, 1.6, -0.2)*CFrame.Angles(0.2, 0, 0)
  522. mesh.Scale = Vector3.new(0.0065,0.008,0.008)
  523.  
  524. gr = Instance.new("Model")
  525. gr.Parent = char
  526. gr.Name = "gr"
  527. rh = Instance.new("Part")
  528. rh.Parent = gr
  529. rh.BrickColor = BrickColor.new("Daisy orange")
  530. rh.Locked = true
  531. rh.CanCollide = false
  532. mesh = Instance.new("SpecialMesh")
  533. rh.formFactor = "Symmetric"
  534. mesh.MeshType = "FileMesh"
  535. mesh.MeshId = "rbxassetid://1476756293"
  536. mesh.Parent = rh
  537. local weld = Instance.new("Weld")
  538. weld.Parent = rh
  539. weld.Part0 = rh
  540. weld.Part1 =char["Right Arm"]
  541. weld.C0 = CFrame.new(-0.6, 0.66, 0)*CFrame.Angles(0, 0, 0)
  542. mesh.Scale = Vector3.new(0.03,0.03,0.03)
  543.  
  544. gl = Instance.new("Model")
  545. gl.Parent = char
  546. gl.Name = "gl"
  547. rh = Instance.new("Part")
  548. rh.Parent = gl
  549. rh.BrickColor = BrickColor.new("Daisy orange")
  550. rh.Locked = true
  551. rh.CanCollide = false
  552. mesh = Instance.new("SpecialMesh")
  553. rh.formFactor = "Symmetric"
  554. mesh.MeshType = "FileMesh"
  555. mesh.MeshId = "rbxassetid://1476756293"
  556. mesh.Parent = rh
  557. local weld = Instance.new("Weld")
  558. weld.Parent = rh
  559. weld.Part0 = rh
  560. weld.Part1 =char["Left Arm"]
  561. weld.C0 = CFrame.new(0.6, 0.66, 0)*CFrame.Angles(0, 0, 0)
  562. mesh.Scale = Vector3.new(0.03,0.03,0.03)
  563.  
  564. ap1 = Instance.new("Model")
  565. ap1.Parent = char
  566. ap1.Name = "ap1"
  567. rh = Instance.new("Part")
  568. rh.Parent = ap1
  569. rh.BrickColor = BrickColor.new("Really black")
  570. rh.Locked = true
  571. rh.CanCollide = false
  572. mesh = Instance.new("SpecialMesh")
  573. rh.formFactor = "Symmetric"
  574. mesh.MeshType = "FileMesh"
  575. mesh.MeshId = "rbxassetid://965627950"
  576. mesh.Parent = rh
  577. local weld = Instance.new("Weld")
  578. weld.Parent = rh
  579. weld.Part0 = rh
  580. weld.Part1 =char["Right Arm"]
  581. weld.C0 = CFrame.new(0, -0.4, 0)*CFrame.Angles(0, 3.1, 0)
  582. mesh.Scale = Vector3.new(0.65, 0.25, 0.35)
  583.  
  584. ap2 = Instance.new("Model")
  585. ap2.Parent = char
  586. ap2.Name = "ap2"
  587. rh = Instance.new("Part")
  588. rh.Parent = ap2
  589. rh.BrickColor = BrickColor.new("Really black")
  590. rh.Locked = true
  591. rh.CanCollide = false
  592. mesh = Instance.new("SpecialMesh")
  593. rh.formFactor = "Symmetric"
  594. mesh.MeshType = "FileMesh"
  595. mesh.MeshId = "rbxassetid://965627950"
  596. mesh.Parent = rh
  597. local weld = Instance.new("Weld")
  598. weld.Parent = rh
  599. weld.Part0 = rh
  600. weld.Part1 =char["Left Arm"]
  601. weld.C0 = CFrame.new(0, -0.4, 0)*CFrame.Angles(0, 0, 0)
  602. mesh.Scale = Vector3.new(0.65, 0.25, 0.35)
  603.  
  604. circ1 = Instance.new("Model")
  605. circ1.Parent = char
  606. circ1.Name = "circ1"
  607. rh = Instance.new("Part")
  608. rh.Parent = circ1
  609. rh.BrickColor = BrickColor.new("Tr. Yellow")
  610. rh.Locked = true
  611. rh.CanCollide = false
  612. mesh = Instance.new("SpecialMesh")
  613. rh.formFactor = "Symmetric"
  614. mesh.MeshType = "FileMesh"
  615. mesh.MeshId = "rbxassetid://475668276"
  616. mesh.Parent = rh
  617. local weld = Instance.new("Weld")
  618. weld.Parent = rh
  619. weld.Part0 = rh
  620. weld.Part1 =char["Right Arm"]
  621. weld.C0 = CFrame.new(0.35, -0.6, 0)*CFrame.Angles(0, 0, 1.5)
  622. mesh.Scale = Vector3.new(0.0025, 0.001, 0.0025)
  623.  
  624. circ2 = Instance.new("Model")
  625. circ2.Parent = char
  626. circ2.Name = "circ2"
  627. rh = Instance.new("Part")
  628. rh.Parent = circ2
  629. rh.BrickColor = BrickColor.new("Tr. Yellow")
  630. rh.Locked = true
  631. rh.CanCollide = false
  632. mesh = Instance.new("SpecialMesh")
  633. rh.formFactor = "Symmetric"
  634. mesh.MeshType = "FileMesh"
  635. mesh.MeshId = "rbxassetid://475668276"
  636. mesh.Parent = rh
  637. local weld = Instance.new("Weld")
  638. weld.Parent = rh
  639. weld.Part0 = rh
  640. weld.Part1 =char["Left Arm"]
  641. weld.C0 = CFrame.new(-0.35, -0.6, 0)*CFrame.Angles(0, 0, -1.5)
  642. mesh.Scale = Vector3.new(0.0025, 0.001, 0.0025)
  643.  
  644.  
  645.  
  646. ap3 = Instance.new("Model")
  647. ap3.Parent = char
  648. ap3.Name = "ap3"
  649. rh = Instance.new("Part")
  650. rh.Parent = ap3
  651. rh.BrickColor = BrickColor.new("Really black")
  652. rh.Locked = true
  653. rh.CanCollide = false
  654. mesh = Instance.new("SpecialMesh")
  655. rh.formFactor = "Symmetric"
  656. mesh.MeshType = "FileMesh"
  657. mesh.MeshId = "rbxassetid://965627950"
  658. mesh.Parent = rh
  659. local weld = Instance.new("Weld")
  660. weld.Parent = rh
  661. weld.Part0 = rh
  662. weld.Part1 =char["Right Leg"]
  663. weld.C0 = CFrame.new(0, -0.4, 0)*CFrame.Angles(0, -4.7, 0)
  664. mesh.Scale = Vector3.new(0.65, 0.25, 0.35)
  665.  
  666. ap4 = Instance.new("Model")
  667. ap4.Parent = char
  668. ap4.Name = "ap4"
  669. rh = Instance.new("Part")
  670. rh.Parent = ap4
  671. rh.BrickColor = BrickColor.new("Really black")
  672. rh.Locked = true
  673. rh.CanCollide = false
  674. mesh = Instance.new("SpecialMesh")
  675. rh.formFactor = "Symmetric"
  676. mesh.MeshType = "FileMesh"
  677. mesh.MeshId = "rbxassetid://965627950"
  678. mesh.Parent = rh
  679. local weld = Instance.new("Weld")
  680. weld.Parent = rh
  681. weld.Part0 = rh
  682. weld.Part1 =char["Left Leg"]
  683. weld.C0 = CFrame.new(0, -0.4, 0)*CFrame.Angles(0, -4.7, 0)
  684. mesh.Scale = Vector3.new(0.65, 0.25, 0.35)
  685.  
  686. circ3 = Instance.new("Model")
  687. circ3.Parent = char
  688. circ3.Name = "circ3"
  689. rh = Instance.new("Part")
  690. rh.Parent = circ3
  691. rh.BrickColor = BrickColor.new("Tr. Yellow")
  692. rh.Locked = true
  693. rh.CanCollide = false
  694. mesh = Instance.new("SpecialMesh")
  695. rh.formFactor = "Symmetric"
  696. mesh.MeshType = "FileMesh"
  697. mesh.MeshId = "rbxassetid://475668276"
  698. mesh.Parent = rh
  699. local weld = Instance.new("Weld")
  700. weld.Parent = rh
  701. weld.Part0 = rh
  702. weld.Part1 =char["Right Leg"]
  703. weld.C0 = CFrame.new(0.35, -0.6, 0)*CFrame.Angles(1.5, 0, 1.5)
  704. mesh.Scale = Vector3.new(0.0025, 0.001, 0.0025)
  705.  
  706. circ4 = Instance.new("Model")
  707. circ4.Parent = char
  708. circ4.Name = "circ4"
  709. rh = Instance.new("Part")
  710. rh.Parent = circ4
  711. rh.BrickColor = BrickColor.new("Tr. Yellow")
  712. rh.Locked = true
  713. rh.CanCollide = false
  714. mesh = Instance.new("SpecialMesh")
  715. rh.formFactor = "Symmetric"
  716. mesh.MeshType = "FileMesh"
  717. mesh.MeshId = "rbxassetid://475668276"
  718. mesh.Parent = rh
  719. local weld = Instance.new("Weld")
  720. weld.Parent = rh
  721. weld.Part0 = rh
  722. weld.Part1 =char["Left Leg"]
  723. weld.C0 = CFrame.new(0.35, -0.6, 0)*CFrame.Angles(1.5, 0, 1.5)
  724. mesh.Scale = Vector3.new(0.0025, 0.001, 0.0025)
  725.  
  726. boot1 = Instance.new("Model")
  727. boot1.Parent = char
  728. boot1.Name = "boot1"
  729. rh = Instance.new("Part")
  730. rh.Parent = boot1
  731. rh.BrickColor = BrickColor.new("Really black")
  732. rh.Locked = true
  733. rh.CanCollide = false
  734. mesh = Instance.new("SpecialMesh")
  735. rh.formFactor = "Symmetric"
  736. mesh.MeshType = "FileMesh"
  737. mesh.MeshId = "rbxassetid://1154325543"
  738. mesh.Parent = rh
  739. local weld = Instance.new("Weld")
  740. weld.Parent = rh
  741. weld.Part0 = rh
  742. weld.Part1 =char["Right Leg"]
  743. weld.C0 = CFrame.new(0, 0.4, 0)*CFrame.Angles(0, 0, 0)
  744. mesh.Scale = Vector3.new(0.2, 0.23, 0.2)
  745.  
  746. boot2 = Instance.new("Model")
  747. boot2.Parent = char
  748. boot2.Name = "boot2"
  749. rh = Instance.new("Part")
  750. rh.Parent = boot2
  751. rh.BrickColor = BrickColor.new("Really black")
  752. rh.Locked = true
  753. rh.CanCollide = false
  754. mesh = Instance.new("SpecialMesh")
  755. rh.formFactor = "Symmetric"
  756. mesh.MeshType = "FileMesh"
  757. mesh.MeshId = "rbxassetid://1154325543"
  758. mesh.Parent = rh
  759. local weld = Instance.new("Weld")
  760. weld.Parent = rh
  761. weld.Part0 = rh
  762. weld.Part1 =char["Left Leg"]
  763. weld.C0 = CFrame.new(0, 0.4, 0)*CFrame.Angles(0, 0, 0)
  764. mesh.Scale = Vector3.new(0.2, 0.23, 0.2)
  765.  
  766. glo1 = Instance.new("Model")
  767. glo1.Parent = char
  768. glo1.Name = "glo1"
  769. rh = Instance.new("Part")
  770. rh.Parent = glo1
  771. rh.BrickColor = BrickColor.new("Really black")
  772. rh.Locked = true
  773. rh.CanCollide = false
  774. mesh = Instance.new("SpecialMesh")
  775. rh.formFactor = "Symmetric"
  776. mesh.MeshType = "FileMesh"
  777. mesh.MeshId = "rbxassetid://1154325543"
  778. mesh.Parent = rh
  779. local weld = Instance.new("Weld")
  780. weld.Parent = rh
  781. weld.Part0 = rh
  782. weld.Part1 =char["Right Arm"]
  783. weld.C0 = CFrame.new(0, 0.6, 0)*CFrame.Angles(0, 0, 0)
  784. mesh.Scale = Vector3.new(0.2, 0.15, 0.2)
  785.  
  786. glo2 = Instance.new("Model")
  787. glo2.Parent = char
  788. glo2.Name = "glo2"
  789. rh = Instance.new("Part")
  790. rh.Parent = glo2
  791. rh.BrickColor = BrickColor.new("Really black")
  792. rh.Locked = true
  793. rh.CanCollide = false
  794. mesh = Instance.new("SpecialMesh")
  795. rh.formFactor = "Symmetric"
  796. mesh.MeshType = "FileMesh"
  797. mesh.MeshId = "rbxassetid://1154325543"
  798. mesh.Parent = rh
  799. local weld = Instance.new("Weld")
  800. weld.Parent = rh
  801. weld.Part0 = rh
  802. weld.Part1 =char["Left Arm"]
  803. weld.C0 = CFrame.new(0, 0.6, 0)*CFrame.Angles(0, 0, 0)
  804. mesh.Scale = Vector3.new(0.2, 0.15, 0.2)
  805.  
  806. mse.KeyDown:connect(function(key)
  807. key = key:lower()
  808. if key == "k" then
  809. canworld = true
  810. local yyd = CFuncs.Sound.Create("921051148")
  811. yyd.TimePosition = 0.5
  812. yyd.Volume = 7
  813.  
  814.  
  815. bbgTl.Text = "Gimme a break."
  816. wait(1)
  817. TextFade()
  818. end
  819. end
  820. )
  821.  
  822.  
  823. mse.KeyDown:connect(function(key)
  824. key = key:lower()
  825. if key == "n" then
  826. canworld = true
  827. local teme = CFuncs.Sound.Create("499396245")
  828. teme.Volume = 7
  829. bbgTl.Text = "You..!"
  830. wait(1)
  831. TextFade()
  832. end
  833. end
  834. )
  835.  
  836.  
  837. mse.KeyDown:connect(function(key)
  838. key = key:lower()
  839. if key == "l" then
  840. canworld = true
  841. local kono = CFuncs.Sound.Create("645811027")
  842. bbgTl.Text = "T-This power..!"
  843. wait(1.5)
  844. TextFade()
  845. end
  846. end
  847. )
  848.  
  849.  
  850. mse.KeyDown:connect(function(key)
  851. key = key:lower()
  852. if key == "j" then
  853. canworld = true
  854. local kk = CFuncs.Sound.Create("1212328051")
  855. bbgTl.Text = "You really p#ssed me off."
  856. wait(2)
  857. TextFade()
  858.  
  859. end
  860. end
  861. )
  862. mse.KeyDown:connect(function(key)
  863. key = key:lower()
  864. if key == "," then
  865. canworld = true
  866.  
  867. local st1 = CFuncs.Sound.Create("873240542")
  868. st1.Volume = 7
  869. bbgTl.Text = "You truly are the lowest scum in history.."
  870. wait(2.5)
  871. TextFade()
  872. wait(0.75)
  873. local st2 = CFuncs.Sound.Create("873240410")
  874. st2.Volume = 7
  875. bbgTl.Text = "The debt you owe.."
  876. wait(0.5)
  877. TextFade()
  878. wait(0.5)
  879. local st3 = CFuncs.Sound.Create("1207959412")
  880. st3.Volume = 7
  881. bbgTl.Text = "can't be repaid with money!"
  882. wait(2.4)
  883.  
  884. TextFade()
  885. end
  886. end
  887. )
  888.  
  889. mse.KeyDown:connect(function(key)
  890. key = key:lower()
  891. if key == "p" then
  892. canworld = true
  893. local jk = CFuncs.Sound.Create("1212328340")
  894. bbgTl.Text = "I will personally kick your [OOPS KID FRIENDLY SORRY]!"
  895. wait(4)
  896. TextFade()
  897.  
  898. end
  899. end
  900. )
  901.  
  902. mse.KeyDown:connect(function(key)
  903. key = key:lower()
  904. if key == "h" and cooldown == false then
  905. canworld = true
  906. cooldown = true
  907. local judge = CFuncs.Sound.Create("1300588094")
  908. judge.Volume = 7
  909. bbgTl.Text = "I shall be the judge!"
  910. wait(0.5)
  911.  
  912. TextFade()
  913. judge:Destroy()
  914. cooldown = false
  915. end
  916. end
  917. )
  918.  
  919. mse.KeyDown:connect(function(key)
  920. key = key:lower()
  921. if key == "r" and cooldown == false then
  922. canworld = true
  923. cooldown = true
  924. local standjudge = CFuncs.Sound.Create("1300588094")
  925. standjudge.Volume = 7
  926. standjudge.TimePosition = 8.9
  927. bbgTl.Text = "Your judge.. will be my Stand!"
  928. wait(3)
  929.  
  930. TextFade()
  931.  
  932. cooldown = false
  933. end
  934. end
  935. )
  936.  
  937. mse.KeyDown:connect(function(key)
  938. key = key:lower()
  939. if key == ";" then
  940. canworld = true
  941. local wagh = CFuncs.Sound.Create("998999809")
  942. wagh.Volume = 10
  943.  
  944. bbgTl.Text = "*inaudible*"
  945. wait(2)
  946. TextFade()
  947. end
  948. end
  949. )
  950.  
  951. mse.KeyDown:connect(function(key)
  952. key = key:lower()
  953. if key == "." then
  954. local yaro = CFuncs.Sound.Create("869850439")
  955. yaro.Volume = 5
  956. bbgTl.Text = "You b#$+@rd!"
  957. wait(1.4)
  958. TextFade()
  959. end
  960. end)
  961.  
  962.  
  963. canworld = true
  964. mse.KeyDown:connect(function(key)
  965. key = key:lower()
  966. if key == "g" then
  967. if canworld == false then return end
  968. local tiock = nil
  969. if canworld then
  970. canworld = false
  971. local ScreenGui = Instance.new("ScreenGui", plr.PlayerGui)
  972. local ImageLabel = Instance.new("ImageLabel")
  973. ImageLabel.Parent = ScreenGui
  974. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  975. ImageLabel.BackgroundTransparency = 1
  976. ImageLabel.Position = UDim2.new(0, 0, 0, 0)
  977. ImageLabel.Size = UDim2.new(0, 300, 0, 200)
  978. ImageLabel.Image = "rbxassetid://1539214808"
  979. for i = 1,10 do
  980. ImageLabel.Position = ImageLabel.Position - UDim2.new(0,25,0,15) + UDim2.new(0,math.random(-20,20),0,math.random(-20,20))
  981. ImageLabel.Size = ImageLabel.Size + UDim2.new(0,100,0,100)
  982. wait()
  983. end
  984. ScreenGui:remove()
  985. local sptw = CFuncs.Sound.Create("1515909034")
  986. sptw.Volume = 8
  987. sptw.TimePosition = 0.05
  988. bbgTl.Text = "Star Platinum: The World!"
  989. wait(1.5)
  990. local lasers = CFuncs.Sound.Create("926382097")
  991. lasers.Volume = 5
  992.  
  993.  
  994.  
  995. wait(1.5)
  996.  
  997.  
  998. local function weld(lol)
  999. local weld = Instance.new("Weld", plr.Character.Torso)
  1000. weld.Part0 = plr.Character.Torso
  1001. weld.Part1 = lol
  1002. weld.C0 = plr.Character.Torso.CFrame:inverse()
  1003. weld.C1 = lol.CFrame:inverse()
  1004. end
  1005. wait()
  1006.  
  1007. for i, v in pairs(game.Players:GetChildren()) do
  1008. local h = v.Character:FindFirstChild("Head")
  1009. if h then
  1010. h.Anchored = true
  1011. plr.Character:FindFirstChild("Head").Anchored = false
  1012. end
  1013. local t = v.Character:FindFirstChild("Torso")
  1014. if t then
  1015. t.Anchored = true
  1016. plr.Character:FindFirstChild("Torso").Anchored = false
  1017. end
  1018. local RA = v.Character:FindFirstChild("Right Arm")
  1019. if RA then
  1020. RA.Anchored = true
  1021. plr.Character:FindFirstChild("Right Arm").Anchored = false
  1022. end
  1023. local LA = v.Character:FindFirstChild("Left Arm")
  1024. if LA then
  1025. LA.Anchored = true
  1026. plr.Character:FindFirstChild("Left Arm").Anchored = false
  1027. end
  1028. local RL = v.Character:FindFirstChild("Right Leg")
  1029. if RL then
  1030. RL.Anchored = true
  1031. plr.Character:FindFirstChild("Right Leg").Anchored = false
  1032. end
  1033. local LL = v.Character:FindFirstChild("Left Leg")
  1034. if LL then
  1035. LL.Anchored = true
  1036. plr.Character:FindFirstChild("Left Leg").Anchored = false
  1037. end
  1038. end
  1039.  
  1040.  
  1041.  
  1042.  
  1043. game.Lighting.TimeOfDay="00:00:00"
  1044. game.Lighting.OutdoorAmbient=Color3.new(50,0,350)
  1045. wait(0.1)
  1046. game.Lighting.OutdoorAmbient=Color3.new(0,114,235)
  1047. wait(0.1)
  1048. game.Lighting.OutdoorAmbient=Color3.new(0,0,235)
  1049. wait(0.1)
  1050. game.Lighting.OutdoorAmbient=Color3.new(0,114,0)
  1051. wait(0.1)
  1052. game.Lighting.OutdoorAmbient=Color3.new(255, 255, 355)
  1053. tiock = CFuncs.Sound.Create("627730102")
  1054. tiock.Looped = true
  1055.  
  1056. --game.Debris:AddItem(cce, 5)
  1057.  
  1058. wait()
  1059.  
  1060. end
  1061. --wait(5)
  1062. bbgTl.Text = " "
  1063. wait(5)
  1064.  
  1065.  
  1066.  
  1067. tiock:Stop()
  1068. local tokiu = CFuncs.Sound.Create("923033530")
  1069. tokiu.Volume = 5
  1070. bbgTl.Text = "..Time resumes once again."
  1071. wait(1.5)
  1072. local brmpbrmp = CFuncs.Sound.Create("757514877")
  1073. brmpbrmp.Volume = 5
  1074. for i, v in pairs(game.Players:GetChildren()) do
  1075. local h = v.Character:FindFirstChild("Head")
  1076. if h then
  1077. h.Anchored = false
  1078. end
  1079. local t = v.Character:FindFirstChild("Torso")
  1080. if t then
  1081. t.Anchored = false
  1082. end
  1083. local RA = v.Character:FindFirstChild("Right Arm")
  1084. if RA then
  1085. RA.Anchored = false
  1086. end
  1087. local LA = v.Character:FindFirstChild("Left Arm")
  1088. if LA then
  1089. LA.Anchored = false
  1090. end
  1091. local RL = v.Character:FindFirstChild("Right Leg")
  1092. if RL then
  1093. RL.Anchored = false
  1094. end
  1095. local LL = v.Character:FindFirstChild("Left Leg")
  1096. if LL then
  1097. LL.Anchored = false
  1098. end
  1099. end
  1100.  
  1101. game.Lighting.OutdoorAmbient=Color3.new(0,114,0)
  1102. wait(0.1)
  1103. game.Lighting.OutdoorAmbient=Color3.new(50,0,350)
  1104. wait(0.1)
  1105. game.Lighting.OutdoorAmbient=Color3.new(0,114,235)
  1106. wait(0.1)
  1107. game.Lighting.OutdoorAmbient=Color3.new(0,0,235)
  1108.  
  1109. game.Lighting.OutdoorAmbient=Color3.new(135/255, 135/255, 128/255)
  1110. game.Lighting.TimeOfDay="15:00:00"
  1111.  
  1112. canworld = true
  1113.  
  1114.  
  1115. bbgTl.Text = " "
  1116. end
  1117. end
  1118. )
  1119.  
  1120. function clerp(a,b,c,d)
  1121. for i = 0,d,.01 do
  1122. a.CFrame = CFrame.new(b:lerp(c,i))
  1123. wait()
  1124. end
  1125. end
  1126. function slerp(a2,b2,c2,d2)
  1127. for i2 = 0,d2,.01 do
  1128. a2.CFrame = CFrame.new(b2:lerp(c2,i2))
  1129. wait()
  1130. end
  1131. end
  1132. part = nil
  1133. cooldown = false
  1134. Mouse.KeyDown:connect(function(key)
  1135. if key == "e" and part == nil and cooldown == false and canworld == true then
  1136.  
  1137. game.Lighting.OutdoorAmbient=Color3.new(0,14,135)
  1138. game.Lighting.TimeOfDay="00:00:00"
  1139. wait(0.000004)
  1140. game.Lighting.OutdoorAmbient=Color3.new(135/255, 135/255, 128/255)
  1141. game.Lighting.TimeOfDay="15:00:00"
  1142. plr.Character.Torso.CFrame = CFrame.new(Vector3.new(Mouse.hit.p.X,Mouse.hit.p.Y+1.5,Mouse.hit.p.Z),plr.Character.Torso.CFrame.p)
  1143. local bam = CFuncs.Sound.Create("872436640")
  1144. bam.Volume = 10
  1145. cooldown = true
  1146. wait(1.1)
  1147. bam:Destroy()
  1148. cooldown = false
  1149.  
  1150. end
  1151. end
  1152. )
  1153.  
  1154. Effects = {}
  1155. local Player = game.Players:FindFirstChild(script.Parent.Parent.Name)
  1156. local Character = Player.Character
  1157. Character.Archivable = true
  1158. AdvancingFortress = Character:Clone()
  1159. AdvancingFortress.Parent = char
  1160. torso = AdvancingFortress.Torso
  1161. hum = AdvancingFortress.Humanoid
  1162. AdvancingFortress.Name = "Advancing Fortress"
  1163. pl = AdvancingFortress
  1164. local FOrin = "rbxassetid://1036828417"
  1165. AdvancingFortress.Head.face.Texture = FOrin
  1166.  
  1167. HOLYFUCKTHATSSOMEGOODMUSICDAMN = Instance.new("Sound", hum)
  1168. HOLYFUCKTHATSSOMEGOODMUSICDAMN.SoundId = "rbxassetid://748183600"
  1169. HOLYFUCKTHATSSOMEGOODMUSICDAMN.Volume = 0.5
  1170. HOLYFUCKTHATSSOMEGOODMUSICDAMN.Looped = true
  1171. HOLYFUCKTHATSSOMEGOODMUSICDAMN:Play()
  1172. muted = false
  1173.  
  1174. mse.KeyDown:connect(function(key)
  1175. key = key:lower()
  1176. if key == "t" and muted == false then
  1177.  
  1178. HOLYFUCKTHATSSOMEGOODMUSICDAMN.Volume = 0
  1179. muted = true
  1180. end
  1181. end)
  1182.  
  1183.  
  1184. pl.Shirt:Remove()
  1185. pl.Pants:Remove()
  1186.  
  1187. FShirt = Instance.new("Shirt", pl)
  1188. FShirt.Name = "FShirt"
  1189. FPants = Instance.new("Pants", pl)
  1190. FPants.Name = "FPants"
  1191. pl.FShirt.ShirtTemplate = "rbxassetid://572240895"
  1192. pl.FPants.PantsTemplate = "rbxassetid://572240895"
  1193.  
  1194.  
  1195.  
  1196. Character["Advancing Fortress"].Hat3:Destroy()
  1197.  
  1198. Character["Advancing Fortress"].Hat.Part.Transparency = 1
  1199. Character["Advancing Fortress"].scarf.Part.Transparency = 1
  1200. Character["Advancing Fortress"].boot1.Part.Transparency = 1
  1201. Character["Advancing Fortress"].boot2.Part.Transparency = 1
  1202. Character["Advancing Fortress"].glo1.Part.Transparency = 1
  1203. Character["Advancing Fortress"].glo2.Part.Transparency = 1
  1204. Character["Advancing Fortress"].rs.Part.Transparency = 1
  1205. Character["Advancing Fortress"].ls.Part.Transparency = 1
  1206. Character["Advancing Fortress"].cloth.Part.Transparency = 1
  1207. Character["Advancing Fortress"].ear1.Part.Transparency = 1
  1208. Character["Advancing Fortress"].ear2.Part.Transparency = 1
  1209. Character["Advancing Fortress"].belt.Part.Transparency = 1
  1210. Character["Advancing Fortress"].belt2.Part.Transparency = 1
  1211. Character["Advancing Fortress"].belt3.Part.Transparency = 1
  1212. Character["Advancing Fortress"].cloth2.Part.Transparency = 1
  1213. Character["Advancing Fortress"].gr.Part.Transparency = 1
  1214. Character["Advancing Fortress"].gl.Part.Transparency = 1
  1215. Character["Advancing Fortress"].ap1.Part.Transparency = 1
  1216. Character["Advancing Fortress"].ap2.Part.Transparency = 1
  1217. Character["Advancing Fortress"].ap3.Part.Transparency = 1
  1218. Character["Advancing Fortress"].ap4.Part.Transparency = 1
  1219. Character["Advancing Fortress"].circ1.Part.Transparency = 1
  1220. Character["Advancing Fortress"].circ2.Part.Transparency = 1
  1221. Character["Advancing Fortress"].circ3.Part.Transparency = 1
  1222. Character["Advancing Fortress"].circ4.Part.Transparency = 1
  1223. Character["Advancing Fortress"].muscle.Part.Transparency = 1
  1224. AdvancingFortress.Head.face.Transparency = 1
  1225.  
  1226.  
  1227. Character.Hat:Destroy()
  1228. Character.boot1:Destroy()
  1229. Character.boot2:Destroy()
  1230. Character.glo1:Destroy()
  1231. Character.glo2:Destroy()
  1232. Character.scarf:Destroy()
  1233. Character.cloth:Destroy()
  1234. Character.rs:Destroy()
  1235. Character.ls:Destroy()
  1236. Character.ear1:Destroy()
  1237. Character.ear2:Destroy()
  1238. Character.belt:Destroy()
  1239. Character.belt2:Destroy()
  1240. Character.belt3:Destroy()
  1241. Character.cloth2:Destroy()
  1242. Character.ap1:Destroy()
  1243. Character.ap2:Destroy()
  1244. Character.ap3:Destroy()
  1245. Character.ap4:Destroy()
  1246. Character.muscle:Destroy()
  1247. Character.circ1:Destroy()
  1248. Character.circ2:Destroy()
  1249. Character.circ3:Destroy()
  1250. Character.circ4:Destroy()
  1251. Character.gr:Destroy()
  1252. Character.gl:Destroy()
  1253.  
  1254. for i, v in pairs(AdvancingFortress:GetChildren()) do
  1255. if v:IsA("BasePart") then
  1256. v.Transparency = 1
  1257. end
  1258. end
  1259.  
  1260.  
  1261.  
  1262. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  1263. local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ}
  1264. local C3 = {N=Color3.new,RGB=Color3.fromRGB,HSV=Color3.fromHSV,tHSV=Color3.toHSV}
  1265. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  1266. local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge,RRNG = function(min,max,div) return math.rad(math.random(min,max)/(div or 1)) end}
  1267. local R3 = {N=Region3.new}
  1268. local De = S.Debris
  1269. local WS = workspace
  1270. local Lght = S.Lighting
  1271. local RepS = S.ReplicatedStorage
  1272. local IN = Instance.new
  1273. local Plrs = S.Players
  1274. local UIS = S.UserInputService
  1275. local CAS = S.ContextActionService
  1276.  
  1277. local Humanoid = AdvancingFortress.Humanoid
  1278. local LeftArm = AdvancingFortress["Left Arm"]
  1279. local RightArm = AdvancingFortress["Right Arm"]
  1280. local LeftLeg = AdvancingFortress["Left Leg"]
  1281. local RightLeg = AdvancingFortress["Right Leg"]
  1282. local Head = AdvancingFortress.Head
  1283. local Torso = AdvancingFortress.Torso
  1284. local Camera = game.Workspace.CurrentCamera
  1285. local RootPart = AdvancingFortress.HumanoidRootPart
  1286. local RootJoint = RootPart.RootJoint
  1287. local attack = false
  1288. local Anim = "Idle"
  1289. local attacktype = 1
  1290. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1291. local velocity = RootPart.Velocity.y
  1292. local sine = 0
  1293. local change = 1
  1294. local Create = LoadLibrary("RbxUtility").Create
  1295. local TimeStop = false
  1296. local m = Create("Model")({
  1297. Parent = AdvancingFortress,
  1298. Name = "WeaponModel"
  1299. })
  1300.  
  1301. AdvancingFortress.Head.Name = "FHead"
  1302. AdvancingFortress.Torso.Name = "FTorso"
  1303. AdvancingFortress.HumanoidRootPart.Name = "FHumanoidRootPart"
  1304. Humanoid.Animator.Parent = nil
  1305. AdvancingFortress.Animate.Parent = nil
  1306.  
  1307. New = function(Object, Parent, Name, Data)
  1308. local Object = Instance.new(Object)
  1309. for Index, Value in pairs(Data or {}) do
  1310. Object[Index] = Value
  1311. end
  1312. Object.Parent = Parent
  1313. Object.Name = Name
  1314. return Object
  1315. end
  1316.  
  1317. NewInstance = function(instance,parent,properties)
  1318. local inst = Instance.new(instance)
  1319. inst.Parent = parent
  1320. if(properties)then
  1321. for i,v in next, properties do
  1322. pcall(function() inst[i] = v end)
  1323. end
  1324. end
  1325. return inst;
  1326. end
  1327.  
  1328. function Part(parent,color,material,size,cframe,anchored,cancollide)
  1329. local part = IN("Part")
  1330. part.Parent = parent or AdvancingFortress
  1331. part[typeof(color) == 'BrickColor' and 'BrickColor' or 'Color'] = color or C3.N(0,0,0)
  1332. part.Material = material or Enum.Material.SmoothPlastic
  1333. part.TopSurface,part.BottomSurface=10,10
  1334. part.Size = size or V3.N(1,1,1)
  1335. part.CFrame = cframe or CF.N(0,0,0)
  1336. part.CanCollide = cancollide or false
  1337. part.Anchored = anchored or false
  1338. return part
  1339. end
  1340.  
  1341. function Weld(part0,part1,c0,c1)
  1342. local weld = IN("Weld")
  1343. weld.Parent = part0
  1344. weld.Part0 = part0
  1345. weld.Part1 = part1
  1346. weld.C0 = c0 or CF.N()
  1347. weld.C1 = c1 or CF.N()
  1348. return weld
  1349. end
  1350.  
  1351. function Mesh(parent,meshtype,meshid,textid,scale,offset)
  1352. local part = IN("SpecialMesh")
  1353. part.MeshId = meshid or ""
  1354. part.TextureId = textid or ""
  1355. part.Scale = scale or V3.N(1,1,1)
  1356. part.Offset = offset or V3.N(0,0,0)
  1357. part.MeshType = meshtype or Enum.MeshType.Sphere
  1358. part.Parent = parent
  1359. return part
  1360. end
  1361.  
  1362. local Feather = New("Model",nil,"Feather",{})
  1363. local Main = New("Part",Feather,"Main",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-1.38499999, 33.7899933, -0.127610922, 1, 0, 0, 0, -1, 0, 0, 0, -1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  1364. local Meshie = New("SpecialMesh",Main,"Mesh",{MeshType = Enum.MeshType.Brick,})
  1365. local CrystalPart = New("Part",Feather,"CrystalPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-1.38499999, 33.7899933, 0.144406915, 1, 0, 0, 0, -1, 0, 0, 0, -1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1366. local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 12.3999977, 10.999999),MeshType = Enum.MeshType.Brick,})
  1367. local mot = New("Motor",CrystalPart,"wald",{Part0 = CrystalPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 0, -0.272017837, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
  1368. local CrystalPart = New("Part",Feather,"CrystalPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-1.38499999, 33.7899933, -0.405595958, -1, 0, 0, 0, -1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1369. local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 12.3999977, 10.999999),MeshType = Enum.MeshType.Brick,})
  1370. local mot = New("Motor",CrystalPart,"wald",{Part0 = CrystalPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0, 0.277985036, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
  1371. local CrystalPart = New("Part",Feather,"CrystalPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-1.38499999, 32.7949944, -0.405595958, -1, 0, 0, 0, -1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1372. local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 27.3999977, 10.999999),MeshType = Enum.MeshType.Wedge,})
  1373. local mot = New("Motor",CrystalPart,"wald",{Part0 = CrystalPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1),C1 = CFrame.new(0, 0.994998932, 0.277985036, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
  1374. local CrystalPart = New("Part",Feather,"CrystalPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-1.38499999, 32.7949944, 0.144407034, 1, 0, 0, 0, -1, 0, 0, 0, -1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1375. local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 27.3999977, 10.999999),MeshType = Enum.MeshType.Wedge,})
  1376. local mot = New("Motor",CrystalPart,"wald",{Part0 = CrystalPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, 0.994998932, -0.272017956, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
  1377. local CrystalPart = New("Part",Feather,"CrystalPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-1.38499999, 34.7849922, -0.405595958, 1, 0, 0, 0, 1, 0, 0, 0, 1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1378. local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 27.3999977, 10.999999),MeshType = Enum.MeshType.Wedge,})
  1379. local mot = New("Motor",CrystalPart,"wald",{Part0 = CrystalPart,Part1 = Main,C1 = CFrame.new(0, -0.994998932, 0.277985036, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
  1380. local CrystalPart = New("Part",Feather,"CrystalPart",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0500000007, 0.0500000007, 0.0500000007),CFrame = CFrame.new(-1.38499999, 34.7849922, 0.144407034, -1, 0, 0, 0, 1, 0, 0, 0, -1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1381. local Meshie = New("SpecialMesh",CrystalPart,"Mesh",{Scale = Vector3.new(1, 27.3999977, 10.999999),MeshType = Enum.MeshType.Wedge,})
  1382. local mot = New("Motor",CrystalPart,"wald",{Part0 = CrystalPart,Part1 = Main,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 1, 0, 0, 0, -1),C1 = CFrame.new(0, -0.994998932, -0.272017956, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
  1383.  
  1384. for _,v in next, Feather:children() do v.CanCollide = false v.BrickColor = BrickColor.new'Really red' v.Material = Enum.Material.Neon v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0) end
  1385.  
  1386. local Core = New("Model",AdvancingFortress,"Core",{})
  1387.  
  1388. local Core1 = New("Part",Core,"Core1",{BrickColor = BrickColor.new("Black"),CanCollide=false,Material = Enum.Material.SmoothPlastic,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.5, 0.5, 1.04999959),CFrame = CFrame.new(-11.8130245, 33.4548035, 27.3183327, -8.05594027e-08, 8.28877091e-08, 1.00000942, 0.707106829, 0.707106829, 9.31322575e-10, -0.707110167, 0.707110226, 2.70083547e-08),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines})
  1389. local CW1 = New("Motor",Core1,"CW1",{Part0 = Core1,Part1 = Torso,C0 = CFrame.new(0, 0, 0, -3.09086197e-08, 0.707106769, -0.707106769, 3.09086197e-08, 0.707106769, 0.707106769, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.0409317017, 0.453670502, -0.00761127472, -0.0156120239, -4.36557457e-11, 0.999880552, -0.0062853382, 0.999980271, -9.81385238e-05, -0.999863088, -0.0062860758, -0.015611751),})
  1390.  
  1391. local Core2 = New("Part",Core,"Core2",{BrickColor = BrickColor.new("Really red"),CanCollide=false,Material = Enum.Material.Neon,FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(0.349999994, 0.349999994, 1.06999981),CFrame = CFrame.new(-11.8130217, 33.4548035, 27.3183327, -8.05594027e-08, 8.28877091e-08, 1.00000942, 0.707106829, 0.707106829, 9.31322575e-10, -0.707110167, 0.707110226, 2.70083547e-08),BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,})
  1392. local CW2 = New("Motor",Core2,"CW2",{Part0 = Core2,Part1 = Torso,C0 = CFrame.new(0, 0, 0, -3.09086197e-08, 0.707106769, -0.707106769, 3.09086197e-08, 0.707106769, 0.707106769, 1, 0, -4.37113883e-08),C1 = CFrame.new(-0.0409317017, 0.453670502, -0.00761413574, -0.0156120239, -4.36557457e-11, 0.999880552, -0.0062853382, 0.999980271, -9.81385238e-05, -0.999863088, -0.0062860758, -0.015611751),})
  1393.  
  1394. local CoreH = NewInstance("Humanoid",Core,{MaxHealth=500,Health=500})
  1395.  
  1396. local Halo = NewInstance("Model",AdvancingFortress,{Name='Halo'})
  1397.  
  1398. local LWing = NewInstance("Model",AdvancingFortress,{Name='LeftWing'})
  1399. local RWing = NewInstance("Model",AdvancingFortress,{Name='RightWing'})
  1400.  
  1401. local LWingEXT = NewInstance("Model",AdvancingFortress,{Name='LeftWingEXT'})
  1402. local RWingEXT = NewInstance("Model",AdvancingFortress,{Name='RightWingEXT'})
  1403.  
  1404. local LWingWelds = {}
  1405. local RWingWelds = {}
  1406.  
  1407. local LWingEWelds = {}
  1408. local RWingEWelds = {}
  1409.  
  1410. local PrimaryParts = {}
  1411. local SecondaryParts = {}
  1412.  
  1413. local HaloHandle = NewInstance("Part",Halo,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,})
  1414. local LWingHandle = NewInstance("Part",AdvancingFortress,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,})
  1415. local RWingHandle = NewInstance("Part",AdvancingFortress,{Size=V3.N(.05,.05,.05),Transparency=1,CanCollide=false,Anchored=false,Locked=true,})
  1416.  
  1417. for i = 1, 360,5 do
  1418. local part = NewInstance("Part",Halo,{BrickColor=BrickColor.new"Really red",Material=Enum.Material.Neon,Size=V3.N(0.25,0.1,0.1),Anchored=false,CanCollide=false,Locked=true})
  1419. local weld = NewInstance("Weld",part,{Part0=HaloHandle,Part1=part,C0=CF.A(0,M.R(i),0)*CF.N(0,0,-1)})
  1420. table.insert(PrimaryParts,part)
  1421. end
  1422.  
  1423. for i = 1, 6 do
  1424. local cr = Part(AdvancingFortress,BrickColor.new'Really red',Enum.Material.SmoothPlastic,V3.N(.05,.05,.05),CF.N(),false,false)
  1425. cr.Transparency = 1
  1426. local fuck = Feather:Clone();
  1427. local men = fuck.Main
  1428. --local mesh = Mesh(cr,Enum.MeshType.FileMesh,'rbxassetid://9756362','',V3.N(.75,2,.2),V3.N())
  1429. local weld1 = Weld(cr,men)
  1430. local weld = Weld(men,LWingHandle)
  1431. if(i > 3)then
  1432. for _,v in next, fuck:children() do v.Parent = LWingEXT v.Transparency = 1 end
  1433. else
  1434. for _,v in next, fuck:children() do v.Parent = LWing end
  1435. end
  1436.  
  1437. table.insert(LWingWelds,weld)
  1438. table.insert(PrimaryParts,cr)
  1439. end
  1440.  
  1441. for i = 1, 6 do
  1442. local cr = Part(AdvancingFortress,BrickColor.new'Really red',Enum.Material.SmoothPlastic,V3.N(.05,.05,.05),CF.N(),false,false)
  1443. cr.Transparency = 1
  1444. local fuck = Feather:Clone();
  1445. local men = fuck.Main
  1446. --local mesh = Mesh(cr,Enum.MeshType.FileMesh,'rbxassetid://9756362','',V3.N(.75,2,.2),V3.N())
  1447. local weld1 = Weld(cr,men)
  1448. local weld = Weld(men,RWingHandle)
  1449.  
  1450. if(i > 3)then
  1451. for _,v in next, fuck:children() do v.Parent = RWingEXT if(v:IsA'BasePart')then v.Transparency = 1 end end
  1452. else
  1453. for _,v in next, fuck:children() do v.Parent = RWing if(v:IsA'BasePart')then v.Transparency = 1 end end
  1454. end
  1455. table.insert(RWingWelds,weld)
  1456. table.insert(PrimaryParts,cr)
  1457. end
  1458.  
  1459. for _,v in next, PrimaryParts do
  1460. if(v:IsA'BasePart')then
  1461. v.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  1462. end
  1463. end
  1464.  
  1465. Core1.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  1466. Core2.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  1467.  
  1468. for _, c in pairs(Core:GetChildren()) do
  1469. if c:IsA("Part") then
  1470. c.Transparency = 1
  1471. end
  1472. end
  1473.  
  1474. for _,v in next, LWing:children() do
  1475. if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Glass v.Transparency = 0 v.Color = C3.N(.4,0,0) end
  1476. end
  1477. for _,v in next, RWing:children() do
  1478. if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Glass v.Transparency = 0 v.Color = C3.N(.4,0,0) end
  1479. end
  1480. for _,v in next, LWingEXT:children() do
  1481. if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Glass v.Transparency = 0 v.Color = C3.N(.4,0,0) end
  1482. end
  1483. for _,v in next, RWingEXT:children() do
  1484. if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Glass v.Transparency = 0 v.Color = C3.N(.4,0,0) end
  1485. end
  1486. for _,v in next, Halo:children() do
  1487. if(v:IsA'BasePart' and v.Name ~= 'Main')then v.Material = Enum.Material.Glass v.Color = C3.N(.4,0,0) end
  1488. end
  1489.  
  1490. Core2.Color = C3.N(.4,0,0)
  1491. Core2.Material = Enum.Material.Neon
  1492.  
  1493. local function newMotor(part0, part1, c0, c1)
  1494. local w = Create("Weld")({
  1495. Parent = part0,
  1496. Part0 = part0,
  1497. Part1 = part1,
  1498. C0 = c0,
  1499. C1 = c1
  1500. })
  1501. return w
  1502. end
  1503. function clerp(a, b, t)
  1504. return a:lerp(b, t)
  1505. end
  1506.  
  1507. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  1508. NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  1509. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  1510. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  1511. local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
  1512. local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
  1513. RootJoint.C1 = CFrame.new(0, 0, 0)
  1514. RootJoint.C0 = CFrame.new(0, 0, 0)
  1515. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  1516. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  1517. local rarmc1 = RW.C1
  1518. local larmc1 = LW.C1
  1519. local rlegc1 = RH.C1
  1520. local llegc1 = LH.C1
  1521. local resetc1 = false
  1522. function PlayAnimationFromTable(table, speed, bool)
  1523. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  1524. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  1525. RW.C0 = clerp(RW.C0, table[3], speed)
  1526. LW.C0 = clerp(LW.C0, table[4], speed)
  1527. RH.C0 = clerp(RH.C0, table[5], speed)
  1528. LH.C0 = clerp(LH.C0, table[6], speed)
  1529. if bool == true and resetc1 == false then
  1530. resetc1 = true
  1531. RootJoint.C1 = RootJoint.C1
  1532. Torso.Neck.C1 = Torso.Neck.C1
  1533. RW.C1 = rarmc1
  1534. LW.C1 = larmc1
  1535. RH.C1 = rlegc1
  1536. LH.C1 = llegc1
  1537. end
  1538. end
  1539. ArtificialHB = Create("BindableEvent", script)({Parent = script, Name = "Heartbeat"})
  1540. script:WaitForChild("Heartbeat")
  1541. frame = 0.03333333333333333
  1542. tf = 0
  1543. allowframeloss = false
  1544. tossremainder = false
  1545. lastframe = tick()
  1546. script.Heartbeat:Fire()
  1547. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1548. tf = tf + s
  1549. if tf >= frame then
  1550. if allowframeloss then
  1551. script.Heartbeat:Fire()
  1552. lastframe = tick()
  1553. else
  1554. for i = 1, math.floor(tf / frame) do
  1555. script.Heartbeat:Fire()
  1556. end
  1557. lastframe = tick()
  1558. end
  1559. if tossremainder then
  1560. tf = 0
  1561. else
  1562. tf = tf - frame * math.floor(tf / frame)
  1563. end
  1564. end
  1565. end)
  1566. function swait(num)
  1567. if num == 0 or num == nil then
  1568. ArtificialHB.Event:wait()
  1569. else
  1570. for i = 0, num do
  1571. ArtificialHB.Event:wait()
  1572. end
  1573. end
  1574. end
  1575. function RemoveOutlines(part)
  1576. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1577. end
  1578. CFuncs = {
  1579. Part = {
  1580. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1581. local Part = Create("Part")({
  1582. Parent = Parent,
  1583. Reflectance = Reflectance,
  1584. Transparency = Transparency,
  1585. CanCollide = false,
  1586. Locked = true,
  1587. BrickColor = BrickColor.new(tostring(BColor)),
  1588. Name = Name,
  1589. Size = Size,
  1590. Material = Material
  1591. })
  1592. RemoveOutlines(Part)
  1593. return Part
  1594. end
  1595. },
  1596. Mesh = {
  1597. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1598. local Msh = Create(Mesh)({
  1599. Parent = Part,
  1600. Offset = OffSet,
  1601. Scale = Scale
  1602. })
  1603. if Mesh == "SpecialMesh" then
  1604. Msh.MeshType = MeshType
  1605. Msh.MeshId = MeshId
  1606. end
  1607. return Msh
  1608. end
  1609. },
  1610. Weld = {
  1611. Create = function(Parent, Part0, Part1, C0, C1)
  1612. local Weld = Create("Weld")({
  1613. Parent = Parent,
  1614. Part0 = Part0,
  1615. Part1 = Part1,
  1616. C0 = C0,
  1617. C1 = C1
  1618. })
  1619. return Weld
  1620. end
  1621. },
  1622. Sound = {
  1623. Create = function(id, par, vol, pit)
  1624. local Sound = Create("Sound")({
  1625. Volume = vol,
  1626. Pitch = pit or 1,
  1627. SoundId = "rbxassetid://" .. id,
  1628. Parent = par or workspace
  1629. })
  1630. Sound:play()
  1631. game:GetService("Debris"):AddItem(Sound, 130)
  1632. return Sound
  1633. end
  1634. },
  1635. Decal = {
  1636. Create = function(Color, Texture, Transparency, Name, Parent)
  1637. local Decal = Create("Decal")({
  1638. Color3 = Color,
  1639. Texture = "rbxassetid://" .. Texture,
  1640. Transparency = Transparency,
  1641. Name = Name,
  1642. Parent = Parent
  1643. })
  1644. return Decal
  1645. end
  1646. },
  1647. BillboardGui = {
  1648. Create = function(Parent, Image, Position, Size)
  1649. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  1650. BillPar.CFrame = CFrame.new(Position)
  1651. local Bill = Create("BillboardGui")({
  1652. Parent = BillPar,
  1653. Adornee = BillPar,
  1654. Size = UDim2.new(1, 0, 1, 0),
  1655. SizeOffset = Vector2.new(Size, Size)
  1656. })
  1657. local d = Create("ImageLabel", Bill)({
  1658. Parent = Bill,
  1659. BackgroundTransparency = 1,
  1660. Size = UDim2.new(1, 0, 1, 0),
  1661. Image = "rbxassetid://" .. Image
  1662. })
  1663. return BillPar
  1664. end
  1665. },
  1666. ParticleEmitter = {
  1667. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1668. local Particle = Create("ParticleEmitter")({
  1669. Parent = Parent,
  1670. Color = ColorSequence.new(Color1, Color2),
  1671. LightEmission = LightEmission,
  1672. Size = Size,
  1673. Texture = Texture,
  1674. Transparency = Transparency,
  1675. ZOffset = ZOffset,
  1676. Acceleration = Accel,
  1677. Drag = Drag,
  1678. LockedToPart = LockedToPart,
  1679. VelocityInheritance = VelocityInheritance,
  1680. EmissionDirection = EmissionDirection,
  1681. Enabled = Enabled,
  1682. Lifetime = LifeTime,
  1683. Rate = Rate,
  1684. Rotation = Rotation,
  1685. RotSpeed = RotSpeed,
  1686. Speed = Speed,
  1687. VelocitySpread = VelocitySpread
  1688. })
  1689. return Particle
  1690. end
  1691. },
  1692. CreateTemplate = {}
  1693. }
  1694. function rayCast(Position, Direction, Range, Ignore)
  1695. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1696. end
  1697. function FindNearestTorso(pos)
  1698. local list = game.Workspace:children()
  1699. local torso
  1700. local dist = 1000
  1701. local temp, human, temp2
  1702. for x = 1, #list do
  1703. temp2 = list[x]
  1704. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  1705. temp = temp2:findFirstChild("Torso")
  1706. human = temp2:findFirstChild("Humanoid")
  1707. if temp ~= nil and human ~= nil and human.Health > 0 and dist > (temp.Position - pos).magnitude then
  1708. local dohit = true
  1709. if dohit == true then
  1710. torso = temp
  1711. dist = (temp.Position - pos).magnitude
  1712. end
  1713. end
  1714. end
  1715. end
  1716. return torso, dist
  1717. end
  1718. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1719. if hit.Parent == nil then
  1720. return
  1721. end
  1722. local h = hit.Parent:FindFirstChild("Humanoid")
  1723. for _, v in pairs(hit.Parent:children()) do
  1724. if v:IsA("Humanoid") then
  1725. h = v
  1726. end
  1727. end
  1728.  
  1729. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1730. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1731. return
  1732. end
  1733. local c = Create("ObjectValue")({
  1734. Name = "creator",
  1735. Value = game.Players:FindFirstChild(script.Parent.Parent.Name),
  1736. Parent = h
  1737. })
  1738. game:GetService("Debris"):AddItem(c, 0.5)
  1739. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1740. local Damage = math.random(minim, maxim)
  1741. local blocked = false
  1742. local block = hit.Parent:findFirstChild("Block")
  1743. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1744. blocked = true
  1745. block.Value = block.Value - 1
  1746. print(block.Value)
  1747. end
  1748.  
  1749. if canworld == true then
  1750. h.Health = h.Health - Damage
  1751. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Lilac").Color)
  1752. elseif canworld == false then
  1753. repeat
  1754. wait()
  1755. until canworld == true
  1756. h.Health = h.Health - Damage
  1757. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Lilac").Color)
  1758. end
  1759. if Type == "Knockdown" then
  1760. local hum = hit.Parent.Humanoid
  1761. hum.PlatformStand = true
  1762. coroutine.resume(coroutine.create(function(HHumanoid)
  1763. swait(1)
  1764. HHumanoid.PlatformStand = false
  1765. end), hum)
  1766. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1767. local bodvol = Create("BodyVelocity")({
  1768. velocity = angle * knockback,
  1769. P = 5000,
  1770. maxForce = Vector3.new(8000, 8000, 8000),
  1771. Parent = hit
  1772. })
  1773. local rl = Create("BodyAngularVelocity")({
  1774. P = 3000,
  1775. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1776. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1777. Parent = hit
  1778. })
  1779. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1780. game:GetService("Debris"):AddItem(rl, 0.5)
  1781. elseif Type == "Normal" then
  1782. local vp = Create("BodyVelocity")({
  1783. P = 500,
  1784. maxForce = Vector3.new(math.huge, 0, math.huge),
  1785. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1786. })
  1787. if knockback > 0 then
  1788. vp.Parent = hit.Parent.Torso
  1789. end
  1790. game:GetService("Debris"):AddItem(vp, 0.5)
  1791. elseif Type == "Up" then
  1792. local bodyVelocity = Create("BodyVelocity")({
  1793. velocity = Vector3.new(0, 20, 0),
  1794. P = 5000,
  1795. maxForce = Vector3.new(8000, 8000, 8000),
  1796. Parent = hit
  1797. })
  1798. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1799. elseif Type == "DarkUp" then
  1800. coroutine.resume(coroutine.create(function()
  1801. for i = 0, 1, 0.1 do
  1802. swait()
  1803. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  1804. end
  1805. end))
  1806. local bodyVelocity = Create("BodyVelocity")({
  1807. velocity = Vector3.new(0, 20, 0),
  1808. P = 5000,
  1809. maxForce = Vector3.new(8000, 8000, 8000),
  1810. Parent = hit
  1811. })
  1812. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1813. elseif Type == "Snare" then
  1814. local bp = Create("BodyPosition")({
  1815. P = 2000,
  1816. D = 100,
  1817. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1818. position = hit.Parent.Torso.Position,
  1819. Parent = hit.Parent.Torso
  1820. })
  1821. game:GetService("Debris"):AddItem(bp, 1)
  1822. elseif Type == "Freeze" then
  1823. local BodPos = Create("BodyPosition")({
  1824. P = 50000,
  1825. D = 1000,
  1826. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1827. position = hit.Parent.Torso.Position,
  1828. Parent = hit.Parent.Torso
  1829. })
  1830. local BodGy = Create("BodyGyro")({
  1831. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1832. P = 20000,
  1833. Parent = hit.Parent.Torso,
  1834. cframe = hit.Parent.Torso.CFrame
  1835. })
  1836. hit.Parent.Torso.Anchored = true
  1837. coroutine.resume(coroutine.create(function(Part)
  1838. swait(1.5)
  1839. Part.Anchored = false
  1840. end), hit.Parent.Torso)
  1841. game:GetService("Debris"):AddItem(BodPos, 3)
  1842. game:GetService("Debris"):AddItem(BodGy, 3)
  1843. end
  1844. local debounce = Create("BoolValue")({
  1845. Name = "DebounceHit",
  1846. Parent = hit.Parent,
  1847. Value = true
  1848. })
  1849. game:GetService("Debris"):AddItem(debounce, Delay)
  1850. c = Create("ObjectValue")({
  1851. Name = "creator",
  1852. Value = Player,
  1853. Parent = h
  1854. })
  1855. game:GetService("Debris"):AddItem(c, 0.5)
  1856. end
  1857. end
  1858. function ShowDamage(Pos, Text, Time, Color)
  1859. local Rate = 0.03333333333333333
  1860. local Pos = Pos or Vector3.new(0, 0, 0)
  1861. local Text = Text or ""
  1862. local Time = Time or 2
  1863. local Color = Color or Color3.new(1, 0, 1)
  1864. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1865. EffectPart.Anchored = true
  1866. local BillboardGui = Create("BillboardGui")({
  1867. Size = UDim2.new(3, 0, 3, 0),
  1868. Adornee = EffectPart,
  1869. Parent = EffectPart
  1870. })
  1871. local TextLabel = Create("TextLabel")({
  1872. BackgroundTransparency = 1,
  1873. Size = UDim2.new(1, 0, 1, 0),
  1874. Text = Text,
  1875. Font = "SciFi",
  1876. TextColor3 = Color,
  1877. TextScaled = true,
  1878. Parent = BillboardGui
  1879. })
  1880. game.Debris:AddItem(EffectPart, Time)
  1881. EffectPart.Parent = game:GetService("Workspace")
  1882. delay(0, function()
  1883. local Frames = Time / Rate
  1884. for Frame = 1, Frames do
  1885. wait(Rate)
  1886. local Percent = Frame / Frames
  1887. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1888. TextLabel.TextTransparency = Percent
  1889. end
  1890. if EffectPart and EffectPart.Parent then
  1891. EffectPart:Destroy()
  1892. end
  1893. end)
  1894. end
  1895. local STDamage = false
  1896. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  1897. for _, c in pairs(workspace:children()) do
  1898. local hum = c:findFirstChild("Humanoid")
  1899. if hum ~= nil then
  1900. local head = c:findFirstChild("Torso")
  1901. if head ~= nil then
  1902. local targ = head.Position - Part.Position
  1903. local mag = targ.magnitude
  1904. if Magnitude >= mag and c.Name ~= Player.Name then
  1905. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0.1, HitSound, HitPitch)
  1906. if STDamage == true then
  1907. for i = 1, 3 do
  1908. Effects.Block.Create(BrickColor.new("Maroon"), head.CFrame, 1, 1, 1, 4, 4, 4, 0.07, 1)
  1909. end
  1910. for i = 1, 10 do
  1911. CamShake(1, 70000)
  1912. Effects.Break.Create(BrickColor.new("Maroon"), head.CFrame, 1, 1, 1)
  1913. end
  1914.  
  1915. elseif STDamage == false then
  1916. CamShake(1, 90000)
  1917. Effects.Block.Create(BrickColor.new("Maroon"), head.CFrame, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.07, 1)
  1918. for i = 1, 2 do
  1919. Effects.Break.Create(BrickColor.new("Maroon"), head.CFrame, 0.4, 0.4, 0.4)
  1920.  
  1921. end
  1922. end
  1923. end
  1924. end
  1925. end
  1926. end
  1927. end
  1928.  
  1929.  
  1930.  
  1931.  
  1932. HHandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "HHandle", Vector3.new(1.09999979, 0.299999923, 1.0999999))
  1933. 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))
  1934. ----
  1935. THandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Medium stone grey", "THandle", Vector3.new(1, 0.799999893, 1))
  1936. 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))
  1937. ----
  1938. AHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "AHandleR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  1939. 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))
  1940.  
  1941.  
  1942.  
  1943. HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "HitboxR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  1944. 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))
  1945. ----
  1946. AHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "AHandleL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
  1947. 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))
  1948.  
  1949. HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "HitboxL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
  1950. 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))
  1951.  
  1952.  
  1953. ----
  1954. LHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "LHandleR", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  1955. 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))
  1956.  
  1957.  
  1958. ----
  1959. LHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Really black", "LHandleL", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  1960. 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))
  1961.  
  1962.  
  1963. ----
  1964. Shield = CFuncs.Part.Create(m, "Neon", 0, 1, "Really black", "Part", Vector3.new(9.1, 8.5, 0.2))
  1965.  
  1966. Shield.Parent = nil
  1967. EffectModel = Create("Model")({Parent = Character, Name = "Effects"})
  1968. Effects = {
  1969. Block = {
  1970. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1971. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1972. prt.Anchored = true
  1973. prt.CFrame = cframe
  1974. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1975. game:GetService("Debris"):AddItem(prt, 10)
  1976. if Type == 1 or Type == nil then
  1977. table.insert(Effects, {
  1978. prt,
  1979. "Block1",
  1980. delay,
  1981. x3,
  1982. y3,
  1983. z3,
  1984. msh
  1985. })
  1986. elseif Type == 2 then
  1987. table.insert(Effects, {
  1988. prt,
  1989. "Block2",
  1990. delay,
  1991. x3,
  1992. y3,
  1993. z3,
  1994. msh
  1995. })
  1996. end
  1997. end
  1998. },
  1999. Cylinder = {
  2000. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2001. local prt = CFuncs.Part .. Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  2002. prt.Anchored = true
  2003. prt.CFrame = cframe
  2004. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2005. game:GetService("Debris"):AddItem(prt, 2)
  2006. Effects[#Effects + 1] = {
  2007. prt,
  2008. "Cylinder",
  2009. delay,
  2010. x3,
  2011. y3,
  2012. z3
  2013. }
  2014. end
  2015. },
  2016. Head = {
  2017. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2018. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2019. prt.Anchored = true
  2020. prt.CFrame = cframe
  2021. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2022. game:GetService("Debris"):AddItem(prt, 10)
  2023. table.insert(Effects, {
  2024. prt,
  2025. "Cylinder",
  2026. delay,
  2027. x3,
  2028. y3,
  2029. z3,
  2030. msh
  2031. })
  2032. end
  2033. },
  2034. Sphere = {
  2035. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2036. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2037. prt.Anchored = true
  2038. prt.CFrame = cframe
  2039. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2040. game:GetService("Debris"):AddItem(prt, 10)
  2041. table.insert(Effects, {
  2042. prt,
  2043. "Cylinder",
  2044. delay,
  2045. x3,
  2046. y3,
  2047. z3,
  2048. msh
  2049. })
  2050. end
  2051. },
  2052. Sphere2 = {
  2053. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2054. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2055. prt.Anchored = true
  2056. prt.CFrame = cframe
  2057. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2058. game:GetService("Debris"):AddItem(prt, 10)
  2059. table.insert(Effects, {
  2060. prt,
  2061. "Cylinder",
  2062. delay,
  2063. x3,
  2064. y3,
  2065. z3,
  2066. msh
  2067. })
  2068. end
  2069. },
  2070. Elec = {
  2071. Create = function(cff, x, y, z)
  2072. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lilac"), "Part", Vector3.new(1, 1, 1))
  2073. prt.Anchored = true
  2074. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  2075. prt.CFrame = CFrame.new(prt.Position)
  2076. game:GetService("Debris"):AddItem(prt, 2)
  2077. local xval = math.random() / 2
  2078. local yval = math.random() / 2
  2079. local zval = math.random() / 2
  2080. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  2081. table.insert(Effects, {
  2082. prt,
  2083. "Elec",
  2084. 0.1,
  2085. x,
  2086. y,
  2087. z,
  2088. xval,
  2089. yval,
  2090. zval
  2091. })
  2092. end
  2093. },
  2094. Ring = {
  2095. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2096. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2097. prt.Anchored = true
  2098. prt.CFrame = cframe
  2099. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2100. game:GetService("Debris"):AddItem(prt, 10)
  2101. table.insert(Effects, {
  2102. prt,
  2103. "Cylinder",
  2104. delay,
  2105. x3,
  2106. y3,
  2107. z3,
  2108. msh
  2109. })
  2110. end
  2111. },
  2112. Wave = {
  2113. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2114. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  2115. prt.Anchored = true
  2116. prt.CFrame = cframe
  2117. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2118. game:GetService("Debris"):AddItem(prt, 10)
  2119. table.insert(Effects, {
  2120. prt,
  2121. "Cylinder",
  2122. delay,
  2123. x3,
  2124. y3,
  2125. z3,
  2126. msh
  2127. })
  2128. end
  2129. },
  2130. Break = {
  2131. Create = function(brickcolor, cframe, x1, y1, z1)
  2132. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  2133. prt.Anchored = true
  2134. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2135. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2136. local num = math.random(10, 50) / 1000
  2137. game:GetService("Debris"):AddItem(prt, 10)
  2138. table.insert(Effects, {
  2139. prt,
  2140. "Shatter",
  2141. num,
  2142. prt.CFrame,
  2143. math.random() - math.random(),
  2144. 0,
  2145. math.random(50, 100) / 100
  2146. })
  2147. end
  2148. },
  2149. Fire = {
  2150. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  2151. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  2152. prt.Anchored = true
  2153. prt.CFrame = cframe
  2154. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2155. game:GetService("Debris"):AddItem(prt, 10)
  2156. table.insert(Effects, {
  2157. prt,
  2158. "Fire",
  2159. delay,
  2160. 1,
  2161. 1,
  2162. 1,
  2163. msh
  2164. })
  2165. end
  2166. },
  2167. FireWave = {
  2168. Create = function(brickcolor, cframe, x1, y1, z1)
  2169. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  2170. prt.Anchored = true
  2171. prt.CFrame = cframe
  2172. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  2173. local d = Create("Decal")({
  2174. Parent = prt,
  2175. Texture = "rbxassetid://26356434",
  2176. Face = "Top"
  2177. })
  2178. local d = Create("Decal")({
  2179. Parent = prt,
  2180. Texture = "rbxassetid://26356434",
  2181. Face = "Bottom"
  2182. })
  2183. game:GetService("Debris"):AddItem(prt, 10)
  2184. table.insert(Effects, {
  2185. prt,
  2186. "FireWave",
  2187. 1,
  2188. 30,
  2189. math.random(400, 600) / 100,
  2190. msh
  2191. })
  2192. end
  2193. },
  2194. Lightning = {
  2195. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  2196. local magz = (p0 - p1).magnitude
  2197. local curpos = p0
  2198. local trz = {
  2199. -ofs,
  2200. ofs
  2201. }
  2202. for i = 1, tym do
  2203. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  2204. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  2205. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  2206. li.Material = "Neon"
  2207. if tym == i then
  2208. local magz2 = (curpos - p1).magnitude
  2209. li.Size = Vector3.new(th, th, magz2)
  2210. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  2211. table.insert(Effects, {
  2212. li,
  2213. "Disappear",
  2214. last
  2215. })
  2216. else
  2217. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  2218. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  2219. game.Debris:AddItem(li, 10)
  2220. table.insert(Effects, {
  2221. li,
  2222. "Disappear",
  2223. last
  2224. })
  2225. end
  2226. end
  2227. end
  2228. },
  2229. EffectTemplate = {}
  2230. }
  2231. local Invisible = true
  2232. function Reappear()
  2233. for _, i in pairs(AdvancingFortress:children()) do
  2234. if i:IsA("BasePart") then
  2235. coroutine.resume(coroutine.create(function(Part)
  2236. for i = 0, 1, 0.3 do
  2237. swait()
  2238. Part.Transparency = -i
  2239. end
  2240. Part.Transparency = 0
  2241. end), i)
  2242. end
  2243. end
  2244. for _, i in pairs(m:children()) do
  2245. if i:IsA("BasePart") then
  2246. coroutine.resume(coroutine.create(function(Part)
  2247. for i = 0, 1, 0.3 do
  2248. swait()
  2249. Part.Transparency = i
  2250. end
  2251. Part.Transparency = 0
  2252. end), i)
  2253. end
  2254. end
  2255. end
  2256. function ReappearArmorOnly()
  2257. for _, i in pairs(m:children()) do
  2258. if i:IsA("BasePart") then
  2259. coroutine.resume(coroutine.create(function(Part)
  2260. for i = 0, 1, 0.3 do
  2261. swait()
  2262. Part.Transparency = i
  2263. end
  2264. Part.Transparency = 0
  2265. end), i)
  2266. end
  2267. end
  2268. end
  2269. function Disappear()
  2270. for _, i in pairs(AdvancingFortress:children()) do
  2271. if i:IsA("BasePart") then
  2272. coroutine.resume(coroutine.create(function(Part)
  2273. for i = 0, 1, 0.3 do
  2274. swait()
  2275. Part.Transparency = i
  2276. end
  2277. Part.Transparency = 1
  2278. end), i)
  2279. end
  2280. end
  2281. for _, i in pairs(m:children()) do
  2282. if i:IsA("BasePart") then
  2283. coroutine.resume(coroutine.create(function(Part)
  2284. for i = 0, 1, 0.3 do
  2285. swait()
  2286. Part.Transparency = i
  2287. end
  2288. Part.Transparency = 1
  2289. end), i)
  2290. end
  2291. end
  2292. end
  2293. function DisappearArmorOnly()
  2294. for _, i in pairs(m:children()) do
  2295. if i:IsA("BasePart") then
  2296. coroutine.resume(coroutine.create(function(Part)
  2297. for i = 0, 1, 0.3 do
  2298. swait()
  2299. Part.Transparency = i
  2300. end
  2301. Part.Transparency = 1
  2302. end), i)
  2303. end
  2304. end
  2305. end
  2306. function CamShake(time, freq)
  2307. coroutine.resume(coroutine.create(function()
  2308. local cam = game:GetService("Workspace").CurrentCamera
  2309. local time = 10
  2310. local seed = Vector3.new(math.random(100, 200) / freq, math.random(100, 200) / freq, 0)
  2311. if math.random(1, 2) == 1 then
  2312. seed = Vector3.new(-seed.x, seed.y, 0)
  2313. end
  2314. if math.random(1, 2) == 1 then
  2315. seed = Vector3.new(seed.x, -seed.y, 0)
  2316. end
  2317. 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)
  2318. for i = 1, time do
  2319. 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)
  2320. wait()
  2321. end
  2322. end))
  2323. end
  2324. mse.KeyDown:connect(function(key)
  2325. key = key:lower()
  2326. if key == "q" and Invisible == false then
  2327. canworld = true
  2328. local sf = CFuncs.Sound.Create("1125531635")
  2329. sf.Volume = 10
  2330. wait(1.5)
  2331. sf:Destroy()
  2332. end
  2333. end
  2334. )
  2335. local bigg = false
  2336. function PE()
  2337. pep = Instance.new("ParticleEmitter")
  2338. pep.Name = "pep"
  2339. pep.Lifetime = NumberRange.new(1)
  2340. pep.Rate = 5
  2341. pep.Texture = "rbxassetid://298768656"
  2342. pep.VelocitySpread = 60
  2343. pep.Parent = char.Head
  2344. end
  2345. local ora = false
  2346. function ORA()
  2347. attack = true
  2348. local S = CFuncs.Sound.Create("627578508", Torso, 1, 1)
  2349. S.Looped = true
  2350. S.Volume = 10
  2351. if ora == true then
  2352. while ora == true do
  2353. CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
  2354. MagnitudeDamage(HitboxL, 5, 20, 20, 0, "Normal", "330706798", 1)
  2355. for i = 0, 1, 0.8 do
  2356. swait()
  2357. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  2358. PlayAnimationFromTable({
  2359. 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),
  2360. 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),
  2361. 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),
  2362. 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),
  2363. 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),
  2364. 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)
  2365. }, 0.8, false)
  2366. end
  2367. CFuncs.Sound.Create("200632136", HitboxR, 0.3, math.random(1, 1.2))
  2368. MagnitudeDamage(HitboxR, 5, 20, 20, 0, "Normal", "330706798", 1)
  2369. for i = 0, 1, 0.8 do
  2370. swait()
  2371. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  2372. PlayAnimationFromTable({
  2373. 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),
  2374. 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),
  2375. 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),
  2376. 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),
  2377. 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),
  2378. 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)
  2379. }, 0.8, false)
  2380. end
  2381. CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
  2382. MagnitudeDamage(HitboxL, 5, 20, 20, 0, "Normal", "330706798", 1)
  2383. for i = 0, 1, 0.8 do
  2384. swait()
  2385. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  2386. PlayAnimationFromTable({
  2387. 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),
  2388. 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),
  2389. 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),
  2390. 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),
  2391. 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),
  2392. 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)
  2393. }, 0.8, false)
  2394. end
  2395. CFuncs.Sound.Create("200632136", HitboxR, 0.3, math.random(1, 1.2))
  2396. MagnitudeDamage(HitboxR, 5, 20, 20, 0, "Normal", "330706798", 1)
  2397. for i = 0, 1, 0.8 do
  2398. swait()
  2399. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  2400. PlayAnimationFromTable({
  2401. 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),
  2402. 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),
  2403. 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),
  2404. 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),
  2405. 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),
  2406. 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)
  2407. }, 0.8, false)
  2408. end
  2409. CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
  2410. MagnitudeDamage(HitboxL, 5, 20, 20, 0, "Normal", "330706798", 1)
  2411. end
  2412. end
  2413. S:Stop()
  2414. local S2 = CFuncs.Sound.Create("933302532", Torso, 1.5, 1)
  2415.  
  2416. S2.Volume = 7
  2417.  
  2418. for i = 0, 1, 0.13 do
  2419. swait()
  2420. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -3), 0.5)
  2421. PlayAnimationFromTable({
  2422. 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),
  2423. 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),
  2424. 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),
  2425. 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),
  2426. 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),
  2427. 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)
  2428. }, 0.2, false)
  2429. end
  2430. Effects.Wave.Create(BrickColor.new("White"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06)
  2431. CFuncs.Sound.Create("471881954", HitboxR, 1, 1)
  2432. MagnitudeDamage(HitboxR, 7, 40, 40, 40, "Normal", "610359590", 1)
  2433. for i = 0, 1, 0.1 do
  2434. swait()
  2435. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 0.3)
  2436. PlayAnimationFromTable({
  2437. 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),
  2438. 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),
  2439. 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),
  2440. 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),
  2441. 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),
  2442. 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)
  2443. }, 0.6, false)
  2444. end
  2445. attack = false
  2446. end
  2447. function CastleCrusherFist()
  2448. attack = true
  2449. STDamage = true
  2450. local S3 = CFuncs.Sound.Create("271120244", Torso, 1, 1)
  2451.  
  2452. for i = 0, 1, 0.1 do
  2453. S3.Volume = 7
  2454. swait()
  2455. Effects.Block.Create(BrickColor.new("Lilac"), HitboxR.CFrame, 2, 1, 1, 4, 4, 4, 0.3, 1)
  2456. Effects.Break.Create(BrickColor.new("Lilac"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  2457. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.2)
  2458. PlayAnimationFromTable({
  2459. 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),
  2460. 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),
  2461. 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),
  2462. 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),
  2463. 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),
  2464. 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)
  2465. }, 0.2, false)
  2466. end
  2467. MagnitudeDamage(HitboxR, 100, 40, 170, 190, "Normal", "610359515", 1)
  2468. Effects.Wave.Create(BrickColor.new("White"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06)
  2469. CFuncs.Sound.Create("471881980", HitboxR, 1, 0.9)
  2470. CFuncs.Sound.Create("471881954", HitboxR, 1, 0.8)
  2471. for i = 0, 1, 0.08 do
  2472. swait()
  2473. Effects.Block.Create(BrickColor.new("Lilac"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  2474. Effects.Break.Create(BrickColor.new("Lilac"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  2475. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 0.3)
  2476. PlayAnimationFromTable({
  2477. 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),
  2478. 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),
  2479. 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),
  2480. 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),
  2481. 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),
  2482. 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)
  2483. }, 0.6, false)
  2484. end
  2485. STDamage = false
  2486. attack = false
  2487. end
  2488. function CastleCrusherFist()
  2489. attack = true
  2490. STDamage = true
  2491. local S2 = CFuncs.Sound.Create("271120244", Torso, 1, 1)
  2492.  
  2493. for i = 0, 1, 0.1 do
  2494. S2.Volume = 10
  2495. swait()
  2496. Effects.Block.Create(BrickColor.new("Lilac"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  2497. Effects.Break.Create(BrickColor.new("Lilac"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  2498. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.5)
  2499. PlayAnimationFromTable({
  2500. 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),
  2501. 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),
  2502. 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),
  2503. 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),
  2504. 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),
  2505. 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)
  2506. }, 0.2, false)
  2507. end
  2508. Effects.Wave.Create(BrickColor.new("White"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06)
  2509. Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 140
  2510. CFuncs.Sound.Create("471881980", HitboxR, 1, 0.9)
  2511. CFuncs.Sound.Create("471881954", HitboxR, 1, 0.8)
  2512. for i = 0, 1, 0.08 do
  2513. swait()
  2514. MagnitudeDamage(HitboxR, 5, 50, 80, 100, "Normal", "610359515", 1)
  2515. Effects.Block.Create(BrickColor.new("Lilac"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  2516. Effects.Break.Create(BrickColor.new("Lilac"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  2517. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 1)
  2518. PlayAnimationFromTable({
  2519. 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),
  2520. 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),
  2521. 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),
  2522. 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),
  2523. 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),
  2524. 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)
  2525. }, 0.6, false)
  2526. end
  2527. STDamage = false
  2528. attack = false
  2529. end
  2530. function weld5(part0, part1, c0, c1)
  2531. local weeld = Instance.new("Weld", part0)
  2532. weeld.Part0 = part0
  2533. weeld.Part1 = part1
  2534. weeld.C0 = c0
  2535. weeld.C1 = c1
  2536. return weeld
  2537. end
  2538. local Grab = false
  2539. function GRABEMBOIGRABEM()
  2540. attack = true
  2541. gp = nil
  2542. con1 = HitboxR.Touched:connect(function(hit)
  2543. local ht = hit.Parent
  2544. local hum1 = ht:FindFirstChild("Humanoid")
  2545. if Grab == false then
  2546. if hum1 ~= nil and hit.Parent ~= Character then
  2547. hum1.PlatformStand = true
  2548. gp = ht
  2549. Grab = true
  2550. local asd = weld5(RightArm, ht:FindFirstChild("Head"), CFrame.new(0, -1.5, 0), CFrame.new(0, 0, 0))
  2551. asd.Parent = RightArm
  2552. asd.Name = "asd"
  2553. asd.C0 = asd.C0 * CFrame.Angles(math.rad(-90), 0, 0)
  2554. CFuncs.Sound.Create("200632821", Torso, 1, 1)
  2555. elseif hum1 == nil then
  2556. con1:disconnect()
  2557. wait()
  2558. return
  2559. end
  2560. end
  2561. end)
  2562. for i = 0, 1, 0.2 do
  2563. swait()
  2564. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.3)
  2565. PlayAnimationFromTable({
  2566. CFrame.new(3, -0.233785003, -0.0873367637, 0.499999821, -1.78813863E-7, -0.866025507, 0.150383934, 0.984807789, 0.0868239477, 0.852868676, -0.173648283, 0.492403716) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2567. 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),
  2568. 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),
  2569. 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),
  2570. 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),
  2571. 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)
  2572. }, 0.3, false)
  2573. end
  2574. for i = 0, 1, 0.1 do
  2575. swait()
  2576. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -6), 0.3)
  2577. PlayAnimationFromTable({
  2578. 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),
  2579. 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),
  2580. 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),
  2581. 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),
  2582. 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),
  2583. 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)
  2584. }, 0.3, false)
  2585. end
  2586. if Grab == true then
  2587. for i = 1, 5 do
  2588. for i = 0, 1, 0.35 do
  2589. swait()
  2590. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 13, -6), 0.3)
  2591. PlayAnimationFromTable({
  2592. 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),
  2593. 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),
  2594. 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),
  2595. 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),
  2596. 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),
  2597. 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)
  2598. }, 0.4, false)
  2599. end
  2600. Effects.Block.Create(BrickColor.new("White"), HitboxR.CFrame, 2, 1, 1, 4, 4, 4, 0.3, 1)
  2601.  
  2602. for i = 0, 1, 0.3 do
  2603. swait()
  2604. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -6), 0.3)
  2605. PlayAnimationFromTable({
  2606. 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),
  2607. 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),
  2608. 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),
  2609. 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),
  2610. 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),
  2611. 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)
  2612. }, 0.7, false)
  2613. end
  2614. local hit, pos = rayCast(HitboxR.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character)
  2615. if hit ~= nil then
  2616. MagnitudeDamage(HitboxR, 5, 10, 30, 0, "Normal", "610359515", 1.3)
  2617. Effects.Block.Create(BrickColor.new("Lilac"), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09, 1)
  2618. Effects.Wave.Create(BrickColor.new("White"), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09)
  2619. Effects.Sphere.Create(BrickColor.new("Lilac"), CFrame.new(pos), 3, 3, 3, 5, 5, 5, 0.09)
  2620. Effects.Break.Create(BrickColor.new("Lilac"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  2621. end
  2622. end
  2623. end
  2624. for i, v in pairs(RightArm:GetChildren()) do
  2625. if v.Name == "asd" and v:IsA("Weld") then
  2626. v:Remove()
  2627. end
  2628. end
  2629. Grab = false
  2630. con1:disconnect()
  2631. attack = false
  2632. end
  2633. local IsWearingArmor = false
  2634. function Armor(Mode)
  2635. attack = true
  2636. if IsWearingArmor == false and Mode == "On" then
  2637. IsWearingArmor = true
  2638. Disappear()
  2639. swait(10)
  2640. ReappearArmorOnly()
  2641. Character.Humanoid.MaxHealth = math.huge
  2642. Character.Humanoid.Health = math.huge
  2643. HHandleWeld.Part0 = Character.Head
  2644. THandleWeld.Part0 = Character.Torso
  2645. AHandleRWeld.Part0 = Character["Right Arm"]
  2646. AHandleLWeld.Part0 = Character["Left Arm"]
  2647. LHandleRWeld.Part0 = Character["Right Leg"]
  2648. LHandleLWeld.Part0 = Character["Left Leg"]
  2649. for i, v in pairs(AdvancingFortress:GetChildren()) do
  2650. if v:IsA("BasePart") then
  2651. v.Transparency = 1
  2652. end
  2653. end
  2654. for i, v in pairs(Character:GetChildren()) do
  2655. if v:IsA("Accessory") then
  2656. v.Handle.Transparency = 1
  2657. for i, v in pairs(Character:GetChildren()) do
  2658. if v:IsA("Model") then
  2659. v.Handle.Transparency = 1
  2660. end
  2661. end
  2662. end
  2663. end
  2664. elseif IsWearingArmor == true and Mode == "Off" then
  2665. IsWearingArmor = false
  2666. DisappearArmorOnly()
  2667. for i, v in pairs(Character:GetChildren()) do
  2668. if v:IsA("Accessory") then
  2669. v.Handle.Transparency = 0
  2670. for i, v in pairs(Character:GetChildren()) do
  2671. if v:IsA("Model") then
  2672. v.Handle.Transparency = 0
  2673. end
  2674. end
  2675. end
  2676. end
  2677. swait(10)
  2678. Reappear()
  2679. Character.Humanoid.MaxHealth = math.huge
  2680. Character.Humanoid.Health = math.huge
  2681.  
  2682. HHandleWeld.Part0 = Head
  2683. THandleWeld.Part0 = Torso
  2684. AHandleRWeld.Part0 = RightArm
  2685. AHandleLWeld.Part0 = LeftArm
  2686. LHandleRWeld.Part0 = RightLeg
  2687. LHandleLWeld.Part0 = LeftLeg
  2688. for i, v in pairs(AdvancingFortress:GetChildren()) do
  2689. if v:IsA("BasePart") then
  2690. v.Transparency = 0
  2691. end
  2692. end
  2693. end
  2694. attack = false
  2695. end
  2696. local ShieldMode = false
  2697. local ShieldCharge = false
  2698. function HoloHexShield()
  2699. attack = true
  2700. Shield.Parent = m
  2701. Shield.CanCollide = true
  2702. if ShieldMode == true then
  2703. while ShieldMode == true do
  2704. swait()
  2705. Effects.Elec.Create(Shield.CFrame, 6, 6, 6)
  2706. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  2707. PlayAnimationFromTable({
  2708. 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),
  2709. 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),
  2710. 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),
  2711. 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),
  2712. 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),
  2713. 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)
  2714. }, 0.3, false)
  2715. end
  2716. end
  2717. Shield.CanCollide = false
  2718. CFuncs.Sound.Create("200632211", HitboxR, 1, 0.8)
  2719. CFuncs.Sound.Create("200632875", HitboxR, 1, 0.9)
  2720. Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 160
  2721. Effects.Wave.Create(BrickColor.new("White"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06)
  2722. for i = 0, 1, 0.05 do
  2723. swait()
  2724. MagnitudeDamage(Shield, 5, 10, 15, 20, "Normal", "610359515", 1.3)
  2725. Effects.Elec.Create(Shield.CFrame, 6, 6, 6)
  2726. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -3), 1)
  2727. PlayAnimationFromTable({
  2728. 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),
  2729. 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),
  2730. 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),
  2731. 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),
  2732. 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),
  2733. 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)
  2734. }, 0.5, false)
  2735. end
  2736. Shield.Parent = nil
  2737. attack = false
  2738. end
  2739. Mouse.Button1Down:connect(function()
  2740. if attack == false and Invisible == false and IsWearingArmor == false and attacktype == 1 then
  2741. attacktype = 2
  2742. attackone()
  2743. elseif attack == false and Invisible == false and IsWearingArmor == false and attacktype == 2 then
  2744. attacktype = 1
  2745. attacktwo()
  2746. end
  2747. end)
  2748. game.Lighting.Outlines = false
  2749. function attackone()
  2750. attack = true
  2751. for i = 0, 1, 0.12 do
  2752. swait()
  2753. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  2754. PlayAnimationFromTable({
  2755. 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),
  2756. 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),
  2757. 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),
  2758. 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),
  2759. 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),
  2760. 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)
  2761. }, 0.3, false)
  2762. end
  2763. MagnitudeDamage(HitboxR, 7, 10, 15, math.random(1, 3), "Normal", "260430079", 1)
  2764. CFuncs.Sound.Create("200632136", HitboxR, 1, 1)
  2765. RootPart.Velocity = RootPart.CFrame.lookVector * 40
  2766. for i = 0, 1, 0.11 do
  2767. swait()
  2768. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  2769. PlayAnimationFromTable({
  2770. 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),
  2771. 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),
  2772. 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),
  2773. 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),
  2774. 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),
  2775. 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)
  2776. }, 0.45, false)
  2777. end
  2778. attack = false
  2779. end
  2780. function attacktwo()
  2781. attack = true
  2782. for i = 0, 1, 0.12 do
  2783. swait()
  2784. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  2785. PlayAnimationFromTable({
  2786. 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),
  2787. 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),
  2788. 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),
  2789. 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),
  2790. 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),
  2791. 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)
  2792. }, 0.34, false)
  2793. end
  2794. MagnitudeDamage(HitboxL, 7, 10, 15, math.random(1, 3), "Normal", "260430079", 1.1)
  2795. CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
  2796. local aroa = CFuncs.Sound.Create("1125531040")
  2797. aroa.Volume = 5
  2798.  
  2799.  
  2800.  
  2801. RootPart.Velocity = RootPart.CFrame.lookVector * 40
  2802. for i = 0, 1, 0.12 do
  2803. swait()
  2804. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  2805. PlayAnimationFromTable({
  2806. 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),
  2807. 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),
  2808. 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),
  2809. 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),
  2810. 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),
  2811. 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)
  2812. }, 0.45, false)
  2813. end
  2814.  
  2815. attack = false
  2816. wait(1)
  2817. aroa:Destroy()
  2818. end
  2819. function findNearestTorso(pos)
  2820. local list = game.Workspace:children()
  2821. local torso
  2822. local dist = 1000
  2823. local temp, human, temp2
  2824. for x = 1, #list do
  2825. temp2 = list[x]
  2826. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  2827. temp = temp2:findFirstChild("Torso")
  2828. human = temp2:findFirstChild("Humanoid")
  2829. if temp ~= nil and human ~= nil and human.Health > 0 and dist > (temp.Position - pos).magnitude then
  2830. local dohit = true
  2831. if dohit == true then
  2832. torso = temp
  2833. dist = (temp.Position - pos).magnitude
  2834. end
  2835. end
  2836. end
  2837. end
  2838. return torso, dist
  2839. end
  2840. function TrueAim(aim)
  2841. local target, distance = findNearestTorso(Mouse.Hit.p)
  2842. local tehcf = HitboxR.CFrame * CFrame.fromEulerAnglesXYZ(1.57, 0, 0).lookVector
  2843. if aim ~= nil then
  2844. tehcf = aim
  2845. end
  2846. table.insert(Effects, {
  2847. tehcf,
  2848. "Shoot",
  2849. 30,
  2850. HitboxR.Position,
  2851. 10,
  2852. 15,
  2853. 0,
  2854. 3,
  2855. HitboxR,
  2856. target
  2857. })
  2858.  
  2859. end
  2860.  
  2861.  
  2862.  
  2863.  
  2864.  
  2865.  
  2866.  
  2867. function SutaFinga()
  2868. attack = true
  2869. Humanoid.WalkSpeed = 20
  2870. for i = 0, 1, 0.1 do
  2871. swait()
  2872. Effects.Elec.Create(HitboxR.CFrame, 0, 0, 0)
  2873. PlayAnimationFromTable({
  2874. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1.55, 0),
  2875. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1.15, 0),
  2876. CFrame.new(0.45,0.5,-1.2) * CFrame.new(0, 0, 0) * CFrame.Angles(0,-0.5,-1.55),
  2877. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.1, 0, 0),
  2878. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
  2879. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1), }, .5, false)
  2880. end
  2881. local RA = Instance.new("Part",RightArm)
  2882. RA.Size = Vector3.new(1.1,2.1,1.1)
  2883.  
  2884. RA.BrickColor = BrickColor.new("White")
  2885. RA.Material = "Neon"
  2886.  
  2887. RA.Transparency = 0
  2888. local RA2 = Instance.new("Weld",RA)
  2889. RA2.Part0 = RightArm
  2890. RA2.Part1 = RA
  2891. RA2.C0 = CFrame.new(0,0,0)
  2892.  
  2893. for i = 1,2 do ----15
  2894. for i = 1,5 do
  2895. RA.Transparency = RA.Transparency + 0.1
  2896. game:GetService("RunService").Stepped:wait()
  2897. end
  2898. wait(0.1)
  2899. for i = 1,5 do
  2900. RA.Transparency = RA.Transparency - 0.1
  2901. game:GetService("RunService").Stepped:wait()
  2902. end
  2903. end
  2904. for i = 1,10 do
  2905. RA.Transparency = RA.Transparency + 0.1
  2906. game:GetService("RunService").Stepped:wait()
  2907. end
  2908. Effects.Wave.Create(BrickColor.new("White"), RootPart.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.5, 0.6, 0.6, 0.6, 0.06)
  2909. RightArm.Transparency = 1
  2910. local owo = Instance.new("Model",Torso)
  2911. Instance.new("Humanoid",owo)
  2912. local stretch = CFuncs.Sound.Create("463010917")
  2913. stretch.Volume = 5
  2914. local R = Instance.new("Part",owo)
  2915. R.Size = Vector3.new(1,2,1)
  2916. R.TopSurface = 0
  2917. R.BottomSurface = 0
  2918. R.Name = 'Right Arm'
  2919. R.BrickColor = RightArm.BrickColor
  2920. R.CanCollide = false
  2921. R.Anchored = true
  2922. R.CFrame = RightArm.CFrame*CFrame.new(0,0,0)
  2923. R.Touched:connect(function(hit)
  2924. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then
  2925. local Fl = Instance.new("BodyVelocity",hit.Parent.Torso)
  2926. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2927. Fl.velocity = RootPart.CFrame.lookVector*130
  2928. wait(0.1)
  2929. Fl:remove()
  2930. end
  2931. end)
  2932. coroutine.resume(coroutine.create(function()
  2933. for i = 1,20 do
  2934. R.Size = R.Size + Vector3.new(0,0.8,0)
  2935. R.CFrame = RightArm.CFrame*CFrame.new(0.015,-R.Size.Y/2.5,0)
  2936. game:GetService("RunService").Stepped:wait()
  2937. end
  2938. end))
  2939. for i = 0,1,0.1 do
  2940. swait()
  2941. PlayAnimationFromTable({
  2942. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1.5, 0),
  2943. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1.2, 0),
  2944. CFrame.new(1.95,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55),
  2945. CFrame.new(-1.5,0,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.7, 0, 0),
  2946. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
  2947. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1)
  2948. }, .5, false)
  2949. end
  2950. wait(1)
  2951. for i = 1,20 do
  2952. R.Size = R.Size - Vector3.new(0,0.8,0)
  2953. R.CFrame = RightArm.CFrame*CFrame.new(0.015,-R.Size.Y/2.75,0)
  2954. game:GetService("RunService").Stepped:wait()
  2955. end
  2956. RightArm.Transparency = 0
  2957. R:Destroy()
  2958. RA:Destroy()
  2959. stretch:Destroy()
  2960.  
  2961.  
  2962.  
  2963. Humanoid.WalkSpeed = 20
  2964. attack = false
  2965.  
  2966.  
  2967. end
  2968.  
  2969.  
  2970.  
  2971. Mouse.KeyDown:connect(function(k)
  2972. k = k:lower()
  2973. if attack == false and ora == false and k == "z" and IsWearingArmor == false and Invisible == false then
  2974. ora = true
  2975. ORA()
  2976. elseif k == "m" and bigg == false then
  2977. bigg = true
  2978. PE()
  2979. elseif k == "m" and bigg == true then
  2980. bigg = false
  2981. pep:Destroy()
  2982. elseif attack == false and k == "x" and IsWearingArmor == false and Invisible == false then
  2983. GRABEMBOIGRABEM()
  2984. elseif attack == false and k == "q" and IsWearingArmor == false and Invisible == false then
  2985. SutaFinga()
  2986. elseif attack == false and k == "f" and Invisible == false and IsWearingArmor == false then
  2987. Invisible = true
  2988. for _, c in pairs(Core:GetChildren()) do
  2989. if c:IsA("Part") then
  2990. c.Transparency = 1
  2991. end
  2992. end
  2993. Character["Advancing Fortress"].Hat.Part.Transparency = 1
  2994. Par1.Enabled = false
  2995. Character["Advancing Fortress"].scarf.Part.Transparency = 1
  2996. Character["Advancing Fortress"].cloth.Part.Transparency = 1
  2997. Character["Advancing Fortress"].cloth2.Part.Transparency = 1
  2998. Character["Advancing Fortress"].rs.Part.Transparency = 1
  2999. Character["Advancing Fortress"].ls.Part.Transparency = 1
  3000. Character["Advancing Fortress"].FHead.face.Transparency = 1
  3001. Character["Advancing Fortress"].ear1.Part.Transparency = 1
  3002. Character["Advancing Fortress"].ear2.Part.Transparency = 1
  3003. Character["Advancing Fortress"].belt.Part.Transparency = 1
  3004. Character["Advancing Fortress"].belt2.Part.Transparency = 1
  3005. Character["Advancing Fortress"].belt3.Part.Transparency = 1
  3006. Character["Advancing Fortress"].gr.Part.Transparency = 1
  3007. Character["Advancing Fortress"].gl.Part.Transparency = 1
  3008. Character["Advancing Fortress"].ap1.Part.Transparency = 1
  3009. Character["Advancing Fortress"].ap2.Part.Transparency = 1
  3010. Character["Advancing Fortress"].ap3.Part.Transparency = 1
  3011. Character["Advancing Fortress"].ap4.Part.Transparency = 1
  3012. Character["Advancing Fortress"].muscle.Part.Transparency = 1
  3013. Character["Advancing Fortress"].circ1.Part.Transparency = 1
  3014. Character["Advancing Fortress"].circ2.Part.Transparency = 1
  3015. Character["Advancing Fortress"].circ3.Part.Transparency = 1
  3016. Character["Advancing Fortress"].circ4.Part.Transparency = 1
  3017. Character["Advancing Fortress"].boot1.Part.Transparency = 1
  3018. Character["Advancing Fortress"].boot2.Part.Transparency = 1
  3019. Character["Advancing Fortress"].glo1.Part.Transparency = 1
  3020. Character["Advancing Fortress"].glo2.Part.Transparency = 1
  3021. Effects.Sphere.Create(BrickColor.new("Lilac"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
  3022. Effects.Block.Create(BrickColor.new("Lilac"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1)
  3023. Disappear()
  3024.  
  3025. elseif attack == false and k == "f" and Invisible == true and IsWearingArmor == false and cooldown == false then
  3026. Invisible = false
  3027. local summon = CFuncs.Sound.Create("463010917", Torso, 1, 1)
  3028. summon.Volume = 7
  3029. cooldown = true
  3030. for _, c in pairs(Core:GetChildren()) do
  3031. if c:IsA("Part") then
  3032. c.Transparency = 0
  3033. end
  3034. end
  3035. Character["Advancing Fortress"].Hat.Part.Transparency = 0
  3036. Par1.Enabled = true
  3037. Character["Advancing Fortress"].scarf.Part.Transparency = 0
  3038. Character["Advancing Fortress"].cloth.Part.Transparency = 0
  3039. Character["Advancing Fortress"].cloth2.Part.Transparency = 0
  3040. Character["Advancing Fortress"].rs.Part.Transparency = 0
  3041. Character["Advancing Fortress"].ls.Part.Transparency = 0
  3042. Character["Advancing Fortress"].FHead.face.Transparency = 0
  3043. Character["Advancing Fortress"].ear1.Part.Transparency = 0
  3044. Character["Advancing Fortress"].ear2.Part.Transparency = 0
  3045. Character["Advancing Fortress"].belt.Part.Transparency = 0
  3046. Character["Advancing Fortress"].belt2.Part.Transparency = 0
  3047. Character["Advancing Fortress"].belt3.Part.Transparency = 0
  3048. Character["Advancing Fortress"].gr.Part.Transparency = 0
  3049. Character["Advancing Fortress"].gl.Part.Transparency = 0
  3050. Character["Advancing Fortress"].ap1.Part.Transparency = 0
  3051. Character["Advancing Fortress"].ap2.Part.Transparency = 0
  3052. Character["Advancing Fortress"].ap3.Part.Transparency = 0
  3053. Character["Advancing Fortress"].ap4.Part.Transparency = 0
  3054. Character["Advancing Fortress"].muscle.Part.Transparency = 0
  3055. Character["Advancing Fortress"].circ1.Part.Transparency = 0
  3056. Character["Advancing Fortress"].circ2.Part.Transparency = 0
  3057. Character["Advancing Fortress"].circ3.Part.Transparency = 0
  3058. Character["Advancing Fortress"].circ4.Part.Transparency = 0
  3059. Character["Advancing Fortress"].boot1.Part.Transparency = 0
  3060. Character["Advancing Fortress"].boot2.Part.Transparency = 0
  3061. Character["Advancing Fortress"].glo1.Part.Transparency = 0
  3062. Character["Advancing Fortress"].glo2.Part.Transparency = 0
  3063.  
  3064. Effects.Sphere.Create(BrickColor.new("Lilac"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.08)
  3065. for i = 1, 2 do
  3066. Effects.Block.Create(BrickColor.new("Lilac"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1)
  3067. end
  3068. for i = 1, 20 do
  3069. Effects.Break.Create(BrickColor.new("Lilac"), Torso.CFrame, 1, 1, 1)
  3070. end
  3071. Reappear()
  3072. local staplachinuh = CFuncs.Sound.Create("469817479")
  3073. staplachinuh.TimePosition = 0.4
  3074. staplachinuh.Volume = 7
  3075. wait(0.96)
  3076. staplachinuh:Destroy()
  3077. cooldown = false
  3078. elseif attack == false and ShieldMode == false and k == "c" and IsWearingArmor == false and Invisible == false then
  3079. ShieldMode = true
  3080. HoloHexShield()
  3081. elseif attack == false and k == "v" and IsWearingArmor == false and Invisible == false then
  3082. CastleCrusherFist()
  3083. end
  3084. if k == "leftbracket" and IsWearingArmor == false and Invisible == false then
  3085. Armor("On")
  3086. Character["Advancing Fortress"].Hat.Part.Transparency = 1
  3087. Character["Advancing Fortress"].boot1.Part.Transparency = 1
  3088. Character["Advancing Fortress"].boot2.Part.Transparency = 1
  3089. Character["Advancing Fortress"].glo1.Part.Transparency = 1
  3090. Character["Advancing Fortress"].glo2.Part.Transparency = 1
  3091. Character["Advancing Fortress"].scarf.Part.Transparency = 1
  3092. Character["Advancing Fortress"].cloth.Part.Transparency = 1
  3093. Character["Advancing Fortress"].cloth2.Part.Transparency = 1
  3094. Character["Advancing Fortress"].rs.Part.Transparency = 1
  3095. Character["Advancing Fortress"].ls.Part.Transparency = 1
  3096. Character["Advancing Fortress"].FHead.face.Transparency = 1
  3097. Character["Advancing Fortress"].ear1.Part.Transparency = 1
  3098. Character["Advancing Fortress"].ear2.Part.Transparency = 1
  3099. Character["Advancing Fortress"].belt.Part.Transparency = 1
  3100. Character["Advancing Fortress"].belt2.Part.Transparency = 1
  3101. Character["Advancing Fortress"].belt3.Part.Transparency = 1
  3102. Character["Advancing Fortress"].gr.Part.Transparency = 1
  3103. Character["Advancing Fortress"].gl.Part.Transparency = 1
  3104. Character["Advancing Fortress"].ap1.Part.Transparency = 1
  3105. Character["Advancing Fortress"].ap2.Part.Transparency = 1
  3106. Character["Advancing Fortress"].ap3.Part.Transparency = 1
  3107. Character["Advancing Fortress"].ap4.Part.Transparency = 1
  3108. Character["Advancing Fortress"].muscle.Part.Transparency = 1
  3109. Character["Advancing Fortress"].circ1.Part.Transparency = 1
  3110. Character["Advancing Fortress"].circ2.Part.Transparency = 1
  3111. Character["Advancing Fortress"].circ3.Part.Transparency = 1
  3112. Character["Advancing Fortress"].circ4.Part.Transparency = 1
  3113. end
  3114. if k == "rightbracket" and IsWearingArmor == true and Invisible == false then
  3115. Armor("Off")
  3116. Character["Advancing Fortress"].Hat.Part.Transparency = 0
  3117. Character["Advancing Fortress"].boot1.Part.Transparency = 0
  3118. Character["Advancing Fortress"].boot2.Part.Transparency = 0
  3119. Character["Advancing Fortress"].glo1.Part.Transparency = 0
  3120. Character["Advancing Fortress"].glo2.Part.Transparency = 0
  3121. Character["Advancing Fortress"].scarf.Part.Transparency = 0
  3122. Character["Advancing Fortress"].cloth.Part.Transparency = 0
  3123. Character["Advancing Fortress"].cloth2.Part.Transparency = 0
  3124. Character["Advancing Fortress"].rs.Part.Transparency = 0
  3125. Character["Advancing Fortress"].ls.Part.Transparency = 0
  3126. Character["Advancing Fortress"].FHead.face.Transparency = 0
  3127. Character["Advancing Fortress"].ear1.Part.Transparency = 0
  3128. Character["Advancing Fortress"].ear2.Part.Transparency = 0
  3129. Character["Advancing Fortress"].belt.Part.Transparency = 0
  3130. Character["Advancing Fortress"].belt2.Part.Transparency = 0
  3131. Character["Advancing Fortress"].belt3.Part.Transparency = 0
  3132. Character["Advancing Fortress"].gr.Part.Transparency = 0
  3133. Character["Advancing Fortress"].gl.Part.Transparency = 0
  3134. Character["Advancing Fortress"].ap1.Part.Transparency = 0
  3135. Character["Advancing Fortress"].ap2.Part.Transparency = 0
  3136. Character["Advancing Fortress"].ap3.Part.Transparency = 0
  3137. Character["Advancing Fortress"].ap4.Part.Transparency = 0
  3138. Character["Advancing Fortress"].muscle.Part.Transparency = 0
  3139. Character["Advancing Fortress"].circ1.Part.Transparency = 0
  3140. Character["Advancing Fortress"].circ2.Part.Transparency = 0
  3141. Character["Advancing Fortress"].circ3.Part.Transparency = 0
  3142. Character["Advancing Fortress"].circ4.Part.Transparency = 0
  3143.  
  3144. end
  3145. end)
  3146. Mouse.KeyUp:connect(function(k)
  3147. k = k:lower()
  3148. if attack == true and ora == true and k == "z" and IsWearingArmor == false then
  3149. ora = false
  3150. elseif attack == true and ShieldMode == true and k == "c" and IsWearingArmor == false then
  3151. ShieldMode = false
  3152. end
  3153. end)
  3154. local WingSine = 0
  3155. local WingChange = 1
  3156. while true do
  3157. swait()
  3158. WingSine = WingSine + WingChange
  3159. LWingWelds[1].C0 = LWingWelds[1].C0:lerp(CF.N(0,0,2.25)*CF.A(0,M.R(-90),0)*CF.A(M.R(5+10*M.C(WingSine/32)),0,M.R(12.5+5*M.C(WingSine/32))),.1)
  3160. LWingWelds[2].C0 = LWingWelds[2].C0:lerp(CF.N(0,1,3.5)*CF.A(0,M.R(-90),0)*CF.A(M.R(10+15*M.C(WingSine/32)),0,M.R(25+7.5*M.C(WingSine/32))),.1)
  3161. LWingWelds[3].C0 = LWingWelds[3].C0:lerp(CF.N(0,2,4.5)*CF.A(0,M.R(-90),0)*CF.A(M.R(15+20*M.C(WingSine/32)),0,M.R(37.5+10*M.C(WingSine/32))),.1)
  3162. LWingWelds[4].C0 = LWingWelds[4].C0:lerp(CF.N(0,3,5.75)*CF.A(0,M.R(-90),0)*CF.A(M.R(20+25*M.C(WingSine/32)),0,M.R(50+12.5*M.C(WingSine/32))),.1)
  3163. LWingWelds[5].C0 = LWingWelds[5].C0:lerp(CF.N(0,4,6.75)*CF.A(0,M.R(-90),0)*CF.A(M.R(25+30*M.C(WingSine/32)),0,M.R(62.5+15*M.C(WingSine/32))),.1)
  3164. LWingWelds[6].C0 = LWingWelds[6].C0:lerp(CF.N(0,5,7.75)*CF.A(0,M.R(-90),0)*CF.A(M.R(35+40*M.C(WingSine/32)),0,M.R(75+17.5*M.C(WingSine/32))),.1)
  3165.  
  3166. RWingWelds[1].C0 = RWingWelds[1].C0:lerp(CF.N(0,0,-2.25)*CF.A(0,M.R(-90),0)*CF.A(M.R(5+10*M.C(WingSine/32)),0,-M.R(12.5+5*M.C(WingSine/32))),.1)
  3167. RWingWelds[2].C0 = RWingWelds[2].C0:lerp(CF.N(0,1,-3.5)*CF.A(0,M.R(-90),0)*CF.A(M.R(10+15*M.C(WingSine/32)),0,-M.R(25+7.5*M.C(WingSine/32))),.1)
  3168. RWingWelds[3].C0 = RWingWelds[3].C0:lerp(CF.N(0,2,-4.5)*CF.A(0,M.R(-90),0)*CF.A(M.R(15+20*M.C(WingSine/32)),0,-M.R(37.5+10*M.C(WingSine/32))),.1)
  3169. RWingWelds[4].C0 = RWingWelds[4].C0:lerp(CF.N(0,3,-5.75)*CF.A(0,M.R(-90),0)*CF.A(M.R(20+25*M.C(WingSine/32)),0,-M.R(50+12.5*M.C(WingSine/32))),.1)
  3170. RWingWelds[5].C0 = RWingWelds[5].C0:lerp(CF.N(0,4,-6.75)*CF.A(0,M.R(-90),0)*CF.A(M.R(25+30*M.C(WingSine/32)),0,-M.R(62.5+15*M.C(WingSine/32))),.1)
  3171. RWingWelds[6].C0 = RWingWelds[6].C0:lerp(CF.N(0,5,-7.75)*CF.A(0,M.R(-90),0)*CF.A(M.R(35+40*M.C(WingSine/32)),0,-M.R(75+17.5*M.C(WingSine/32))),.1)
  3172.  
  3173. for i, v in pairs(Character:children()) do
  3174. if v:IsA("Part") and IsWearingArmor == true then
  3175. v.Anchored = false
  3176. end
  3177. end
  3178. for i, v in pairs(AdvancingFortress:GetChildren()) do
  3179. if v:IsA("Part") then
  3180. v.Material = "SmoothPlastic"
  3181.  
  3182. v.CanCollide = false
  3183.  
  3184. elseif v:IsA("Humanoid") then
  3185. v.PlatformStand = true
  3186. elseif v:IsA("Script") then
  3187. v:Destroy()
  3188. elseif v:IsA("LocalScript") then
  3189. v:Destroy()
  3190.  
  3191.  
  3192.  
  3193. end
  3194. end
  3195. HHandle.Transparency = 1
  3196. THandle.Transparency = 1
  3197. AHandleR.Transparency = 1
  3198. AHandleL.Transparency = 1
  3199. LHandleR.Transparency = 1
  3200. LHandleL.Transparency = 1
  3201. RootPart.Transparency = 1
  3202. HitboxR.Transparency = 1
  3203. HitboxL.Transparency = 1
  3204. Head.BrickColor = BrickColor.new("Lilac")
  3205. Torso.BrickColor = BrickColor.new("Lilac")
  3206. RightArm.BrickColor = BrickColor.new("Lilac")
  3207. LeftArm.BrickColor = BrickColor.new("Lilac")
  3208. RightLeg.BrickColor = BrickColor.new("Lilac")
  3209. LeftLeg.BrickColor = BrickColor.new("Lilac")
  3210. RootPart.Anchored = true
  3211. Torsovelocity = (Character.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  3212. velocity = Character.HumanoidRootPart.Velocity.y
  3213. sine = sine + change
  3214. Shield.Anchored = true
  3215. Shield.CFrame = Shield.CFrame:lerp(RootPart.CFrame * CFrame.new(0, 0, -3.2), 1)
  3216. local hit, pos = rayCast(Character.HumanoidRootPart.Position, CFrame.new(Character.HumanoidRootPart.Position, Character.HumanoidRootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  3217. if Character.HumanoidRootPart.Velocity.y > 1 and hit == nil then
  3218. Anim = "Jump"
  3219. if attack == false then
  3220. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  3221. PlayAnimationFromTable({
  3222. 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),
  3223. CFrame.new(0, 1.49999177, -1.49011612E-7, 1, 0, 0, 0, 0.98480767, 0.173648626, 0, -0.173648626, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0.3, 0, 0),
  3224. 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),
  3225. 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),
  3226. 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),
  3227. 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)
  3228. }, 0.3, false)
  3229. end
  3230. elseif Character.HumanoidRootPart.Velocity.y < -1 and hit == nil then
  3231. Anim = "Fall"
  3232. if attack == false then
  3233. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  3234. PlayAnimationFromTable({
  3235. 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),
  3236. 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),
  3237. 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),
  3238. 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),
  3239. 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),
  3240. 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)
  3241. }, 0.3, false)
  3242. end
  3243. elseif Torsovelocity < 1 and hit ~= nil then
  3244. Anim = "Idle"
  3245. if attack == false then
  3246. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  3247. PlayAnimationFromTable({
  3248. CFrame.new(0, -0.00190299738, -0.0435779989, 1, 0, 0, 0, 0.996194661, 0.087155968, 0, -0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1, 0),
  3249. CFrame.new(0, 1.49999213, 3.27825546E-7, 1, 0, 0, 0, 0.99619478, 0.0871553123, 0, -0.0871553123, 0.99619478) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1, 0),
  3250. CFrame.new(1.64141297, 0.173907071, -0.107973814, 0.946035922, -0.270955235, 0.177766502, 0.284470022, 0.957103431, -0.055051513, -0.155224428, 0.102649838, 0.982532144) * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0.1, 0),
  3251. CFrame.new(-1.59350157, 0.139536366, -0.107754946, 0.935009062, 0.284010828, -0.212358981, -0.312018842, 0.943447471, -0.11203292, 0.168530986, 0.171011835, 0.970748305) * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0.1, 0),
  3252. CFrame.new(0.602711678, -1.89952374, -0.0967197716, 0.978471398, -0.0562333167, -0.198576227, 0.0853610933, 0.986278713, 0.141314447, 0.187904745, -0.155223012, 0.969844699) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  3253. CFrame.new(-0.619029164, -1.90815639, -0.0860156417, 0.962250412, 0.0410595387, 0.269051194, -0.0841863081, 0.984977186, 0.150772721, -0.258818805, -0.167731494, 0.951251626) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  3254. }, 0.3, false)
  3255. end
  3256. elseif Torsovelocity > 2 and hit ~= nil then
  3257. Anim = "Walk"
  3258. if attack == false then
  3259. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  3260. PlayAnimationFromTable({
  3261. CFrame.new(0, -0.0234659836, -0.171147972, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1, 0),
  3262. CFrame.new(0, 1.49999166, 1.1920929E-7, 1, 0, 0, 0, 0.98480773, -0.173648983, 0, 0.173648953, 0.98480773) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1, 0),
  3263. CFrame.new(1.60905385, 0.122740321, 0.227665678, 0.946036339, -0.320693314, 0.0465966538, 0.284468234, 0.89069742, 0.354595304, -0.155219615, -0.322205007, 0.93385905) * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0.1, 0),
  3264. CFrame.new(-1.55878484, 0.127169654, 0.148623466, 0.93500936, 0.339513272, -0.102411598, -0.312018752, 0.924868107, 0.217401206, 0.168527737, -0.171317667, 0.970695019) * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0.1, 0),
  3265. 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),
  3266. 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)
  3267. }, 0.3, false)
  3268. end
  3269.  
  3270.  
  3271.  
  3272. end
  3273. if 0 < #Effects then
  3274. for e = 1, #Effects do
  3275. if Effects[e] ~= nil then
  3276. local Thing = Effects[e]
  3277. if Thing ~= nil then
  3278. local Part = Thing[1]
  3279. local Mode = Thing[2]
  3280. local Delay = Thing[3]
  3281. local IncX = Thing[4]
  3282. local IncY = Thing[5]
  3283. local IncZ = Thing[6]
  3284. if Thing[2] == "Shoot" then
  3285. local Look = Thing[1]
  3286. local move = 30
  3287. if Thing[8] == 3 then
  3288. move = 10
  3289. end
  3290. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  3291. if Thing[10] ~= nil then
  3292. da = pos
  3293. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  3294. cfa = CFrame.new(Thing[4], pos)
  3295. tehCF = cfa:lerp(cf2, 0.2)
  3296. Thing[1] = tehCF.lookVector
  3297. end
  3298. local mag = (Thing[4] - pos).magnitude
  3299. 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)
  3300. if Thing[8] == 2 then
  3301. 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)
  3302. end
  3303. Thing[4] = Thing[4] + Look * move
  3304. Thing[3] = Thing[3] - 1
  3305. if 2 < Thing[5] then
  3306. Thing[5] = Thing[5] - 0.3
  3307. Thing[6] = Thing[6] - 0.3
  3308. end
  3309. if hit ~= nil then
  3310. Thing[3] = 0
  3311. if Thing[8] == 1 or Thing[8] == 3 then
  3312. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  3313. elseif Thing[8] == 2 then
  3314. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  3315. if hit.Parent:findFirstChild("Humanoid") ~= nil or hit.Parent.Parent:findFirstChild("Humanoid") ~= nil then
  3316. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Lilac"), "Reference", Vector3.new())
  3317. ref.Anchored = true
  3318. ref.CFrame = CFrame.new(pos)
  3319. CFuncs.Sound.Create("161006093", ref, 1, 1.2)
  3320. game:GetService("Debris"):AddItem(ref, 0.2)
  3321. 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)
  3322. 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)
  3323. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  3324. end
  3325. end
  3326. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Lilac"), "Reference", Vector3.new())
  3327. ref.Anchored = true
  3328. ref.CFrame = CFrame.new(pos)
  3329. Effects.Sphere.Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  3330. game:GetService("Debris"):AddItem(ref, 1)
  3331. end
  3332. if Thing[3] <= 0 then
  3333. table.remove(Effects, e)
  3334. end
  3335. end
  3336. if Thing[2] == "FireWave" then
  3337. if Thing[3] <= Thing[4] then
  3338. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  3339. Thing[3] = Thing[3] + 1
  3340. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  3341. else
  3342. Part.Parent = nil
  3343. table.remove(Effects, e)
  3344. end
  3345. end
  3346. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  3347. if Thing[1].Transparency <= 1 then
  3348. if Thing[2] == "Block1" then
  3349. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3350. Mesh = Thing[7]
  3351. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3352. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3353. elseif Thing[2] == "Block2" then
  3354. Thing[1].CFrame = Thing[1].CFrame
  3355. Mesh = Thing[7]
  3356. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3357. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3358. elseif Thing[2] == "Fire" then
  3359. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  3360. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3361. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3362. elseif Thing[2] == "Cylinder" then
  3363. Mesh = Thing[7]
  3364. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3365. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3366. elseif Thing[2] == "Blood" then
  3367. Mesh = Thing[7]
  3368. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  3369. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  3370. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3371. elseif Thing[2] == "Elec" then
  3372. Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9])
  3373. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3374. elseif Thing[2] == "Disappear" then
  3375. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3376. elseif Thing[2] == "Shatter" then
  3377. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3378. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  3379. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  3380. Thing[6] = Thing[6] + Thing[5]
  3381. end
  3382. else
  3383. Part.Parent = nil
  3384. table.remove(Effects, e)
  3385.  
  3386.  
  3387. end
  3388. end
  3389. end
  3390. end
  3391. end
  3392. end
  3393. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement