carlosname

Untitled

Oct 8th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 248.05 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86. local h,t
  87. --Give the server mouse data every second frame, but only if the values changed
  88. --If player is not moving their mouse, client won't fire events
  89. local HB = game:GetService("RunService").Heartbeat
  90. while true do
  91. if h~=Mouse.Hit or t~=Mouse.Target then
  92. h,t=Mouse.Hit,Mouse.Target
  93. Event:FireServer({isMouse=true,Target=t,Hit=h})
  94. end
  95. --Wait 2 frames
  96. for i=1,2 do
  97. HB:Wait()
  98. end
  99. end]==],script)
  100.  
  101. ----Sandboxed game object that allows the usage of client-side methods and services
  102. --Real game object
  103. local RealGame = game
  104.  
  105. --Metatable for fake service
  106. local FakeService_Metatable = {
  107. __index = function(self,k)
  108. local s = rawget(self,"_RealService")
  109. if s then
  110. return typeof(s[k])=="function"
  111. and function(_,...)return s[k](s,...)end or s[k]
  112. end
  113. end,
  114. __newindex = function(self,k,v)
  115. local s = rawget(self,"_RealService")
  116. if s then s[k]=v end
  117. end
  118. }
  119. local function FakeService(t,RealService)
  120. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  121. return setmetatable(t,FakeService_Metatable)
  122. end
  123.  
  124. --Fake game object
  125. local FakeGame = {
  126. GetService = function(self,s)
  127. return rawget(self,s) or RealGame:GetService(s)
  128. end,
  129. Players = FakeService({
  130. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  131. },"Players"),
  132. UserInputService = FakeService(UIS,"UserInputService"),
  133. ContextActionService = FakeService(CAS,"ContextActionService"),
  134. RunService = FakeService({
  135. _btrs = {},
  136. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  137. BindToRenderStep = function(self,name,_,fun)
  138. self._btrs[name] = self.Heartbeat:Connect(fun)
  139. end,
  140. UnbindFromRenderStep = function(self,name)
  141. self._btrs[name]:Disconnect()
  142. end,
  143. },"RunService")
  144. }
  145. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  146. FakeGame.service = FakeGame.GetService
  147. FakeService(FakeGame,game)
  148. --Changing owner to fake player object to support owner:GetMouse()
  149. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  150. end
  151.  
  152. wait(1)--Steamed Stand
  153. print('Killer Queen by slenercat5.')
  154. print('Its e')
  155. plr = game.Players.LocalPlayer
  156. mse = plr:GetMouse()
  157. sound = Instance.new("Sound", game.Workspace)
  158. sound.SoundId = "https://www.roblox.com/asset/?id=274698941"
  159. sound.Volume = 10
  160. canworld = true
  161. BeeSpeed = 100
  162.  
  163. chr=plr.Character
  164. tors=torso
  165.  
  166. for _,v in pairs(plr.Character:GetChildren())do
  167. if v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Accessory') then
  168. v:remove()
  169. end
  170. end
  171. local sh = Instance.new("Shirt",chr)
  172. sh.ShirtTemplate = "http://www.roblox.com/asset/?id=394790364"
  173. p=Instance.new('Pants',chr)
  174. p.PantsTemplate='http://www.roblox.com/asset/?id=394795102'
  175.  
  176. chr['Left Arm'].BrickColor=BrickColor.new('Pastel brown')
  177. chr['Right Arm'].BrickColor=BrickColor.new('Pastel brown')
  178. chr['Torso'].BrickColor=BrickColor.new('Pastel brown')
  179. chr.Head.BrickColor=BrickColor.new('Pastel brown')
  180.  
  181.  
  182.  
  183.  
  184. local Players=game:service'Players'
  185. local Player=Players.LocalPlayer
  186. local Mouse=Player:GetMouse''
  187. local RenderStepped=game:service'RunService'.RenderStepped
  188.  
  189. local MeshId='http://www.roblox.com/asset?id=779592805'
  190. local TextureId='http://www.roblox.com/asset/?id=775493027'
  191.  
  192.  
  193. local QHold=false
  194. local EHold=false
  195.  
  196. cut = Instance.new("Sound", chr)
  197. cut.SoundId = "https://www.roblox.com/asset/?id=0"
  198. cut.Volume = 1.5
  199. thri = Instance.new("Sound", chr)
  200. thri.SoundId = "https://www.roblox.com/asset/?id=186311262"
  201. thri.Volume = 2.5
  202.  
  203.  
  204. Mouse.Button1Down:connect(function()
  205.  
  206. cut:Play()
  207. if Mouse.Target then
  208. if canworld==false or lknives== true then
  209. if SHRA==false then
  210. SHRA=true
  211. local Bee=Instance.new('Part',Player.Character)
  212. Bee.CanCollide=true
  213. Bee.Name='Sheer Heart Attack'
  214. Bee.Size=Vector3.new(3,3,3)
  215. Bee.CFrame=Player.Character.Torso.CFrame
  216. CFuncs.Sound.Create(610470183,Bee,3,1)
  217. g=CFuncs.Sound.Create(155279006,Bee,1,1)
  218. g.Looped=true
  219. local BeeMesh=Instance.new('SpecialMesh',Bee)
  220. BeeMesh.MeshType='FileMesh'
  221. BeeMesh.MeshId=MeshId
  222. BeeMesh.TextureId=TextureId
  223. BeeMesh.Scale=Vector3.new(.1,.1,.1)
  224. local BodyVel=Instance.new('BodyVelocity',Bee)
  225. BodyVel.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  226. local BodyGyro=Instance.new('BodyGyro',Bee)
  227. BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
  228. BodyGyro.P=2e4
  229. coroutine.wrap(function()
  230. RenderStepped:connect(function()
  231. BodyGyro.cframe=CFrame.new(Bee.Position,Mouse.Hit.p)
  232. BodyVel.velocity=Bee.CFrame.lookVector*BeeSpeed
  233. end)
  234. end)()
  235. Bee.Touched:connect(function(p)
  236. if p.Parent~=Player.Character and p.Parent:FindFirstChild'Humanoid'then
  237. p.Parent:BreakJoints()
  238. h=Instance.new('Explosion',p.Parent)
  239. h.Position=p.Position
  240. h.BlastPressure=0
  241.  
  242. thri:Play()
  243. end
  244. end)
  245. end
  246. end
  247. end
  248. end)
  249.  
  250.  
  251. chr.Head.face:remove()
  252. Sound2=Instance.new('Sound')
  253. Sound2.SoundId='rbxassetid://616594063'
  254. Sound2.Parent=Player.Character.Head
  255.  
  256.  
  257. Effects = {}
  258. local Player = game.Players.localPlayer
  259. local Character = Player.Character
  260. Character.Archivable = true
  261. AdvancingFortress = Character:Clone()
  262. Hair=Instance.new('Part',Character)
  263. Hair.Size=Vector3.new(1,1,1)
  264. M=Instance.new('FileMesh',Hair)
  265. M.Scale=Vector3.new(.028,.028,.028)
  266. M.MeshId='rbxassetid://1450916371'
  267. M.TextureId='rbxassetid://1450916523'
  268. WARF=Instance.new('Weld',Hair)
  269. WARF.Part0=Hair
  270. WARF.Part1=Character.Head
  271. WARF.C0=CFrame.new(0,-.2,0)
  272.  
  273. AdvancingFortress.Parent = Character
  274. torso = AdvancingFortress.Torso
  275. hum = AdvancingFortress.Humanoid
  276. AdvancingFortress.Name = "Advancing Fortress"
  277. pl = AdvancingFortress
  278. for i, v in pairs(AdvancingFortress:GetChildren()) do
  279. if v:IsA("BasePart") then
  280. v.Transparency = 1
  281. end
  282. end
  283. local Humanoid = AdvancingFortress.Humanoid
  284. local Mouse = Player:GetMouse()
  285. local LeftArm = AdvancingFortress["Left Arm"]
  286. local RightArm = AdvancingFortress["Right Arm"]
  287. local LeftLeg = AdvancingFortress["Left Leg"]
  288. local RightLeg = AdvancingFortress["Right Leg"]
  289. local Head = AdvancingFortress.Head
  290. local Torso = AdvancingFortress.Torso
  291. local Camera = game.Workspace.CurrentCamera
  292. local RootPart = AdvancingFortress.HumanoidRootPart
  293. local RootJoint = RootPart.RootJoint
  294. local attack = false
  295. local Anim = "Idle"
  296. local attacktype = 1
  297. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  298. local velocity = RootPart.Velocity.y
  299. local sine = 0
  300. local change = 1
  301. local Create = LoadLibrary("RbxUtility").Create
  302. local TimeStop = false
  303. local m = Create("Model")({
  304. Parent = AdvancingFortress,
  305. Name = "WeaponModel"
  306. })
  307. --for _,v in pairs(KQ) do
  308. --v.Transparency=1
  309. --end
  310. KQ={
  311.  
  312. }
  313.  
  314. Bitten={
  315.  
  316. }
  317.  
  318. MASK=Instance.new('Part',AdvancingFortress.WeaponModel)
  319. MASK.BrickColor=BrickColor.new('Light reddish violet')
  320. MASK.CanCollide=false
  321. MASK.CFrame=AdvancingFortress.Head.CFrame
  322. MASK.Transparency=1
  323. Welg=Instance.new('Weld',AdvancingFortress.Head)
  324. Welg.Parent=MASK
  325. Welg.Part0=MASK
  326. Welg.Part1=AdvancingFortress.Head
  327. Welg.C0=CFrame.new(0,-0,-.3)*CFrame.Angles(1.5,0,0)
  328. MH=Instance.new('FileMesh',MASK)
  329. MH.MeshId='rbxassetid://1447967352'
  330. MH.Scale=Vector3.new(.03,.03,.03)
  331. table.insert(KQ,MASK)
  332.  
  333. MASK=Instance.new('Part',AdvancingFortress.WeaponModel)
  334. MASK.CanCollide=false
  335. MASK.BrickColor=BrickColor.new('Really black')
  336. MASK.CFrame=AdvancingFortress['Left Arm'].CFrame
  337. MASK.Transparency=1
  338. Welg=Instance.new('Weld',AdvancingFortress['Left Arm'])
  339. Welg.Parent=MASK
  340. Welg.Part0=MASK
  341. Welg.Part1=AdvancingFortress['Left Arm']
  342. Welg.C0=CFrame.new(0,-0,.55)*CFrame.Angles(1.5,-0.05,0)
  343. MH=Instance.new('FileMesh',MASK)
  344. MH.MeshId='rbxassetid://1447968546'
  345. MH.Scale=Vector3.new(.011,.011,.011)
  346. table.insert(KQ,MASK)
  347.  
  348.  
  349. MASK=Instance.new('Part',AdvancingFortress.WeaponModel)
  350. MASK.CanCollide=false
  351. MASK.BrickColor=BrickColor.new('Lily white')
  352. MASK.CFrame=AdvancingFortress['Left Arm'].CFrame
  353. MASK.Transparency=1
  354. Welg=Instance.new('Weld',AdvancingFortress['Left Arm'])
  355. Welg.Parent=MASK
  356. Welg.Part0=MASK
  357. Welg.Part1=AdvancingFortress['Left Arm']
  358. Welg.C0=CFrame.new(0.1, 0,.55)*CFrame.Angles(1.5,-0.05,0)
  359. MH=Instance.new('FileMesh',MASK)
  360. MH.MeshId='rbxassetid://1447969522'
  361. MH.Scale=Vector3.new(.011,.011,.011)
  362. table.insert(KQ,MASK)
  363.  
  364.  
  365. MASK=Instance.new('Part',AdvancingFortress.WeaponModel)
  366. MASK.CanCollide=false
  367. MASK.BrickColor=BrickColor.new('Lily white')
  368. MASK.CFrame=AdvancingFortress['Right Arm'].CFrame
  369. MASK.Transparency=1
  370. Welg=Instance.new('Weld',AdvancingFortress['Right Arm'])
  371. Welg.Parent=MASK
  372. Welg.Part0=MASK
  373. Welg.Part1=AdvancingFortress['Right Arm']
  374. Welg.C0=CFrame.new(-0.1, 0,.55)*CFrame.Angles(1.55,-0.05,0)
  375. MH=Instance.new('FileMesh',MASK)
  376. MH.MeshId='rbxassetid://1447972041'
  377. MH.Scale=Vector3.new(.011,.011,.011)
  378. table.insert(KQ,MASK)
  379.  
  380.  
  381.  
  382. MASK=Instance.new('Part',AdvancingFortress.WeaponModel)
  383. MASK.CanCollide=false
  384. MASK.BrickColor=BrickColor.new('Really black')
  385. MASK.CFrame=AdvancingFortress['Right Arm'].CFrame
  386. MASK.Transparency=1
  387. Welg=Instance.new('Weld',AdvancingFortress['Right Arm'])
  388. Welg.Parent=MASK
  389. Welg.Part0=MASK
  390. Welg.Part1=AdvancingFortress['Right Arm']
  391. Welg.C0=CFrame.new(-0.01, 0.02,.55)*CFrame.Angles(1.55,0.05,0)
  392. MH=Instance.new('FileMesh',MASK)
  393. MH.MeshId='rbxassetid://1447971167'
  394. MH.Scale=Vector3.new(.021,.021,.021)
  395. table.insert(KQ,MASK)
  396.  
  397.  
  398. MASK=Instance.new('Part',AdvancingFortress.WeaponModel)
  399. MASK.CanCollide=false
  400. MASK.BrickColor=BrickColor.new('Really black')
  401. MASK.CFrame=AdvancingFortress['Right Leg'].CFrame
  402. MASK.Transparency=1
  403. Welg=Instance.new('Weld',AdvancingFortress['Right Leg'])
  404. Welg.Parent=MASK
  405. Welg.Part0=MASK
  406. Welg.Part1=AdvancingFortress['Right Leg']
  407. Welg.C0=CFrame.new(-0.01, 0.02,0)*CFrame.Angles(1.55,0.05,0)
  408. MH=Instance.new('FileMesh',MASK)
  409. MH.MeshId='rbxassetid://1447986233'
  410. MH.Scale=Vector3.new(.011,.011,.011)
  411. table.insert(KQ,MASK)
  412.  
  413. MASK=Instance.new('Part',AdvancingFortress.WeaponModel)
  414. MASK.CanCollide=false
  415. MASK.BrickColor=BrickColor.new('Lily white')
  416. MASK.CFrame=AdvancingFortress['Right Leg'].CFrame
  417. MASK.Transparency=1
  418. Welg=Instance.new('Weld',AdvancingFortress['Right Leg'])
  419. Welg.Parent=MASK
  420. Welg.Part0=MASK
  421. Welg.Part1=AdvancingFortress['Right Leg']
  422. Welg.C0=CFrame.new(-0.01, 0.02,-.7)*CFrame.Angles(1.55,0.05,0)
  423. MH=Instance.new('FileMesh',MASK)
  424. MH.MeshId='rbxassetid://1447987555'
  425. MH.Scale=Vector3.new(.012,.012,.012)
  426. table.insert(KQ,MASK)
  427.  
  428. MASK=Instance.new('Part',AdvancingFortress.WeaponModel)
  429. MASK.CanCollide=false
  430. MASK.BrickColor=BrickColor.new('Really black')
  431. MASK.CFrame=AdvancingFortress['Left Leg'].CFrame
  432. MASK.Transparency=1
  433. Welg=Instance.new('Weld',AdvancingFortress['Left Leg'])
  434. Welg.Parent=MASK
  435. Welg.Part0=MASK
  436. Welg.Part1=AdvancingFortress['Left Leg']
  437. Welg.C0=CFrame.new(-0.01, 0.02,0)*CFrame.Angles(1.6,-0.05,0)
  438. MH=Instance.new('FileMesh',MASK)
  439. MH.MeshId='rbxassetid://1447977647'
  440. MH.Scale=Vector3.new(.011,.011,.011)
  441. table.insert(KQ,MASK)
  442.  
  443. MASK=Instance.new('Part',AdvancingFortress.WeaponModel)
  444. MASK.CanCollide=false
  445. MASK.BrickColor=BrickColor.new('Lily white')
  446. MASK.CFrame=AdvancingFortress['Left Leg'].CFrame
  447. MASK.Transparency=1
  448. Welg=Instance.new('Weld',AdvancingFortress['Left Leg'])
  449. Welg.Parent=MASK
  450. Welg.Part0=MASK
  451. Welg.Part1=AdvancingFortress['Left Leg']
  452. Welg.C0=CFrame.new(-0.01, 0.02,-.7)*CFrame.Angles(1.56,-0.05,0)
  453. MH=Instance.new('FileMesh',MASK)
  454. MH.MeshId='rbxassetid://1447983183'
  455. MH.Scale=Vector3.new(.012,.012,.012)
  456. table.insert(KQ,MASK)
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463. AdvancingFortress.Head.Name = "FHead"
  464. AdvancingFortress.Torso.Name = "FTorso"
  465. AdvancingFortress.FTorso.BrickColor=BrickColor.new('Light reddish violet')
  466.  
  467. AdvancingFortress.HumanoidRootPart.Name = "FHumanoidRootPart"
  468. Humanoid.Animator.Parent = nil
  469. AdvancingFortress.Animate.Parent = nil
  470.  
  471. base = Instance.new("ScreenGui",plr.PlayerGui)
  472. bbg = Instance.new("BillboardGui",plr.Character.Head)
  473. bbg.Size = UDim2.new(0,200,0,50)
  474. bbg.StudsOffset = Vector3.new(0,3,0)
  475.  
  476. bbgTl = Instance.new("TextLabel",bbg)
  477. bbgTl.BackgroundTransparency = 1
  478. bbgTl.Size = UDim2.new(10,0,1,0)
  479. bbgTl.Position = UDim2.new(-4.5,0,0,0)
  480. bbgTl.Font = "Code"
  481. bbgTl.Text = " "
  482. bbgTl.TextSize = 25
  483. bbgTl.TextStrokeColor3 = Color3.new(1,1,1)
  484. bbgTl.TextColor3 = Color3.new(0,0,0)
  485. bbgTl.TextStrokeTransparency = 0
  486. bbgTl.TextWrapped = true
  487.  
  488. function Chat(msg)
  489. if msg=='NANI' then
  490. CFuncs.Sound.Create(948494432, Torso, 1, 1)
  491. end
  492. ff=game.Chat:FilterStringAsync(msg,Player,Player)
  493. bbgTl.Text = ff
  494. wait(1)
  495. if bbgTl.Text == ff then
  496. bbgTl.Text = " "
  497. end
  498. end
  499. lknives=false
  500.  
  501.  
  502. -- Fired when client sends a request to write on the sign
  503. -- Called when button is clicked
  504.  
  505.  
  506. plr.Chatted:connect(function(msg)-- local messageObject = getTextObject(msg, Player.UserId)
  507. Chat(msg)
  508. end)
  509.  
  510.  
  511. local function newMotor(part0, part1, c0, c1)
  512. local w = Create("Weld")({
  513. Parent = part0,
  514. Part0 = part0,
  515. Part1 = part1,
  516. C0 = c0,
  517. C1 = c1
  518. })
  519. return w
  520. end
  521. function clerp(a, b, t)
  522. return a:lerp(b, t)
  523. end
  524. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  525. NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  526. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  527. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  528. local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
  529. local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
  530. RootJoint.C1 = CFrame.new(0, 0, 0)
  531. RootJoint.C0 = CFrame.new(0, 0, 0)
  532. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  533. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  534. local rarmc1 = RW.C1
  535. local larmc1 = LW.C1
  536. local rlegc1 = RH.C1
  537. local llegc1 = LH.C1
  538. local resetc1 = false
  539. function PlayAnimationFromTable(table, speed, bool)
  540. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  541. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  542. RW.C0 = clerp(RW.C0, table[3], speed)
  543. LW.C0 = clerp(LW.C0, table[4], speed)
  544. RH.C0 = clerp(RH.C0, table[5], speed)
  545. LH.C0 = clerp(LH.C0, table[6], speed)
  546. if bool == true and resetc1 == false then
  547. resetc1 = true
  548. RootJoint.C1 = RootJoint.C1
  549. Torso.Neck.C1 = Torso.Neck.C1
  550. RW.C1 = rarmc1
  551. LW.C1 = larmc1
  552. RH.C1 = rlegc1
  553. LH.C1 = llegc1
  554. end
  555. end
  556. ArtificialHB = Create("BindableEvent", script)({Parent = script, Name = "Heartbeat"})
  557. script:WaitForChild("Heartbeat")
  558. frame = 0.03333333333333333
  559. tf = 0
  560. allowframeloss = false
  561. tossremainder = false
  562. lastframe = tick()
  563. script.Heartbeat:Fire()
  564. game:GetService("RunService").Heartbeat:connect(function(s, p)
  565. tf = tf + s
  566. if tf >= frame then
  567. if allowframeloss then
  568. script.Heartbeat:Fire()
  569. lastframe = tick()
  570. else
  571. for i = 1, math.floor(tf / frame) do
  572. script.Heartbeat:Fire()
  573. end
  574. lastframe = tick()
  575. end
  576. if tossremainder then
  577. tf = 0
  578. else
  579. tf = tf - frame * math.floor(tf / frame)
  580. end
  581. end
  582. end)
  583. function swait(num)
  584. if num == 0 or num == nil then
  585. ArtificialHB.Event:wait()
  586. else
  587. for i = 0, num do
  588. ArtificialHB.Event:wait()
  589. end
  590. end
  591. end
  592. function RemoveOutlines(part)
  593. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  594. end
  595. CFuncs = {
  596. Part = {
  597. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  598. local Part = Create("Part")({
  599. Parent = Parent,
  600. Reflectance = Reflectance,
  601. Transparency = Transparency,
  602. CanCollide = false,
  603. Locked = true,
  604. BrickColor = BrickColor.new(tostring(BColor)),
  605. Name = Name,
  606. Size = Size,
  607. Material = Material
  608. })
  609. RemoveOutlines(Part)
  610. return Part
  611. end
  612. },
  613. Mesh = {
  614. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  615. local Msh = Create(Mesh)({
  616. Parent = Part,
  617. Offset = OffSet,
  618. Scale = Scale
  619. })
  620. if Mesh == "SpecialMesh" then
  621. Msh.MeshType = MeshType
  622. Msh.MeshId = MeshId
  623. end
  624. return Msh
  625. end
  626. },
  627. Weld = {
  628. Create = function(Parent, Part0, Part1, C0, C1)
  629. local Weld = Create("Weld")({
  630. Parent = Parent,
  631. Part0 = Part0,
  632. Part1 = Part1,
  633. C0 = C0,
  634. C1 = C1
  635. })
  636. return Weld
  637. end
  638. },
  639. Sound = {
  640. Create = function(id, par, vol, pit)
  641. local Sound = Create("Sound")({
  642. Volume = vol,
  643. Pitch = pit or 1,
  644. SoundId = "rbxassetid://" .. id,
  645. Parent = par or workspace
  646. })
  647. Sound:play()
  648. game:GetService("Debris"):AddItem(Sound, 130)
  649. return Sound
  650. end
  651. },
  652. Decal = {
  653. Create = function(Color, Texture, Transparency, Name, Parent)
  654. local Decal = Create("Decal")({
  655. Color3 = Color,
  656. Texture = "rbxassetid://" .. Texture,
  657. Transparency = Transparency,
  658. Name = Name,
  659. Parent = Parent
  660. })
  661. return Decal
  662. end
  663. },
  664. BillboardGui = {
  665. Create = function(Parent, Image, Position, Size)
  666. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  667. BillPar.CFrame = CFrame.new(Position)
  668. local Bill = Create("BillboardGui")({
  669. Parent = BillPar,
  670. Adornee = BillPar,
  671. Size = UDim2.new(1, 0, 1, 0),
  672. SizeOffset = Vector2.new(Size, Size)
  673. })
  674. local d = Create("ImageLabel", Bill)({
  675. Parent = Bill,
  676. BackgroundTransparency = 1,
  677. Size = UDim2.new(1, 0, 1, 0),
  678. Image = "rbxassetid://" .. Image
  679. })
  680. return BillPar
  681. end
  682. },
  683. ParticleEmitter = {
  684. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  685. local Particle = Create("ParticleEmitter")({
  686. Parent = Parent,
  687. Color = ColorSequence.new(Color1, Color2),
  688. LightEmission = LightEmission,
  689. Size = Size,
  690. Texture = Texture,
  691. Transparency = Transparency,
  692. ZOffset = ZOffset,
  693. Acceleration = Accel,
  694. Drag = Drag,
  695. LockedToPart = LockedToPart,
  696. VelocityInheritance = VelocityInheritance,
  697. EmissionDirection = EmissionDirection,
  698. Enabled = Enabled,
  699. Lifetime = LifeTime,
  700. Rate = Rate,
  701. Rotation = Rotation,
  702. RotSpeed = RotSpeed,
  703. Speed = Speed,
  704. VelocitySpread = VelocitySpread
  705. })
  706. return Particle
  707. end
  708. },
  709. CreateTemplate = {}
  710. }
  711. function rayCast(Position, Direction, Range, Ignore)
  712. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  713. end
  714. function FindNearestTorso(pos)
  715. local list = game.Workspace:children()
  716. local torso
  717. local dist = 1000
  718. local temp, human, temp2
  719. for x = 1, #list do
  720. temp2 = list[x]
  721. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  722. temp = temp2:findFirstChild("Torso")
  723. human = temp2:findFirstChild("Humanoid")
  724. if temp ~= nil and human ~= nil and human.Health > 0 and dist > (temp.Position - pos).magnitude then
  725. local dohit = true
  726. if dohit == true then
  727. torso = temp
  728. dist = (temp.Position - pos).magnitude
  729. end
  730. end
  731. end
  732. end
  733. return torso, dist
  734. end
  735. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  736. if hit.Parent == nil then
  737. return
  738. end
  739. local h = hit.Parent:FindFirstChild("Humanoid")
  740. for _, v in pairs(hit.Parent:children()) do
  741. c=hit.Parent:findFirstChild('HumanoidRootPart')
  742. if v:IsA("Humanoid") then
  743. h = v
  744. if c~=nil then
  745. table.insert(Bitten,h)
  746. end
  747. end
  748. end
  749. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  750. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  751. return
  752. end
  753. local c = Create("ObjectValue")({
  754. Name = "creator",
  755. Value = game:service("Players").LocalPlayer,
  756. Parent = h
  757. })
  758. game:GetService("Debris"):AddItem(c, 0.5)
  759. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  760. local Damage = math.random(minim, maxim)
  761. local blocked = false
  762. local block = hit.Parent:findFirstChild("Block")
  763. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  764. blocked = true
  765. block.Value = block.Value - 1
  766. print(block.Value)
  767. end
  768. if TimeStop == false then
  769. h.Health = h.Health - Damage
  770. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Light reddish violet").Color)
  771. elseif TimeStop == true then
  772. repeat
  773. wait()
  774. until TimeStop == false
  775. h.Health = h.Health - Damage / 2
  776. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Light reddish violet").Color)
  777. end
  778. if Type == "Knockdown" then
  779. local hum = hit.Parent.Humanoid
  780. hum.PlatformStand = true
  781. coroutine.resume(coroutine.create(function(HHumanoid)
  782. swait(1)
  783. HHumanoid.PlatformStand = false
  784. end), hum)
  785. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  786. local bodvol = Create("BodyVelocity")({
  787. velocity = angle * knockback,
  788. P = 5000,
  789. maxForce = Vector3.new(8000, 8000, 8000),
  790. Parent = hit
  791. })
  792. local rl = Create("BodyAngularVelocity")({
  793. P = 3000,
  794. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  795. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  796. Parent = hit
  797. })
  798. game:GetService("Debris"):AddItem(bodvol, 0.5)
  799. game:GetService("Debris"):AddItem(rl, 0.5)
  800. elseif Type == "Normal" then
  801. local vp = Create("BodyVelocity")({
  802. P = 500,
  803. maxForce = Vector3.new(math.huge, 0, math.huge),
  804. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  805. })
  806. if knockback > 0 then
  807. vp.Parent = hit.Parent.Torso
  808. end
  809. game:GetService("Debris"):AddItem(vp, 0.5)
  810. elseif Type == "Up" then
  811. local bodyVelocity = Create("BodyVelocity")({
  812. velocity = Vector3.new(0, 20, 0),
  813. P = 5000,
  814. maxForce = Vector3.new(8000, 8000, 8000),
  815. Parent = hit
  816. })
  817. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  818. elseif Type == "DarkUp" then
  819. coroutine.resume(coroutine.create(function()
  820. for i = 0, 1, 0.1 do
  821. swait()
  822. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  823. end
  824. end))
  825. local bodyVelocity = Create("BodyVelocity")({
  826. velocity = Vector3.new(0, 20, 0),
  827. P = 5000,
  828. maxForce = Vector3.new(8000, 8000, 8000),
  829. Parent = hit
  830. })
  831. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  832. elseif Type == "Snare" then
  833. local bp = Create("BodyPosition")({
  834. P = 2000,
  835. D = 100,
  836. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  837. position = hit.Parent.Torso.Position,
  838. Parent = hit.Parent.Torso
  839. })
  840. game:GetService("Debris"):AddItem(bp, 1)
  841. elseif Type == "Freeze" then
  842. local BodPos = Create("BodyPosition")({
  843. P = 50000,
  844. D = 1000,
  845. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  846. position = hit.Parent.Torso.Position,
  847. Parent = hit.Parent.Torso
  848. })
  849. local BodGy = Create("BodyGyro")({
  850. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  851. P = 20000,
  852. Parent = hit.Parent.Torso,
  853. cframe = hit.Parent.Torso.CFrame
  854. })
  855. hit.Parent.Torso.Anchored = true
  856. coroutine.resume(coroutine.create(function(Part)
  857. swait(1.5)
  858. Part.Anchored = false
  859. end), hit.Parent.Torso)
  860. game:GetService("Debris"):AddItem(BodPos, 3)
  861. game:GetService("Debris"):AddItem(BodGy, 3)
  862. end
  863. local debounce = Create("BoolValue")({
  864. Name = "DebounceHit",
  865. Parent = hit.Parent,
  866. Value = true
  867. })
  868. game:GetService("Debris"):AddItem(debounce, Delay)
  869. c = Create("ObjectValue")({
  870. Name = "creator",
  871. Value = Player,
  872. Parent = h
  873. })
  874. game:GetService("Debris"):AddItem(c, 0.5)
  875. end
  876. end
  877. function ShowDamage(Pos, Text, Time, Color)
  878. local Rate = 0.03333333333333333
  879. local Pos = Pos or Vector3.new(0, 0, 0)
  880. local Text = Text or ""
  881. local Time = Time or 2
  882. local Color = Color or Color3.new(1, 0, 1)
  883. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  884. EffectPart.Anchored = true
  885. local BillboardGui = Create("BillboardGui")({
  886. Size = UDim2.new(3, 0, 3, 0),
  887. Adornee = EffectPart,
  888. Parent = EffectPart
  889. })
  890. local TextLabel = Create("TextLabel")({
  891. BackgroundTransparency = 1,
  892. Size = UDim2.new(1, 0, 1, 0),
  893. Text = Text,
  894. Font = "SciFi",
  895. TextColor3 = Color,
  896. TextScaled = true,
  897. Parent = BillboardGui
  898. })
  899. game.Debris:AddItem(EffectPart, Time)
  900. EffectPart.Parent = game:GetService("Workspace")
  901. delay(0, function()
  902. local Frames = Time / Rate
  903. for Frame = 1, Frames do
  904. wait(Rate)
  905. local Percent = Frame / Frames
  906. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  907. TextLabel.TextTransparency = Percent
  908. end
  909. if EffectPart and EffectPart.Parent then
  910. EffectPart:Destroy()
  911. end
  912. end)
  913. end
  914. local STDamage = false
  915. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  916. for _, c in pairs(workspace:children()) do
  917. local hum = c:findFirstChild("Humanoid")
  918. if hum ~= nil then
  919. local head = c:findFirstChild("Torso")
  920. if head ~= nil then
  921. local targ = head.Position - Part.Position
  922. local mag = targ.magnitude
  923. if Magnitude >= mag and c.Name ~= Player.Name then
  924. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0.1, HitSound, HitPitch)
  925. if STDamage == true then
  926. for i = 1, 3 do
  927. Effects.Block.Create(BrickColor.new("Light reddish violet"), head.CFrame, 1, 1, 1, 4, 4, 4, 0.07, 1)
  928. end
  929. for i = 1, 10 do
  930. CamShake(1, 70000)
  931. Effects.Break.Create(BrickColor.new("Light reddish violet"), head.CFrame, 1, 1, 1)
  932. end
  933. elseif STDamage == false then
  934. CamShake(1, 90000)
  935. Effects.Block.Create(BrickColor.new("Light reddish violet"), head.CFrame, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.07, 1)
  936. for i = 1, 2 do
  937. Effects.Break.Create(BrickColor.new("Light reddish violet"), head.CFrame, 0.4, 0.4, 0.4)
  938. end
  939. end
  940. end
  941. end
  942. end
  943. end
  944. end
  945. --[[
  946. HHandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "HHandle", Vector3.new(1.09999979, 0.299999923, 1.0999999))
  947. 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))
  948. Eye1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "White", "Eye1", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  949. PartWeld = CFuncs.Weld.Create(m, HHandle, Eye1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0381011963, -0.0574798584, 0.471725464, -2.89082527E-6, 0.173647985, -0.984807968, -6.2584877E-7, 0.984808922, 0.173648104, 1.00000012, 1.02902288E-6, -2.77161598E-6))
  950. CFuncs.Mesh.Create("SpecialMesh", Eye1, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  951. Eye2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "White", "Eye2", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  952. PartWeld = CFuncs.Weld.Create(m, HHandle, Eye2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0115432739, -0.0487277508, 0.482452393, -0.981060266, -0.173648134, -0.0858327746, -0.172987267, 0.984808922, -0.0151339322, 0.0871568322, 3.96735317E-7, -0.996194839))
  953. CFuncs.Mesh.Create("SpecialMesh", Eye2, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  954. THandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Medium stone grey", "THandle", Vector3.new(1, 0.799999893, 1))
  955. 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))
  956. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(1.80000019, 0.300000012, 1.80000007))
  957. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.10351563E-5, -1.04342794, -0.404396057, 1, -8.19564079E-8, 5.96046519E-8, -1.01078633E-7, 0.939694166, -0.342019171, 1.52638329E-8, 0.34201926, 0.939693213))
  958. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  959. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.200000003, 1.10000002, 0.300000012))
  960. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.34057617E-5, -0.943422318, -1.35441589, 1, -8.19564079E-8, 5.96046519E-8, -1.01078633E-7, 0.939694166, -0.342019171, 1.52638329E-8, 0.34201926, 0.939693213))
  961. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  962. --]]
  963. AHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "AHandleR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  964. 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))
  965. --[[
  966.  
  967. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998))
  968. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999984741, 0.550004005, 0, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  969. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  970. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.150001526, 0.200003624, -0.359994888, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  971. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  972. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.20000267, 0.359992981, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  973. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005))
  974. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.209899902, -0.809997559, 5.7220459E-6, -1, 8.19564079E-8, -5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, -5.96046519E-8, 1.41561088E-7, -1.00000024))
  975. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998))
  976. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.300003052, 0.650004387, 1.71661377E-5, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  977. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998))
  978. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.650003433, 0, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  979. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041))
  980. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199996948, -0.049996376, -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))
  981. --]]
  982. HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "HitboxR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  983.  
  984. 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))
  985. AHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "AHandleL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
  986. 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))
  987. HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "HitboxL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
  988. 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))
  989. --[[
  990. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  991. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149986267, 0.200001717, -0.360012054, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  992. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041))
  993. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199989319, -0.0499982834, -9.53674316E-6, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  994. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  995. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149986267, 0.200001717, 0.359992981, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  996. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005))
  997. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.21005249, -0.81000042, 2.28881836E-5, -1, -8.19564079E-8, -5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, -5.96046519E-8, -1.41561088E-7, -1.00000024))
  998. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998))
  999. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999984741, 0.550003052, -5.7220459E-6, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  1000. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998))
  1001. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.299995422, 0.650003433, -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))
  1002. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998))
  1003. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.65000248, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  1004. LHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "LHandleR", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  1005. 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))
  1006. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.800000012, 0.800000012, 0.200000003))
  1007. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00498962402, -0.00499916077, -0.604999542, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  1008. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  1009. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.600002289, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  1010. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(1.02999997, 0.699999928, 1.19000006))
  1011. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.454998016, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  1012. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.400000006, 1.20000005, 0.200000003))
  1013. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00499725342, -0.00499916077, -0.604999542, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  1014. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.800000131, 1.20000005, 0.800000012))
  1015. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00499725342, 0.0149993896, 0.00500297546, 2.28095047E-7, 1.00000775, 2.99581131E-7, -1.00000417, 5.63755016E-8, -4.06898749E-7, -2.98379774E-7, 2.07959161E-8, 1.0000037))
  1016. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1017. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1018. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.604999542, -0.504998207, 0.29499054, -2.98023224E-8, -6.70552254E-8, -1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8))
  1019. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1020. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1021. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.60499382, -0.495001793, 0.305000305, -5.96046519E-8, -1.41561088E-7, -1.00000024, -8.19564079E-8, -1.00000119, -1.41561088E-7, -1, -8.19564079E-8, -5.96046519E-8))
  1022. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1023. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1024. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.604999542, -0.495001793, 0.29499054, 2.98023224E-8, 6.70552254E-8, 1.00000012, -3.7252903E-8, -1.0000006, -7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8))
  1025. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1026. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1027. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.604999542, -0.504998207, 0.305000305, 2.98023224E-8, 6.70552254E-8, 1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, -1, -4.47034836E-8, -2.98023224E-8))
  1028. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1029. LHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "LHandleL", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  1030. 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))
  1031. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  1032. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.600001335, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  1033. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.400000006, 1.20000005, 0.300000012))
  1034. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00499725342, -0.00500106812, -0.554998398, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  1035. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(1.02999997, 0.699999928, 1.19000006))
  1036. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.454999924, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  1037. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.800000131, 1.20000005, 0.800000012))
  1038. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00499534607, 0.0149993896, 0.00500297546, 2.28095047E-7, 1.00000775, 2.99581131E-7, -1.00000417, 5.63755016E-8, -4.06898749E-7, -2.98379774E-7, 2.07959161E-8, 1.0000037))
  1039. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1040. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.800000012, 0.800000012, 0.300000012))
  1041. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00498962402, -0.00500106812, -0.554998398, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  1042. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  1043. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.554998398, -0.505000114, 0.305000305, 2.98023224E-8, 6.70552254E-8, 1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, -1, -4.47034836E-8, -2.98023224E-8))
  1044. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1045. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  1046. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.554998398, -0.505000114, 0.29499054, -2.98023224E-8, -6.70552254E-8, -1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8))
  1047. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1048. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  1049. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.554998398, -0.494999886, 0.29499054, 2.98023224E-8, 6.70552254E-8, 1.00000012, -3.7252903E-8, -1.0000006, -7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8))
  1050. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1051. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  1052. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.554998398, -0.494999886, 0.305000305, -5.96046519E-8, -1.41561088E-7, -1.00000024, -8.19564079E-8, -1.00000119, -1.41561088E-7, -1, -8.19564079E-8, -5.96046519E-8))
  1053. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  1054. --]]
  1055. Shield = CFuncs.Part.Create(m, "Neon", 0, 0.5, "Pastle brown", "Part", Vector3.new(9.1, 8.5, 0.2))
  1056. CFuncs.Mesh.Create("SpecialMesh", Shield, "FileMesh", "rbxassetid://708292865", Vector3.new(0, 0, 0), Vector3.new(0.04, 0.04, 0.04))
  1057. Shield.Parent = nil
  1058.  
  1059. EffectModel = Create("Model")({Parent = Character, Name = "Effects"})
  1060. Effects = {
  1061. Block = {
  1062. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1063. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1064. prt.Anchored = true
  1065. prt.CFrame = cframe
  1066. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1067. game:GetService("Debris"):AddItem(prt, 10)
  1068. if Type == 1 or Type == nil then
  1069. table.insert(Effects, {
  1070. prt,
  1071. "Block1",
  1072. delay,
  1073. x3,
  1074. y3,
  1075. z3,
  1076. msh
  1077. })
  1078. elseif Type == 2 then
  1079. table.insert(Effects, {
  1080. prt,
  1081. "Block2",
  1082. delay,
  1083. x3,
  1084. y3,
  1085. z3,
  1086. msh
  1087. })
  1088. end
  1089. end
  1090. },
  1091. Cylinder = {
  1092. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1093. local prt = CFuncs.Part .. Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  1094. prt.Anchored = true
  1095. prt.CFrame = cframe
  1096. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1097. game:GetService("Debris"):AddItem(prt, 2)
  1098. Effects[#Effects + 1] = {
  1099. prt,
  1100. "Cylinder",
  1101. delay,
  1102. x3,
  1103. y3,
  1104. z3
  1105. }
  1106. end
  1107. },
  1108. Head = {
  1109. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1110. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1111. prt.Anchored = true
  1112. prt.CFrame = cframe
  1113. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1114. game:GetService("Debris"):AddItem(prt, 10)
  1115. table.insert(Effects, {
  1116. prt,
  1117. "Cylinder",
  1118. delay,
  1119. x3,
  1120. y3,
  1121. z3,
  1122. msh
  1123. })
  1124. end
  1125. },
  1126. Sphere = {
  1127. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1128. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1129. prt.Anchored = true
  1130. prt.CFrame = cframe
  1131. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1132. game:GetService("Debris"):AddItem(prt, 10)
  1133. table.insert(Effects, {
  1134. prt,
  1135. "Cylinder",
  1136. delay,
  1137. x3,
  1138. y3,
  1139. z3,
  1140. msh
  1141. })
  1142. end
  1143. },
  1144. Sphere2 = {
  1145. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1146. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1147. prt.Anchored = true
  1148. prt.CFrame = cframe
  1149. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1150. game:GetService("Debris"):AddItem(prt, 10)
  1151. table.insert(Effects, {
  1152. prt,
  1153. "Cylinder",
  1154. delay,
  1155. x3,
  1156. y3,
  1157. z3,
  1158. msh
  1159. })
  1160. end
  1161. },
  1162. Elec = {
  1163. Create = function(cff, x, y, z)
  1164. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Light reddish violet"), "Part", Vector3.new(1, 1, 1))
  1165. prt.Anchored = true
  1166. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  1167. prt.CFrame = CFrame.new(prt.Position)
  1168. game:GetService("Debris"):AddItem(prt, 2)
  1169. local xval = math.random() / 2
  1170. local yval = math.random() / 2
  1171. local zval = math.random() / 2
  1172. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  1173. table.insert(Effects, {
  1174. prt,
  1175. "Elec",
  1176. 0.1,
  1177. x,
  1178. y,
  1179. z,
  1180. xval,
  1181. yval,
  1182. zval
  1183. })
  1184. end
  1185. },
  1186. Ring = {
  1187. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1188. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1189. prt.Anchored = true
  1190. prt.CFrame = cframe
  1191. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1192. game:GetService("Debris"):AddItem(prt, 10)
  1193. table.insert(Effects, {
  1194. prt,
  1195. "Cylinder",
  1196. delay,
  1197. x3,
  1198. y3,
  1199. z3,
  1200. msh
  1201. })
  1202. end
  1203. },
  1204. Wave = {
  1205. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1206. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1207. prt.Anchored = true
  1208. prt.CFrame = cframe
  1209. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1210. game:GetService("Debris"):AddItem(prt, 10)
  1211. table.insert(Effects, {
  1212. prt,
  1213. "Cylinder",
  1214. delay,
  1215. x3,
  1216. y3,
  1217. z3,
  1218. msh
  1219. })
  1220. end
  1221. },
  1222. Break = {
  1223. Create = function(brickcolor, cframe, x1, y1, z1)
  1224. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1225. prt.Anchored = true
  1226. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1227. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1228. local num = math.random(10, 50) / 1000
  1229. game:GetService("Debris"):AddItem(prt, 10)
  1230. table.insert(Effects, {
  1231. prt,
  1232. "Shatter",
  1233. num,
  1234. prt.CFrame,
  1235. math.random() - math.random(),
  1236. 0,
  1237. math.random(50, 100) / 100
  1238. })
  1239. end
  1240. },
  1241. Fire = {
  1242. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  1243. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1244. prt.Anchored = true
  1245. prt.CFrame = cframe
  1246. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1247. game:GetService("Debris"):AddItem(prt, 10)
  1248. table.insert(Effects, {
  1249. prt,
  1250. "Fire",
  1251. delay,
  1252. 1,
  1253. 1,
  1254. 1,
  1255. msh
  1256. })
  1257. end
  1258. },
  1259. FireWave = {
  1260. Create = function(brickcolor, cframe, x1, y1, z1)
  1261. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  1262. prt.Anchored = true
  1263. prt.CFrame = cframe
  1264. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1265. local d = Create("Decal")({
  1266. Parent = prt,
  1267. Texture = "rbxassetid://26356434",
  1268. Face = "Top"
  1269. })
  1270. local d = Create("Decal")({
  1271. Parent = prt,
  1272. Texture = "rbxassetid://26356434",
  1273. Face = "Bottom"
  1274. })
  1275. game:GetService("Debris"):AddItem(prt, 10)
  1276. table.insert(Effects, {
  1277. prt,
  1278. "FireWave",
  1279. 1,
  1280. 30,
  1281. math.random(400, 600) / 100,
  1282. msh
  1283. })
  1284. end
  1285. },
  1286. Lightning = {
  1287. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  1288. local magz = (p0 - p1).magnitude
  1289. local curpos = p0
  1290. local trz = {
  1291. -ofs,
  1292. ofs
  1293. }
  1294. for i = 1, tym do
  1295. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  1296. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  1297. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  1298. li.Material = "Neon"
  1299. if tym == i then
  1300. local magz2 = (curpos - p1).magnitude
  1301. li.Size = Vector3.new(th, th, magz2)
  1302. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  1303. table.insert(Effects, {
  1304. li,
  1305. "Disappear",
  1306. last
  1307. })
  1308. else
  1309. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  1310. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  1311. game.Debris:AddItem(li, 10)
  1312. table.insert(Effects, {
  1313. li,
  1314. "Disappear",
  1315. last
  1316. })
  1317. end
  1318. end
  1319. end
  1320. },
  1321. EffectTemplate = {}
  1322. }
  1323. local Invisible = true
  1324. function Reappear()
  1325. for _, i in pairs(AdvancingFortress:children()) do
  1326. if i:IsA("BasePart") then
  1327. coroutine.resume(coroutine.create(function(Part)
  1328. for i = 0, 1, 0.3 do
  1329. swait()
  1330. Part.Transparency = -i
  1331. end
  1332. Part.Transparency = 0
  1333. end), i)
  1334. end
  1335. end
  1336. for _, i in pairs(m:children()) do
  1337. if i:IsA("BasePart") then
  1338. coroutine.resume(coroutine.create(function(Part)
  1339. for i = 0, 1, 0.3 do
  1340. swait()
  1341. Part.Transparency = i
  1342. end
  1343. Part.Transparency = 0
  1344. end), i)
  1345. end
  1346. end
  1347. end
  1348. function ReappearArmorOnly()
  1349. for _, i in pairs(m:children()) do
  1350. if i:IsA("BasePart") then
  1351. coroutine.resume(coroutine.create(function(Part)
  1352. for i = 0, 1, 0.3 do
  1353. swait()
  1354. Part.Transparency = i
  1355. end
  1356. Part.Transparency = 0
  1357. for _,v in pairs(KQ) do
  1358. St=v.Weld.Part1.Name
  1359. if St=='FHead' then
  1360. St='Head'
  1361. end
  1362. v.Weld.Part1=Character[St]
  1363. end
  1364. end), i)
  1365. end
  1366. end
  1367. end
  1368. function Disappear()
  1369. for _, i in pairs(AdvancingFortress:children()) do
  1370. if i:IsA("BasePart") then
  1371. coroutine.resume(coroutine.create(function(Part)
  1372. for i = 0, 1, 0.3 do
  1373. swait()
  1374. Part.Transparency = i
  1375. end
  1376. Part.Transparency = 1
  1377. end), i)
  1378. end
  1379. end
  1380. for _, i in pairs(m:children()) do
  1381. if i:IsA("BasePart") then
  1382. coroutine.resume(coroutine.create(function(Part)
  1383. for i = 0, 1, 0.3 do
  1384. swait()
  1385. Part.Transparency = i
  1386. end
  1387. Part.Transparency = 1
  1388. end), i)
  1389. end
  1390. end
  1391. end
  1392. function DisappearArmorOnly()
  1393. for _, i in pairs(m:children()) do
  1394. if i:IsA("BasePart") then
  1395. coroutine.resume(coroutine.create(function(Part)
  1396. for i = 0, 1, 0.3 do
  1397. swait()
  1398. Part.Transparency = i
  1399. end
  1400. Part.Transparency = 1
  1401. for _,v in pairs(KQ) do
  1402. St=v.Weld.Part1.Name
  1403. if St=='Head' then
  1404. St='FHead'
  1405. end
  1406. v.Weld.Part1=AdvancingFortress[St]
  1407. end
  1408. end), i)
  1409. end
  1410. end
  1411. end
  1412. function CamShake(time, freq)
  1413. coroutine.resume(coroutine.create(function()
  1414. local cam = game:GetService("Workspace").CurrentCamera
  1415. local time = 10
  1416. local seed = Vector3.new(math.random(100, 200) / freq, math.random(100, 200) / freq, 0)
  1417. if math.random(1, 2) == 1 then
  1418. seed = Vector3.new(-seed.x, seed.y, 0)
  1419. end
  1420. if math.random(1, 2) == 1 then
  1421. seed = Vector3.new(seed.x, -seed.y, 0)
  1422. end
  1423. 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)
  1424. for i = 1, time do
  1425. 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)
  1426. wait()
  1427. end
  1428. end))
  1429. end
  1430. local ora = false
  1431. function ORA()
  1432. attack = true
  1433. local S = CFuncs.Sound.Create("", Torso, 3, 1)
  1434. S.Looped = true
  1435. if ora == true then
  1436. while ora == true do
  1437. CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
  1438. MagnitudeDamage(HitboxL, 5, 4, 10, 0, "Normal", "260430117", 1)
  1439. for i = 0, 1, 0.8 do
  1440. swait()
  1441. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  1442. PlayAnimationFromTable({
  1443. 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),
  1444. 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),
  1445. 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),
  1446. 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),
  1447. 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),
  1448. 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)
  1449. }, 0.8, false)
  1450. end
  1451. CFuncs.Sound.Create("200632136", HitboxR, 0.3, math.random(1, 1.2))
  1452. MagnitudeDamage(HitboxR, 5, 4, 10, 0, "Normal", "260430117", 1)
  1453. for i = 0, 1, 0.8 do
  1454. swait()
  1455. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  1456. PlayAnimationFromTable({
  1457. 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),
  1458. 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),
  1459. 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),
  1460. 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),
  1461. 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),
  1462. 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)
  1463. }, 0.8, false)
  1464. end
  1465. CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
  1466. MagnitudeDamage(HitboxL, 5, 4, 10, 0, "Normal", "260430117", 1)
  1467. for i = 0, 1, 0.8 do
  1468. swait()
  1469. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  1470. PlayAnimationFromTable({
  1471. 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),
  1472. 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),
  1473. 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),
  1474. 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),
  1475. 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),
  1476. 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)
  1477. }, 0.8, false)
  1478. end
  1479. CFuncs.Sound.Create("200632136", HitboxR, 0.3, math.random(1, 1.2))
  1480. MagnitudeDamage(HitboxR, 5, 4, 10, 0, "Normal", "260430117", 1)
  1481. for i = 0, 1, 0.8 do
  1482. swait()
  1483. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  1484. PlayAnimationFromTable({
  1485. 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),
  1486. 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),
  1487. 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),
  1488. 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),
  1489. 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),
  1490. 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)
  1491. }, 0.8, false)
  1492. end
  1493. CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
  1494. MagnitudeDamage(HitboxL, 5, 4, 10, 0, "Normal", "260430117", 1)
  1495. end
  1496. end
  1497. S:Stop()
  1498. for i = 0, 1, 0.13 do
  1499. swait()
  1500. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -3), 0.5)
  1501. PlayAnimationFromTable({
  1502. 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),
  1503. 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),
  1504. 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),
  1505. 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),
  1506. 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),
  1507. 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)
  1508. }, 0.2, false)
  1509. end
  1510. CFuncs.Sound.Create("471881954", HitboxR, 1, 1)
  1511. MagnitudeDamage(HitboxR, 7, 10, 15, 50, "Normal", "610359590", 1)
  1512. for i = 0, 1, 0.1 do
  1513. swait()
  1514. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 0.3)
  1515. PlayAnimationFromTable({
  1516. 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),
  1517. 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),
  1518. 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),
  1519. 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),
  1520. 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),
  1521. 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)
  1522. }, 0.6, false)
  1523. end
  1524. attack = false
  1525. end
  1526. function CastleCrusherFist()
  1527. attack = true
  1528. STDamage = true
  1529. for i = 0, 1, 0.1 do
  1530. swait()
  1531. Effects.Block.Create(BrickColor.new("Light reddish violet"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  1532. Effects.Break.Create(BrickColor.new("Light reddish violet"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  1533. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.2)
  1534. PlayAnimationFromTable({
  1535. 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),
  1536. 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),
  1537. 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),
  1538. 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),
  1539. 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),
  1540. 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)
  1541. }, 0.2, false)
  1542. end
  1543. MagnitudeDamage(HitboxR, 10, 50, 80, 100, "Normal", "610359515", 1)
  1544. Effects.Wave.Create(BrickColor.new("Light reddish violet"), 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)
  1545. CFuncs.Sound.Create("471881980", HitboxR, 1, 0.9)
  1546. CFuncs.Sound.Create("471881954", HitboxR, 1, 0.8)
  1547. for i = 0, 1, 0.08 do
  1548. swait()
  1549. Effects.Block.Create(BrickColor.new("Light reddish violet"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  1550. Effects.Break.Create(BrickColor.new("Light reddish violet"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  1551. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 0.3)
  1552. PlayAnimationFromTable({
  1553. 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),
  1554. 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),
  1555. 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),
  1556. 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),
  1557. 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),
  1558. 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)
  1559. }, 0.6, false)
  1560. end
  1561. STDamage = false
  1562. attack = false
  1563. end
  1564. function CastleCrusherFist()
  1565. attack = true
  1566. STDamage = true
  1567. for i = 0, 1, 0.1 do
  1568. swait()
  1569. Effects.Block.Create(BrickColor.new("Light reddish violet"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  1570. Effects.Break.Create(BrickColor.new("Light reddish violet"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  1571. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.5)
  1572. PlayAnimationFromTable({
  1573. 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),
  1574. 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),
  1575. 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),
  1576. 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),
  1577. 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),
  1578. 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)
  1579. }, 0.2, false)
  1580. end
  1581. Effects.Wave.Create(BrickColor.new("Light reddish violet"), 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)
  1582. Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 140
  1583. CFuncs.Sound.Create("471881980", HitboxR, 1, 0.9)
  1584. CFuncs.Sound.Create("471881954", HitboxR, 1, 0.8)
  1585. for i = 0, 1, 0.08 do
  1586. swait()
  1587. MagnitudeDamage(HitboxR, 5, 50, 80, 100, "Normal", "610359515", 1)
  1588. Effects.Block.Create(BrickColor.new("Light reddish violet"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  1589. Effects.Break.Create(BrickColor.new("Light reddish violet"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  1590. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 1)
  1591. PlayAnimationFromTable({
  1592. 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),
  1593. 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),
  1594. 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),
  1595. 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),
  1596. 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),
  1597. 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)
  1598. }, 0.6, false)
  1599. end
  1600. STDamage = false
  1601. attack = false
  1602. end
  1603. function weld5(part0, part1, c0, c1)
  1604. local weeld = Instance.new("Weld", part0)
  1605. weeld.Part0 = part0
  1606. weeld.Part1 = part1
  1607. weeld.C0 = c0
  1608. weeld.C1 = c1
  1609. return weeld
  1610. end
  1611. local Grab = false
  1612. function GRABEMBOIGRABEM()
  1613. attack = true
  1614. gp = nil
  1615. con1 = HitboxR.Touched:connect(function(hit)
  1616. local ht = hit.Parent
  1617. local hum1 = ht:FindFirstChild("Humanoid")
  1618. if Grab == false then
  1619. if hum1 ~= nil and hit.Parent ~= Character then
  1620. hum1.PlatformStand = true
  1621. gp = ht
  1622. Grab = true
  1623. local asd = weld5(RightArm, ht:FindFirstChild("Torso"), CFrame.new(0, -1.5, 0), CFrame.new(0, 0, 0))
  1624. asd.Parent = RightArm
  1625. asd.Name = "asd"
  1626. asd.C0 = asd.C0 * CFrame.Angles(math.rad(-90), 0, 0)
  1627. CFuncs.Sound.Create("200632821", Torso, 1, 1)
  1628. elseif hum1 == nil then
  1629. con1:disconnect()
  1630. wait()
  1631. return
  1632. end
  1633. end
  1634. end)
  1635. for i = 0, 1, 0.2 do
  1636. swait()
  1637. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.3)
  1638. PlayAnimationFromTable({
  1639. CFrame.new(-1.08022243E-4, -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),
  1640. 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),
  1641. 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),
  1642. 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),
  1643. 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),
  1644. 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)
  1645. }, 0.3, false)
  1646. end
  1647. for i = 0, 1, 0.1 do
  1648. swait()
  1649. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -6), 0.3)
  1650. PlayAnimationFromTable({
  1651. 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),
  1652. 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),
  1653. 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),
  1654. 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),
  1655. 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),
  1656. 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)
  1657. }, 0.3, false)
  1658. end
  1659. if Grab == true then
  1660. for i = 1, 5 do
  1661. for i = 0, 1, 0.35 do
  1662. swait()
  1663. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 13, -6), 0.3)
  1664. PlayAnimationFromTable({
  1665. 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),
  1666. 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),
  1667. 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),
  1668. 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),
  1669. 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),
  1670. 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)
  1671. }, 0.4, false)
  1672. end
  1673. for i = 0, 1, 0.3 do
  1674. swait()
  1675. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -6), 0.3)
  1676. PlayAnimationFromTable({
  1677. 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),
  1678. 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),
  1679. 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),
  1680. 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),
  1681. 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),
  1682. 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)
  1683. }, 0.7, false)
  1684. end
  1685. local hit, pos = rayCast(HitboxR.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character)
  1686. if hit ~= nil then
  1687. MagnitudeDamage(HitboxR, 5, 10, 30, 0, "Normal", "610359515", 1.3)
  1688. Effects.Block.Create(BrickColor.new("Light reddish violet"), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09, 1)
  1689. Effects.Wave.Create(BrickColor.new("Light reddish violet"), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09)
  1690. Effects.Sphere.Create(BrickColor.new("Light reddish violet"), CFrame.new(pos), 3, 3, 3, 5, 5, 5, 0.09)
  1691. end
  1692. end
  1693. end
  1694. for i, v in pairs(RightArm:GetChildren()) do
  1695. if v.Name == "asd" and v:IsA("Weld") then
  1696. v:Remove()
  1697. end
  1698. end
  1699. Grab = false
  1700. con1:disconnect()
  1701. attack = false
  1702. end
  1703. local IsWearingArmor = false
  1704. function Armor(Mode)
  1705. attack = true
  1706. if IsWearingArmor == false and Mode == "On" then
  1707. IsWearingArmor = true
  1708. Disappear()
  1709. swait(10)
  1710. ReappearArmorOnly()
  1711. Character.Humanoid.MaxHealth = 500
  1712. Character.Humanoid.Health = 500
  1713. AHandleRWeld.Part0 = Character["Right Arm"]
  1714. AHandleLWeld.Part0 = Character["Left Arm"]
  1715. for i, v in pairs(AdvancingFortress:GetChildren()) do
  1716. if v:IsA("BasePart") then
  1717. v.Transparency = 1
  1718. end
  1719. end
  1720. for i, v in pairs(Character:GetChildren()) do
  1721. if v:IsA("Accessory") then
  1722. v.Handle.Transparency = 1
  1723. end
  1724. end
  1725. elseif IsWearingArmor == true and Mode == "Off" then
  1726. IsWearingArmor = false
  1727. DisappearArmorOnly()
  1728. for i, v in pairs(Character:GetChildren()) do
  1729. if v:IsA("Accessory") then
  1730. v.Handle.Transparency = 0
  1731. end
  1732. end
  1733. swait(10)
  1734. Reappear()
  1735. Character.Humanoid.MaxHealth = 100
  1736. Character.Humanoid.Health = 100
  1737.  
  1738. AHandleRWeld.Part0 = RightArm
  1739. AHandleLWeld.Part0 = LeftArm
  1740.  
  1741. for i, v in pairs(AdvancingFortress:GetChildren()) do
  1742. if v:IsA("BasePart") then
  1743. v.Transparency = 0
  1744. end
  1745. end
  1746. end
  1747. attack = false
  1748. end
  1749. local ShieldMode = false
  1750. local ShieldCharge = false
  1751. function HoloHexShield()
  1752. attack = true
  1753. Shield.Parent = m
  1754. Shield.CanCollide = true
  1755. if ShieldMode == true then
  1756. while ShieldMode == true do
  1757. swait()
  1758. Effects.Elec.Create(Shield.CFrame, 6, 6, 6)
  1759. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  1760. PlayAnimationFromTable({
  1761. 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),
  1762. 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),
  1763. 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),
  1764. 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),
  1765. 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),
  1766. 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)
  1767. }, 0.3, false)
  1768. end
  1769. end
  1770. Shield.CanCollide = false
  1771. CFuncs.Sound.Create("200632211", HitboxR, 1, 0.8)
  1772. CFuncs.Sound.Create("200632875", HitboxR, 1, 0.9)
  1773. Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 160
  1774. Effects.Wave.Create(BrickColor.new("Light reddish violet"), 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)
  1775. for i = 0, 1, 0.05 do
  1776. swait()
  1777. MagnitudeDamage(Shield, 5, 10, 15, 20, "Normal", "610359515", 1.3)
  1778. Effects.Elec.Create(Shield.CFrame, 6, 6, 6)
  1779. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -3), 1)
  1780. PlayAnimationFromTable({
  1781. 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),
  1782. 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),
  1783. 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),
  1784. 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),
  1785. 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),
  1786. 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)
  1787. }, 0.5, false)
  1788. end
  1789. Shield.Parent = nil
  1790. attack = false
  1791. end
  1792. Mouse.Button1Down:connect(function()
  1793. if attack == false and attacktype == 1 then
  1794. attacktype = 2
  1795. attackone()
  1796. elseif attack == false and attacktype == 2 then
  1797. attacktype = 1
  1798. attacktwo()
  1799. end
  1800. end)
  1801. game.Lighting.Outlines = false
  1802. function attackone()
  1803. attack = true
  1804. for i = 0, 1, 0.12 do
  1805. swait()
  1806. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  1807. PlayAnimationFromTable({
  1808. 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),
  1809. 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),
  1810. 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),
  1811. 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),
  1812. 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),
  1813. 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)
  1814. }, 0.3, false)
  1815. end
  1816. MagnitudeDamage(HitboxR, 7, 10, 15, math.random(1, 3), "Normal", "260430079", 1)
  1817. CFuncs.Sound.Create("200632136", HitboxR, 1, 1)
  1818. RootPart.Velocity = RootPart.CFrame.lookVector * 40
  1819. for i = 0, 1, 0.11 do
  1820. swait()
  1821. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  1822. PlayAnimationFromTable({
  1823. 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),
  1824. 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),
  1825. 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),
  1826. 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),
  1827. 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),
  1828. 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)
  1829. }, 0.45, false)
  1830. end
  1831. attack = false
  1832. end
  1833. function attacktwo()
  1834. attack = true
  1835. for i = 0, 1, 0.12 do
  1836. swait()
  1837. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  1838. PlayAnimationFromTable({
  1839. 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),
  1840. 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),
  1841. 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),
  1842. 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),
  1843. 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),
  1844. 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)
  1845. }, 0.34, false)
  1846. end
  1847. MagnitudeDamage(HitboxL, 7, 10, 15, math.random(1, 3), "Normal", "260430079", 1.1)
  1848. CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
  1849. RootPart.Velocity = RootPart.CFrame.lookVector * 40
  1850. for i = 0, 1, 0.12 do
  1851. swait()
  1852. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  1853. PlayAnimationFromTable({
  1854. 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),
  1855. 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),
  1856. 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),
  1857. 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),
  1858. 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),
  1859. 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)
  1860. }, 0.45, false)
  1861. end
  1862. attack = false
  1863. end
  1864. function findNearestTorso(pos)
  1865. local list = game.Workspace:children()
  1866. local torso
  1867. local dist = 1000
  1868. local temp, human, temp2
  1869. for x = 1, #list do
  1870. temp2 = list[x]
  1871. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  1872. temp = temp2:findFirstChild("Torso")
  1873. human = temp2:findFirstChild("Humanoid")
  1874. if temp ~= nil and human ~= nil and human.Health > 0 and dist > (temp.Position - pos).magnitude then
  1875. local dohit = true
  1876. if dohit == true then
  1877. torso = temp
  1878. dist = (temp.Position - pos).magnitude
  1879. end
  1880. end
  1881. end
  1882. end
  1883. return torso, dist
  1884. end
  1885. function TrueAim(aim)
  1886. local target, distance = findNearestTorso(Mouse.Hit.p)
  1887. local tehcf = HitboxR.CFrame * CFrame.fromEulerAnglesXYZ(1.57, 0, 0).lookVector
  1888. if aim ~= nil then
  1889. tehcf = aim
  1890. end
  1891. table.insert(Effects, {
  1892. tehcf,
  1893. "Shoot",
  1894. 30,
  1895. HitboxR.Position,
  1896. 10,
  1897. 15,
  1898. 0,
  1899. 3,
  1900. HitboxR,
  1901. target
  1902. })
  1903. end
  1904. function FireProjectiles()
  1905. attack = true
  1906. Humanoid.WalkSpeed = 20
  1907. CFuncs.Sound.Create("300915902", HitboxR, 1, 0.8)
  1908. for i = 0, 1, 0.1 do
  1909. swait()
  1910. Effects.Elec.Create(HitboxR.CFrame, 2, 2, 2)
  1911. PlayAnimationFromTable({
  1912. CFrame.new(0, -0.100000001, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1913. CFrame.new(0, 1.49999201, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1914. CFrame.new(0.874554753, 1.14087927, -1.06730831, -0.166365892, 0.198266983, 0.965925813, 0.797995508, -0.548363924, 0.250000268, 0.579245627, 0.812396049, -0.0669871047) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1915. CFrame.new(-0.257126778, 1.24225974, -0.962940335, 0.692363203, -0.593008757, -0.411064416, -0.708803177, -0.665577948, -0.233675212, -0.135024026, 0.453151852, -0.88114804) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1916. CFrame.new(0.604643881, -1.9909004, 0.0280392915, 0.962250233, -0.0841861367, -0.258818984, 0.0871560201, 0.996194661, 4.23252061E-7, 0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1917. CFrame.new(-0.604644895, -1.99090064, 0.0280393362, 0.962250233, 0.0841861367, 0.258818984, -0.0871560201, 0.996194661, 4.23252061E-7, -0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1918. }, 0.3, false)
  1919. end
  1920. for i = 0, 1, 0.1 do
  1921. swait()
  1922. Effects.Elec.Create(HitboxR.CFrame, 3, 3, 3)
  1923. Effects.Block.Create(BrickColor.new("Light reddish violet"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1)
  1924. Effects.Sphere2.Create(BrickColor.new("Light reddish violet"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1)
  1925. PlayAnimationFromTable({
  1926. CFrame.new(0, -0.100000001, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1927. CFrame.new(0, 1.49999201, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1928. CFrame.new(0.661153734, 0.568759024, -0.827975571, -0.166752055, 0.025078943, 0.985679924, 0.98324734, -0.0704026297, 0.168131784, 0.0736110285, 0.99720335, -0.012919019) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1929. CFrame.new(-0.390097797, 0.861622274, -0.554995477, 0.351840883, -0.837056041, -0.418981194, -0.935129642, -0.294365793, -0.197183579, 0.0417199843, 0.461178988, -0.886325777) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1930. CFrame.new(0.604644954, -1.9909004, 0.0280390829, 0.962250233, -0.0841861367, -0.258818984, 0.0871560201, 0.996194661, 4.23252061E-7, 0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1931. CFrame.new(-0.604644775, -1.99090064, 0.0280380547, 0.962250233, 0.0841861367, 0.258818984, -0.0871560201, 0.996194661, 4.23252061E-7, -0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1932. }, 0.2, false)
  1933. end
  1934. for i = 1, 10 do
  1935. for i = 0, 1, 0.3 do
  1936. swait()
  1937. Effects.Elec.Create(HitboxR.CFrame, 3, 3, 3)
  1938. Effects.Sphere2.Create(BrickColor.new("Light reddish violet"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1)
  1939. PlayAnimationFromTable({
  1940. CFrame.new(0, -0.100000001, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1941. CFrame.new(0, 1.49999201, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1942. CFrame.new(0.661153734, 0.568759024, -0.827975571, -0.166752055, 0.025078943, 0.985679924, 0.98324734, -0.0704026297, 0.168131784, 0.0736110285, 0.99720335, -0.012919019) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1943. CFrame.new(-0.390097797, 0.861622274, -0.554995477, 0.351840883, -0.837056041, -0.418981194, -0.935129642, -0.294365793, -0.197183579, 0.0417199843, 0.461178988, -0.886325777) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1944. CFrame.new(0.604644954, -1.9909004, 0.0280390829, 0.962250233, -0.0841861367, -0.258818984, 0.0871560201, 0.996194661, 4.23252061E-7, 0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1945. CFrame.new(-0.604644775, -1.99090064, 0.0280380547, 0.962250233, 0.0841861367, 0.258818984, -0.0871560201, 0.996194661, 4.23252061E-7, -0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1946. }, 0.3, false)
  1947. end
  1948. CFuncs.Sound.Create("300916105", HitboxR, 1, 1.2)
  1949. CFuncs.Sound.Create("300916014", HitboxR, 1, 1)
  1950. Effects.Sphere2.Create(BrickColor.new("Light reddish violet"), HitboxR.CFrame, 1, 1, 1, 2, 2, 2, 0.07)
  1951. local MouseLook = CFrame.new((HitboxR.Position + Mouse.Hit.p) / 2, Mouse.Hit.p)
  1952. TrueAim(MouseLook.lookVector)
  1953. for i = 0, 1, 0.3 do
  1954. swait()
  1955. Effects.Elec.Create(HitboxR.CFrame, 3, 3, 3)
  1956. Effects.Sphere2.Create(BrickColor.new("Light reddish violet"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1)
  1957. PlayAnimationFromTable({
  1958. CFrame.new(1.90734863E-6, -0.25291419, 0.238341585, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1959. CFrame.new(0, 1.49999189, -1.1920929E-6, 1, 0, 0, 0, 0.98480767, 0.173648626, 0, -0.173648626, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1960. CFrame.new(0.689965963, 0.767623663, -0.856841147, -0.544456005, 0.160545677, 0.823281765, 0.798456132, -0.201499581, 0.567332089, 0.256973624, 0.966241658, -0.0184810348) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1961. CFrame.new(-0.392649293, 0.920519292, -0.977094412, 0.403439909, -0.887421727, -0.222977459, -0.91384387, -0.378501445, -0.147058249, 0.0461054072, 0.263095737, -0.963667512) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1962. CFrame.new(0.598512471, -1.89166105, 0.0173719227, 0.962250233, -0.061308533, -0.265171409, 0.0871564373, 0.992403805, 0.0868248865, 0.257834017, -0.106658652, 0.960284173) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1963. CFrame.new(-0.598512232, -1.89166129, 0.0173728764, 0.962250233, 0.061308533, 0.265171409, -0.0871564373, 0.992403805, 0.0868248865, -0.257834017, -0.106658652, 0.960284173) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1964. }, 0.3, false)
  1965. end
  1966. end
  1967. Humanoid.WalkSpeed = 20
  1968. attack = false
  1969. end
  1970. SHRA=false
  1971.  
  1972. Check=false
  1973. Mouse.KeyDown:connect(function(k)
  1974. k=k:byte()
  1975. if k==48 then
  1976. for _,v in pairs(Character:GetChildren()) do
  1977. if v.className=='Tool' then
  1978. h=Instance.new('Explosion',Character)
  1979. h.BlastPressure=0
  1980. h.Position=v.Handle.Position
  1981. v:remove()
  1982. end
  1983. end
  1984. end
  1985. end)
  1986.  
  1987.  
  1988.  
  1989. hand=true -- collect hands
  1990. Mouse.KeyDown:connect(function(k)
  1991. k = k:lower()
  1992. if k=='e' then
  1993. CFuncs.Sound.Create(756352322,Torso,5,1)
  1994. for _,v in pairs(Bitten) do
  1995. if v~=nil then
  1996. h=Instance.new('Explosion',v.Parent)
  1997. h.BlastPressure=0
  1998. h.Position=v.Parent.HumanoidRootPart.Position
  1999. v.Health=v.Health-1
  2000. if v.Health==0 and hand==true then
  2001. hand=false
  2002. g=workspace:findFirstChild(v.Parent.Name.."'s hand")
  2003. if g~=nil and g:IsA('Part') then
  2004.  
  2005. else
  2006. G=Instance.new('Part')
  2007. G.CFrame=v.Parent.HumanoidRootPart.CFrame*CFrame.new(0,1,0)
  2008. G.Name=v.Parent.Name.."'s hand"
  2009. G.Parent=workspace
  2010. G.BrickColor=v.Parent['Left Arm'].BrickColor
  2011. G.Size=Vector3.new(2,2,1)
  2012. int=Instance.new('StringValue',G)
  2013. int.Name='A Hand For a Stand'
  2014. int.Value=v.Parent.Name
  2015. M=Instance.new('FileMesh')
  2016. M.Parent=G
  2017. M.Scale=Vector3.new(.5,.5,.5)
  2018. M.MeshId='http://www.roblox.com/asset/?id=32054761'
  2019. cc=Instance.new('ClickDetector',G)
  2020. cc.MouseHoverEnter:connect(function(h)
  2021. if h==Player then
  2022. hand=true
  2023. Tool=Instance.new('Tool',Player.Backpack)
  2024. Tool.Name='Hand'
  2025. Tool.GripPos=Vector3.new(0,0.5,0)
  2026. Tool.GripRight=Vector3.new(-1,0,0)
  2027. Tool.GripUp=Vector3.new(0,0,1)
  2028. Tool.GripForward=Vector3.new(0,-1,0)
  2029. Tool.CanBeDropped=false
  2030. Tool.Name=int.Value.."'s hand"
  2031. Part=Instance.new('Part',Tool)
  2032. Part.BrickColor=cc.Parent.BrickColor
  2033. Part.Name='Handle'
  2034. meko=Instance.new('FileMesh',Part)
  2035. meko.Scale=Vector3.new(.3,.3,.3)
  2036. meko.MeshId='http://www.roblox.com/asset/?id=32054761'
  2037. cc.Parent:remove()
  2038. end
  2039. end)
  2040. end
  2041. end
  2042. end
  2043. end
  2044. Check=true
  2045. wait(.5)
  2046. Check=false
  2047. end
  2048.  
  2049. if k=='r' then
  2050. if lknives==false then
  2051. lknives=true
  2052. Chat('Enabled')
  2053. else lknives=false Chat('Disabled')
  2054.  
  2055. end
  2056. elseif k=='t' then
  2057. for _,v in pairs(Character:GetChildren()) do
  2058. if v.Name=='Sheer Heart Attack' then
  2059. h=Instance.new('Explosion',Character)
  2060. h.BlastPressure=0
  2061. h.Position=v.Position
  2062. h.BlastRadius=15
  2063. v:remove()
  2064. SHRA=false
  2065. end
  2066. end
  2067. end
  2068. -- if k=='e' then
  2069. -- Character.Torso.CFrame=Mouse.Hit*CFrame.new(0,2,0)
  2070. -- J=Instance.new('Sound',Torso)
  2071. -- J.SoundId='rbxassetid://1228181736'
  2072. -- J.Volume=2
  2073. -- J:play()
  2074. -- end
  2075. if attack == false and ora == false and k == "z" and IsWearingArmor == false and Invisible == false then
  2076. ora = true
  2077. ORA()
  2078. elseif attack == false and k == "x" and IsWearingArmor == false and Invisible == false then
  2079. GRABEMBOIGRABEM()
  2080. elseif attack == false and k == "q" and IsWearingArmor == false and Invisible == false then
  2081. -- FireProjectiles()--thats lame
  2082. if changeidle==1 then
  2083. changeidle=2
  2084. else changeidle=1
  2085. end
  2086.  
  2087. elseif attack == false and k == "f" and Invisible == false and IsWearingArmor == false then
  2088. Invisible = true
  2089. Effects.Sphere.Create(BrickColor.new("Light reddish violet"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
  2090. Effects.Block.Create(BrickColor.new("Light reddish violet"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1)
  2091. Disappear()
  2092. elseif attack == false and k == "f" and Invisible == true and IsWearingArmor == false then
  2093. Invisible = false
  2094. Effects.Sphere.Create(BrickColor.new("Light reddish violet"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.08)
  2095.  
  2096. for i = 1, 2 do
  2097. Effects.Block.Create(BrickColor.new("Light reddish violet"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1)
  2098. end
  2099. for i = 1, 20 do
  2100. Effects.Break.Create(BrickColor.new("Light reddish violet"), Torso.CFrame, 1, 1, 1)
  2101. end
  2102. Reappear()
  2103. G=Instance.new('Sound',AdvancingFortress.FTorso)
  2104. G.Name='FLEF'
  2105. G.SoundId='rbxassetid://142716851'
  2106. G.Volume=3
  2107. G:Play()
  2108. elseif attack == false and ShieldMode == false and k == "c" and IsWearingArmor == false and Invisible == false then
  2109. ShieldMode = true
  2110. HoloHexShield()
  2111. elseif attack == false and k == "v" and IsWearingArmor == false and Invisible == false then
  2112. CastleCrusherFist()
  2113. end
  2114. if k == "[" and IsWearingArmor == false and Invisible == false then
  2115. Armor("On")
  2116. end
  2117. if k == "]" and IsWearingArmor == true and Invisible == false then
  2118. Armor("Off")
  2119. end
  2120.  
  2121. end)
  2122. Mouse.KeyUp:connect(function(k)
  2123. k = k:lower()
  2124. if attack == true and ora == true and k == "z" and IsWearingArmor == false then
  2125. ora = false
  2126. elseif attack == true and ShieldMode == true and k == "c" and IsWearingArmor == false then
  2127. ShieldMode = false
  2128. end
  2129. end)
  2130. -- coroutine.resume(coroutine.create(function(Part, Part2)
  2131. -- while Part.Parent ~= nil do
  2132. -- swait(math.random(100, 150))
  2133. -- for i = 0, 1, 0.2 do
  2134. -- wait()
  2135. -- Eye1.Mesh.Scale = Vector3.new(1, 0.7 - 1 * i, 1)
  2136. -- Eye2.Mesh.Scale = Vector3.new(1, 0.7 - 1 * i, 1)
  2137. -- end
  2138. -- for i = 0, 1, 0.2 do
  2139. -- swait()
  2140. -- Eye1.Mesh.Scale = Vector3.new(1, 0.7 + 0.3 * i, 1)
  2141. -- Eye2.Mesh.Scale = Vector3.new(1, 0.7 + 0.3 * i, 1)
  2142. -- end
  2143. -- end
  2144. -- end), Eye1, Eye2)
  2145. tfk=CFuncs.Sound.Create(1265445941, AdvancingFortress.FTorso, 1.5, 1)
  2146. tfk.Name='THEME'
  2147. tfk.Looped=true
  2148. changeidle=1
  2149. while true do
  2150.  
  2151. local c=table.getn(Bitten)
  2152. if c>0 and Check==true then
  2153. wait()
  2154. local c=table.getn(Bitten)
  2155. print('Checking')
  2156. for i=1, #Bitten do
  2157. print(i)
  2158. table.remove(Bitten,i)
  2159. end
  2160. end
  2161. --sound stopping instance
  2162. for _,v in pairs(AdvancingFortress.FTorso:GetChildren()) do
  2163. if v.Name=='FLEF' and v.TimePosition>2.5 then
  2164. v:remove()
  2165. end
  2166. end
  2167. swait()
  2168. for i, v in pairs(Character:children()) do
  2169. if v:IsA("Part") and IsWearingArmor == true then
  2170. v.Anchored = false
  2171. end
  2172. end
  2173. for i, v in pairs(AdvancingFortress:GetChildren()) do
  2174. if v:IsA("Part") then
  2175. v.Material = "SmoothPlastic"
  2176. v.CanCollide = false
  2177. elseif v:IsA("Humanoid") then
  2178. v:remove()
  2179. elseif v:IsA("Accessory") then
  2180. v:remove()
  2181. elseif v:IsA("Shirt") then
  2182. v:remove()
  2183. elseif v:IsA("Pants") then
  2184. v:remove()
  2185. elseif v:IsA("Script") or v:IsA("LocalScript") then
  2186. v:remove()
  2187. elseif v:IsA("BodyColors") then
  2188. v:remove()
  2189. end
  2190. end
  2191. AHandleR.Transparency = 1
  2192. AHandleL.Transparency = 1
  2193. RootPart.Transparency = 1
  2194. HitboxR.Transparency = 1
  2195. HitboxL.Transparency = 1
  2196. Head.BrickColor = BrickColor.new("Light reddish violet")
  2197. Torso.BrickColor = BrickColor.new("Light reddish violet")
  2198. RightArm.BrickColor = BrickColor.new("Light reddish violet")
  2199. LeftArm.BrickColor = BrickColor.new("Light reddish violet")
  2200. RightLeg.BrickColor = BrickColor.new("Light reddish violet")
  2201. LeftLeg.BrickColor = BrickColor.new("Light reddish violet")
  2202. RootPart.Anchored = true
  2203. Torsovelocity = (Character.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2204. velocity = Character.HumanoidRootPart.Velocity.y
  2205. sine = sine + change
  2206. Shield.Anchored = true
  2207. Shield.CFrame = Shield.CFrame:lerp(RootPart.CFrame * CFrame.new(0, 0, -3.2), 1)
  2208. local hit, pos = rayCast(Character.HumanoidRootPart.Position, CFrame.new(Character.HumanoidRootPart.Position, Character.HumanoidRootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  2209. if Character.HumanoidRootPart.Velocity.y > 1 and hit == nil then
  2210. Anim = "Jump"
  2211. if attack == false then
  2212. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(-2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  2213. PlayAnimationFromTable({
  2214. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(.5, -1, 0),
  2215. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(1, 1, 0),
  2216. CFrame.new(1.5,0,0) * CFrame.new(-1, 0, -.3) * CFrame.Angles(1.5, 0, -1.5),
  2217. CFrame.new(-1.5,0,0) * CFrame.new(1, 0, -.5) * CFrame.Angles(3, 0, 1),
  2218. CFrame.new(.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2219. CFrame.new(-.5,-2,0) * CFrame.new(0, 0.5, -0.3) * CFrame.Angles(-.5, 0, 0)
  2220. }, 0.3, false)
  2221. end
  2222. elseif Character.HumanoidRootPart.Velocity.y < -1 and hit == nil then
  2223. Anim = "Fall"
  2224. if attack == false then
  2225. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(-2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  2226. PlayAnimationFromTable({
  2227. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(1, -1, 1),
  2228. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-1, 1, 0.5),
  2229. CFrame.new(1.5,0,0) * CFrame.new(-1, 0, -.3) * CFrame.Angles(1.5, 0, -1.5),
  2230. CFrame.new(-1.5,0,0) * CFrame.new(1, 0, -.5) * CFrame.Angles(3, 0, 1),
  2231. CFrame.new(.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2232. CFrame.new(-.5,-2,0) * CFrame.new(0, 0.5, -0.3) * CFrame.Angles(-.5, 0, 0)
  2233. }, 0.3, false)
  2234. end
  2235. elseif Torsovelocity < 1 and hit ~= nil then
  2236. Anim = "Idle"
  2237. if changeidle==1 then
  2238. if attack == false then
  2239. change = 1
  2240. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(-2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  2241. PlayAnimationFromTable({
  2242. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(1, -1, 1),
  2243. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-1, 1, 0.5),
  2244. CFrame.new(1.5,0,0) * CFrame.new(-1.2, 0, -.3) * CFrame.Angles(1.5, 0, -1.5),
  2245. CFrame.new(-1.5,0,0) * CFrame.new(1.5, 0.3, -.5) * CFrame.Angles(3, 0, 1),
  2246. CFrame.new(.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2247. CFrame.new(-.5,-2,0) * CFrame.new(0, 0.5, -0.3) * CFrame.Angles(-.5, 0, 0)
  2248. }, 0.3, false)
  2249. end
  2250. elseif changeidle==2 then
  2251. change = 1
  2252. if not attack then
  2253. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(-2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  2254. PlayAnimationFromTable({
  2255. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2256. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2257. CFrame.new(1.5,0,0) * CFrame.new(-1.5, 0.4, -.5) * CFrame.Angles(3, 0, -1),
  2258. CFrame.new(-1.5,0,0) * CFrame.new(1.5, 0.4, -.5) * CFrame.Angles(3, 0, 1),
  2259. CFrame.new(.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2260. CFrame.new(-.5,-2,0) * CFrame.new(0, 0.5, -0.3) * CFrame.Angles(-.5, 0, 0)
  2261. }, 0.3, false)
  2262. end
  2263. end
  2264. elseif Torsovelocity > 2 and hit ~= nil then
  2265. Anim = "Walk"
  2266. if attack == false then
  2267. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(-2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  2268. PlayAnimationFromTable({
  2269. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-1, -1, 0),
  2270. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(1, 0, 0),
  2271. CFrame.new(1.5,0,0) * CFrame.new(-1, 0, -.3) * CFrame.Angles(1.5, 0, -1.5),
  2272. CFrame.new(-1.5,0,0) * CFrame.new(1, 0, -.5) * CFrame.Angles(3, 0, 1),
  2273. CFrame.new(.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  2274. CFrame.new(-.5,-2,0) * CFrame.new(0, 0.5, -0.3) * CFrame.Angles(-.5, 0, 0)
  2275. }, 0.3, false)
  2276. end
  2277. end
  2278. if 0 < #Effects then
  2279. for e = 1, #Effects do
  2280. if Effects[e] ~= nil then
  2281. local Thing = Effects[e]
  2282. if Thing ~= nil then
  2283. local Part = Thing[1]
  2284. local Mode = Thing[2]
  2285. local Delay = Thing[3]
  2286. local IncX = Thing[4]
  2287. local IncY = Thing[5]
  2288. local IncZ = Thing[6]
  2289. if Thing[2] == "Shoot" then
  2290. local Look = Thing[1]
  2291. local move = 30
  2292. if Thing[8] == 3 then
  2293. move = 10
  2294. end
  2295. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  2296. if Thing[10] ~= nil then
  2297. da = pos
  2298. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  2299. cfa = CFrame.new(Thing[4], pos)
  2300. tehCF = cfa:lerp(cf2, 0.2)
  2301. Thing[1] = tehCF.lookVector
  2302. end
  2303. local mag = (Thing[4] - pos).magnitude
  2304. 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)
  2305. if Thing[8] == 2 then
  2306. 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)
  2307. end
  2308. Thing[4] = Thing[4] + Look * move
  2309. Thing[3] = Thing[3] - 1
  2310. if 2 < Thing[5] then
  2311. Thing[5] = Thing[5] - 0.3
  2312. Thing[6] = Thing[6] - 0.3
  2313. end
  2314. if hit ~= nil then
  2315. Thing[3] = 0
  2316. if Thing[8] == 1 or Thing[8] == 3 then
  2317. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  2318. elseif Thing[8] == 2 then
  2319. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  2320. if hit.Parent:findFirstChild("Humanoid") ~= nil or hit.Parent.Parent:findFirstChild("Humanoid") ~= nil then
  2321. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Light reddish violet"), "Reference", Vector3.new())
  2322. ref.Anchored = true
  2323. ref.CFrame = CFrame.new(pos)
  2324. CFuncs.Sound.Create("161006093", ref, 1, 1.2)
  2325. game:GetService("Debris"):AddItem(ref, 0.2)
  2326. 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)
  2327. 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)
  2328. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  2329. end
  2330. end
  2331. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Light reddish violet"), "Reference", Vector3.new())
  2332. ref.Anchored = true
  2333. ref.CFrame = CFrame.new(pos)
  2334. Effects.Sphere.Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  2335. game:GetService("Debris"):AddItem(ref, 1)
  2336. end
  2337. if Thing[3] <= 0 then
  2338. table.remove(Effects, e)
  2339. end
  2340. end
  2341. if Thing[2] == "FireWave" then
  2342. if Thing[3] <= Thing[4] then
  2343. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  2344. Thing[3] = Thing[3] + 1
  2345. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  2346. else
  2347. Part.Parent = nil
  2348. table.remove(Effects, e)
  2349. end
  2350. end
  2351. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  2352. if Thing[1].Transparency <= 1 then
  2353. if Thing[2] == "Block1" then
  2354. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2355. Mesh = Thing[7]
  2356. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2357. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2358. elseif Thing[2] == "Block2" then
  2359. Thing[1].CFrame = Thing[1].CFrame
  2360. Mesh = Thing[7]
  2361. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2362. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2363. elseif Thing[2] == "Fire" then
  2364. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  2365. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2366. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2367. elseif Thing[2] == "Cylinder" then
  2368. Mesh = Thing[7]
  2369. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2370. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2371. elseif Thing[2] == "Blood" then
  2372. Mesh = Thing[7]
  2373. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  2374. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2375. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2376. elseif Thing[2] == "Elec" then
  2377. Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9])
  2378. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2379. elseif Thing[2] == "Disappear" then
  2380. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2381. elseif Thing[2] == "Shatter" then
  2382. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2383. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2384. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2385. Thing[6] = Thing[6] + Thing[5]
  2386. end
  2387. else
  2388. Part.Parent = nil
  2389. table.remove(Effects, e)
  2390. end
  2391. end
  2392. end
  2393. end
  2394. end
  2395. end
  2396. end wait(1)--Steamed Stand
  2397. print('Killer Queen by slenercat5.')
  2398. print('Its e')
  2399. plr = game.Players.LocalPlayer
  2400. mse = plr:GetMouse()
  2401. sound = Instance.new("Sound", game.Workspace)
  2402. sound.SoundId = "https://www.roblox.com/asset/?id=274698941"
  2403. sound.Volume = 10
  2404. canworld = true
  2405. BeeSpeed = 100
  2406.  
  2407. chr=plr.Character
  2408. tors=torso
  2409.  
  2410. for _,v in pairs(plr.Character:GetChildren())do
  2411. if v:IsA('Shirt') or v:IsA('Pants') or v:IsA('Accessory') then
  2412. v:remove()
  2413. end
  2414. end
  2415. local sh = Instance.new("Shirt",chr)
  2416. sh.ShirtTemplate = "http://www.roblox.com/asset/?id=394790364"
  2417. p=Instance.new('Pants',chr)
  2418. p.PantsTemplate='http://www.roblox.com/asset/?id=394795102'
  2419.  
  2420. chr['Left Arm'].BrickColor=BrickColor.new('Pastel brown')
  2421. chr['Right Arm'].BrickColor=BrickColor.new('Pastel brown')
  2422. chr['Torso'].BrickColor=BrickColor.new('Pastel brown')
  2423. chr.Head.BrickColor=BrickColor.new('Pastel brown')
  2424.  
  2425.  
  2426.  
  2427.  
  2428. local Players=game:service'Players'
  2429. local Player=Players.LocalPlayer
  2430. local Mouse=Player:GetMouse''
  2431. local RenderStepped=game:service'RunService'.RenderStepped
  2432.  
  2433. local MeshId='http://www.roblox.com/asset?id=779592805'
  2434. local TextureId='http://www.roblox.com/asset/?id=775493027'
  2435.  
  2436.  
  2437. local QHold=false
  2438. local EHold=false
  2439.  
  2440. cut = Instance.new("Sound", chr)
  2441. cut.SoundId = "https://www.roblox.com/asset/?id=0"
  2442. cut.Volume = 1.5
  2443. thri = Instance.new("Sound", chr)
  2444. thri.SoundId = "https://www.roblox.com/asset/?id=186311262"
  2445. thri.Volume = 2.5
  2446.  
  2447.  
  2448. Mouse.Button1Down:connect(function()
  2449.  
  2450. cut:Play()
  2451. if Mouse.Target then
  2452. if canworld==false or lknives== true then
  2453. if SHRA==false then
  2454. SHRA=true
  2455. local Bee=Instance.new('Part',Player.Character)
  2456. Bee.CanCollide=true
  2457. Bee.Name='Sheer Heart Attack'
  2458. Bee.Size=Vector3.new(3,3,3)
  2459. Bee.CFrame=Player.Character.Torso.CFrame
  2460. CFuncs.Sound.Create(610470183,Bee,3,1)
  2461. g=CFuncs.Sound.Create(155279006,Bee,1,1)
  2462. g.Looped=true
  2463. local BeeMesh=Instance.new('SpecialMesh',Bee)
  2464. BeeMesh.MeshType='FileMesh'
  2465. BeeMesh.MeshId=MeshId
  2466. BeeMesh.TextureId=TextureId
  2467. BeeMesh.Scale=Vector3.new(.1,.1,.1)
  2468. local BodyVel=Instance.new('BodyVelocity',Bee)
  2469. BodyVel.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  2470. local BodyGyro=Instance.new('BodyGyro',Bee)
  2471. BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
  2472. BodyGyro.P=2e4
  2473. coroutine.wrap(function()
  2474. RenderStepped:connect(function()
  2475. BodyGyro.cframe=CFrame.new(Bee.Position,Mouse.Hit.p)
  2476. BodyVel.velocity=Bee.CFrame.lookVector*BeeSpeed
  2477. end)
  2478. end)()
  2479. Bee.Touched:connect(function(p)
  2480. if p.Parent~=Player.Character and p.Parent:FindFirstChild'Humanoid'then
  2481. p.Parent:BreakJoints()
  2482. h=Instance.new('Explosion',p.Parent)
  2483. h.Position=p.Position
  2484. h.BlastPressure=0
  2485.  
  2486. thri:Play()
  2487. end
  2488. end)
  2489. end
  2490. end
  2491. end
  2492. end)
  2493.  
  2494.  
  2495. chr.Head.face:remove()
  2496. Sound2=Instance.new('Sound')
  2497. Sound2.SoundId='rbxassetid://616594063'
  2498. Sound2.Parent=Player.Character.Head
  2499.  
  2500.  
  2501. Effects = {}
  2502. local Player = game.Players.localPlayer
  2503. local Character = Player.Character
  2504. Character.Archivable = true
  2505. AdvancingFortress = Character:Clone()
  2506. Hair=Instance.new('Part',Character)
  2507. Hair.Size=Vector3.new(1,1,1)
  2508. M=Instance.new('FileMesh',Hair)
  2509. M.Scale=Vector3.new(.028,.028,.028)
  2510. M.MeshId='rbxassetid://1450916371'
  2511. M.TextureId='rbxassetid://1450916523'
  2512. WARF=Instance.new('Weld',Hair)
  2513. WARF.Part0=Hair
  2514. WARF.Part1=Character.Head
  2515. WARF.C0=CFrame.new(0,-.2,0)
  2516.  
  2517. AdvancingFortress.Parent = Character
  2518. torso = AdvancingFortress.Torso
  2519. hum = AdvancingFortress.Humanoid
  2520. AdvancingFortress.Name = "Advancing Fortress"
  2521. pl = AdvancingFortress
  2522. for i, v in pairs(AdvancingFortress:GetChildren()) do
  2523. if v:IsA("BasePart") then
  2524. v.Transparency = 1
  2525. end
  2526. end
  2527. local Humanoid = AdvancingFortress.Humanoid
  2528. local Mouse = Player:GetMouse()
  2529. local LeftArm = AdvancingFortress["Left Arm"]
  2530. local RightArm = AdvancingFortress["Right Arm"]
  2531. local LeftLeg = AdvancingFortress["Left Leg"]
  2532. local RightLeg = AdvancingFortress["Right Leg"]
  2533. local Head = AdvancingFortress.Head
  2534. local Torso = AdvancingFortress.Torso
  2535. local Camera = game.Workspace.CurrentCamera
  2536. local RootPart = AdvancingFortress.HumanoidRootPart
  2537. local RootJoint = RootPart.RootJoint
  2538. local attack = false
  2539. local Anim = "Idle"
  2540. local attacktype = 1
  2541. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2542. local velocity = RootPart.Velocity.y
  2543. local sine = 0
  2544. local change = 1
  2545. local Create = LoadLibrary("RbxUtility").Create
  2546. local TimeStop = false
  2547. local m = Create("Model")({
  2548. Parent = AdvancingFortress,
  2549. Name = "WeaponModel"
  2550. })
  2551. --for _,v in pairs(KQ) do
  2552. --v.Transparency=1
  2553. --end
  2554. KQ={
  2555.  
  2556. }
  2557.  
  2558. Bitten={
  2559.  
  2560. }
  2561.  
  2562. MASK=Instance.new('Part',AdvancingFortress.WeaponModel)
  2563. MASK.BrickColor=BrickColor.new('Light reddish violet')
  2564. MASK.CanCollide=false
  2565. MASK.CFrame=AdvancingFortress.Head.CFrame
  2566. MASK.Transparency=1
  2567. Welg=Instance.new('Weld',AdvancingFortress.Head)
  2568. Welg.Parent=MASK
  2569. Welg.Part0=MASK
  2570. Welg.Part1=AdvancingFortress.Head
  2571. Welg.C0=CFrame.new(0,-0,-.3)*CFrame.Angles(1.5,0,0)
  2572. MH=Instance.new('FileMesh',MASK)
  2573. MH.MeshId='rbxassetid://1447967352'
  2574. MH.Scale=Vector3.new(.03,.03,.03)
  2575. table.insert(KQ,MASK)
  2576.  
  2577. MASK=Instance.new('Part',AdvancingFortress.WeaponModel)
  2578. MASK.CanCollide=false
  2579. MASK.BrickColor=BrickColor.new('Really black')
  2580. MASK.CFrame=AdvancingFortress['Left Arm'].CFrame
  2581. MASK.Transparency=1
  2582. Welg=Instance.new('Weld',AdvancingFortress['Left Arm'])
  2583. Welg.Parent=MASK
  2584. Welg.Part0=MASK
  2585. Welg.Part1=AdvancingFortress['Left Arm']
  2586. Welg.C0=CFrame.new(0,-0,.55)*CFrame.Angles(1.5,-0.05,0)
  2587. MH=Instance.new('FileMesh',MASK)
  2588. MH.MeshId='rbxassetid://1447968546'
  2589. MH.Scale=Vector3.new(.011,.011,.011)
  2590. table.insert(KQ,MASK)
  2591.  
  2592.  
  2593. MASK=Instance.new('Part',AdvancingFortress.WeaponModel)
  2594. MASK.CanCollide=false
  2595. MASK.BrickColor=BrickColor.new('Lily white')
  2596. MASK.CFrame=AdvancingFortress['Left Arm'].CFrame
  2597. MASK.Transparency=1
  2598. Welg=Instance.new('Weld',AdvancingFortress['Left Arm'])
  2599. Welg.Parent=MASK
  2600. Welg.Part0=MASK
  2601. Welg.Part1=AdvancingFortress['Left Arm']
  2602. Welg.C0=CFrame.new(0.1, 0,.55)*CFrame.Angles(1.5,-0.05,0)
  2603. MH=Instance.new('FileMesh',MASK)
  2604. MH.MeshId='rbxassetid://1447969522'
  2605. MH.Scale=Vector3.new(.011,.011,.011)
  2606. table.insert(KQ,MASK)
  2607.  
  2608.  
  2609. MASK=Instance.new('Part',AdvancingFortress.WeaponModel)
  2610. MASK.CanCollide=false
  2611. MASK.BrickColor=BrickColor.new('Lily white')
  2612. MASK.CFrame=AdvancingFortress['Right Arm'].CFrame
  2613. MASK.Transparency=1
  2614. Welg=Instance.new('Weld',AdvancingFortress['Right Arm'])
  2615. Welg.Parent=MASK
  2616. Welg.Part0=MASK
  2617. Welg.Part1=AdvancingFortress['Right Arm']
  2618. Welg.C0=CFrame.new(-0.1, 0,.55)*CFrame.Angles(1.55,-0.05,0)
  2619. MH=Instance.new('FileMesh',MASK)
  2620. MH.MeshId='rbxassetid://1447972041'
  2621. MH.Scale=Vector3.new(.011,.011,.011)
  2622. table.insert(KQ,MASK)
  2623.  
  2624.  
  2625.  
  2626. MASK=Instance.new('Part',AdvancingFortress.WeaponModel)
  2627. MASK.CanCollide=false
  2628. MASK.BrickColor=BrickColor.new('Really black')
  2629. MASK.CFrame=AdvancingFortress['Right Arm'].CFrame
  2630. MASK.Transparency=1
  2631. Welg=Instance.new('Weld',AdvancingFortress['Right Arm'])
  2632. Welg.Parent=MASK
  2633. Welg.Part0=MASK
  2634. Welg.Part1=AdvancingFortress['Right Arm']
  2635. Welg.C0=CFrame.new(-0.01, 0.02,.55)*CFrame.Angles(1.55,0.05,0)
  2636. MH=Instance.new('FileMesh',MASK)
  2637. MH.MeshId='rbxassetid://1447971167'
  2638. MH.Scale=Vector3.new(.021,.021,.021)
  2639. table.insert(KQ,MASK)
  2640.  
  2641.  
  2642. MASK=Instance.new('Part',AdvancingFortress.WeaponModel)
  2643. MASK.CanCollide=false
  2644. MASK.BrickColor=BrickColor.new('Really black')
  2645. MASK.CFrame=AdvancingFortress['Right Leg'].CFrame
  2646. MASK.Transparency=1
  2647. Welg=Instance.new('Weld',AdvancingFortress['Right Leg'])
  2648. Welg.Parent=MASK
  2649. Welg.Part0=MASK
  2650. Welg.Part1=AdvancingFortress['Right Leg']
  2651. Welg.C0=CFrame.new(-0.01, 0.02,0)*CFrame.Angles(1.55,0.05,0)
  2652. MH=Instance.new('FileMesh',MASK)
  2653. MH.MeshId='rbxassetid://1447986233'
  2654. MH.Scale=Vector3.new(.011,.011,.011)
  2655. table.insert(KQ,MASK)
  2656.  
  2657. MASK=Instance.new('Part',AdvancingFortress.WeaponModel)
  2658. MASK.CanCollide=false
  2659. MASK.BrickColor=BrickColor.new('Lily white')
  2660. MASK.CFrame=AdvancingFortress['Right Leg'].CFrame
  2661. MASK.Transparency=1
  2662. Welg=Instance.new('Weld',AdvancingFortress['Right Leg'])
  2663. Welg.Parent=MASK
  2664. Welg.Part0=MASK
  2665. Welg.Part1=AdvancingFortress['Right Leg']
  2666. Welg.C0=CFrame.new(-0.01, 0.02,-.7)*CFrame.Angles(1.55,0.05,0)
  2667. MH=Instance.new('FileMesh',MASK)
  2668. MH.MeshId='rbxassetid://1447987555'
  2669. MH.Scale=Vector3.new(.012,.012,.012)
  2670. table.insert(KQ,MASK)
  2671.  
  2672. MASK=Instance.new('Part',AdvancingFortress.WeaponModel)
  2673. MASK.CanCollide=false
  2674. MASK.BrickColor=BrickColor.new('Really black')
  2675. MASK.CFrame=AdvancingFortress['Left Leg'].CFrame
  2676. MASK.Transparency=1
  2677. Welg=Instance.new('Weld',AdvancingFortress['Left Leg'])
  2678. Welg.Parent=MASK
  2679. Welg.Part0=MASK
  2680. Welg.Part1=AdvancingFortress['Left Leg']
  2681. Welg.C0=CFrame.new(-0.01, 0.02,0)*CFrame.Angles(1.6,-0.05,0)
  2682. MH=Instance.new('FileMesh',MASK)
  2683. MH.MeshId='rbxassetid://1447977647'
  2684. MH.Scale=Vector3.new(.011,.011,.011)
  2685. table.insert(KQ,MASK)
  2686.  
  2687. MASK=Instance.new('Part',AdvancingFortress.WeaponModel)
  2688. MASK.CanCollide=false
  2689. MASK.BrickColor=BrickColor.new('Lily white')
  2690. MASK.CFrame=AdvancingFortress['Left Leg'].CFrame
  2691. MASK.Transparency=1
  2692. Welg=Instance.new('Weld',AdvancingFortress['Left Leg'])
  2693. Welg.Parent=MASK
  2694. Welg.Part0=MASK
  2695. Welg.Part1=AdvancingFortress['Left Leg']
  2696. Welg.C0=CFrame.new(-0.01, 0.02,-.7)*CFrame.Angles(1.56,-0.05,0)
  2697. MH=Instance.new('FileMesh',MASK)
  2698. MH.MeshId='rbxassetid://1447983183'
  2699. MH.Scale=Vector3.new(.012,.012,.012)
  2700. table.insert(KQ,MASK)
  2701.  
  2702.  
  2703.  
  2704.  
  2705.  
  2706.  
  2707. AdvancingFortress.Head.Name = "FHead"
  2708. AdvancingFortress.Torso.Name = "FTorso"
  2709. AdvancingFortress.FTorso.BrickColor=BrickColor.new('Light reddish violet')
  2710.  
  2711. AdvancingFortress.HumanoidRootPart.Name = "FHumanoidRootPart"
  2712. Humanoid.Animator.Parent = nil
  2713. AdvancingFortress.Animate.Parent = nil
  2714.  
  2715. base = Instance.new("ScreenGui",plr.PlayerGui)
  2716. bbg = Instance.new("BillboardGui",plr.Character.Head)
  2717. bbg.Size = UDim2.new(0,200,0,50)
  2718. bbg.StudsOffset = Vector3.new(0,3,0)
  2719.  
  2720. bbgTl = Instance.new("TextLabel",bbg)
  2721. bbgTl.BackgroundTransparency = 1
  2722. bbgTl.Size = UDim2.new(10,0,1,0)
  2723. bbgTl.Position = UDim2.new(-4.5,0,0,0)
  2724. bbgTl.Font = "Code"
  2725. bbgTl.Text = " "
  2726. bbgTl.TextSize = 25
  2727. bbgTl.TextStrokeColor3 = Color3.new(1,1,1)
  2728. bbgTl.TextColor3 = Color3.new(0,0,0)
  2729. bbgTl.TextStrokeTransparency = 0
  2730. bbgTl.TextWrapped = true
  2731.  
  2732. function Chat(msg)
  2733. if msg=='NANI' then
  2734. CFuncs.Sound.Create(948494432, Torso, 1, 1)
  2735. end
  2736. ff=game.Chat:FilterStringAsync(msg,Player,Player)
  2737. bbgTl.Text = ff
  2738. wait(1)
  2739. if bbgTl.Text == ff then
  2740. bbgTl.Text = " "
  2741. end
  2742. end
  2743. lknives=false
  2744.  
  2745.  
  2746. -- Fired when client sends a request to write on the sign
  2747. -- Called when button is clicked
  2748.  
  2749.  
  2750. plr.Chatted:connect(function(msg)-- local messageObject = getTextObject(msg, Player.UserId)
  2751. Chat(msg)
  2752. end)
  2753.  
  2754.  
  2755. local function newMotor(part0, part1, c0, c1)
  2756. local w = Create("Weld")({
  2757. Parent = part0,
  2758. Part0 = part0,
  2759. Part1 = part1,
  2760. C0 = c0,
  2761. C1 = c1
  2762. })
  2763. return w
  2764. end
  2765. function clerp(a, b, t)
  2766. return a:lerp(b, t)
  2767. end
  2768. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  2769. NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  2770. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  2771. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  2772. local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
  2773. local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
  2774. RootJoint.C1 = CFrame.new(0, 0, 0)
  2775. RootJoint.C0 = CFrame.new(0, 0, 0)
  2776. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  2777. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  2778. local rarmc1 = RW.C1
  2779. local larmc1 = LW.C1
  2780. local rlegc1 = RH.C1
  2781. local llegc1 = LH.C1
  2782. local resetc1 = false
  2783. function PlayAnimationFromTable(table, speed, bool)
  2784. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  2785. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  2786. RW.C0 = clerp(RW.C0, table[3], speed)
  2787. LW.C0 = clerp(LW.C0, table[4], speed)
  2788. RH.C0 = clerp(RH.C0, table[5], speed)
  2789. LH.C0 = clerp(LH.C0, table[6], speed)
  2790. if bool == true and resetc1 == false then
  2791. resetc1 = true
  2792. RootJoint.C1 = RootJoint.C1
  2793. Torso.Neck.C1 = Torso.Neck.C1
  2794. RW.C1 = rarmc1
  2795. LW.C1 = larmc1
  2796. RH.C1 = rlegc1
  2797. LH.C1 = llegc1
  2798. end
  2799. end
  2800. ArtificialHB = Create("BindableEvent", script)({Parent = script, Name = "Heartbeat"})
  2801. script:WaitForChild("Heartbeat")
  2802. frame = 0.03333333333333333
  2803. tf = 0
  2804. allowframeloss = false
  2805. tossremainder = false
  2806. lastframe = tick()
  2807. script.Heartbeat:Fire()
  2808. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2809. tf = tf + s
  2810. if tf >= frame then
  2811. if allowframeloss then
  2812. script.Heartbeat:Fire()
  2813. lastframe = tick()
  2814. else
  2815. for i = 1, math.floor(tf / frame) do
  2816. script.Heartbeat:Fire()
  2817. end
  2818. lastframe = tick()
  2819. end
  2820. if tossremainder then
  2821. tf = 0
  2822. else
  2823. tf = tf - frame * math.floor(tf / frame)
  2824. end
  2825. end
  2826. end)
  2827. function swait(num)
  2828. if num == 0 or num == nil then
  2829. ArtificialHB.Event:wait()
  2830. else
  2831. for i = 0, num do
  2832. ArtificialHB.Event:wait()
  2833. end
  2834. end
  2835. end
  2836. function RemoveOutlines(part)
  2837. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  2838. end
  2839. CFuncs = {
  2840. Part = {
  2841. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2842. local Part = Create("Part")({
  2843. Parent = Parent,
  2844. Reflectance = Reflectance,
  2845. Transparency = Transparency,
  2846. CanCollide = false,
  2847. Locked = true,
  2848. BrickColor = BrickColor.new(tostring(BColor)),
  2849. Name = Name,
  2850. Size = Size,
  2851. Material = Material
  2852. })
  2853. RemoveOutlines(Part)
  2854. return Part
  2855. end
  2856. },
  2857. Mesh = {
  2858. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2859. local Msh = Create(Mesh)({
  2860. Parent = Part,
  2861. Offset = OffSet,
  2862. Scale = Scale
  2863. })
  2864. if Mesh == "SpecialMesh" then
  2865. Msh.MeshType = MeshType
  2866. Msh.MeshId = MeshId
  2867. end
  2868. return Msh
  2869. end
  2870. },
  2871. Weld = {
  2872. Create = function(Parent, Part0, Part1, C0, C1)
  2873. local Weld = Create("Weld")({
  2874. Parent = Parent,
  2875. Part0 = Part0,
  2876. Part1 = Part1,
  2877. C0 = C0,
  2878. C1 = C1
  2879. })
  2880. return Weld
  2881. end
  2882. },
  2883. Sound = {
  2884. Create = function(id, par, vol, pit)
  2885. local Sound = Create("Sound")({
  2886. Volume = vol,
  2887. Pitch = pit or 1,
  2888. SoundId = "rbxassetid://" .. id,
  2889. Parent = par or workspace
  2890. })
  2891. Sound:play()
  2892. game:GetService("Debris"):AddItem(Sound, 130)
  2893. return Sound
  2894. end
  2895. },
  2896. Decal = {
  2897. Create = function(Color, Texture, Transparency, Name, Parent)
  2898. local Decal = Create("Decal")({
  2899. Color3 = Color,
  2900. Texture = "rbxassetid://" .. Texture,
  2901. Transparency = Transparency,
  2902. Name = Name,
  2903. Parent = Parent
  2904. })
  2905. return Decal
  2906. end
  2907. },
  2908. BillboardGui = {
  2909. Create = function(Parent, Image, Position, Size)
  2910. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  2911. BillPar.CFrame = CFrame.new(Position)
  2912. local Bill = Create("BillboardGui")({
  2913. Parent = BillPar,
  2914. Adornee = BillPar,
  2915. Size = UDim2.new(1, 0, 1, 0),
  2916. SizeOffset = Vector2.new(Size, Size)
  2917. })
  2918. local d = Create("ImageLabel", Bill)({
  2919. Parent = Bill,
  2920. BackgroundTransparency = 1,
  2921. Size = UDim2.new(1, 0, 1, 0),
  2922. Image = "rbxassetid://" .. Image
  2923. })
  2924. return BillPar
  2925. end
  2926. },
  2927. ParticleEmitter = {
  2928. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  2929. local Particle = Create("ParticleEmitter")({
  2930. Parent = Parent,
  2931. Color = ColorSequence.new(Color1, Color2),
  2932. LightEmission = LightEmission,
  2933. Size = Size,
  2934. Texture = Texture,
  2935. Transparency = Transparency,
  2936. ZOffset = ZOffset,
  2937. Acceleration = Accel,
  2938. Drag = Drag,
  2939. LockedToPart = LockedToPart,
  2940. VelocityInheritance = VelocityInheritance,
  2941. EmissionDirection = EmissionDirection,
  2942. Enabled = Enabled,
  2943. Lifetime = LifeTime,
  2944. Rate = Rate,
  2945. Rotation = Rotation,
  2946. RotSpeed = RotSpeed,
  2947. Speed = Speed,
  2948. VelocitySpread = VelocitySpread
  2949. })
  2950. return Particle
  2951. end
  2952. },
  2953. CreateTemplate = {}
  2954. }
  2955. function rayCast(Position, Direction, Range, Ignore)
  2956. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  2957. end
  2958. function FindNearestTorso(pos)
  2959. local list = game.Workspace:children()
  2960. local torso
  2961. local dist = 1000
  2962. local temp, human, temp2
  2963. for x = 1, #list do
  2964. temp2 = list[x]
  2965. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  2966. temp = temp2:findFirstChild("Torso")
  2967. human = temp2:findFirstChild("Humanoid")
  2968. if temp ~= nil and human ~= nil and human.Health > 0 and dist > (temp.Position - pos).magnitude then
  2969. local dohit = true
  2970. if dohit == true then
  2971. torso = temp
  2972. dist = (temp.Position - pos).magnitude
  2973. end
  2974. end
  2975. end
  2976. end
  2977. return torso, dist
  2978. end
  2979. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  2980. if hit.Parent == nil then
  2981. return
  2982. end
  2983. local h = hit.Parent:FindFirstChild("Humanoid")
  2984. for _, v in pairs(hit.Parent:children()) do
  2985. c=hit.Parent:findFirstChild('HumanoidRootPart')
  2986. if v:IsA("Humanoid") then
  2987. h = v
  2988. if c~=nil then
  2989. table.insert(Bitten,h)
  2990. end
  2991. end
  2992. end
  2993. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  2994. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  2995. return
  2996. end
  2997. local c = Create("ObjectValue")({
  2998. Name = "creator",
  2999. Value = game:service("Players").LocalPlayer,
  3000. Parent = h
  3001. })
  3002. game:GetService("Debris"):AddItem(c, 0.5)
  3003. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  3004. local Damage = math.random(minim, maxim)
  3005. local blocked = false
  3006. local block = hit.Parent:findFirstChild("Block")
  3007. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  3008. blocked = true
  3009. block.Value = block.Value - 1
  3010. print(block.Value)
  3011. end
  3012. if TimeStop == false then
  3013. h.Health = h.Health - Damage
  3014. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Light reddish violet").Color)
  3015. elseif TimeStop == true then
  3016. repeat
  3017. wait()
  3018. until TimeStop == false
  3019. h.Health = h.Health - Damage / 2
  3020. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.new("Light reddish violet").Color)
  3021. end
  3022. if Type == "Knockdown" then
  3023. local hum = hit.Parent.Humanoid
  3024. hum.PlatformStand = true
  3025. coroutine.resume(coroutine.create(function(HHumanoid)
  3026. swait(1)
  3027. HHumanoid.PlatformStand = false
  3028. end), hum)
  3029. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  3030. local bodvol = Create("BodyVelocity")({
  3031. velocity = angle * knockback,
  3032. P = 5000,
  3033. maxForce = Vector3.new(8000, 8000, 8000),
  3034. Parent = hit
  3035. })
  3036. local rl = Create("BodyAngularVelocity")({
  3037. P = 3000,
  3038. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  3039. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  3040. Parent = hit
  3041. })
  3042. game:GetService("Debris"):AddItem(bodvol, 0.5)
  3043. game:GetService("Debris"):AddItem(rl, 0.5)
  3044. elseif Type == "Normal" then
  3045. local vp = Create("BodyVelocity")({
  3046. P = 500,
  3047. maxForce = Vector3.new(math.huge, 0, math.huge),
  3048. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  3049. })
  3050. if knockback > 0 then
  3051. vp.Parent = hit.Parent.Torso
  3052. end
  3053. game:GetService("Debris"):AddItem(vp, 0.5)
  3054. elseif Type == "Up" then
  3055. local bodyVelocity = Create("BodyVelocity")({
  3056. velocity = Vector3.new(0, 20, 0),
  3057. P = 5000,
  3058. maxForce = Vector3.new(8000, 8000, 8000),
  3059. Parent = hit
  3060. })
  3061. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  3062. elseif Type == "DarkUp" then
  3063. coroutine.resume(coroutine.create(function()
  3064. for i = 0, 1, 0.1 do
  3065. swait()
  3066. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  3067. end
  3068. end))
  3069. local bodyVelocity = Create("BodyVelocity")({
  3070. velocity = Vector3.new(0, 20, 0),
  3071. P = 5000,
  3072. maxForce = Vector3.new(8000, 8000, 8000),
  3073. Parent = hit
  3074. })
  3075. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  3076. elseif Type == "Snare" then
  3077. local bp = Create("BodyPosition")({
  3078. P = 2000,
  3079. D = 100,
  3080. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3081. position = hit.Parent.Torso.Position,
  3082. Parent = hit.Parent.Torso
  3083. })
  3084. game:GetService("Debris"):AddItem(bp, 1)
  3085. elseif Type == "Freeze" then
  3086. local BodPos = Create("BodyPosition")({
  3087. P = 50000,
  3088. D = 1000,
  3089. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3090. position = hit.Parent.Torso.Position,
  3091. Parent = hit.Parent.Torso
  3092. })
  3093. local BodGy = Create("BodyGyro")({
  3094. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  3095. P = 20000,
  3096. Parent = hit.Parent.Torso,
  3097. cframe = hit.Parent.Torso.CFrame
  3098. })
  3099. hit.Parent.Torso.Anchored = true
  3100. coroutine.resume(coroutine.create(function(Part)
  3101. swait(1.5)
  3102. Part.Anchored = false
  3103. end), hit.Parent.Torso)
  3104. game:GetService("Debris"):AddItem(BodPos, 3)
  3105. game:GetService("Debris"):AddItem(BodGy, 3)
  3106. end
  3107. local debounce = Create("BoolValue")({
  3108. Name = "DebounceHit",
  3109. Parent = hit.Parent,
  3110. Value = true
  3111. })
  3112. game:GetService("Debris"):AddItem(debounce, Delay)
  3113. c = Create("ObjectValue")({
  3114. Name = "creator",
  3115. Value = Player,
  3116. Parent = h
  3117. })
  3118. game:GetService("Debris"):AddItem(c, 0.5)
  3119. end
  3120. end
  3121. function ShowDamage(Pos, Text, Time, Color)
  3122. local Rate = 0.03333333333333333
  3123. local Pos = Pos or Vector3.new(0, 0, 0)
  3124. local Text = Text or ""
  3125. local Time = Time or 2
  3126. local Color = Color or Color3.new(1, 0, 1)
  3127. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  3128. EffectPart.Anchored = true
  3129. local BillboardGui = Create("BillboardGui")({
  3130. Size = UDim2.new(3, 0, 3, 0),
  3131. Adornee = EffectPart,
  3132. Parent = EffectPart
  3133. })
  3134. local TextLabel = Create("TextLabel")({
  3135. BackgroundTransparency = 1,
  3136. Size = UDim2.new(1, 0, 1, 0),
  3137. Text = Text,
  3138. Font = "SciFi",
  3139. TextColor3 = Color,
  3140. TextScaled = true,
  3141. Parent = BillboardGui
  3142. })
  3143. game.Debris:AddItem(EffectPart, Time)
  3144. EffectPart.Parent = game:GetService("Workspace")
  3145. delay(0, function()
  3146. local Frames = Time / Rate
  3147. for Frame = 1, Frames do
  3148. wait(Rate)
  3149. local Percent = Frame / Frames
  3150. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  3151. TextLabel.TextTransparency = Percent
  3152. end
  3153. if EffectPart and EffectPart.Parent then
  3154. EffectPart:Destroy()
  3155. end
  3156. end)
  3157. end
  3158. local STDamage = false
  3159. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  3160. for _, c in pairs(workspace:children()) do
  3161. local hum = c:findFirstChild("Humanoid")
  3162. if hum ~= nil then
  3163. local head = c:findFirstChild("Torso")
  3164. if head ~= nil then
  3165. local targ = head.Position - Part.Position
  3166. local mag = targ.magnitude
  3167. if Magnitude >= mag and c.Name ~= Player.Name then
  3168. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0.1, HitSound, HitPitch)
  3169. if STDamage == true then
  3170. for i = 1, 3 do
  3171. Effects.Block.Create(BrickColor.new("Light reddish violet"), head.CFrame, 1, 1, 1, 4, 4, 4, 0.07, 1)
  3172. end
  3173. for i = 1, 10 do
  3174. CamShake(1, 70000)
  3175. Effects.Break.Create(BrickColor.new("Light reddish violet"), head.CFrame, 1, 1, 1)
  3176. end
  3177. elseif STDamage == false then
  3178. CamShake(1, 90000)
  3179. Effects.Block.Create(BrickColor.new("Light reddish violet"), head.CFrame, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.07, 1)
  3180. for i = 1, 2 do
  3181. Effects.Break.Create(BrickColor.new("Light reddish violet"), head.CFrame, 0.4, 0.4, 0.4)
  3182. end
  3183. end
  3184. end
  3185. end
  3186. end
  3187. end
  3188. end
  3189. --[[
  3190. HHandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "HHandle", Vector3.new(1.09999979, 0.299999923, 1.0999999))
  3191. 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))
  3192. Eye1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "White", "Eye1", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  3193. PartWeld = CFuncs.Weld.Create(m, HHandle, Eye1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0381011963, -0.0574798584, 0.471725464, -2.89082527E-6, 0.173647985, -0.984807968, -6.2584877E-7, 0.984808922, 0.173648104, 1.00000012, 1.02902288E-6, -2.77161598E-6))
  3194. CFuncs.Mesh.Create("SpecialMesh", Eye1, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3195. Eye2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "White", "Eye2", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  3196. PartWeld = CFuncs.Weld.Create(m, HHandle, Eye2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0115432739, -0.0487277508, 0.482452393, -0.981060266, -0.173648134, -0.0858327746, -0.172987267, 0.984808922, -0.0151339322, 0.0871568322, 3.96735317E-7, -0.996194839))
  3197. CFuncs.Mesh.Create("SpecialMesh", Eye2, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3198. THandle = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Medium stone grey", "THandle", Vector3.new(1, 0.799999893, 1))
  3199. 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))
  3200. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(1.80000019, 0.300000012, 1.80000007))
  3201. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.10351563E-5, -1.04342794, -0.404396057, 1, -8.19564079E-8, 5.96046519E-8, -1.01078633E-7, 0.939694166, -0.342019171, 1.52638329E-8, 0.34201926, 0.939693213))
  3202. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3203. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.200000003, 1.10000002, 0.300000012))
  3204. PartWeld = CFuncs.Weld.Create(m, THandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.34057617E-5, -0.943422318, -1.35441589, 1, -8.19564079E-8, 5.96046519E-8, -1.01078633E-7, 0.939694166, -0.342019171, 1.52638329E-8, 0.34201926, 0.939693213))
  3205. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3206. --]]
  3207. AHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "AHandleR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  3208. 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))
  3209. --[[
  3210.  
  3211. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998))
  3212. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999984741, 0.550004005, 0, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  3213. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  3214. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.150001526, 0.200003624, -0.359994888, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  3215. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  3216. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.20000267, 0.359992981, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  3217. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005))
  3218. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.209899902, -0.809997559, 5.7220459E-6, -1, 8.19564079E-8, -5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, -5.96046519E-8, 1.41561088E-7, -1.00000024))
  3219. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998))
  3220. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.300003052, 0.650004387, 1.71661377E-5, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  3221. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998))
  3222. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.650003433, 0, 1, -8.19564079E-8, 5.96046519E-8, -8.19564079E-8, 1.00000119, -1.41561088E-7, 5.96046519E-8, -1.41561088E-7, 1.00000024))
  3223. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041))
  3224. PartWeld = CFuncs.Weld.Create(m, AHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199996948, -0.049996376, -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))
  3225. --]]
  3226. HitboxR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "HitboxR", Vector3.new(0.799999952, 0.800000012, 1.22000003))
  3227.  
  3228. 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))
  3229. AHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "AHandleL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
  3230. 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))
  3231. HitboxL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "HitboxL", Vector3.new(0.800000072, 0.800000012, 1.22000003))
  3232. 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))
  3233. --[[
  3234. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  3235. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149986267, 0.200001717, -0.360012054, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  3236. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.200000003, 0.699999928, 0.520000041))
  3237. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.199989319, -0.0499982834, -9.53674316E-6, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  3238. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  3239. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149986267, 0.200001717, 0.359992981, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  3240. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(1.20000005, 0.800000012, 1.20000005))
  3241. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.21005249, -0.81000042, 2.28881836E-5, -1, -8.19564079E-8, -5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, -5.96046519E-8, -1.41561088E-7, -1.00000024))
  3242. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.200000003, 0.899999976, 1.01999998))
  3243. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0999984741, 0.550003052, -5.7220459E-6, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  3244. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.200000003, 0.699999988, 1.01999998))
  3245. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.299995422, 0.650003433, -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))
  3246. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.300000012, 0.699999988, 1.01999998))
  3247. PartWeld = CFuncs.Weld.Create(m, AHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.149993896, 0.65000248, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  3248. LHandleR = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "LHandleR", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  3249. 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))
  3250. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.800000012, 0.800000012, 0.200000003))
  3251. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00498962402, -0.00499916077, -0.604999542, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  3252. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  3253. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.600002289, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  3254. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(1.02999997, 0.699999928, 1.19000006))
  3255. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.454998016, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  3256. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.400000006, 1.20000005, 0.200000003))
  3257. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00499725342, -0.00499916077, -0.604999542, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  3258. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.800000131, 1.20000005, 0.800000012))
  3259. PartWeld = CFuncs.Weld.Create(m, LHandleR, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00499725342, 0.0149993896, 0.00500297546, 2.28095047E-7, 1.00000775, 2.99581131E-7, -1.00000417, 5.63755016E-8, -4.06898749E-7, -2.98379774E-7, 2.07959161E-8, 1.0000037))
  3260. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3261. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  3262. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.604999542, -0.504998207, 0.29499054, -2.98023224E-8, -6.70552254E-8, -1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8))
  3263. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3264. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  3265. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.60499382, -0.495001793, 0.305000305, -5.96046519E-8, -1.41561088E-7, -1.00000024, -8.19564079E-8, -1.00000119, -1.41561088E-7, -1, -8.19564079E-8, -5.96046519E-8))
  3266. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3267. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  3268. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.604999542, -0.495001793, 0.29499054, 2.98023224E-8, 6.70552254E-8, 1.00000012, -3.7252903E-8, -1.0000006, -7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8))
  3269. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3270. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  3271. WedgeWeld = CFuncs.Weld.Create(m, LHandleR, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.604999542, -0.504998207, 0.305000305, 2.98023224E-8, 6.70552254E-8, 1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, -1, -4.47034836E-8, -2.98023224E-8))
  3272. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3273. LHandleL = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "LHandleL", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  3274. 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))
  3275. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(1.02999997, 1.00999999, 1.19000006))
  3276. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.600001335, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  3277. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.400000006, 1.20000005, 0.300000012))
  3278. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00499725342, -0.00500106812, -0.554998398, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  3279. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(1.02999997, 0.699999928, 1.19000006))
  3280. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.454999924, 0, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  3281. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.800000131, 1.20000005, 0.800000012))
  3282. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00499534607, 0.0149993896, 0.00500297546, 2.28095047E-7, 1.00000775, 2.99581131E-7, -1.00000417, 5.63755016E-8, -4.06898749E-7, -2.98379774E-7, 2.07959161E-8, 1.0000037))
  3283. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3284. Part = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Part", Vector3.new(0.800000012, 0.800000012, 0.300000012))
  3285. PartWeld = CFuncs.Weld.Create(m, LHandleL, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00498962402, -0.00500106812, -0.554998398, 1, 8.19564079E-8, 5.96046519E-8, 8.19564079E-8, 1.00000119, 1.41561088E-7, 5.96046519E-8, 1.41561088E-7, 1.00000024))
  3286. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  3287. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.554998398, -0.505000114, 0.305000305, 2.98023224E-8, 6.70552254E-8, 1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, -1, -4.47034836E-8, -2.98023224E-8))
  3288. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3289. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  3290. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.554998398, -0.505000114, 0.29499054, -2.98023224E-8, -6.70552254E-8, -1.00000012, 3.7252903E-8, 1.0000006, 7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8))
  3291. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3292. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  3293. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.554998398, -0.494999886, 0.29499054, 2.98023224E-8, 6.70552254E-8, 1.00000012, -3.7252903E-8, -1.0000006, -7.4505806E-8, 1, 4.47034836E-8, 2.98023224E-8))
  3294. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3295. Wedge = CFuncs.Part.Create(m, Enum.Material.SmoothPlastic, 0, 1, "Camo", "Wedge", Vector3.new(0.300000012, 0.200000003, 0.200000003))
  3296. WedgeWeld = CFuncs.Weld.Create(m, LHandleL, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.554998398, -0.494999886, 0.305000305, -5.96046519E-8, -1.41561088E-7, -1.00000024, -8.19564079E-8, -1.00000119, -1.41561088E-7, -1, -8.19564079E-8, -5.96046519E-8))
  3297. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  3298. --]]
  3299. Shield = CFuncs.Part.Create(m, "Neon", 0, 0.5, "Pastle brown", "Part", Vector3.new(9.1, 8.5, 0.2))
  3300. CFuncs.Mesh.Create("SpecialMesh", Shield, "FileMesh", "rbxassetid://708292865", Vector3.new(0, 0, 0), Vector3.new(0.04, 0.04, 0.04))
  3301. Shield.Parent = nil
  3302.  
  3303. EffectModel = Create("Model")({Parent = Character, Name = "Effects"})
  3304. Effects = {
  3305. Block = {
  3306. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  3307. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  3308. prt.Anchored = true
  3309. prt.CFrame = cframe
  3310. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3311. game:GetService("Debris"):AddItem(prt, 10)
  3312. if Type == 1 or Type == nil then
  3313. table.insert(Effects, {
  3314. prt,
  3315. "Block1",
  3316. delay,
  3317. x3,
  3318. y3,
  3319. z3,
  3320. msh
  3321. })
  3322. elseif Type == 2 then
  3323. table.insert(Effects, {
  3324. prt,
  3325. "Block2",
  3326. delay,
  3327. x3,
  3328. y3,
  3329. z3,
  3330. msh
  3331. })
  3332. end
  3333. end
  3334. },
  3335. Cylinder = {
  3336. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3337. local prt = CFuncs.Part .. Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  3338. prt.Anchored = true
  3339. prt.CFrame = cframe
  3340. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3341. game:GetService("Debris"):AddItem(prt, 2)
  3342. Effects[#Effects + 1] = {
  3343. prt,
  3344. "Cylinder",
  3345. delay,
  3346. x3,
  3347. y3,
  3348. z3
  3349. }
  3350. end
  3351. },
  3352. Head = {
  3353. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3354. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  3355. prt.Anchored = true
  3356. prt.CFrame = cframe
  3357. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3358. game:GetService("Debris"):AddItem(prt, 10)
  3359. table.insert(Effects, {
  3360. prt,
  3361. "Cylinder",
  3362. delay,
  3363. x3,
  3364. y3,
  3365. z3,
  3366. msh
  3367. })
  3368. end
  3369. },
  3370. Sphere = {
  3371. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3372. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  3373. prt.Anchored = true
  3374. prt.CFrame = cframe
  3375. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3376. game:GetService("Debris"):AddItem(prt, 10)
  3377. table.insert(Effects, {
  3378. prt,
  3379. "Cylinder",
  3380. delay,
  3381. x3,
  3382. y3,
  3383. z3,
  3384. msh
  3385. })
  3386. end
  3387. },
  3388. Sphere2 = {
  3389. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3390. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  3391. prt.Anchored = true
  3392. prt.CFrame = cframe
  3393. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3394. game:GetService("Debris"):AddItem(prt, 10)
  3395. table.insert(Effects, {
  3396. prt,
  3397. "Cylinder",
  3398. delay,
  3399. x3,
  3400. y3,
  3401. z3,
  3402. msh
  3403. })
  3404. end
  3405. },
  3406. Elec = {
  3407. Create = function(cff, x, y, z)
  3408. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Light reddish violet"), "Part", Vector3.new(1, 1, 1))
  3409. prt.Anchored = true
  3410. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  3411. prt.CFrame = CFrame.new(prt.Position)
  3412. game:GetService("Debris"):AddItem(prt, 2)
  3413. local xval = math.random() / 2
  3414. local yval = math.random() / 2
  3415. local zval = math.random() / 2
  3416. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  3417. table.insert(Effects, {
  3418. prt,
  3419. "Elec",
  3420. 0.1,
  3421. x,
  3422. y,
  3423. z,
  3424. xval,
  3425. yval,
  3426. zval
  3427. })
  3428. end
  3429. },
  3430. Ring = {
  3431. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3432. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3433. prt.Anchored = true
  3434. prt.CFrame = cframe
  3435. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3436. game:GetService("Debris"):AddItem(prt, 10)
  3437. table.insert(Effects, {
  3438. prt,
  3439. "Cylinder",
  3440. delay,
  3441. x3,
  3442. y3,
  3443. z3,
  3444. msh
  3445. })
  3446. end
  3447. },
  3448. Wave = {
  3449. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  3450. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  3451. prt.Anchored = true
  3452. prt.CFrame = cframe
  3453. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3454. game:GetService("Debris"):AddItem(prt, 10)
  3455. table.insert(Effects, {
  3456. prt,
  3457. "Cylinder",
  3458. delay,
  3459. x3,
  3460. y3,
  3461. z3,
  3462. msh
  3463. })
  3464. end
  3465. },
  3466. Break = {
  3467. Create = function(brickcolor, cframe, x1, y1, z1)
  3468. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  3469. prt.Anchored = true
  3470. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3471. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3472. local num = math.random(10, 50) / 1000
  3473. game:GetService("Debris"):AddItem(prt, 10)
  3474. table.insert(Effects, {
  3475. prt,
  3476. "Shatter",
  3477. num,
  3478. prt.CFrame,
  3479. math.random() - math.random(),
  3480. 0,
  3481. math.random(50, 100) / 100
  3482. })
  3483. end
  3484. },
  3485. Fire = {
  3486. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  3487. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  3488. prt.Anchored = true
  3489. prt.CFrame = cframe
  3490. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3491. game:GetService("Debris"):AddItem(prt, 10)
  3492. table.insert(Effects, {
  3493. prt,
  3494. "Fire",
  3495. delay,
  3496. 1,
  3497. 1,
  3498. 1,
  3499. msh
  3500. })
  3501. end
  3502. },
  3503. FireWave = {
  3504. Create = function(brickcolor, cframe, x1, y1, z1)
  3505. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  3506. prt.Anchored = true
  3507. prt.CFrame = cframe
  3508. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  3509. local d = Create("Decal")({
  3510. Parent = prt,
  3511. Texture = "rbxassetid://26356434",
  3512. Face = "Top"
  3513. })
  3514. local d = Create("Decal")({
  3515. Parent = prt,
  3516. Texture = "rbxassetid://26356434",
  3517. Face = "Bottom"
  3518. })
  3519. game:GetService("Debris"):AddItem(prt, 10)
  3520. table.insert(Effects, {
  3521. prt,
  3522. "FireWave",
  3523. 1,
  3524. 30,
  3525. math.random(400, 600) / 100,
  3526. msh
  3527. })
  3528. end
  3529. },
  3530. Lightning = {
  3531. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  3532. local magz = (p0 - p1).magnitude
  3533. local curpos = p0
  3534. local trz = {
  3535. -ofs,
  3536. ofs
  3537. }
  3538. for i = 1, tym do
  3539. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  3540. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  3541. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  3542. li.Material = "Neon"
  3543. if tym == i then
  3544. local magz2 = (curpos - p1).magnitude
  3545. li.Size = Vector3.new(th, th, magz2)
  3546. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  3547. table.insert(Effects, {
  3548. li,
  3549. "Disappear",
  3550. last
  3551. })
  3552. else
  3553. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  3554. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  3555. game.Debris:AddItem(li, 10)
  3556. table.insert(Effects, {
  3557. li,
  3558. "Disappear",
  3559. last
  3560. })
  3561. end
  3562. end
  3563. end
  3564. },
  3565. EffectTemplate = {}
  3566. }
  3567. local Invisible = true
  3568. function Reappear()
  3569. for _, i in pairs(AdvancingFortress:children()) do
  3570. if i:IsA("BasePart") then
  3571. coroutine.resume(coroutine.create(function(Part)
  3572. for i = 0, 1, 0.3 do
  3573. swait()
  3574. Part.Transparency = -i
  3575. end
  3576. Part.Transparency = 0
  3577. end), i)
  3578. end
  3579. end
  3580. for _, i in pairs(m:children()) do
  3581. if i:IsA("BasePart") then
  3582. coroutine.resume(coroutine.create(function(Part)
  3583. for i = 0, 1, 0.3 do
  3584. swait()
  3585. Part.Transparency = i
  3586. end
  3587. Part.Transparency = 0
  3588. end), i)
  3589. end
  3590. end
  3591. end
  3592. function ReappearArmorOnly()
  3593. for _, i in pairs(m:children()) do
  3594. if i:IsA("BasePart") then
  3595. coroutine.resume(coroutine.create(function(Part)
  3596. for i = 0, 1, 0.3 do
  3597. swait()
  3598. Part.Transparency = i
  3599. end
  3600. Part.Transparency = 0
  3601. for _,v in pairs(KQ) do
  3602. St=v.Weld.Part1.Name
  3603. if St=='FHead' then
  3604. St='Head'
  3605. end
  3606. v.Weld.Part1=Character[St]
  3607. end
  3608. end), i)
  3609. end
  3610. end
  3611. end
  3612. function Disappear()
  3613. for _, i in pairs(AdvancingFortress:children()) do
  3614. if i:IsA("BasePart") then
  3615. coroutine.resume(coroutine.create(function(Part)
  3616. for i = 0, 1, 0.3 do
  3617. swait()
  3618. Part.Transparency = i
  3619. end
  3620. Part.Transparency = 1
  3621. end), i)
  3622. end
  3623. end
  3624. for _, i in pairs(m:children()) do
  3625. if i:IsA("BasePart") then
  3626. coroutine.resume(coroutine.create(function(Part)
  3627. for i = 0, 1, 0.3 do
  3628. swait()
  3629. Part.Transparency = i
  3630. end
  3631. Part.Transparency = 1
  3632. end), i)
  3633. end
  3634. end
  3635. end
  3636. function DisappearArmorOnly()
  3637. for _, i in pairs(m:children()) do
  3638. if i:IsA("BasePart") then
  3639. coroutine.resume(coroutine.create(function(Part)
  3640. for i = 0, 1, 0.3 do
  3641. swait()
  3642. Part.Transparency = i
  3643. end
  3644. Part.Transparency = 1
  3645. for _,v in pairs(KQ) do
  3646. St=v.Weld.Part1.Name
  3647. if St=='Head' then
  3648. St='FHead'
  3649. end
  3650. v.Weld.Part1=AdvancingFortress[St]
  3651. end
  3652. end), i)
  3653. end
  3654. end
  3655. end
  3656. function CamShake(time, freq)
  3657. coroutine.resume(coroutine.create(function()
  3658. local cam = game:GetService("Workspace").CurrentCamera
  3659. local time = 10
  3660. local seed = Vector3.new(math.random(100, 200) / freq, math.random(100, 200) / freq, 0)
  3661. if math.random(1, 2) == 1 then
  3662. seed = Vector3.new(-seed.x, seed.y, 0)
  3663. end
  3664. if math.random(1, 2) == 1 then
  3665. seed = Vector3.new(seed.x, -seed.y, 0)
  3666. end
  3667. 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)
  3668. for i = 1, time do
  3669. 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)
  3670. wait()
  3671. end
  3672. end))
  3673. end
  3674. local ora = false
  3675. function ORA()
  3676. attack = true
  3677. local S = CFuncs.Sound.Create("", Torso, 3, 1)
  3678. S.Looped = true
  3679. if ora == true then
  3680. while ora == true do
  3681. CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
  3682. MagnitudeDamage(HitboxL, 5, 4, 10, 0, "Normal", "260430117", 1)
  3683. for i = 0, 1, 0.8 do
  3684. swait()
  3685. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  3686. PlayAnimationFromTable({
  3687. 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),
  3688. 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),
  3689. 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),
  3690. 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),
  3691. 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),
  3692. 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)
  3693. }, 0.8, false)
  3694. end
  3695. CFuncs.Sound.Create("200632136", HitboxR, 0.3, math.random(1, 1.2))
  3696. MagnitudeDamage(HitboxR, 5, 4, 10, 0, "Normal", "260430117", 1)
  3697. for i = 0, 1, 0.8 do
  3698. swait()
  3699. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  3700. PlayAnimationFromTable({
  3701. 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),
  3702. 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),
  3703. 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),
  3704. 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),
  3705. 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),
  3706. 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)
  3707. }, 0.8, false)
  3708. end
  3709. CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
  3710. MagnitudeDamage(HitboxL, 5, 4, 10, 0, "Normal", "260430117", 1)
  3711. for i = 0, 1, 0.8 do
  3712. swait()
  3713. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  3714. PlayAnimationFromTable({
  3715. 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),
  3716. 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),
  3717. 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),
  3718. 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),
  3719. 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),
  3720. 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)
  3721. }, 0.8, false)
  3722. end
  3723. CFuncs.Sound.Create("200632136", HitboxR, 0.3, math.random(1, 1.2))
  3724. MagnitudeDamage(HitboxR, 5, 4, 10, 0, "Normal", "260430117", 1)
  3725. for i = 0, 1, 0.8 do
  3726. swait()
  3727. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -4), 0.5)
  3728. PlayAnimationFromTable({
  3729. 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),
  3730. 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),
  3731. 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),
  3732. 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),
  3733. 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),
  3734. 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)
  3735. }, 0.8, false)
  3736. end
  3737. CFuncs.Sound.Create("200632136", HitboxL, 0.3, math.random(1, 1.2))
  3738. MagnitudeDamage(HitboxL, 5, 4, 10, 0, "Normal", "260430117", 1)
  3739. end
  3740. end
  3741. S:Stop()
  3742. for i = 0, 1, 0.13 do
  3743. swait()
  3744. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -3), 0.5)
  3745. PlayAnimationFromTable({
  3746. 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),
  3747. 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),
  3748. 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),
  3749. 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),
  3750. 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),
  3751. 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)
  3752. }, 0.2, false)
  3753. end
  3754. CFuncs.Sound.Create("471881954", HitboxR, 1, 1)
  3755. MagnitudeDamage(HitboxR, 7, 10, 15, 50, "Normal", "610359590", 1)
  3756. for i = 0, 1, 0.1 do
  3757. swait()
  3758. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 0.3)
  3759. PlayAnimationFromTable({
  3760. 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),
  3761. 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),
  3762. 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),
  3763. 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),
  3764. 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),
  3765. 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)
  3766. }, 0.6, false)
  3767. end
  3768. attack = false
  3769. end
  3770. function CastleCrusherFist()
  3771. attack = true
  3772. STDamage = true
  3773. for i = 0, 1, 0.1 do
  3774. swait()
  3775. Effects.Block.Create(BrickColor.new("Light reddish violet"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  3776. Effects.Break.Create(BrickColor.new("Light reddish violet"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  3777. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.2)
  3778. PlayAnimationFromTable({
  3779. 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),
  3780. 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),
  3781. 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),
  3782. 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),
  3783. 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),
  3784. 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)
  3785. }, 0.2, false)
  3786. end
  3787. MagnitudeDamage(HitboxR, 10, 50, 80, 100, "Normal", "610359515", 1)
  3788. Effects.Wave.Create(BrickColor.new("Light reddish violet"), 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)
  3789. CFuncs.Sound.Create("471881980", HitboxR, 1, 0.9)
  3790. CFuncs.Sound.Create("471881954", HitboxR, 1, 0.8)
  3791. for i = 0, 1, 0.08 do
  3792. swait()
  3793. Effects.Block.Create(BrickColor.new("Light reddish violet"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  3794. Effects.Break.Create(BrickColor.new("Light reddish violet"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  3795. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 0.3)
  3796. PlayAnimationFromTable({
  3797. 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),
  3798. 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),
  3799. 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),
  3800. 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),
  3801. 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),
  3802. 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)
  3803. }, 0.6, false)
  3804. end
  3805. STDamage = false
  3806. attack = false
  3807. end
  3808. function CastleCrusherFist()
  3809. attack = true
  3810. STDamage = true
  3811. for i = 0, 1, 0.1 do
  3812. swait()
  3813. Effects.Block.Create(BrickColor.new("Light reddish violet"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  3814. Effects.Break.Create(BrickColor.new("Light reddish violet"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  3815. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.5)
  3816. PlayAnimationFromTable({
  3817. 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),
  3818. 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),
  3819. 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),
  3820. 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),
  3821. 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),
  3822. 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)
  3823. }, 0.2, false)
  3824. end
  3825. Effects.Wave.Create(BrickColor.new("Light reddish violet"), 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)
  3826. Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 140
  3827. CFuncs.Sound.Create("471881980", HitboxR, 1, 0.9)
  3828. CFuncs.Sound.Create("471881954", HitboxR, 1, 0.8)
  3829. for i = 0, 1, 0.08 do
  3830. swait()
  3831. MagnitudeDamage(HitboxR, 5, 50, 80, 100, "Normal", "610359515", 1)
  3832. Effects.Block.Create(BrickColor.new("Light reddish violet"), HitboxR.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  3833. Effects.Break.Create(BrickColor.new("Light reddish violet"), HitboxR.CFrame, 0.5, 0.5, 0.5)
  3834. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -5), 1)
  3835. PlayAnimationFromTable({
  3836. 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),
  3837. 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),
  3838. 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),
  3839. 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),
  3840. 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),
  3841. 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)
  3842. }, 0.6, false)
  3843. end
  3844. STDamage = false
  3845. attack = false
  3846. end
  3847. function weld5(part0, part1, c0, c1)
  3848. local weeld = Instance.new("Weld", part0)
  3849. weeld.Part0 = part0
  3850. weeld.Part1 = part1
  3851. weeld.C0 = c0
  3852. weeld.C1 = c1
  3853. return weeld
  3854. end
  3855. local Grab = false
  3856. function GRABEMBOIGRABEM()
  3857. attack = true
  3858. gp = nil
  3859. con1 = HitboxR.Touched:connect(function(hit)
  3860. local ht = hit.Parent
  3861. local hum1 = ht:FindFirstChild("Humanoid")
  3862. if Grab == false then
  3863. if hum1 ~= nil and hit.Parent ~= Character then
  3864. hum1.PlatformStand = true
  3865. gp = ht
  3866. Grab = true
  3867. local asd = weld5(RightArm, ht:FindFirstChild("Torso"), CFrame.new(0, -1.5, 0), CFrame.new(0, 0, 0))
  3868. asd.Parent = RightArm
  3869. asd.Name = "asd"
  3870. asd.C0 = asd.C0 * CFrame.Angles(math.rad(-90), 0, 0)
  3871. CFuncs.Sound.Create("200632821", Torso, 1, 1)
  3872. elseif hum1 == nil then
  3873. con1:disconnect()
  3874. wait()
  3875. return
  3876. end
  3877. end
  3878. end)
  3879. for i = 0, 1, 0.2 do
  3880. swait()
  3881. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -2), 0.3)
  3882. PlayAnimationFromTable({
  3883. CFrame.new(-1.08022243E-4, -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),
  3884. 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),
  3885. 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),
  3886. 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),
  3887. 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),
  3888. 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)
  3889. }, 0.3, false)
  3890. end
  3891. for i = 0, 1, 0.1 do
  3892. swait()
  3893. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -6), 0.3)
  3894. PlayAnimationFromTable({
  3895. 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),
  3896. 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),
  3897. 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),
  3898. 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),
  3899. 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),
  3900. 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)
  3901. }, 0.3, false)
  3902. end
  3903. if Grab == true then
  3904. for i = 1, 5 do
  3905. for i = 0, 1, 0.35 do
  3906. swait()
  3907. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 13, -6), 0.3)
  3908. PlayAnimationFromTable({
  3909. 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),
  3910. 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),
  3911. 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),
  3912. 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),
  3913. 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),
  3914. 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)
  3915. }, 0.4, false)
  3916. end
  3917. for i = 0, 1, 0.3 do
  3918. swait()
  3919. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1, -6), 0.3)
  3920. PlayAnimationFromTable({
  3921. 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),
  3922. 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),
  3923. 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),
  3924. 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),
  3925. 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),
  3926. 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)
  3927. }, 0.7, false)
  3928. end
  3929. local hit, pos = rayCast(HitboxR.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 100, Character)
  3930. if hit ~= nil then
  3931. MagnitudeDamage(HitboxR, 5, 10, 30, 0, "Normal", "610359515", 1.3)
  3932. Effects.Block.Create(BrickColor.new("Light reddish violet"), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09, 1)
  3933. Effects.Wave.Create(BrickColor.new("Light reddish violet"), CFrame.new(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.09)
  3934. Effects.Sphere.Create(BrickColor.new("Light reddish violet"), CFrame.new(pos), 3, 3, 3, 5, 5, 5, 0.09)
  3935. end
  3936. end
  3937. end
  3938. for i, v in pairs(RightArm:GetChildren()) do
  3939. if v.Name == "asd" and v:IsA("Weld") then
  3940. v:Remove()
  3941. end
  3942. end
  3943. Grab = false
  3944. con1:disconnect()
  3945. attack = false
  3946. end
  3947. local IsWearingArmor = false
  3948. function Armor(Mode)
  3949. attack = true
  3950. if IsWearingArmor == false and Mode == "On" then
  3951. IsWearingArmor = true
  3952. Disappear()
  3953. swait(10)
  3954. ReappearArmorOnly()
  3955. Character.Humanoid.MaxHealth = 500
  3956. Character.Humanoid.Health = 500
  3957. AHandleRWeld.Part0 = Character["Right Arm"]
  3958. AHandleLWeld.Part0 = Character["Left Arm"]
  3959. for i, v in pairs(AdvancingFortress:GetChildren()) do
  3960. if v:IsA("BasePart") then
  3961. v.Transparency = 1
  3962. end
  3963. end
  3964. for i, v in pairs(Character:GetChildren()) do
  3965. if v:IsA("Accessory") then
  3966. v.Handle.Transparency = 1
  3967. end
  3968. end
  3969. elseif IsWearingArmor == true and Mode == "Off" then
  3970. IsWearingArmor = false
  3971. DisappearArmorOnly()
  3972. for i, v in pairs(Character:GetChildren()) do
  3973. if v:IsA("Accessory") then
  3974. v.Handle.Transparency = 0
  3975. end
  3976. end
  3977. swait(10)
  3978. Reappear()
  3979. Character.Humanoid.MaxHealth = 100
  3980. Character.Humanoid.Health = 100
  3981.  
  3982. AHandleRWeld.Part0 = RightArm
  3983. AHandleLWeld.Part0 = LeftArm
  3984.  
  3985. for i, v in pairs(AdvancingFortress:GetChildren()) do
  3986. if v:IsA("BasePart") then
  3987. v.Transparency = 0
  3988. end
  3989. end
  3990. end
  3991. attack = false
  3992. end
  3993. local ShieldMode = false
  3994. local ShieldCharge = false
  3995. function HoloHexShield()
  3996. attack = true
  3997. Shield.Parent = m
  3998. Shield.CanCollide = true
  3999. if ShieldMode == true then
  4000. while ShieldMode == true do
  4001. swait()
  4002. Effects.Elec.Create(Shield.CFrame, 6, 6, 6)
  4003. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  4004. PlayAnimationFromTable({
  4005. 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),
  4006. 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),
  4007. 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),
  4008. 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),
  4009. 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),
  4010. 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)
  4011. }, 0.3, false)
  4012. end
  4013. end
  4014. Shield.CanCollide = false
  4015. CFuncs.Sound.Create("200632211", HitboxR, 1, 0.8)
  4016. CFuncs.Sound.Create("200632875", HitboxR, 1, 0.9)
  4017. Character.HumanoidRootPart.Velocity = Character.HumanoidRootPart.CFrame.lookVector * 160
  4018. Effects.Wave.Create(BrickColor.new("Light reddish violet"), 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)
  4019. for i = 0, 1, 0.05 do
  4020. swait()
  4021. MagnitudeDamage(Shield, 5, 10, 15, 20, "Normal", "610359515", 1.3)
  4022. Effects.Elec.Create(Shield.CFrame, 6, 6, 6)
  4023. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -3), 1)
  4024. PlayAnimationFromTable({
  4025. 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),
  4026. 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),
  4027. 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),
  4028. 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),
  4029. 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),
  4030. 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)
  4031. }, 0.5, false)
  4032. end
  4033. Shield.Parent = nil
  4034. attack = false
  4035. end
  4036. Mouse.Button1Down:connect(function()
  4037. if attack == false and attacktype == 1 then
  4038. attacktype = 2
  4039. attackone()
  4040. elseif attack == false and attacktype == 2 then
  4041. attacktype = 1
  4042. attacktwo()
  4043. end
  4044. end)
  4045. game.Lighting.Outlines = false
  4046. function attackone()
  4047. attack = true
  4048. for i = 0, 1, 0.12 do
  4049. swait()
  4050. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  4051. PlayAnimationFromTable({
  4052. 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),
  4053. 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),
  4054. 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),
  4055. 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),
  4056. 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),
  4057. 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)
  4058. }, 0.3, false)
  4059. end
  4060. MagnitudeDamage(HitboxR, 7, 10, 15, math.random(1, 3), "Normal", "260430079", 1)
  4061. CFuncs.Sound.Create("200632136", HitboxR, 1, 1)
  4062. RootPart.Velocity = RootPart.CFrame.lookVector * 40
  4063. for i = 0, 1, 0.11 do
  4064. swait()
  4065. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  4066. PlayAnimationFromTable({
  4067. 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),
  4068. 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),
  4069. 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),
  4070. 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),
  4071. 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),
  4072. 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)
  4073. }, 0.45, false)
  4074. end
  4075. attack = false
  4076. end
  4077. function attacktwo()
  4078. attack = true
  4079. for i = 0, 1, 0.12 do
  4080. swait()
  4081. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  4082. PlayAnimationFromTable({
  4083. 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),
  4084. 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),
  4085. 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),
  4086. 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),
  4087. 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),
  4088. 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)
  4089. }, 0.34, false)
  4090. end
  4091. MagnitudeDamage(HitboxL, 7, 10, 15, math.random(1, 3), "Normal", "260430079", 1.1)
  4092. CFuncs.Sound.Create("200632136", HitboxL, 1, 1)
  4093. RootPart.Velocity = RootPart.CFrame.lookVector * 40
  4094. for i = 0, 1, 0.12 do
  4095. swait()
  4096. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(0, 1.3, -4), 0.3)
  4097. PlayAnimationFromTable({
  4098. 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),
  4099. 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),
  4100. 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),
  4101. 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),
  4102. 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),
  4103. 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)
  4104. }, 0.45, false)
  4105. end
  4106. attack = false
  4107. end
  4108. function findNearestTorso(pos)
  4109. local list = game.Workspace:children()
  4110. local torso
  4111. local dist = 1000
  4112. local temp, human, temp2
  4113. for x = 1, #list do
  4114. temp2 = list[x]
  4115. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  4116. temp = temp2:findFirstChild("Torso")
  4117. human = temp2:findFirstChild("Humanoid")
  4118. if temp ~= nil and human ~= nil and human.Health > 0 and dist > (temp.Position - pos).magnitude then
  4119. local dohit = true
  4120. if dohit == true then
  4121. torso = temp
  4122. dist = (temp.Position - pos).magnitude
  4123. end
  4124. end
  4125. end
  4126. end
  4127. return torso, dist
  4128. end
  4129. function TrueAim(aim)
  4130. local target, distance = findNearestTorso(Mouse.Hit.p)
  4131. local tehcf = HitboxR.CFrame * CFrame.fromEulerAnglesXYZ(1.57, 0, 0).lookVector
  4132. if aim ~= nil then
  4133. tehcf = aim
  4134. end
  4135. table.insert(Effects, {
  4136. tehcf,
  4137. "Shoot",
  4138. 30,
  4139. HitboxR.Position,
  4140. 10,
  4141. 15,
  4142. 0,
  4143. 3,
  4144. HitboxR,
  4145. target
  4146. })
  4147. end
  4148. function FireProjectiles()
  4149. attack = true
  4150. Humanoid.WalkSpeed = 20
  4151. CFuncs.Sound.Create("300915902", HitboxR, 1, 0.8)
  4152. for i = 0, 1, 0.1 do
  4153. swait()
  4154. Effects.Elec.Create(HitboxR.CFrame, 2, 2, 2)
  4155. PlayAnimationFromTable({
  4156. CFrame.new(0, -0.100000001, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4157. CFrame.new(0, 1.49999201, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4158. CFrame.new(0.874554753, 1.14087927, -1.06730831, -0.166365892, 0.198266983, 0.965925813, 0.797995508, -0.548363924, 0.250000268, 0.579245627, 0.812396049, -0.0669871047) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4159. CFrame.new(-0.257126778, 1.24225974, -0.962940335, 0.692363203, -0.593008757, -0.411064416, -0.708803177, -0.665577948, -0.233675212, -0.135024026, 0.453151852, -0.88114804) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4160. CFrame.new(0.604643881, -1.9909004, 0.0280392915, 0.962250233, -0.0841861367, -0.258818984, 0.0871560201, 0.996194661, 4.23252061E-7, 0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4161. CFrame.new(-0.604644895, -1.99090064, 0.0280393362, 0.962250233, 0.0841861367, 0.258818984, -0.0871560201, 0.996194661, 4.23252061E-7, -0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  4162. }, 0.3, false)
  4163. end
  4164. for i = 0, 1, 0.1 do
  4165. swait()
  4166. Effects.Elec.Create(HitboxR.CFrame, 3, 3, 3)
  4167. Effects.Block.Create(BrickColor.new("Light reddish violet"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1)
  4168. Effects.Sphere2.Create(BrickColor.new("Light reddish violet"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1)
  4169. PlayAnimationFromTable({
  4170. CFrame.new(0, -0.100000001, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4171. CFrame.new(0, 1.49999201, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4172. CFrame.new(0.661153734, 0.568759024, -0.827975571, -0.166752055, 0.025078943, 0.985679924, 0.98324734, -0.0704026297, 0.168131784, 0.0736110285, 0.99720335, -0.012919019) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4173. CFrame.new(-0.390097797, 0.861622274, -0.554995477, 0.351840883, -0.837056041, -0.418981194, -0.935129642, -0.294365793, -0.197183579, 0.0417199843, 0.461178988, -0.886325777) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4174. CFrame.new(0.604644954, -1.9909004, 0.0280390829, 0.962250233, -0.0841861367, -0.258818984, 0.0871560201, 0.996194661, 4.23252061E-7, 0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4175. CFrame.new(-0.604644775, -1.99090064, 0.0280380547, 0.962250233, 0.0841861367, 0.258818984, -0.0871560201, 0.996194661, 4.23252061E-7, -0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  4176. }, 0.2, false)
  4177. end
  4178. for i = 1, 10 do
  4179. for i = 0, 1, 0.3 do
  4180. swait()
  4181. Effects.Elec.Create(HitboxR.CFrame, 3, 3, 3)
  4182. Effects.Sphere2.Create(BrickColor.new("Light reddish violet"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1)
  4183. PlayAnimationFromTable({
  4184. CFrame.new(0, -0.100000001, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4185. CFrame.new(0, 1.49999201, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4186. CFrame.new(0.661153734, 0.568759024, -0.827975571, -0.166752055, 0.025078943, 0.985679924, 0.98324734, -0.0704026297, 0.168131784, 0.0736110285, 0.99720335, -0.012919019) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4187. CFrame.new(-0.390097797, 0.861622274, -0.554995477, 0.351840883, -0.837056041, -0.418981194, -0.935129642, -0.294365793, -0.197183579, 0.0417199843, 0.461178988, -0.886325777) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4188. CFrame.new(0.604644954, -1.9909004, 0.0280390829, 0.962250233, -0.0841861367, -0.258818984, 0.0871560201, 0.996194661, 4.23252061E-7, 0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4189. CFrame.new(-0.604644775, -1.99090064, 0.0280380547, 0.962250233, 0.0841861367, 0.258818984, -0.0871560201, 0.996194661, 4.23252061E-7, -0.257834047, -0.0225580372, 0.965925872) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  4190. }, 0.3, false)
  4191. end
  4192. CFuncs.Sound.Create("300916105", HitboxR, 1, 1.2)
  4193. CFuncs.Sound.Create("300916014", HitboxR, 1, 1)
  4194. Effects.Sphere2.Create(BrickColor.new("Light reddish violet"), HitboxR.CFrame, 1, 1, 1, 2, 2, 2, 0.07)
  4195. local MouseLook = CFrame.new((HitboxR.Position + Mouse.Hit.p) / 2, Mouse.Hit.p)
  4196. TrueAim(MouseLook.lookVector)
  4197. for i = 0, 1, 0.3 do
  4198. swait()
  4199. Effects.Elec.Create(HitboxR.CFrame, 3, 3, 3)
  4200. Effects.Sphere2.Create(BrickColor.new("Light reddish violet"), HitboxR.CFrame, 1, 1, 1, 1, 1, 1, 0.1)
  4201. PlayAnimationFromTable({
  4202. CFrame.new(1.90734863E-6, -0.25291419, 0.238341585, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4203. CFrame.new(0, 1.49999189, -1.1920929E-6, 1, 0, 0, 0, 0.98480767, 0.173648626, 0, -0.173648626, 0.98480767) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4204. CFrame.new(0.689965963, 0.767623663, -0.856841147, -0.544456005, 0.160545677, 0.823281765, 0.798456132, -0.201499581, 0.567332089, 0.256973624, 0.966241658, -0.0184810348) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4205. CFrame.new(-0.392649293, 0.920519292, -0.977094412, 0.403439909, -0.887421727, -0.222977459, -0.91384387, -0.378501445, -0.147058249, 0.0461054072, 0.263095737, -0.963667512) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4206. CFrame.new(0.598512471, -1.89166105, 0.0173719227, 0.962250233, -0.061308533, -0.265171409, 0.0871564373, 0.992403805, 0.0868248865, 0.257834017, -0.106658652, 0.960284173) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4207. CFrame.new(-0.598512232, -1.89166129, 0.0173728764, 0.962250233, 0.061308533, 0.265171409, -0.0871564373, 0.992403805, 0.0868248865, -0.257834017, -0.106658652, 0.960284173) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  4208. }, 0.3, false)
  4209. end
  4210. end
  4211. Humanoid.WalkSpeed = 20
  4212. attack = false
  4213. end
  4214. SHRA=false
  4215.  
  4216. Check=false
  4217. Mouse.KeyDown:connect(function(k)
  4218. k=k:byte()
  4219. if k==48 then
  4220. for _,v in pairs(Character:GetChildren()) do
  4221. if v.className=='Tool' then
  4222. h=Instance.new('Explosion',Character)
  4223. h.BlastPressure=0
  4224. h.Position=v.Handle.Position
  4225. v:remove()
  4226. end
  4227. end
  4228. end
  4229. end)
  4230.  
  4231.  
  4232.  
  4233. hand=true -- collect hands
  4234. Mouse.KeyDown:connect(function(k)
  4235. k = k:lower()
  4236. if k=='e' then
  4237. CFuncs.Sound.Create(756352322,Torso,5,1)
  4238. for _,v in pairs(Bitten) do
  4239. if v~=nil then
  4240. h=Instance.new('Explosion',v.Parent)
  4241. h.BlastPressure=0
  4242. h.Position=v.Parent.HumanoidRootPart.Position
  4243. v.Health=v.Health-1
  4244. if v.Health==0 and hand==true then
  4245. hand=false
  4246. g=workspace:findFirstChild(v.Parent.Name.."'s hand")
  4247. if g~=nil and g:IsA('Part') then
  4248.  
  4249. else
  4250. G=Instance.new('Part')
  4251. G.CFrame=v.Parent.HumanoidRootPart.CFrame*CFrame.new(0,1,0)
  4252. G.Name=v.Parent.Name.."'s hand"
  4253. G.Parent=workspace
  4254. G.BrickColor=v.Parent['Left Arm'].BrickColor
  4255. G.Size=Vector3.new(2,2,1)
  4256. int=Instance.new('StringValue',G)
  4257. int.Name='A Hand For a Stand'
  4258. int.Value=v.Parent.Name
  4259. M=Instance.new('FileMesh')
  4260. M.Parent=G
  4261. M.Scale=Vector3.new(.5,.5,.5)
  4262. M.MeshId='http://www.roblox.com/asset/?id=32054761'
  4263. cc=Instance.new('ClickDetector',G)
  4264. cc.MouseHoverEnter:connect(function(h)
  4265. if h==Player then
  4266. hand=true
  4267. Tool=Instance.new('Tool',Player.Backpack)
  4268. Tool.Name='Hand'
  4269. Tool.GripPos=Vector3.new(0,0.5,0)
  4270. Tool.GripRight=Vector3.new(-1,0,0)
  4271. Tool.GripUp=Vector3.new(0,0,1)
  4272. Tool.GripForward=Vector3.new(0,-1,0)
  4273. Tool.CanBeDropped=false
  4274. Tool.Name=int.Value.."'s hand"
  4275. Part=Instance.new('Part',Tool)
  4276. Part.BrickColor=cc.Parent.BrickColor
  4277. Part.Name='Handle'
  4278. meko=Instance.new('FileMesh',Part)
  4279. meko.Scale=Vector3.new(.3,.3,.3)
  4280. meko.MeshId='http://www.roblox.com/asset/?id=32054761'
  4281. cc.Parent:remove()
  4282. end
  4283. end)
  4284. end
  4285. end
  4286. end
  4287. end
  4288. Check=true
  4289. wait(.5)
  4290. Check=false
  4291. end
  4292.  
  4293. if k=='r' then
  4294. if lknives==false then
  4295. lknives=true
  4296. Chat('Enabled')
  4297. else lknives=false Chat('Disabled')
  4298.  
  4299. end
  4300. elseif k=='t' then
  4301. for _,v in pairs(Character:GetChildren()) do
  4302. if v.Name=='Sheer Heart Attack' then
  4303. h=Instance.new('Explosion',Character)
  4304. h.BlastPressure=0
  4305. h.Position=v.Position
  4306. h.BlastRadius=15
  4307. v:remove()
  4308. SHRA=false
  4309. end
  4310. end
  4311. end
  4312. -- if k=='e' then
  4313. -- Character.Torso.CFrame=Mouse.Hit*CFrame.new(0,2,0)
  4314. -- J=Instance.new('Sound',Torso)
  4315. -- J.SoundId='rbxassetid://1228181736'
  4316. -- J.Volume=2
  4317. -- J:play()
  4318. -- end
  4319. if attack == false and ora == false and k == "z" and IsWearingArmor == false and Invisible == false then
  4320. ora = true
  4321. ORA()
  4322. elseif attack == false and k == "x" and IsWearingArmor == false and Invisible == false then
  4323. GRABEMBOIGRABEM()
  4324. elseif attack == false and k == "q" and IsWearingArmor == false and Invisible == false then
  4325. -- FireProjectiles()--thats lame
  4326. if changeidle==1 then
  4327. changeidle=2
  4328. else changeidle=1
  4329. end
  4330.  
  4331. elseif attack == false and k == "f" and Invisible == false and IsWearingArmor == false then
  4332. Invisible = true
  4333. Effects.Sphere.Create(BrickColor.new("Light reddish violet"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1)
  4334. Effects.Block.Create(BrickColor.new("Light reddish violet"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1)
  4335. Disappear()
  4336. elseif attack == false and k == "f" and Invisible == true and IsWearingArmor == false then
  4337. Invisible = false
  4338. Effects.Sphere.Create(BrickColor.new("Light reddish violet"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.08)
  4339.  
  4340. for i = 1, 2 do
  4341. Effects.Block.Create(BrickColor.new("Light reddish violet"), Torso.CFrame, 1, 1, 1, 4, 4, 4, 0.1, 1)
  4342. end
  4343. for i = 1, 20 do
  4344. Effects.Break.Create(BrickColor.new("Light reddish violet"), Torso.CFrame, 1, 1, 1)
  4345. end
  4346. Reappear()
  4347. G=Instance.new('Sound',AdvancingFortress.FTorso)
  4348. G.Name='FLEF'
  4349. G.SoundId='rbxassetid://142716851'
  4350. G.Volume=3
  4351. G:Play()
  4352. elseif attack == false and ShieldMode == false and k == "c" and IsWearingArmor == false and Invisible == false then
  4353. ShieldMode = true
  4354. HoloHexShield()
  4355. elseif attack == false and k == "v" and IsWearingArmor == false and Invisible == false then
  4356. CastleCrusherFist()
  4357. end
  4358. if k == "[" and IsWearingArmor == false and Invisible == false then
  4359. Armor("On")
  4360. end
  4361. if k == "]" and IsWearingArmor == true and Invisible == false then
  4362. Armor("Off")
  4363. end
  4364.  
  4365. end)
  4366. Mouse.KeyUp:connect(function(k)
  4367. k = k:lower()
  4368. if attack == true and ora == true and k == "z" and IsWearingArmor == false then
  4369. ora = false
  4370. elseif attack == true and ShieldMode == true and k == "c" and IsWearingArmor == false then
  4371. ShieldMode = false
  4372. end
  4373. end)
  4374. -- coroutine.resume(coroutine.create(function(Part, Part2)
  4375. -- while Part.Parent ~= nil do
  4376. -- swait(math.random(100, 150))
  4377. -- for i = 0, 1, 0.2 do
  4378. -- wait()
  4379. -- Eye1.Mesh.Scale = Vector3.new(1, 0.7 - 1 * i, 1)
  4380. -- Eye2.Mesh.Scale = Vector3.new(1, 0.7 - 1 * i, 1)
  4381. -- end
  4382. -- for i = 0, 1, 0.2 do
  4383. -- swait()
  4384. -- Eye1.Mesh.Scale = Vector3.new(1, 0.7 + 0.3 * i, 1)
  4385. -- Eye2.Mesh.Scale = Vector3.new(1, 0.7 + 0.3 * i, 1)
  4386. -- end
  4387. -- end
  4388. -- end), Eye1, Eye2)
  4389. tfk=CFuncs.Sound.Create(1265445941, AdvancingFortress.FTorso, 1.5, 1)
  4390. tfk.Name='THEME'
  4391. tfk.Looped=true
  4392. changeidle=1
  4393. while true do
  4394.  
  4395. local c=table.getn(Bitten)
  4396. if c>0 and Check==true then
  4397. wait()
  4398. local c=table.getn(Bitten)
  4399. print('Checking')
  4400. for i=1, #Bitten do
  4401. print(i)
  4402. table.remove(Bitten,i)
  4403. end
  4404. end
  4405. --sound stopping instance
  4406. for _,v in pairs(AdvancingFortress.FTorso:GetChildren()) do
  4407. if v.Name=='FLEF' and v.TimePosition>2.5 then
  4408. v:remove()
  4409. end
  4410. end
  4411. swait()
  4412. for i, v in pairs(Character:children()) do
  4413. if v:IsA("Part") and IsWearingArmor == true then
  4414. v.Anchored = false
  4415. end
  4416. end
  4417. for i, v in pairs(AdvancingFortress:GetChildren()) do
  4418. if v:IsA("Part") then
  4419. v.Material = "SmoothPlastic"
  4420. v.CanCollide = false
  4421. elseif v:IsA("Humanoid") then
  4422. v:remove()
  4423. elseif v:IsA("Accessory") then
  4424. v:remove()
  4425. elseif v:IsA("Shirt") then
  4426. v:remove()
  4427. elseif v:IsA("Pants") then
  4428. v:remove()
  4429. elseif v:IsA("Script") or v:IsA("LocalScript") then
  4430. v:remove()
  4431. elseif v:IsA("BodyColors") then
  4432. v:remove()
  4433. end
  4434. end
  4435. AHandleR.Transparency = 1
  4436. AHandleL.Transparency = 1
  4437. RootPart.Transparency = 1
  4438. HitboxR.Transparency = 1
  4439. HitboxL.Transparency = 1
  4440. Head.BrickColor = BrickColor.new("Light reddish violet")
  4441. Torso.BrickColor = BrickColor.new("Light reddish violet")
  4442. RightArm.BrickColor = BrickColor.new("Light reddish violet")
  4443. LeftArm.BrickColor = BrickColor.new("Light reddish violet")
  4444. RightLeg.BrickColor = BrickColor.new("Light reddish violet")
  4445. LeftLeg.BrickColor = BrickColor.new("Light reddish violet")
  4446. RootPart.Anchored = true
  4447. Torsovelocity = (Character.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  4448. velocity = Character.HumanoidRootPart.Velocity.y
  4449. sine = sine + change
  4450. Shield.Anchored = true
  4451. Shield.CFrame = Shield.CFrame:lerp(RootPart.CFrame * CFrame.new(0, 0, -3.2), 1)
  4452. local hit, pos = rayCast(Character.HumanoidRootPart.Position, CFrame.new(Character.HumanoidRootPart.Position, Character.HumanoidRootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  4453. if Character.HumanoidRootPart.Velocity.y > 1 and hit == nil then
  4454. Anim = "Jump"
  4455. if attack == false then
  4456. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(-2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  4457. PlayAnimationFromTable({
  4458. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(.5, -1, 0),
  4459. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(1, 1, 0),
  4460. CFrame.new(1.5,0,0) * CFrame.new(-1, 0, -.3) * CFrame.Angles(1.5, 0, -1.5),
  4461. CFrame.new(-1.5,0,0) * CFrame.new(1, 0, -.5) * CFrame.Angles(3, 0, 1),
  4462. CFrame.new(.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4463. CFrame.new(-.5,-2,0) * CFrame.new(0, 0.5, -0.3) * CFrame.Angles(-.5, 0, 0)
  4464. }, 0.3, false)
  4465. end
  4466. elseif Character.HumanoidRootPart.Velocity.y < -1 and hit == nil then
  4467. Anim = "Fall"
  4468. if attack == false then
  4469. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(-2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  4470. PlayAnimationFromTable({
  4471. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(1, -1, 1),
  4472. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-1, 1, 0.5),
  4473. CFrame.new(1.5,0,0) * CFrame.new(-1, 0, -.3) * CFrame.Angles(1.5, 0, -1.5),
  4474. CFrame.new(-1.5,0,0) * CFrame.new(1, 0, -.5) * CFrame.Angles(3, 0, 1),
  4475. CFrame.new(.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4476. CFrame.new(-.5,-2,0) * CFrame.new(0, 0.5, -0.3) * CFrame.Angles(-.5, 0, 0)
  4477. }, 0.3, false)
  4478. end
  4479. elseif Torsovelocity < 1 and hit ~= nil then
  4480. Anim = "Idle"
  4481. if changeidle==1 then
  4482. if attack == false then
  4483. change = 1
  4484. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(-2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  4485. PlayAnimationFromTable({
  4486. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(1, -1, 1),
  4487. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-1, 1, 0.5),
  4488. CFrame.new(1.5,0,0) * CFrame.new(-1.2, 0, -.3) * CFrame.Angles(1.5, 0, -1.5),
  4489. CFrame.new(-1.5,0,0) * CFrame.new(1.5, 0.3, -.5) * CFrame.Angles(3, 0, 1),
  4490. CFrame.new(.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4491. CFrame.new(-.5,-2,0) * CFrame.new(0, 0.5, -0.3) * CFrame.Angles(-.5, 0, 0)
  4492. }, 0.3, false)
  4493. end
  4494. elseif changeidle==2 then
  4495. change = 1
  4496. if not attack then
  4497. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(-2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  4498. PlayAnimationFromTable({
  4499. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4500. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4501. CFrame.new(1.5,0,0) * CFrame.new(-1.5, 0.4, -.5) * CFrame.Angles(3, 0, -1),
  4502. CFrame.new(-1.5,0,0) * CFrame.new(1.5, 0.4, -.5) * CFrame.Angles(3, 0, 1),
  4503. CFrame.new(.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4504. CFrame.new(-.5,-2,0) * CFrame.new(0, 0.5, -0.3) * CFrame.Angles(-.5, 0, 0)
  4505. }, 0.3, false)
  4506. end
  4507. end
  4508. elseif Torsovelocity > 2 and hit ~= nil then
  4509. Anim = "Walk"
  4510. if attack == false then
  4511. RootPart.CFrame = RootPart.CFrame:lerp(Character.HumanoidRootPart.CFrame * CFrame.new(-2, 1 + 0.5 * math.cos(sine / 20), 3), 0.5)
  4512. PlayAnimationFromTable({
  4513. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-1, -1, 0),
  4514. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(1, 0, 0),
  4515. CFrame.new(1.5,0,0) * CFrame.new(-1, 0, -.3) * CFrame.Angles(1.5, 0, -1.5),
  4516. CFrame.new(-1.5,0,0) * CFrame.new(1, 0, -.5) * CFrame.Angles(3, 0, 1),
  4517. CFrame.new(.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  4518. CFrame.new(-.5,-2,0) * CFrame.new(0, 0.5, -0.3) * CFrame.Angles(-.5, 0, 0)
  4519. }, 0.3, false)
  4520. end
  4521. end
  4522. if 0 < #Effects then
  4523. for e = 1, #Effects do
  4524. if Effects[e] ~= nil then
  4525. local Thing = Effects[e]
  4526. if Thing ~= nil then
  4527. local Part = Thing[1]
  4528. local Mode = Thing[2]
  4529. local Delay = Thing[3]
  4530. local IncX = Thing[4]
  4531. local IncY = Thing[5]
  4532. local IncZ = Thing[6]
  4533. if Thing[2] == "Shoot" then
  4534. local Look = Thing[1]
  4535. local move = 30
  4536. if Thing[8] == 3 then
  4537. move = 10
  4538. end
  4539. local hit, pos = rayCast(Thing[4], Thing[1], move, m)
  4540. if Thing[10] ~= nil then
  4541. da = pos
  4542. cf2 = CFrame.new(Thing[4], Thing[10].Position)
  4543. cfa = CFrame.new(Thing[4], pos)
  4544. tehCF = cfa:lerp(cf2, 0.2)
  4545. Thing[1] = tehCF.lookVector
  4546. end
  4547. local mag = (Thing[4] - pos).magnitude
  4548. 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)
  4549. if Thing[8] == 2 then
  4550. 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)
  4551. end
  4552. Thing[4] = Thing[4] + Look * move
  4553. Thing[3] = Thing[3] - 1
  4554. if 2 < Thing[5] then
  4555. Thing[5] = Thing[5] - 0.3
  4556. Thing[6] = Thing[6] - 0.3
  4557. end
  4558. if hit ~= nil then
  4559. Thing[3] = 0
  4560. if Thing[8] == 1 or Thing[8] == 3 then
  4561. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  4562. elseif Thing[8] == 2 then
  4563. Damage(hit, hit, Thing[5], Thing[6], Thing[7], "Normal", RootPart, 0, "", 1)
  4564. if hit.Parent:findFirstChild("Humanoid") ~= nil or hit.Parent.Parent:findFirstChild("Humanoid") ~= nil then
  4565. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Light reddish violet"), "Reference", Vector3.new())
  4566. ref.Anchored = true
  4567. ref.CFrame = CFrame.new(pos)
  4568. CFuncs.Sound.Create("161006093", ref, 1, 1.2)
  4569. game:GetService("Debris"):AddItem(ref, 0.2)
  4570. 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)
  4571. 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)
  4572. MagnitudeDamage(ref, 15, Thing[5] / 1.5, Thing[6] / 1.5, 0, "Normal", "", 1)
  4573. end
  4574. end
  4575. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Light reddish violet"), "Reference", Vector3.new())
  4576. ref.Anchored = true
  4577. ref.CFrame = CFrame.new(pos)
  4578. Effects.Sphere.Create(Torso.BrickColor, CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  4579. game:GetService("Debris"):AddItem(ref, 1)
  4580. end
  4581. if Thing[3] <= 0 then
  4582. table.remove(Effects, e)
  4583. end
  4584. end
  4585. if Thing[2] == "FireWave" then
  4586. if Thing[3] <= Thing[4] then
  4587. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  4588. Thing[3] = Thing[3] + 1
  4589. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  4590. else
  4591. Part.Parent = nil
  4592. table.remove(Effects, e)
  4593. end
  4594. end
  4595. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  4596. if Thing[1].Transparency <= 1 then
  4597. if Thing[2] == "Block1" then
  4598. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  4599. Mesh = Thing[7]
  4600. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4601. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4602. elseif Thing[2] == "Block2" then
  4603. Thing[1].CFrame = Thing[1].CFrame
  4604. Mesh = Thing[7]
  4605. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4606. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4607. elseif Thing[2] == "Fire" then
  4608. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  4609. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  4610. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4611. elseif Thing[2] == "Cylinder" then
  4612. Mesh = Thing[7]
  4613. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4614. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4615. elseif Thing[2] == "Blood" then
  4616. Mesh = Thing[7]
  4617. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  4618. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  4619. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4620. elseif Thing[2] == "Elec" then
  4621. Thing[1].Size = Thing[1].Size + Vector3.new(Thing[7], Thing[8], Thing[9])
  4622. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4623. elseif Thing[2] == "Disappear" then
  4624. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4625. elseif Thing[2] == "Shatter" then
  4626. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  4627. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  4628. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  4629. Thing[6] = Thing[6] + Thing[5]
  4630. end
  4631. else
  4632. Part.Parent = nil
  4633. table.remove(Effects, e)
  4634. end
  4635. end
  4636. end
  4637. end
  4638. end
  4639. end
  4640. end
Advertisement
Add Comment
Please, Sign In to add comment