Advertisement
Guest User

Untitled

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