Advertisement
Guest User

Untitled

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