Advertisement
epicboi

Untitled

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