Advertisement
epicboi

Untitled

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