Advertisement
uor

Untitled

uor
Jul 4th, 2019
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- This script has been converted to FE by 1000hack
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by 1000hack")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86. f--Fixed by Scenius(On ROBLOX)
  87.  
  88. wait(0.016666666666666666)
  89. Effects = {}
  90. Instance.new("ForceField", owner.Character)
  91. local char = owner.Character
  92. ssbm = Instance.new("Sound",char)
  93. ssbm.Volume = 5
  94. ssbm.Looped = true
  95. ssbm.Pitch = 0.5
  96. ssbm.SoundId = "rbxassetid://570556587"
  97. ssbm:Play()
  98. local txt = Instance.new("BillboardGui", char)
  99. txt.Adornee = char .Head
  100. txt.Name = "_status"
  101. txt.Size = UDim2.new(2, 0, 1.2, 0)
  102. txt.StudsOffset = Vector3.new(-9, 10, 0)
  103. local text = Instance.new("TextLabel", txt)
  104. text.Size = UDim2.new(10, 0, 7, 0)
  105. text.FontSize = "Size24"
  106. text.TextScaled = true
  107. text.TextTransparency = 0
  108. text.BackgroundTransparency = 1
  109. text.TextTransparency = 0
  110. text.TextStrokeTransparency = 0
  111. text.Font = "Fantasy"
  112. text.TextStrokeColor3 = Color3.new(0,0,0)
  113. text.Text = "Time Sniper"
  114. spawn(function()
  115. while wait(0.1) do
  116. text.TextStrokeColor3 = BrickColor.new("Gold").Color
  117. text.TextColor3 = BrickColor.new("Really black").Color
  118. end
  119. end)
  120. local Player = owner
  121. script.Parent = Player.PlayerGui
  122. local Character = Player.Character
  123. local Humanoid = Character.Humanoid
  124. local Mouse = Player:GetMouse()
  125. local LeftArm = Character["Left Arm"]
  126. local RightArm = Character["Right Arm"]
  127. local LeftLeg = Character["Left Leg"]
  128. local RightLeg = Character["Right Leg"]
  129. local Head = Character.Head
  130. local Torso = Character.Torso
  131.  
  132. local Camera = game.Workspace.CurrentCamera
  133. local RootPart = Character.HumanoidRootPart
  134. local RootJoint = RootPart.RootJoint
  135. local attack = false
  136. local Anim = "Idle"
  137. local attacktype = 1
  138. local Headvelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  139. local velocity = RootPart.Velocity.y
  140. local sine = 0
  141. local change = 1
  142. local Create = LoadLibrary("RbxUtility").Create
  143. local m = Create("Model")({
  144. Parent = Character,
  145. Name = "WeaponModel"
  146. })
  147. Humanoid.Animator.Parent = nil
  148. Character.Animate.Parent = nil
  149. Humanoid.MaxHealth = math.huge
  150. Humanoid.Health = math.huge
  151. Humanoid.WalkSpeed = 130
  152. Humanoid.JumpPower = 135
  153. LeftArm.CanCollide = false
  154. RightArm.CanCollide = false
  155. LeftLeg.CanCollide = false
  156. RightLeg.CanCollide = false
  157. Torso.CanCollide = false
  158. Head.CanCollide = false
  159.  
  160. function chatfunc(text)
  161. local chat = coroutine.wrap(function()
  162. if char:FindFirstChild("TalkingBillBoard")~= nil then
  163. char:FindFirstChild("TalkingBillBoard"):destroy()
  164. end
  165. local naeeym2 = Instance.new("BillboardGui",char)
  166. naeeym2.Size = UDim2.new(0,100,0,40)
  167. naeeym2.StudsOffset = Vector3.new(0,3,0)
  168. naeeym2.Adornee = char.Head
  169. naeeym2.Name = "TalkingBillBoard"
  170. local tecks2 = Instance.new("TextLabel",naeeym2)
  171. tecks2.BackgroundTransparency = 1
  172. tecks2.BorderSizePixel = 0
  173. tecks2.Text = ""
  174. tecks2.Font = "Fantasy"
  175. tecks2.TextSize = 30
  176. tecks2.TextStrokeTransparency = 0
  177. tecks2.TextColor3 = Color3.new(0,0,0)
  178. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  179. tecks2.Size = UDim2.new(1,0,0.5,0)
  180. local tecks3 = Instance.new("TextLabel",naeeym2)
  181. tecks3.BackgroundTransparency = 1
  182. tecks3.BorderSizePixel = 0
  183. tecks3.Text = ""
  184. tecks3.Font = "Fantasy"
  185. tecks3.TextSize = 30
  186. tecks3.TextStrokeTransparency = 0
  187. tecks3.TextColor3 = Color3.new(0,0,0)
  188. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  189. tecks3.Size = UDim2.new(1,0,0.5,0)
  190. spawn(function()
  191. while wait(0.04) do
  192. tecks3.TextStrokeColor3 = BrickColor.new("Gold").Color
  193. tecks2.TextStrokeColor3 = BrickColor.new("Really black").Color
  194. end
  195. end)
  196. for i = 1,string.len(text),1 do
  197.  
  198. tecks2.Text = string.sub(text,1,i)
  199. tecks3.Text = string.sub(text,1,i)
  200. wait(0.01)
  201. end
  202. wait(2)
  203. for i = 1, 50 do
  204.  
  205. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  206. tecks2.Rotation = tecks2.Rotation - .8
  207. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  208. tecks2.TextTransparency = tecks2.TextTransparency + .04
  209. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  210. tecks3.Rotation = tecks2.Rotation + .8
  211. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  212. tecks3.TextTransparency = tecks2.TextTransparency + .04
  213. end
  214. naeeym2:Destroy()
  215. end)
  216. chat()
  217.  
  218. end
  219. function onChatted(msg)
  220. chatfunc(msg)
  221.  
  222. end
  223. Player.Chatted:connect(onChatted)
  224.  
  225. local ColorsArray ={ColorSequenceKeypoint.new(0, Color3.new(1,1,0)),
  226. ColorSequenceKeypoint.new(0.16, Color3.new(1,1,0)),
  227. ColorSequenceKeypoint.new(0.32, Color3.new(1,1,0)),
  228. ColorSequenceKeypoint.new(0.48, Color3.new(1,1,0)),
  229. ColorSequenceKeypoint.new(0.64, Color3.new(1,1,0)),
  230. ColorSequenceKeypoint.new(0.80, Color3.new(1,1,0)),
  231. ColorSequenceKeypoint.new(0.96, Color3.new(1,1,0)),
  232. ColorSequenceKeypoint.new(1, Color3.new(1,1,0))}
  233. local Atch1 = Instance.new("Attachment",Torso)Atch1.Position = Vector3.new(0,2,0)
  234. local Atch2 = Instance.new("Attachment",Torso)Atch2.Position = Vector3.new(0,-2.5,0)
  235. local Trail = Instance.new("Trail",Torso)Trail.Attachment0 = Atch1 Trail.Attachment1 = Atch2
  236. Trail.Texture = "rbxassetid://22636887" Trail.Lifetime = 0.2 Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  237. Trail.Color = ColorSequence.new(ColorsArray) Trail.LightEmission = 1
  238. Trail.Enabled = true
  239. local function newMotor(part0, part1, c0, c1)
  240. local w = Create("Motor")({
  241. Parent = part0,
  242. Part0 = part0,
  243. Part1 = part1,
  244. C0 = c0,
  245. C1 = c1
  246. })
  247. return w
  248. end
  249. function clerp(a, b, t)
  250. return a:lerp(b, t)
  251. end
  252. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  253. NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  254. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  255. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  256. local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
  257. local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
  258. RootJoint.C1 = CFrame.new(0, 0, 0)
  259. RootJoint.C0 = CFrame.new(0, 0, 0)
  260. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  261. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  262. local rarmc1 = RW.C1
  263. local larmc1 = LW.C1
  264. local rlegc1 = RH.C1
  265. local llegc1 = LH.C1
  266. local resetc1 = false
  267. function PlayAnimationFromTable(table, speed, bool)
  268. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  269. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  270. RW.C0 = clerp(RW.C0, table[3], speed)
  271. LW.C0 = clerp(LW.C0, table[4], speed)
  272. RH.C0 = clerp(RH.C0, table[5], speed)
  273. LH.C0 = clerp(LH.C0, table[6], speed)
  274. if bool == true and resetc1 == false then
  275. resetc1 = true
  276. RootJoint.C1 = RootJoint.C1
  277. Torso.Neck.C1 = Torso.Neck.C1
  278. RW.C1 = rarmc1
  279. LW.C1 = larmc1
  280. RH.C1 = rlegc1
  281. LH.C1 = llegc1
  282. end
  283. end
  284. ArtificialHB = Create("BindableEvent", script)({Parent = script, Name = "Heartbeat"})
  285. script:WaitForChild("Heartbeat")
  286. frame = 0.03333333333333333
  287. tf = 0
  288. allowframeloss = false
  289. tossremainder = false
  290. lastframe = tick()
  291. script.Heartbeat:Fire()
  292. game:GetService("RunService").Heartbeat:connect(function(s, p)
  293. tf = tf + s
  294. if tf >= frame then
  295. if allowframeloss then
  296. script.Heartbeat:Fire()
  297. lastframe = tick()
  298. else
  299. for i = 1, math.floor(tf / frame) do
  300. script.Heartbeat:Fire()
  301. end
  302. lastframe = tick()
  303. end
  304. if tossremainder then
  305. tf = 0
  306. else
  307. tf = tf - frame * math.floor(tf / frame)
  308. end
  309. end
  310. end)
  311. function swait(num)
  312. if num == 0 or num == nil then
  313. ArtificialHB.Event:wait()
  314. else
  315. for i = 0, num do
  316. ArtificialHB.Event:wait()
  317. end
  318. end
  319. end
  320. function RemoveOutlines(part)
  321. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  322. end
  323. CFuncs = {
  324. Part = {
  325. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  326. local Part = Create("Part")({
  327. Parent = Parent,
  328. Reflectance = Reflectance,
  329. Transparency = Transparency,
  330. CanCollide = false,
  331. Locked = true,
  332. BrickColor = BrickColor.new(tostring(BColor)),
  333. Name = Name,
  334. Size = Size,
  335. Material = Material
  336. })
  337. RemoveOutlines(Part)
  338. return Part
  339. end
  340. },
  341. Mesh = {
  342. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  343. local Msh = Create(Mesh)({
  344. Parent = Part,
  345. Offset = OffSet,
  346. Scale = Scale
  347. })
  348. if Mesh == "SpecialMesh" then
  349. Msh.MeshType = MeshType
  350. Msh.MeshId = MeshId
  351. end
  352. return Msh
  353. end
  354. },
  355. Weld = {
  356. Create = function(Parent, Part0, Part1, C0, C1)
  357. local Weld = Create("Weld")({
  358. Parent = Parent,
  359. Part0 = Part0,
  360. Part1 = Part1,
  361. C0 = C0,
  362. C1 = C1
  363. })
  364. return Weld
  365. end
  366. },
  367. Sound = {
  368. Create = function(id, par, vol, pit)
  369. coroutine.resume(coroutine.create(function()
  370. local Sound = Create("Sound")({
  371. Volume = vol,
  372. Pitch = pit or 1,
  373. SoundId = "rbxassetid://" .. id,
  374. Parent = par or workspace
  375. })
  376. Sound:play()
  377. game:GetService("Debris"):AddItem(Sound, 10)
  378. end))
  379. end
  380. },
  381. Decal = {
  382. Create = function(Color, Texture, Transparency, Name, Parent)
  383. local Decal = Create("Decal")({
  384. Color3 = Color,
  385. Texture = "rbxassetid://" .. Texture,
  386. Transparency = Transparency,
  387. Name = Name,
  388. Parent = Parent
  389. })
  390. return Decal
  391. end
  392. },
  393. BillboardGui = {
  394. Create = function(Parent, Image, Position, Size)
  395. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  396. BillPar.CFrame = CFrame.new(Position)
  397. local Bill = Create("BillboardGui")({
  398. Parent = BillPar,
  399. Adornee = BillPar,
  400. Size = UDim2.new(1, 0, 1, 0),
  401. SizeOffset = Vector2.new(Size, Size)
  402. })
  403. local d = Create("ImageLabel", Bill)({
  404. Parent = Bill,
  405. BackgroundTransparency = 1,
  406. Size = UDim2.new(1, 0, 1, 0),
  407. Image = "rbxassetid://" .. Image
  408. })
  409. return BillPar
  410. end
  411. },
  412. ParticleEmitter = {
  413. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  414. local Particle = Create("ParticleEmitter")({
  415. Parent = Parent,
  416. Color = ColorSequence.new(Color1, Color2),
  417. LightEmission = LightEmission,
  418. Size = Size,
  419. Texture = Texture,
  420. Transparency = Transparency,
  421. ZOffset = ZOffset,
  422. Acceleration = Accel,
  423. Drag = Drag,
  424. LockedToPart = LockedToPart,
  425. VelocityInheritance = VelocityInheritance,
  426. EmissionDirection = EmissionDirection,
  427. Enabled = Enabled,
  428. Lifetime = LifeTime,
  429. Rate = Rate,
  430. Rotation = Rotation,
  431. RotSpeed = RotSpeed,
  432. Speed = Speed,
  433. VelocitySpread = VelocitySpread
  434. })
  435. return Particle
  436. end
  437. },
  438. CreateTemplate = {}
  439. }
  440. function rayCast(Position, Direction, Range, Ignore)
  441. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  442. end
  443. function findNearestHead(pos)
  444. local list = game.Workspace:children()
  445. local head
  446. local dist = 1000
  447. local temp, human, temp2
  448. for x = 1, #list do
  449. temp2 = list[x]
  450. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  451. temp = temp2:findFirstChild("Head")
  452. human = temp2:findFirstChild("Humanoid")
  453. if temp ~= nil and human ~= nil and human.Health > 0 and dist > (temp.Position - pos).magnitude then
  454. head = temp
  455. dist = (temp.Position - pos).magnitude
  456. end
  457. end
  458. end
  459. return head, dist
  460. end
  461. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  462. if hit.Parent == nil then
  463. return
  464. end
  465. local h = hit.Parent:FindFirstChild("Humanoid")
  466. for _, v in pairs(hit.Parent:children()) do
  467. if v:IsA("Humanoid") then
  468. h = v
  469. end
  470. end
  471. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  472. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  473. return
  474. end
  475. local c = Create("ObjectValue")({
  476. Name = "creator",
  477. Value = owner,
  478. Parent = h
  479. })
  480. game:GetService("Debris"):AddItem(c, 0.5)
  481. if HitSound ~= nil and HitPitch ~= nil then
  482. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  483. end
  484. local Damage = math.random(1,1)
  485. local blocked = false
  486. local block = hit.Parent:findFirstChild("Block")
  487. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  488. blocked = true
  489. block.Value = block.Value - 1
  490. print(block.Value)
  491. end
  492. if blocked == false then
  493. h.Health = h.Health - Damage
  494. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.random().Color)
  495. else
  496. h.Health = h.Health - Damage / 2
  497. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.random().Color)
  498. end
  499. if Type == "Knockdown" then
  500. local hum = hit.Parent.Humanoid
  501. hum.PlatformStand = true
  502. coroutine.resume(coroutine.create(function(HHumanoid)
  503. swait(1)
  504. HHumanoid.PlatformStand = false
  505. end), hum)
  506. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  507. local bodvol = Create("BodyVelocity")({
  508. velocity = angle * knockback,
  509. P = math.huge,
  510. maxForce = Vector3.new(math.huge, math.huge, math.huge) * math.huge * math.huge,
  511. Parent = hit
  512. })
  513. local rl = Create("BodyAngularVelocity")({
  514. P = 3000,
  515. maxTorque = Vector3.new(math.huge, math.huge, math.huge) * math.huge,
  516. angularvelocity = Vector3.new(math.random(math.huge, math.huge), math.random(math.huge, math.huge), math.random(math.huge, math.huge)),
  517. Parent = hit
  518. })
  519. game:GetService("Debris"):AddItem(bodvol, 0.5)
  520. game:GetService("Debris"):AddItem(rl, 0.5)
  521. elseif Type == "Normal" then
  522. local vp = Create("BodyVelocity")({
  523. P = 500,
  524. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  525. velocity = Property.CFrame.lookVector * knockback + Property.Velocity * math.huge
  526. })
  527. if knockback > 0 then
  528. vp.Parent = hit.Parent.Head
  529. end
  530. game:GetService("Debris"):AddItem(vp, 0.5)
  531. elseif Type == "Up" then
  532. local bodvol = Create("BodyVelocity")({
  533. velocity = angle * knockback,
  534. P = math.huge,
  535. maxForce = Vector3.new(math.huge, math.huge, math.huge) * math.huge * math.huge,
  536. Parent = hit
  537. })
  538. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  539. elseif Type == "DarkUp" then
  540. coroutine.resume(coroutine.create(function()
  541. for i = 0, 1, 0.1 do
  542. swait()
  543. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Head.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  544. end
  545. end))
  546. local bodvol = Create("BodyVelocity")({
  547. velocity = angle * knockback,
  548. P = math.huge,
  549. maxForce = Vector3.new(math.huge, math.huge, math.huge) * math.huge * math.huge,
  550. Parent = hit
  551. })
  552. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  553. elseif Type == "Snare" then
  554. local bp = Create("BodyPosition")({
  555. P = math.huge,
  556. D = math.huge,
  557. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  558. position = hit.Parent.Head.Position,
  559. Parent = hit.Parent.Head
  560. })
  561. game:GetService("Debris"):AddItem(bp, 1)
  562. elseif Type == "Freeze" then
  563. local BodPos = Create("BodyPosition")({
  564. P = math.huge,
  565. D = math.huge,
  566. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  567. position = hit.Parent.Head.Position,
  568. Parent = hit.Parent.Head
  569. })
  570. local BodGy = Create("BodyGyro")({
  571. maxTorque = Vector3.new(math.huge, math.huge, math.huge) * math.huge,
  572. P = math.huge,
  573. Parent = hit.Parent.Head,
  574. cframe = hit.Parent.Head.CFrame
  575. })
  576. hit.Parent.Head.Anchored = true
  577. coroutine.resume(coroutine.create(function(Part)
  578. swait(1.5)
  579. Part.Anchored = false
  580. end), hit.Parent.Head)
  581. game:GetService("Debris"):AddItem(BodPos, 3)
  582. game:GetService("Debris"):AddItem(BodGy, 3)
  583. end
  584. local debounce = Create("BoolValue")({
  585. Name = "DebounceHit",
  586. Parent = hit.Parent,
  587. Value = true
  588. })
  589. game:GetService("Debris"):AddItem(debounce, Delay)
  590. c = Create("ObjectValue")({
  591. Name = "creator",
  592. Value = Player,
  593. Parent = h
  594. })
  595. game:GetService("Debris"):AddItem(c, 0.5)
  596. end
  597. end
  598. function ShowDamage(Pos, Text, Time, Color)
  599. local Rate = 0.03333333333333333
  600. local Pos = Pos or Vector3.new(0, 0, 0)
  601. local Text = Text or ""
  602. local Time = Time or 2
  603. local Color = Color or Color3.new(1, 0, 1)
  604. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  605. EffectPart.Anchored = true
  606. local BillboardGui = Create("BillboardGui")({
  607. Size = UDim2.new(3, 0, 3, 0),
  608. Adornee = EffectPart,
  609. Parent = EffectPart
  610. })
  611. local TextLabel = Create("TextLabel")({
  612. BackgroundTransparency = 1,
  613. Size = UDim2.new(1, 0, 1, 0),
  614. Text = Text,
  615. Font = "SciFi",
  616. TextColor3 = Color,
  617. TextScaled = true,
  618. Parent = BillboardGui
  619. })
  620. game.Debris:AddItem(EffectPart, Time)
  621. EffectPart.Parent = game:GetService("Workspace")
  622. delay(0, function()
  623. local Frames = Time / Rate
  624. for Frame = 1, Frames do
  625. wait(Rate)
  626. local Percent = Frame / Frames
  627. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  628. TextLabel.TextTransparency = Percent
  629. end
  630. if EffectPart and EffectPart.Parent then
  631. EffectPart:Destroy()
  632. end
  633. end)
  634. end
  635. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  636. for _, c in pairs(workspace:children()) do
  637. local hum = c:findFirstChild("Humanoid")
  638. if hum ~= nil then
  639. local head = c:findFirstChild("Head")
  640. if head ~= nil then
  641. local targ = head.Position - Part.Position
  642. local mag = targ.magnitude
  643. if Magnitude >= mag and c.Name ~= Player.Name then
  644. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0, HitSound, HitPitch)
  645. end
  646. end
  647. end
  648. end
  649. end
  650. Handle = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, BrickColor.Random(), "Handle", Vector3.new(0.400000036, 0.400000006, 1.20000005))
  651. HandleWeld = CFuncs.Weld.Create(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0921096802, -1.06268024, -0.143123627, 1, 0, 0, 0, -1, 0, 0, 0, -1))
  652. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.28000009, 0.200000003, 0.200000003))
  653. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.503977776, -0.339992523, -5.56945801E-4, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  654. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.840000033))
  655. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  656. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.0959959, -0.579998016, -0.0817871094, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  657. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.400000036))
  658. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.560000062, 0.200000003))
  659. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.0959959, -0.579998016, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  660. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.400000036))
  661. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.400000006))
  662. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.303993225, -1.18399811, 0.00179290771, 0, 1, 0, 0, 0, 1, 1, 0, 0))
  663. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 1))
  664. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.60000002, 0.200000003, 0.24000001))
  665. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.69602108, -1.02399826, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  666. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
  667. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.60000002, 0.24000001, 0.200000003))
  668. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696018219, -1.10399246, -0.16178894, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  669. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.400000036))
  670. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.400000066, 0.24000001, 0.400000006))
  671. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.360696793, 0.00178527832, 0.64538765, 0, -0.866025388, 0.500000238, 1, 0, 0, 0, 0.500000238, 0.866025388))
  672. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  673. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.960000217, 0.200000003, 0.24000001))
  674. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.994522095, 0.660827637, -0.00178527832, 0, -0.866025388, -0.500000238, 0, -0.500000238, 0.866025388, -1, 0, 0))
  675. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
  676. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  677. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.0959959, -0.579998016, 0.0782165527, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  678. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.400000036))
  679. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.480000079, 0.24000001, 0.400000006))
  680. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.44069862, 0.00178527832, 0.64538765, 0, -0.866025388, 0.500000238, 1, 0, 0, 0, 0.500000238, 0.866025388))
  681. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  682. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.240000039, 0.56400001, 0.200000003))
  683. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.54615593, 0.105833054, -5.56945801E-4, 0, -0.866025388, 0.500000238, 0, 0.500000238, 0.866025388, -1, 0, 0))
  684. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.840000033))
  685. Part1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.24000001))
  686. PartWeld = CFuncs.Weld.Create(m, Handle, Part1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.143982887, -0.459991455, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  687. CFuncs.Mesh.Create("BlockMesh", Part1, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.800000072, 1))
  688. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  689. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00579071045, -4.09999514, -0.459999084, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  690. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 0.800000072))
  691. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.28000009, 0.200000003, 0.24000001))
  692. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.69600773, -0.779994965, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  693. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000191, 1))
  694. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.24000001, 0.200000003, 0.24000001))
  695. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0160188675, -0.579998016, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  696. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
  697. Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  698. PartWeld = CFuncs.Weld.Create(m, Handle, Part2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.66395569, -0.739994049, -5.56945801E-4, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  699. CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.800000072))
  700. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.240000054, 0.200000003))
  701. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.0999918, -0.579998016, -0.00579071045, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  702. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.800000072))
  703. Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.400000006))
  704. PartWeld = CFuncs.Weld.Create(m, Handle, Part3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.69601679, -1.18399429, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  705. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 1))
  706. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  707. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00579071045, -4.09999704, -0.700000763, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  708. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 0.800000072))
  709. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.28000009, 0.351999998, 0.24000001))
  710. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.341727257, 0.16400528, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  711. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  712. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.183994293, -1.14399719, -0.158203125, 0, 1, 0, 0, 0, 1, 1, 0, 0))
  713. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000191, 0.800000072, 0.400000036))
  714. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  715. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.183990479, -1.14399338, 0.161781311, 0, 1, 0, 0, 0, 1, 1, 0, 0))
  716. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000191, 0.800000072, 0.400000036))
  717. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.92000008, 0.200000003, 0.24000001))
  718. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.69602108, -1.18399429, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  719. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
  720. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.720000148, 0.351999998, 0.24000001))
  721. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.640586853, 0.0887641907, -0.00178527832, 0, -0.965925872, 0.258818984, 0, 0.258818984, 0.965925872, -1, 0, 0))
  722. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.75999987, 0.240000039, 0.24000001))
  723. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.1760211, -0.179992676, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  724. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.960000038, 0.200000003, 0.200000003))
  725. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.663973808, -0.81999588, -5.56945801E-4, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  726. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.800000072))
  727. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.319999993, 0.560000002, 0.24000001))
  728. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.30395985, -0.659992218, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  729. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.720000029, 0.200000003, 0.24000001))
  730. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.69600916, -0.779994965, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  731. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.799999952, 1))
  732. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.24000001, 0.200000003))
  733. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0639743805, -0.179992676, -5.56945801E-4, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  734. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.840000033))
  735. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.399999976, 0.24000001))
  736. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.54395485, -0.739994049, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  737. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.799999833, 1, 1))
  738. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.960000038, 0.400000006, 0.24000001))
  739. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.663974762, -0.579998016, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  740. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.28000009, 0.200000003, 0.24000001))
  741. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.69600916, -0.139995575, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  742. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000191, 1))
  743. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.480000019, 0.319999993, 0.200000003))
  744. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.38396263, -0.379989624, -5.56945801E-4, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  745. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072))
  746. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.320000052, 0.200000003, 0.24000001))
  747. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.023979187, -0.899997711, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  748. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
  749. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.12, 0.400000006, 0.24000001))
  750. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.880693436, 0.645389557, -0.00178527832, 0, -0.866025388, 0.500000238, 0, 0.500000238, 0.866025388, -1, 0, 0))
  751. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.20000017, 0.200000003, 0.24000001))
  752. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.11452484, 0.796833038, -0.00178527832, 0, -0.866025388, -0.500000238, 0, -0.500000238, 0.866025388, -1, 0, 0))
  753. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.960000098, 1))
  754. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.43599987, 0.488000005, 0.200000003))
  755. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.77400494, -0.460571289, -0.00179290771, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  756. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072))
  757. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.60000002, 0.24000001, 0.200000003))
  758. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696018219, -1.10399246, 0.158210754, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  759. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.400000036))
  760. Part24 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.84000003, 0.320000023, 0.200000003))
  761. PartWeld = CFuncs.Weld.Create(m, Handle, Part24, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.13602066, -0.456577301, -0.00179290771, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  762. CFuncs.Mesh.Create("BlockMesh", Part24, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072))
  763. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.560000062, 0.200000003, 0.24000001))
  764. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.77600718, -0.619998932, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  765. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.799999952, 1))
  766. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.240000159, 0.200000003, 0.200000003))
  767. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0960187912, -0.299991608, -5.56945801E-4, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  768. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072))
  769. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  770. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.57601833, -1.14399338, -0.16178894, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  771. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000191, 0.800000072, 0.400000036))
  772. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(2.24000001, 0.240000039, 0.24000001))
  773. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.936019897, -0.740001678, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  774. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.24000001))
  775. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0239887238, -0.947994232, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  776. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 1))
  777. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.24000001))
  778. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.41601658, -0.947994232, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  779. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 1))
  780. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.559999943, 0.200000003, 0.200000003))
  781. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.303974152, -0.0199928284, -5.56945801E-4, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  782. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.840000033))
  783. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.800000012, 0.24000001, 0.200000003))
  784. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.697479248, -0.204208374, -5.56945801E-4, 0, -0.866025388, -0.500000238, 0, -0.500000238, 0.866025388, -1, 0, 0))
  785. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072))
  786. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.43999994, 0.200000003, 0.24000001))
  787. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696018219, -0.899993896, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  788. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
  789. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.27999985, 0.320000023, 0.24000001))
  790. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(2.69599819, -0.379993439, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  791. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.24000001))
  792. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0960140228, -0.459991455, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  793. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000066, 0.800000072, 1))
  794. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.43999994, 0.200000003, 0.200000003))
  795. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.696018219, -0.979995728, 0.00221252441, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  796. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.720000088))
  797. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.320000052, 0.200000003, 0.24000001))
  798. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.41601706, -0.900001526, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  799. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
  800. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.720000148, 0.200000003, 0.200000003))
  801. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.783975601, -0.299995422, -5.56945801E-4, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  802. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072))
  803. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.720000029, 0.24000001, 0.24000001))
  804. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.69600821, -0.419994354, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  805. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  806. PartWeld = CFuncs.Weld.Create(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.57601833, -1.14399338, 0.158210754, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  807. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000191, 0.800000072, 0.400000036))
  808. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  809. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.16178894, -1.69601536, -1.10400009, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  810. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
  811. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  812. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.158210754, -0.303990364, -1.10399246, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  813. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
  814. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.480000019, 0.320000023))
  815. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, -0.376020432, -0.459991455, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  816. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  817. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.320000023, 0.200000003))
  818. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, 0.376021385, 0.379989624, 1, 0, 0, 0, -1, 0, 0, 0, -1))
  819. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072))
  820. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  821. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.16178894, -0.303990364, -1.10399246, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  822. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
  823. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.319999993))
  824. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, 0.339988708, 1.30396938, 1, 0, 0, 0, 0, -1, 0, 1, 0))
  825. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
  826. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  827. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, -0.023979187, -0.459991455, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  828. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072))
  829. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  830. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, -0.183997154, -1.02399826, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  831. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.400000036))
  832. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  833. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.09599924, -0.0782165527, -0.340000153, 0, -1, 0, 1, 0, 0, 0, 0, 1))
  834. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
  835. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  836. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, 0.143980026, 0.579998016, -1, 0, 0, 0, 1, 0, 0, 0, -1))
  837. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036))
  838. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.239999995))
  839. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, -0.819999695, 0.303976059, -1, 0, 0, 0, 0, 1, 0, 1, 0))
  840. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
  841. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  842. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, -0.143980026, -0.579998016, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  843. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036))
  844. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  845. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, -0.459991455, -0.023979187, 1, 0, 0, 0, 0, 1, 0, -1, 0))
  846. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072))
  847. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  848. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, 3.45600224, 0.579998016, 1, 0, 0, 0, -1, 0, 0, 0, -1))
  849. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036))
  850. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  851. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.09599924, -0.0817871094, -0.340000153, 0, 1, 0, -1, 0, 0, 0, 0, 1))
  852. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
  853. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.248000011, 0.320000023, 0.200000003))
  854. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, -0.296023369, -0.477993011, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  855. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.980000019))
  856. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.320000023, 0.24000001))
  857. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, 1.89601326, 0.419994354, 1, 0, 0, 0, -1, 0, 0, 0, -1))
  858. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  859. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  860. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, 3.4560008, -0.659992218, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  861. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036))
  862. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.239999995))
  863. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, -0.859996796, -1.02396774, 1, 0, 0, 0, 0, 1, 0, -1, 0))
  864. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 1))
  865. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  866. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, 0.0960197449, -0.339992523, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  867. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036))
  868. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  869. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, -1.57602215, -1.02399826, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  870. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.400000036))
  871. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  872. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, 0.299995422, 1.22396374, 1, 0, 0, 0, 0, -1, 0, 1, 0))
  873. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072))
  874. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 1.20000005, 0.200000003))
  875. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, -1.13601112, 0.379993439, -1, 0, 0, 0, 1, 0, 0, 0, -1))
  876. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072))
  877. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.248000011, 0.22800003, 0.200000003))
  878. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, 0.0220222473, -0.477993011, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  879. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.980000019))
  880. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0.80000001192093, "Toothpaste", "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  881. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, -1.69601536, -1.10400009, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  882. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036))
  883. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  884. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.09599543, -0.0782165527, 0.81999588, 0, 1, 0, 1, 0, 0, 0, 0, -1))
  885. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
  886. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  887. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.158210754, -1.69601536, -1.10400009, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  888. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
  889. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.320000023, 0.200000003))
  890. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.56945801E-4, 0.379993439, 1.66396999, 1, 0, 0, 0, 0, -1, 0, 1, 0))
  891. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 1, 0.400000036))
  892. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.24000001, 0.200000003))
  893. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, 0.179988861, -0.2560215, 1, 0, 0, 0, 0, -1, 0, 1, 0))
  894. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.400000036))
  895. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  896. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.09599543, -0.0817871094, 0.81999588, 0, -1, 0, -1, 0, 0, 0, 0, -1))
  897. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
  898. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.239999995))
  899. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, 0.299995422, -1.02396679, -1, 0, 0, 0, 0, -1, 0, -1, 0))
  900. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 1))
  901. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  902. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, 0.459991455, 1.54396248, 1, 0, 0, 0, 0, -1, 0, 1, 0))
  903. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.799999952))
  904. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.320000023, 0.200000003))
  905. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, -2.21600771, -0.659992218, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  906. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.400000036))
  907. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.640000045, 0.319999933))
  908. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.56945801E-4, 0.299995422, 0.136026382, -1, 0, 0, 0, 0, -1, 0, -1, 0))
  909. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.840000153, 1, 1))
  910. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.239999995))
  911. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(5.56945801E-4, -0.899993896, -1.02397919, 1, 0, 0, 0, 0, 1, 0, -1, 0))
  912. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 1))
  913. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.720000029, 0.239999995))
  914. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00178527832, -3.69600487, -0.17999649, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  915. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  916. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0.80000001192093, "Toothpaste", "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  917. WedgeWeld = CFuncs.Weld.Create(m, Handle, Wedge, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00178527832, -0.303975105, -1.10400009, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  918. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036))
  919. Barrel = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, BrickColor.Random(), "Barrel", Vector3.new(0.200000003, 0.200000003, 0.600000024))
  920. BarrelWeld = CFuncs.Weld.Create(m, Handle, Barrel, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00579071045, -4.09999704, -0.500003815, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  921. CFuncs.Mesh.Create("CylinderMesh", Barrel, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 0.800000072))
  922. JetpackHandle = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "JetpackHandle", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  923. JetpackHandleWeld = CFuncs.Weld.Create(m, Character.Torso, JetpackHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.62939453E-6, -0.400000662, -2.30000019, 0.999999821, -3.64178788E-7, -8.94072372E-8, 3.63716538E-7, 1, 7.422572E-10, 2.98025853E-8, -1.13686838E-13, 0.999999881))
  924. EffectPartR1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartR1", Vector3.new(0.5, 0.5, 0.300000012))
  925. EffectPartR1Weld = CFuncs.Weld.Create(m, JetpackHandle, EffectPartR1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.09364891, -0.187623501, -0.0701560974, 0.906307757, 3.29325474E-7, -0.422617853, -0.144542456, 0.939694047, -0.309971899, 0.397131324, 0.34201628, 0.851652086))
  926. EffectPartL1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartL1", Vector3.new(0.5, 0.5, 0.300000012))
  927. EffectPartL1Weld = CFuncs.Weld.Create(m, JetpackHandle, EffectPartL1, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.02251816, -0.220495224, 0.120153427, 0.965927601, 1.32644391E-6, 0.258812487, 0.0885165557, 0.939698577, -0.330363601, -0.243205622, 0.342014492, 0.907681763))
  928. EffectPartR2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartR2", Vector3.new(0.5, 0.5, 0.300000012))
  929. EffectPartR2Weld = CFuncs.Weld.Create(m, JetpackHandle, EffectPartR2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.093647, 0.123265266, 0.0195560455, 0.906307757, 3.29325474E-7, -0.422617853, -0.109380148, 0.965926826, -0.234566003, 0.408217847, 0.25881511, 0.875427186))
  930. EffectPartL2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartL2", Vector3.new(0.5, 0.5, 0.300000012))
  931. EffectPartL2Weld = CFuncs.Weld.Create(m, JetpackHandle, EffectPartL2, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.02252197, 0.0983912945, 0.212385654, 0.96592772, 1.15327362E-6, 0.258813411, 0.0669838786, 0.965926588, -0.249997437, -0.249995068, 0.258815855, 0.933015227))
  932. EffectPartL3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartL3", Vector3.new(0.400000006, 0.5, 0.300000012))
  933. EffectPartL3Weld = CFuncs.Weld.Create(m, JetpackHandle, EffectPartL3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.86114502, 1.02306592, -0.343766928, 0.981060922, -0.0278283078, 0.19168894, -0.0858270004, 0.824720919, 0.558989346, -0.173645675, -0.56485492, 0.806713104))
  934. EffectPartR3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartR3", Vector3.new(0.400000006, 0.5, 0.300000012))
  935. EffectPartR3Weld = CFuncs.Weld.Create(m, JetpackHandle, EffectPartR3, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.83058548, 1.0264864, -0.312187195, 0.981061339, 0.0278254021, -0.191695988, 0.0858334452, 0.824721098, 0.558989942, 0.173649624, -0.564855158, 0.806710064))
  936. CFuncs.Mesh.Create("SpecialMesh", JetpackHandle, Enum.MeshType.FileMesh, "rbxassetid://665940542", Vector3.new(0, 0, 0), Vector3.new(1.29999995, 1.29999995, 1.29999995))
  937. JetpackHandle.Mesh.TextureId = "rbxassetid://665940699"
  938. EffectModel = Create("Model")({Parent = Character, Name = "Effects"})
  939. Effects = {
  940. Block = {
  941. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  942. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  943. prt.Anchored = true
  944. prt.CFrame = cframe
  945. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  946. game:GetService("Debris"):AddItem(prt, 10)
  947. if Type == 1 or Type == nil then
  948. table.insert(Effects, {
  949. prt,
  950. "Block1",
  951. delay,
  952. x3,
  953. y3,
  954. z3,
  955. msh
  956. })
  957. elseif Type == 2 then
  958. table.insert(Effects, {
  959. prt,
  960. "Block2",
  961. delay,
  962. x3,
  963. y3,
  964. z3,
  965. msh
  966. })
  967. end
  968. end
  969. },
  970. Cylinder = {
  971. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  972. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  973. prt.Anchored = true
  974. prt.CFrame = cframe
  975. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  976. game:GetService("Debris"):AddItem(prt, 2)
  977. Effects[#Effects + 1] = {
  978. prt,
  979. "Cylinder",
  980. delay,
  981. x3,
  982. y3,
  983. z3,
  984. msh
  985. }
  986. end
  987. },
  988. Head = {
  989. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  990. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  991. prt.Anchored = true
  992. prt.CFrame = cframe
  993. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  994. game:GetService("Debris"):AddItem(prt, 10)
  995. table.insert(Effects, {
  996. prt,
  997. "Cylinder",
  998. delay,
  999. x3,
  1000. y3,
  1001. z3,
  1002. msh
  1003. })
  1004. end
  1005. },
  1006. Sphere = {
  1007. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1008. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1009. prt.Anchored = true
  1010. prt.CFrame = cframe
  1011. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1012. game:GetService("Debris"):AddItem(prt, 10)
  1013. table.insert(Effects, {
  1014. prt,
  1015. "Cylinder",
  1016. delay,
  1017. x3,
  1018. y3,
  1019. z3,
  1020. msh
  1021. })
  1022. end
  1023. },
  1024. Elect = {
  1025. Create = function(cff, x, y, z)
  1026. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  1027. prt.Anchored = true
  1028. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  1029. prt.CFrame = CFrame.new(prt.Position)
  1030. game:GetService("Debris"):AddItem(prt, 2)
  1031. local xval = math.random() / 2
  1032. local yval = math.random() / 2
  1033. local zval = math.random() / 2
  1034. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  1035. table.insert(Effects, {
  1036. prt,
  1037. "Elec",
  1038. 0.1,
  1039. x,
  1040. y,
  1041. z,
  1042. xval,
  1043. yval,
  1044. zval
  1045. })
  1046. end
  1047. },
  1048. Ring = {
  1049. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1050. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1051. prt.Anchored = true
  1052. prt.CFrame = cframe
  1053. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1054. game:GetService("Debris"):AddItem(prt, 10)
  1055. table.insert(Effects, {
  1056. prt,
  1057. "Cylinder",
  1058. delay,
  1059. x3,
  1060. y3,
  1061. z3,
  1062. msh
  1063. })
  1064. end
  1065. },
  1066. Wave = {
  1067. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1068. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1069. prt.Anchored = true
  1070. prt.CFrame = cframe
  1071. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1072. game:GetService("Debris"):AddItem(prt, 10)
  1073. table.insert(Effects, {
  1074. prt,
  1075. "Cylinder",
  1076. delay,
  1077. x3,
  1078. y3,
  1079. z3,
  1080. msh
  1081. })
  1082. end
  1083. },
  1084. Break = {
  1085. Create = function(brickcolor, cframe, x1, y1, z1)
  1086. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1087. prt.Anchored = true
  1088. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1089. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1090. local num = math.random(10, 50) / 1000
  1091. game:GetService("Debris"):AddItem(prt, 10)
  1092. table.insert(Effects, {
  1093. prt,
  1094. "Shatter",
  1095. num,
  1096. prt.CFrame,
  1097. math.random() - math.random(),
  1098. 0,
  1099. math.random(50, 100) / 100
  1100. })
  1101. end
  1102. },
  1103. Fire = {
  1104. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  1105. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1106. prt.Anchored = true
  1107. prt.CFrame = cframe
  1108. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1109. game:GetService("Debris"):AddItem(prt, 10)
  1110. table.insert(Effects, {
  1111. prt,
  1112. "Fire",
  1113. delay,
  1114. 1,
  1115. 1,
  1116. 1,
  1117. msh
  1118. })
  1119. end
  1120. },
  1121. FireWave = {
  1122. Create = function(brickcolor, cframe, x1, y1, z1)
  1123. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  1124. prt.Anchored = true
  1125. prt.CFrame = cframe
  1126. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1127. local d = Create("Decal")({
  1128. Parent = prt,
  1129. Texture = "rbxassetid://26356434",
  1130. Face = "Top"
  1131. })
  1132. local d = Create("Decal")({
  1133. Parent = prt,
  1134. Texture = "rbxassetid://26356434",
  1135. Face = "Bottom"
  1136. })
  1137. game:GetService("Debris"):AddItem(prt, 10)
  1138. table.insert(Effects, {
  1139. prt,
  1140. "FireWave",
  1141. 1,
  1142. 30,
  1143. math.random(400, 600) / 100,
  1144. msh
  1145. })
  1146. end
  1147. },
  1148. Lightning = {
  1149. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  1150. local magz = (p0 - p1).magnitude
  1151. local curpos = p0
  1152. local trz = {
  1153. -ofs,
  1154. ofs
  1155. }
  1156. for i = 1, tym do
  1157. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  1158. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  1159. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  1160. li.Material = "Neon"
  1161. if tym == i then
  1162. local magz2 = (curpos - p1).magnitude
  1163. li.Size = Vector3.new(th, th, magz2)
  1164. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  1165. table.insert(Effects, {
  1166. li,
  1167. "Disappear",
  1168. last
  1169. })
  1170. else
  1171. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  1172. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  1173. game.Debris:AddItem(li, 10)
  1174. table.insert(Effects, {
  1175. li,
  1176. "Disappear",
  1177. last
  1178. })
  1179. end
  1180. end
  1181. end
  1182. },
  1183. EffectTemplate = {}
  1184. }
  1185. function Bullet(Part)
  1186. local bullet = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 0, BrickColor.new("Black"), "Bullet", Vector3.new())
  1187. local bmsh = CFuncs.Mesh.Create("CylinderMesh", bullet, "", "", Vector3.new(0, 0, 0), Vector3.new(1.3, 1.5, 1.3))
  1188. bullet.CanCollide = true
  1189. bullet.CFrame = Part.CFrame * CFrame.new(math.random(-100, 100) / 100, math.random(-100, 100) / 100, math.random(-100, 100) / 100)
  1190. bullet.Velocity = Torso.CFrame.lookVector * math.random(10, 40) + Vector3.new(1, 0, 0) * math.random(0, 1000) / 100 + Vector3.new(0, 1, 0) * math.random(0, 1000) / 100 + Vector3.new(0, 0, 1) * math.random(0, 1000) / 100
  1191. game:GetService("Debris"):AddItem(bullet, 3)
  1192. end
  1193. function Shootcombo()
  1194. local MouseLook = CFrame.new((Barrel.Position + Mouse.Hit.p) / 2, Mouse.Hit.p)
  1195. CFuncs.Sound.Create("186083909", Barrel, 1, 1.2)
  1196. CFuncs.Sound.Create("406722373", Barrel, 1, 1.1)
  1197. Effects.Sphere.Create(BrickColor.new("Really red"), Barrel.CFrame, 0.5, 0.5, 0.5, 1, 1, 1, 0.09)
  1198. Effects.Sphere.Create(BrickColor.new("Really red"), Barrel.CFrame, 1, 1, 1, 2, 2, 2, 0.09)
  1199. Effects.Block.Create(BrickColor.new("Really red"), Barrel.CFrame, 1, 1, 1, 2, 2, 2, 0.09, 1)
  1200. table.insert(Effects, {
  1201. MouseLook.lookVector,
  1202. "Shoot",
  1203. 30,
  1204. Barrel.Position,
  1205. 6,
  1206. 8,
  1207. 0,
  1208. 1
  1209. })
  1210. end
  1211. function Bolt()
  1212. for i = 0, 1, 0.13 do
  1213. swait()
  1214. PlayAnimationFromTable({
  1215. CFrame.new(-0.319091141, -0.800000012, -0.20328027, 0.422617137, 0, -0.906308293, 0, 1, 0, 0.906308293, 0, 0.422617137) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1216. CFrame.new(0, 1.49998784, 0, 0.866023839, 0, 0.500000119, 0, 1, 0, -0.500000119, 0, 0.866023839) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1217. CFrame.new(0.998740196, 0.416736871, -0.5858199, 0.422617137, 0.851651311, -0.309975445, 0, -0.342019916, -0.939692736, -0.906308293, 0.397130251, -0.144543469) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1218. CFrame.new(-1.29375136, 1.10341132, -0.830147505, 0.627507746, 0.439378917, -0.642791271, -0.234787911, -0.680352092, -0.694258928, -0.742367566, 0.586572289, -0.323765248) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1219. CFrame.new(0.610143065, -1.6490345, 0.494668663, 0.984807849, -3.09944153E-6, -0.173640966, 0.157373026, 0.422616184, 0.892542183, 0.0733809769, -0.90630877, 0.416197568) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1220. CFrame.new(-0.849825501, -1.36450362, -0.291514039, 0.866527259, 0.0320672095, 0.498098612, -0.0868243203, 0.992404044, 0.0871554837, -0.491520047, -0.11876969, 0.86272943) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1221. }, 0.4, false)
  1222. end
  1223. Bullet(Handle)
  1224. CFuncs.Sound.Create("318369098", Handle, 1, 1.1)
  1225. for i = 0, 1, 0.2 do
  1226. swait()
  1227. PlayAnimationFromTable({
  1228. CFrame.new(-0.319091141, -0.800000012, -0.20328027, 0.422617137, 0, -0.906308293, 0, 1, 0, 0.906308293, 0, 0.422617137) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1229. CFrame.new(0, 1.49998784, 0, 0.939692438, 0, 0.342020601, 0, 1, 0, -0.342020601, 0, 0.939692438) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1230. CFrame.new(1.1690712, 0.348333716, -0.506393492, 0.422617137, 0.851651311, -0.309975445, 0, -0.342019916, -0.939692736, -0.906308293, 0.397130251, -0.144543469) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1231. CFrame.new(-0.816940069, 1.04093611, -0.407359332, 0.739941239, 0.198263437, -0.642789721, -0.453320742, -0.559019029, -0.694260836, -0.496978402, 0.805101991, -0.323764324) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1232. CFrame.new(0.61014241, -1.64903653, 0.494667768, 0.984807849, -3.09944153E-6, -0.173640966, 0.157373026, 0.422616184, 0.892542183, 0.0733809769, -0.90630877, 0.416197568) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1233. CFrame.new(-0.849824548, -1.3645035, -0.29151243, 0.866527259, 0.0320672095, 0.498098612, -0.0868243203, 0.992404044, 0.0871554837, -0.491520047, -0.11876969, 0.86272943) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1234. }, 0.35, false)
  1235. end
  1236. CFuncs.Sound.Create("318369288", Handle, 1, 1.1)
  1237. for i = 0, 1, 0.13 do
  1238. swait()
  1239. PlayAnimationFromTable({
  1240. CFrame.new(-0.319091141, -0.800000012, -0.20328027, 0.422617137, 0, -0.906308293, 0, 1, 0, 0.906308293, 0, 0.422617137) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1241. CFrame.new(0, 1.49998784, 0, 0.866023839, 0, 0.500000119, 0, 1, 0, -0.500000119, 0, 0.866023839) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1242. CFrame.new(0.998740196, 0.416736871, -0.5858199, 0.422617137, 0.851651311, -0.309975445, 0, -0.342019916, -0.939692736, -0.906308293, 0.397130251, -0.144543469) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1243. CFrame.new(-1.29375136, 1.10341132, -0.830147505, 0.627507746, 0.439378917, -0.642791271, -0.234787911, -0.680352092, -0.694258928, -0.742367566, 0.586572289, -0.323765248) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1244. CFrame.new(0.610143065, -1.6490345, 0.494668663, 0.984807849, -3.09944153E-6, -0.173640966, 0.157373026, 0.422616184, 0.892542183, 0.0733809769, -0.90630877, 0.416197568) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1245. CFrame.new(-0.849825501, -1.36450362, -0.291514039, 0.866527259, 0.0320672095, 0.498098612, -0.0868243203, 0.992404044, 0.0871554837, -0.491520047, -0.11876969, 0.86272943) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1246. }, 0.4, false)
  1247. end
  1248. end
  1249. function SpinShot()
  1250. attack = true
  1251. for i = 0, 1, 0.12 do
  1252. swait()
  1253. PlayAnimationFromTable({
  1254. CFrame.new(-0.33084622, -0.304918617, -0.52869457, 0.342018992, 2.44630968E-7, -0.939693093, 0.163176, 0.98480773, 0.0593912415, 0.925417006, -0.173648283, 0.336822927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1255. CFrame.new(0.0322597921, 1.48268783, -0.0930604339, 0.322602183, 0.14004983, 0.936116517, -0.172989488, 0.981059611, -0.0871584788, -0.930592477, -0.133820817, 0.340719253) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1256. CFrame.new(0.506988645, 0.377255857, -0.803069711, 0.259420365, 0.955582082, -0.139867067, 0.0992426202, -0.170435682, -0.980358601, -0.960651875, 0.240444362, -0.139049053) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1257. CFrame.new(-1.72998452, 0.495006025, -0.392647803, 0.542880952, 0.410539567, 0.732626021, 0.737672389, 0.183852568, -0.649647713, -0.4013969, 0.893121183, -0.203034982) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1258. CFrame.new(0.502950907, -1.9151485, 0.231621087, 0.864151537, 0.0236141682, -0.502677977, 0.0515102148, 0.989501238, 0.135033786, 0.50058949, -0.142582476, 0.853862286) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1259. CFrame.new(-0.865711927, -1.63087702, -0.282848835, 0.925415218, 0.173649043, 0.336827427, -0.163176641, 0.98480773, -0.0593916178, -0.342023462, -4.54019755E-7, 0.939691782) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1260. }, 0.35, false)
  1261. end
  1262. Shootcombo()
  1263. for i = 0, 1, 0.3 do
  1264. swait()
  1265. RootPart.Velocity = RootPart.CFrame.lookVector * -10
  1266. PlayAnimationFromTable({
  1267. CFrame.new(-0.330845773, -0.378038257, 0.581278205, 0.342019081, 5.60612747E-8, -0.939693093, -0.0819000229, 0.996194661, -0.0298090074, 0.936117232, 0.0871561244, 0.340717614) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1268. CFrame.new(0.0322549939, 1.48268545, -0.0930609033, 0.239786834, -0.113366202, 0.964181364, -0.164735377, 0.974004149, 0.155488253, -0.95675236, -0.196119189, 0.214875787) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1269. CFrame.new(0.806416035, 0.470317304, -0.694097638, 0.244436547, 0.969400585, 0.0226592347, 0.0830115676, 0.00236219168, -0.996545851, -0.9661057, 0.245473176, -0.079894051) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1270. CFrame.new(-1.57694697, 0.512434185, -0.230538517, 0.760710716, 0.410538197, 0.502765059, 0.470990688, 0.1838523, -0.862764716, -0.44662869, 0.893119931, -0.0535021573) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1271. CFrame.new(0.865904212, -1.71960115, 0.0648829341, 0.881422341, -0.173719466, -0.439225137, 0.290622324, 0.932511985, 0.214389697, 0.372338951, -0.316616565, 0.872420609) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1272. CFrame.new(-0.679471731, -1.82845092, -0.362076759, 0.770665169, -0.0483331755, 0.635404408, -0.0295864344, 0.993330181, 0.111444041, -0.63655293, -0.104685426, 0.764095306) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1273. }, 0.5, false)
  1274. end
  1275. for i = 0, 1, 0.12 do
  1276. swait()
  1277. PlayAnimationFromTable({
  1278. CFrame.new(-0.33084622, -0.304918617, -0.52869457, 0.342018992, 2.44630968E-7, -0.939693093, 0.163176, 0.98480773, 0.0593912415, 0.925417006, -0.173648283, 0.336822927) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1279. CFrame.new(0.0322597921, 1.48268783, -0.0930604339, 0.322602183, 0.14004983, 0.936116517, -0.172989488, 0.981059611, -0.0871584788, -0.930592477, -0.133820817, 0.340719253) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1280. CFrame.new(0.506988645, 0.377255857, -0.803069711, 0.259420365, 0.955582082, -0.139867067, 0.0992426202, -0.170435682, -0.980358601, -0.960651875, 0.240444362, -0.139049053) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1281. CFrame.new(-1.72998452, 0.495006025, -0.392647803, 0.542880952, 0.410539567, 0.732626021, 0.737672389, 0.183852568, -0.649647713, -0.4013969, 0.893121183, -0.203034982) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1282. CFrame.new(0.502950907, -1.9151485, 0.231621087, 0.864151537, 0.0236141682, -0.502677977, 0.0515102148, 0.989501238, 0.135033786, 0.50058949, -0.142582476, 0.853862286) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1283. CFrame.new(-0.865711927, -1.63087702, -0.282848835, 0.925415218, 0.173649043, 0.336827427, -0.163176641, 0.98480773, -0.0593916178, -0.342023462, -4.54019755E-7, 0.939691782) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1284. }, 0.4, false)
  1285. end
  1286. Bolt()
  1287. attack = false
  1288. end
  1289. function LungeShot(Mode)
  1290. attack = true
  1291. Humanoid.Jump = true
  1292. CFuncs.Sound.Create("158149887", Torso, 1, 0.9)
  1293. if Mode == "Forward" then
  1294. RootPart.Velocity = RootPart.CFrame.lookVector * 80
  1295. for i = 0, 1, 0.1 do
  1296. swait()
  1297. PlayAnimationFromTable({
  1298. CFrame.new(-3.81469727E-6, 0.0628450513, 0.146824121, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-20), 0, 0),
  1299. CFrame.new(0, 1.49998665, -2.20537186E-6, 1, 0, 0, 0, 0.984807312, 0.173648536, 0, -0.173648536, 0.984807312) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20), 0, 0),
  1300. CFrame.new(0.523067951, 0.10826005, -0.698177814, 0.296512067, 0.787702143, 0.540005624, 0.206982568, 0.498990804, -0.84152633, -0.932329774, 0.361294419, -0.0150838122) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1301. CFrame.new(-1.42747557, -0.117001235, -0.482704312, 0.268235743, 0.0413863063, 0.962466657, 0.56728673, 0.800693691, -0.192532867, -0.778610408, 0.597635567, 0.191299409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1302. CFrame.new(0.499998361, -1.51702964, -0.129410475, 0.984807849, 0, -0.173648044, 0.0449435376, 0.965925634, 0.25488764, 0.167731121, -0.258819699, 0.951251149) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1303. CFrame.new(-0.500004053, -1.35084605, -0.555529714, 0.981060445, 0.0871543288, 0.172987863, -0.140045926, 0.936115682, 0.322606146, -0.133820146, -0.340722382, 0.930591524) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1304. }, 0.3, false)
  1305. end
  1306. elseif Mode == "Backward" then
  1307. RootPart.Velocity = RootPart.CFrame.lookVector * -80
  1308. for i = 0, 1, 0.1 do
  1309. swait()
  1310. PlayAnimationFromTable({
  1311. CFrame.new(-3.81469727E-6, 0.0628450513, 0.146824121, 1, 0, 0, 0, 0.996194661, -0.087155968, 0, 0.087155968, 0.996194661) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(10), 0, 0),
  1312. CFrame.new(0, 1.49998665, -2.20537186E-6, 1, 0, 0, 0, 0.984807312, 0.173648536, 0, -0.173648536, 0.984807312) * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-10), 0, 0),
  1313. CFrame.new(0.523067951, 0.10826005, -0.698177814, 0.296512067, 0.787702143, 0.540005624, 0.206982568, 0.498990804, -0.84152633, -0.932329774, 0.361294419, -0.0150838122) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1314. CFrame.new(-1.42747557, -0.117001235, -0.482704312, 0.268235743, 0.0413863063, 0.962466657, 0.56728673, 0.800693691, -0.192532867, -0.778610408, 0.597635567, 0.191299409) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1315. CFrame.new(0.499998361, -1.51702964, -0.129410475, 0.984807849, 0, -0.173648044, 0.0449435376, 0.965925634, 0.25488764, 0.167731121, -0.258819699, 0.951251149) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1316. CFrame.new(-0.500004053, -1.35084605, -0.555529714, 0.981060445, 0.0871543288, 0.172987863, -0.140045926, 0.936115682, 0.322606146, -0.133820146, -0.340722382, 0.930591524) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1317. }, 0.3, false)
  1318. end
  1319. end
  1320. local hitfloor
  1321. while hitfloor == nil do
  1322. swait()
  1323. hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 6, Character)
  1324. end
  1325. for i = 0, 1, 0.2 do
  1326. swait()
  1327. PlayAnimationFromTable({
  1328. CFrame.new(-0.330837339, -0.699999928, -0.231655031, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1329. CFrame.new(0.120368131, 1.44721556, -0.255113155, 0.418385565, -0.00512788072, 0.908255041, -0.141075298, 0.987487316, 0.0705598369, -0.897252142, -0.157652482, 0.412421852) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1330. CFrame.new(0.285862863, 0.389394581, -0.81719619, 0.340717524, 0.939693093, 0.0298089981, 0.087155968, 0, -0.996194661, -0.936117232, 0.342018992, -0.081899859) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1331. CFrame.new(-1.69020307, 0.41307798, -0.514919221, 0.800103247, 0.517377436, 0.303571403, 0.255382031, 0.16412276, -0.95280838, -0.542784572, 0.839871705, -8.13782215E-4) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1332. CFrame.new(0.897276342, -1.54715633, 0.463865459, 0.951250672, -0.229007483, -0.206587687, 0.304395527, 0.589249432, 0.748417377, -0.0496615469, -0.774816513, 0.630232751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1333. CFrame.new(-0.632248044, -1.39177239, -0.405484438, 0.817636669, -0.123517469, 0.562330127, 0.0563425981, 0.989193141, 0.13535662, -0.572972655, -0.0789892152, 0.815760136) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1334. }, 0.4, false)
  1335. end
  1336. Shootcombo()
  1337. for i = 0, 1, 0.3 do
  1338. swait()
  1339. RootPart.Velocity = RootPart.CFrame.lookVector * -40
  1340. PlayAnimationFromTable({
  1341. CFrame.new(-0.330840945, -1.00127292, -0.261750877, 0.342018962, -1.4270141E-7, -0.939693034, -0.243209973, 0.965925992, -0.0885209814, 0.907673895, 0.258818597, 0.330364913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1342. CFrame.new(0.120366111, 1.44719875, -0.255110145, 0.418383747, -0.0842670798, 0.904353142, -0.141075209, 0.977573991, 0.156355858, -0.897247374, -0.192998484, 0.397113085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1343. CFrame.new(0.632638395, 0.661208212, -0.690981925, 0.326495707, 0.925417125, 0.192363232, 0.0858313814, 0.173647493, -0.981060386, -0.941293538, 0.336822778, -0.0227346662) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1344. CFrame.new(-1.51982272, 0.476396978, -0.384689331, 0.81248939, 0.445674956, 0.37581408, 0.350734472, 0.141240373, -0.925762773, -0.46566987, 0.88398242, -0.0415571854) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1345. CFrame.new(0.783671975, -1.17622542, 0.561357141, 0.831630051, -0.23809275, -0.501700282, 0.550981283, 0.240921408, 0.798984766, -0.0693621933, -0.940887034, 0.331542104) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1346. CFrame.new(-0.632252574, -1.39177251, -0.40547961, 0.73177588, -0.317396253, 0.603132486, 0.21459803, 0.947232425, 0.238111958, -0.646885633, -0.0448122993, 0.761271358) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1347. }, 0.6, false)
  1348. end
  1349. for i = 0, 1, 0.2 do
  1350. swait()
  1351. PlayAnimationFromTable({
  1352. CFrame.new(-0.330837339, -0.699999928, -0.231655031, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1353. CFrame.new(0.120368131, 1.44721556, -0.255113155, 0.418385565, -0.00512788072, 0.908255041, -0.141075298, 0.987487316, 0.0705598369, -0.897252142, -0.157652482, 0.412421852) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1354. CFrame.new(0.285862863, 0.389394581, -0.81719619, 0.340717524, 0.939693093, 0.0298089981, 0.087155968, 0, -0.996194661, -0.936117232, 0.342018992, -0.081899859) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1355. CFrame.new(-1.69020307, 0.41307798, -0.514919221, 0.800103247, 0.517377436, 0.303571403, 0.255382031, 0.16412276, -0.95280838, -0.542784572, 0.839871705, -8.13782215E-4) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1356. CFrame.new(0.897276342, -1.54715633, 0.463865459, 0.951250672, -0.229007483, -0.206587687, 0.304395527, 0.589249432, 0.748417377, -0.0496615469, -0.774816513, 0.630232751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1357. CFrame.new(-0.632248044, -1.39177239, -0.405484438, 0.817636669, -0.123517469, 0.562330127, 0.0563425981, 0.989193141, 0.13535662, -0.572972655, -0.0789892152, 0.815760136) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1358. }, 0.6, false)
  1359. end
  1360. Bolt()
  1361. attack = false
  1362. end
  1363. function AutoShot()
  1364. attack = true
  1365. Humanoid.WalkSpeed = 5
  1366. Bolt()
  1367. for i = 0, 1, 0.3 do
  1368. swait()
  1369. PlayAnimationFromTable({
  1370. CFrame.new(-0.330837339, -0.699999928, -0.231655031, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1371. CFrame.new(0.120368131, 1.44721556, -0.255113155, 0.418385565, -0.00512788072, 0.908255041, -0.141075298, 0.987487316, 0.0705598369, -0.897252142, -0.157652482, 0.412421852) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1372. CFrame.new(0.285862863, 0.389394581, -0.81719619, 0.340717524, 0.939693093, 0.0298089981, 0.087155968, 0, -0.996194661, -0.936117232, 0.342018992, -0.081899859) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1373. CFrame.new(-1.69020307, 0.41307798, -0.514919221, 0.800103247, 0.517377436, 0.303571403, 0.255382031, 0.16412276, -0.95280838, -0.542784572, 0.839871705, -8.13782215E-4) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1374. CFrame.new(0.897276342, -1.54715633, 0.463865459, 0.951250672, -0.229007483, -0.206587687, 0.304395527, 0.589249432, 0.748417377, -0.0496615469, -0.774816513, 0.630232751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1375. CFrame.new(-0.632248044, -1.39177239, -0.405484438, 0.817636669, -0.123517469, 0.562330127, 0.0563425981, 0.989193141, 0.13535662, -0.572972655, -0.0789892152, 0.815760136) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1376. }, 0.4, false)
  1377. end
  1378. Humanoid.WalkSpeed = 0
  1379. for i = 1, 10 do
  1380. for i = 0, 1, 0.8 do
  1381. swait()
  1382. PlayAnimationFromTable({
  1383. CFrame.new(-0.330837339, -0.699999928, -0.231655031, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1384. CFrame.new(0.120368131, 1.44721556, -0.255113155, 0.418385565, -0.00512788072, 0.908255041, -0.141075298, 0.987487316, 0.0705598369, -0.897252142, -0.157652482, 0.412421852) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1385. CFrame.new(0.285862863, 0.389394581, -0.81719619, 0.340717524, 0.939693093, 0.0298089981, 0.087155968, 0, -0.996194661, -0.936117232, 0.342018992, -0.081899859) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1386. CFrame.new(-1.69020307, 0.41307798, -0.514919221, 0.800103247, 0.517377436, 0.303571403, 0.255382031, 0.16412276, -0.95280838, -0.542784572, 0.839871705, -8.13782215E-4) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1387. CFrame.new(0.897276342, -1.54715633, 0.463865459, 0.951250672, -0.229007483, -0.206587687, 0.304395527, 0.589249432, 0.748417377, -0.0496615469, -0.774816513, 0.630232751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1388. CFrame.new(-0.632248044, -1.39177239, -0.405484438, 0.817636669, -0.123517469, 0.562330127, 0.0563425981, 0.989193141, 0.13535662, -0.572972655, -0.0789892152, 0.815760136) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1389. }, 0.7, false)
  1390. end
  1391. Shootcombo()
  1392. for i = 0, 1, 0.9 do
  1393. swait()
  1394. PlayAnimationFromTable({
  1395. CFrame.new(-0.330840945, -1.00127292, -0.261750877, 0.342018962, -1.4270141E-7, -0.939693034, -0.243209973, 0.965925992, -0.0885209814, 0.907673895, 0.258818597, 0.330364913) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1396. CFrame.new(0.120366111, 1.44719875, -0.255110145, 0.418383747, -0.0842670798, 0.904353142, -0.141075209, 0.977573991, 0.156355858, -0.897247374, -0.192998484, 0.397113085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1397. CFrame.new(0.632638395, 0.661208212, -0.690981925, 0.326495707, 0.925417125, 0.192363232, 0.0858313814, 0.173647493, -0.981060386, -0.941293538, 0.336822778, -0.0227346662) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1398. CFrame.new(-1.51982272, 0.476396978, -0.384689331, 0.81248939, 0.445674956, 0.37581408, 0.350734472, 0.141240373, -0.925762773, -0.46566987, 0.88398242, -0.0415571854) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1399. CFrame.new(0.783671975, -1.17622542, 0.561357141, 0.831630051, -0.23809275, -0.501700282, 0.550981283, 0.240921408, 0.798984766, -0.0693621933, -0.940887034, 0.331542104) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1400. CFrame.new(-0.632252574, -1.39177251, -0.40547961, 0.73177588, -0.317396253, 0.603132486, 0.21459803, 0.947232425, 0.238111958, -0.646885633, -0.0448122993, 0.761271358) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1401. }, 0.8, false)
  1402. end
  1403. for i = 0, 1, 0.8 do
  1404. swait()
  1405. PlayAnimationFromTable({
  1406. CFrame.new(-0.330837339, -0.699999928, -0.231655031, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1407. CFrame.new(0.120368131, 1.44721556, -0.255113155, 0.418385565, -0.00512788072, 0.908255041, -0.141075298, 0.987487316, 0.0705598369, -0.897252142, -0.157652482, 0.412421852) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1408. CFrame.new(0.285862863, 0.389394581, -0.81719619, 0.340717524, 0.939693093, 0.0298089981, 0.087155968, 0, -0.996194661, -0.936117232, 0.342018992, -0.081899859) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1409. CFrame.new(-1.69020307, 0.41307798, -0.514919221, 0.800103247, 0.517377436, 0.303571403, 0.255382031, 0.16412276, -0.95280838, -0.542784572, 0.839871705, -8.13782215E-4) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1410. CFrame.new(0.897276342, -1.54715633, 0.463865459, 0.951250672, -0.229007483, -0.206587687, 0.304395527, 0.589249432, 0.748417377, -0.0496615469, -0.774816513, 0.630232751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1411. CFrame.new(-0.632248044, -1.39177239, -0.405484438, 0.817636669, -0.123517469, 0.562330127, 0.0563425981, 0.989193141, 0.13535662, -0.572972655, -0.0789892152, 0.815760136) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1412. }, 0.7, false)
  1413. end
  1414. end
  1415. Humanoid.WalkSpeed = 100
  1416. attack = false
  1417. end
  1418. function MortarShot()
  1419. attack = true
  1420. Humanoid.WalkSpeed = 5
  1421. Bolt()
  1422. for i = 0, 1, 0.2 do
  1423. swait()
  1424. PlayAnimationFromTable({
  1425. CFrame.new(-0.00381875038, -1.20960522, -0.0234894156, 0.906307876, 0.271653324, -0.323744416, -0.422617942, 0.582562923, -0.694272697, 0, 0.766045094, 0.64278698) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1426. CFrame.new(-0.0485313386, 1.45186937, 0.12381205, 0.906306446, -0.036834389, 0.421012908, 0.178607732, 0.936241806, -0.302573651, -0.383024782, 0.349420667, 0.855100751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1427. CFrame.new(1.2566489, 0.0942437202, -0.366937846, 0.866025388, 0.499999881, 0, 0.32139343, -0.556669831, -0.766045094, -0.383022457, 0.663414538, -0.64278698) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1428. CFrame.new(-0.669512153, 0.883427501, -1.42651618, 0.814972997, -0.183017969, 0.54984045, 0.413680524, -0.480712831, -0.773165226, 0.405818164, 0.85756737, -0.316057026) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1429. CFrame.new(0.663835824, -0.644426942, 0.718474984, 0.819152117, -0.0996050313, -0.564861536, 0.496729434, -0.369217664, 0.785454273, -0.28679204, -0.923989952, -0.252968639) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1430. CFrame.new(-0.597848773, -1.58645034, 0.419145882, 0.845831037, -0.0996147096, 0.524067461, -0.385522783, 0.564860702, 0.729592204, -0.368703246, -0.819151759, 0.439372897) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1431. }, 0.4, false)
  1432. end
  1433. for i = 0, 1, 0.3 do
  1434. swait()
  1435. PlayAnimationFromTable({
  1436. CFrame.new(-0.062730819, -1.35083091, -0.0234885216, 0.819151819, 0.368687779, -0.439385623, -0.573576868, 0.52654016, -0.627507091, 0, 0.766044974, 0.642787039) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1437. CFrame.new(-0.0485280529, 1.45187008, 0.123812944, 0.90630585, -0.0368346125, 0.421014428, 0.178608507, 0.936241627, -0.302573681, -0.383025914, 0.349420995, 0.855100214) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1438. CFrame.new(1.37136579, -0.011062175, -0.241436988, 0.866025329, 0.500000238, 0, 0.321393698, -0.556669831, -0.766044974, -0.383022636, 0.663414299, -0.642787039) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1439. CFrame.new(-0.554796219, 0.778117955, -1.30101132, 0.814972818, -0.183016568, 0.549840331, 0.413680822, -0.480712891, -0.773164511, 0.40581724, 0.857566416, -0.316057503) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1440. CFrame.new(0.745755255, -0.594750226, 0.689795136, 0.707485676, 0.0499878898, -0.704957783, 0.604335666, -0.559927046, 0.566798568, -0.366391778, -0.827032924, -0.426349699) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1441. CFrame.new(-0.45294404, -1.60859108, 0.283076108, 0.724484801, -0.4477458, 0.524066269, -0.110680997, 0.674867868, 0.729592919, -0.680348873, -0.586582422, 0.439373374) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1442. }, 0.4, false)
  1443. end
  1444. CFuncs.Sound.Create("300916014", Barrel, 1, 1.2)
  1445. CFuncs.Sound.Create("301031757", Barrel, 1, 1.1)
  1446. Effects.Sphere.Create(BrickColor.random(), Barrel.CFrame, 6, 6, 6, 0, 0, 0, 1, m)
  1447. for i = 1, 60 do
  1448. local hit, pos = rayCast(Barrel.Position, Barrel.CFrame * CFrame.fromEulerAnglesXYZ(0, 5, 0).lookVector, 220, Character)
  1449. local mag = (Barrel.Position - pos).magnitude
  1450. Effects.Cylinder.Create(BrickColor.random(), Barrel.CFrame, 30, 99999, 30, -0.5, 1, -0.5, 0.1)
  1451. local cf2 = Mouse.Hit.p + Vector3.new(math.random(-1500, 1500) / 100, 100, math.random(-1500, 1500) / 100)
  1452. local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  1453. if hit2 ~= nil then
  1454. local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.random(), "Effect", Vector3.new())
  1455. d1.Anchored = true
  1456. d1.CFrame = CFrame.new(pos2)
  1457. game:GetService("Debris"):AddItem(d1, 5)
  1458. local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(30, 5, 30))
  1459. local d2 = d1:Clone()
  1460. d2.Parent = d1
  1461. d2.CFrame = CFrame.new(d1.Position)
  1462. d2.BrickColor = BrickColor.random()
  1463. d2.Mesh.Scale = Vector3.new(0, 5, 0)
  1464. table.insert(Effects, {
  1465. d1,
  1466. "QuadShot",
  1467. d2,
  1468. d2.Mesh,
  1469. 0
  1470. })
  1471. end
  1472. end
  1473. for i = 0, 1, 0.2 do
  1474. swait()
  1475. PlayAnimationFromTable({
  1476. CFrame.new(-0.00381875038, -1.20960522, -0.0234894156, 0.906307876, 0.271653324, -0.323744416, -0.422617942, 0.582562923, -0.694272697, 0, 0.766045094, 0.64278698) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1477. CFrame.new(-0.0485313386, 1.45186937, 0.12381205, 0.906306446, -0.036834389, 0.421012908, 0.178607732, 0.936241806, -0.302573651, -0.383024782, 0.349420667, 0.855100751) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1478. CFrame.new(1.2566489, 0.0942437202, -0.366937846, 0.866025388, 0.499999881, 0, 0.32139343, -0.556669831, -0.766045094, -0.383022457, 0.663414538, -0.64278698) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1479. CFrame.new(-0.669512153, 0.883427501, -1.42651618, 0.814972997, -0.183017969, 0.54984045, 0.413680524, -0.480712831, -0.773165226, 0.405818164, 0.85756737, -0.316057026) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1480. CFrame.new(0.663835824, -0.644426942, 0.718474984, 0.819152117, -0.0996050313, -0.564861536, 0.496729434, -0.369217664, 0.785454273, -0.28679204, -0.923989952, -0.252968639) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1481. CFrame.new(-0.597848773, -1.58645034, 0.419145882, 0.845831037, -0.0996147096, 0.524067461, -0.385522783, 0.564860702, 0.729592204, -0.368703246, -0.819151759, 0.439372897) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1482. }, 0.4, false)
  1483. end
  1484. Humanoid.WalkSpeed = 100
  1485. attack = false
  1486. end
  1487. function DisappearJetOnly()
  1488. for _, i in pairs(m:children()) do
  1489. if i == JetpackHandle then
  1490. coroutine.resume(coroutine.create(function(Part)
  1491. for i = 0, 1, 0.3 do
  1492. swait()
  1493. Part.Transparency = i
  1494. end
  1495. Part.Transparency = 1
  1496. end), i)
  1497. end
  1498. end
  1499. end
  1500. function ReappearJetOnly()
  1501. for _, i in pairs(m:children()) do
  1502. if i == JetpackHandle then
  1503. coroutine.resume(coroutine.create(function(Part)
  1504. for i = 0, 1, 0.3 do
  1505. swait()
  1506. Part.Transparency = i
  1507. end
  1508. Part.Transparency = 0
  1509. end), i)
  1510. end
  1511. end
  1512. end
  1513. local floornum = 0
  1514. function JetDash()
  1515. attack = true
  1516. ReappearJetOnly()
  1517. Humanoid.WalkSpeed = 5
  1518. CFuncs.Sound.Create("324867021", JetpackHandle, 1, 1)
  1519. CFuncs.Sound.Create("301031757", JetpackHandle, 1, 0.8)
  1520. for i = 0, 1, 0.05 do
  1521. swait()
  1522. Effects.Wave.Create(BrickColor.random(), JetpackHandle.CFrame * CFrame.Angles(2.4, 0, 0), 1, 1, 1, 1, 1, 1, 0.4)
  1523. Effects.Break.Create(BrickColor.random(), EffectPartR3.CFrame, 0.2, 0.2, 0.2)
  1524. Effects.Break.Create(BrickColor.random(), EffectPartL3.CFrame, 0.2, 0.2, 0.2)
  1525. Effects.Block.Create(BrickColor.random(), EffectPartR3.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  1526. Effects.Block.Create(BrickColor.random(), EffectPartL3.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  1527. Effects.Block.Create(BrickColor.random(), EffectPartR2.CFrame, 1, 1, 1, 2, 2, 2, 0.2, 1)
  1528. Effects.Block.Create(BrickColor.random(), EffectPartL2.CFrame, 1, 1, 1, 2, 2, 2, 0.2, 1)
  1529. RootPart.Velocity = RootPart.CFrame.lookVector * 300
  1530. PlayAnimationFromTable({
  1531. CFrame.new(0, -0.436519086, -1.54268694, 1, 0, 0, 0, 0.573575079, 0.81915313, 0, -0.81915313, 0.573575079) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1532. CFrame.new(0, 1.383762, 0.294095755, 1, 0, 0, 0, 0.766045392, -0.642790735, 0, 0.642790735, 0.766045392) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1533. CFrame.new(0.639911652, 0.428372383, -0.839826643, 0.262888074, 0.933915675, 0.242263183, 0.536961675, 0.0669959337, -0.840942383, -0.80159986, 0.351159722, -0.483864516) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1534. CFrame.new(-1.42905915, 0.103630304, -0.677020133, 0.509720683, 0.0942112952, 0.855166197, 0.742046118, 0.45486632, -0.492406994, -0.435376555, 0.885562658, 0.161945611) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1535. CFrame.new(0.598487258, -1.49273849, 0.0829842687, 0.984807909, 7.31955607E-10, -0.173648015, 0.122787923, 0.707105517, 0.696365893, 0.122787446, -0.707108378, 0.696363151) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1536. CFrame.new(-0.599626899, -1.7493062, -0.188390553, 0.996194661, 0, 0.087156795, -0.0298094582, 0.939692497, 0.340719461, -0.0819005892, -0.342020988, 0.936116517) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1537. }, 0.3, false)
  1538. end
  1539. for i = 0, 1, 0.05 do
  1540. swait()
  1541. Effects.Fire.Create(BrickColor.random(), EffectPartL3.CFrame, 3, 3, 3, 0.3)
  1542. Effects.Fire.Create(BrickColor.random(), EffectPartR3.CFrame, 3, 3, 3, 0.3)
  1543. RootPart.Velocity = RootPart.CFrame.lookVector * 90
  1544. PlayAnimationFromTable({
  1545. CFrame.new(-0.313091278, -0.629250288, 0.409977496, 0.422617137, -0.383021861, -0.821394563, 0, 0.906308115, -0.422617614, 0.906308293, 0.178605452, 0.383021355) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1546. CFrame.new(-2.89082527E-6, 1.56999886, -0.169927716, 0.499998629, -0.0754772127, 0.862731218, -0.224145666, 0.950971425, 0.213101521, -0.836516559, -0.29992786, 0.458566666) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1547. CFrame.new(0.639911413, 0.428367913, -0.839831948, 0.262887627, 0.933916271, 0.242261022, 0.536960125, 0.0669948608, -0.840943277, -0.801600933, 0.351158082, -0.483863741) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1548. CFrame.new(-1.42906761, 0.103628337, -0.677013278, 0.509718478, 0.0942142606, 0.85516715, 0.742045939, 0.454867214, -0.4924061, -0.435379177, 0.885561645, 0.161942929) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1549. CFrame.new(0.255052269, -1.74161863, 0.0939150751, 0.973724782, 0.171020329, -0.150378793, -0.13000688, 0.959606647, 0.249509975, 0.186975896, -0.223403811, 0.956624985) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1550. CFrame.new(-0.966920853, -1.65688598, 0.10182327, 0.929320216, 0.24122712, 0.279595017, -0.312094092, 0.917783141, 0.245502412, -0.197385877, -0.315410316, 0.928199947) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1551. }, 0.36, false)
  1552. end
  1553. DisappearJetOnly()
  1554. Humanoid.WalkSpeed = 100
  1555. attack = false
  1556. end
  1557. function findRandomHead(pos)
  1558. local list = game.Workspace:children()
  1559. local head
  1560. local dist = 10000
  1561. local temp, human, temp2
  1562. local list2 = {}
  1563. for x = 1, #list do
  1564. temp2 = list[x]
  1565. if temp2.className == "Model" and temp2.Name ~= Character.Name and temp2.Name ~= "Crystal" then
  1566. temp = temp2:findFirstChild("Head")
  1567. human = temp2:findFirstChild("Humanoid")
  1568. if temp ~= nil and human ~= nil and human.Health > 0 and dist > pos.magnitude then
  1569. local dohit = true
  1570. if dohit == true then
  1571. head = temp
  1572. table.insert(list2, temp)
  1573. end
  1574. end
  1575. end
  1576. end
  1577. if #list2 > 0 then
  1578. rand = math.random(1, #list2)
  1579. return list2[rand], dist
  1580. else
  1581. return nil, dist
  1582. end
  1583. end
  1584. Mouse.Button1Down:connect(function()
  1585. if attack ~= false or attacktype == 1 then
  1586. end
  1587. end)
  1588. Mouse.KeyDown:connect(function(k)
  1589. k = k:lower()
  1590. if attack == false and k == "z" then
  1591. SpinShot()
  1592. elseif attack == false and k == "x" then
  1593. chatfunc("Forward Lunge Shot!") LungeShot("Forward")
  1594. elseif attack == false and k == "c" then
  1595. chatfunc("Backwards Lunge Shot!") LungeShot("Backward")
  1596. elseif attack == false and k == "v" then
  1597. chatfunc("Auto Shot!") AutoShot()
  1598. elseif attack == false and k == "b" then
  1599. chatfunc("Mortar Shot!") MortarShot()
  1600. elseif attack == false and k == "f" then
  1601. chatfunc("Jet Dash!") JetDash()
  1602. end
  1603. end)
  1604. while true do
  1605. swait()
  1606. local aim = CFrame.new(RootPart.Position, Mouse.Hit.p)
  1607. local direction = aim.lookVector
  1608. local headingA = math.atan2(direction.x, direction.z)
  1609. headingA = math.deg(headingA)
  1610. Humanoid.AutoRotate = false
  1611. RootPart.CFrame = CFrame.new(RootPart.Position) * CFrame.Angles(math.rad(0), math.rad(headingA - 180), math.rad(0))
  1612. for i, v in pairs(Character:GetChildren()) do
  1613. if v:IsA("Part") then
  1614. v.Material = "SmoothPlastic"
  1615. elseif v:IsA("Accessory") then
  1616. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1617. end
  1618. end
  1619. Headvelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1620. velocity = RootPart.Velocity.y
  1621. sine = sine + change
  1622. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1623. if RootPart.Velocity.y > 1 and hit == nil then
  1624. Anim = "Jump"
  1625. if attack == false then
  1626. PlayAnimationFromTable({
  1627. CFrame.new(0.127259433, -0.0596159771, 0.189378753, 0.965925872, 0.0225571971, 0.257834047, 0.0225579981, 0.985066533, -0.17069003, -0.257833958, 0.170690134, 0.950992465) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1628. CFrame.new(0.0244209729, 1.56254399, -0.173544556, 0.96592474, 0.0225591958, -0.257838368, 0.0449432544, 0.966441274, 0.252925694, 0.254891455, -0.255895257, 0.932495654) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1629. CFrame.new(0.658500612, 0.398768902, -0.862450778, 0.343670964, 0.900792718, 0.265448391, 0.2137326, 0.20021911, -0.956154108, -0.914444566, 0.385337412, -0.123719275) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1630. CFrame.new(-1.43523574, 0.121549249, -0.687813759, 0.410701752, 0.118069187, 0.904092729, 0.739943445, 0.536207557, -0.406159192, -0.532736301, 0.835787892, 0.132856861) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1631. CFrame.new(0.641040266, -1.90806067, 0.227101922, 0.962249994, -0.0841864049, -0.258819878, 0.170085624, 0.928400099, 0.330369651, 0.212475777, -0.361919671, 0.907671988) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1632. CFrame.new(-0.500004053, -1.35084605, -0.555529714, 0.981060445, 0.0871543288, 0.172987863, -0.140045926, 0.936115682, 0.322606146, -0.133820146, -0.340722382, 0.930591524) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1633. }, 0.3, false)
  1634. end
  1635. elseif RootPart.Velocity.y < -1 and hit == nil then
  1636. Anim = "Fall"
  1637. if attack == false then
  1638. PlayAnimationFromTable({
  1639. CFrame.new(0.163334131, -0.0871596038, -0.16742219, 0.867043138, 0.0880189762, 0.490396827, 0.0449440032, 0.966441453, -0.252924889, -0.496202052, 0.24133715, 0.833990455) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1640. CFrame.new(0.0244172066, 1.5625447, -0.17354542, 0.866278768, 0.108875886, -0.487552434, 0.108873315, 0.911355376, 0.396961033, 0.487552851, -0.396960288, 0.777634263) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1641. CFrame.new(0.689669132, 0.354625255, -0.940430343, 0.229587287, 0.87174952, 0.432831228, 0.436280668, 0.305352151, -0.846415639, -0.870028138, 0.383162051, -0.310222536) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1642. CFrame.new(-1.47630322, 0.0475490689, -0.634548545, 0.410701722, 0.118068904, 0.904093027, 0.739943504, 0.536207497, -0.406158984, -0.532736182, 0.835787833, 0.132856965) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1643. CFrame.new(0.720636785, -1.87088692, -0.163134515, 0.96225059, -0.185678095, -0.198991448, 0.170083165, 0.98103714, -0.0929410458, 0.212475047, 0.0555875003, 0.975584149) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1644. CFrame.new(-0.500012517, -1.35084641, -0.555533409, 0.981287122, -0.0532096401, 0.185053408, 0.0246368051, 0.987856567, 0.153402999, -0.190968931, -0.14597322, 0.970681846) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1645. }, 0.3, false)
  1646. end
  1647. elseif Headvelocity < 1 and hit ~= nil then
  1648. Anim = "Idle"
  1649. if attack == false then
  1650. change = 1
  1651. PlayAnimationFromTable({
  1652. CFrame.new(-0.2541008, -0.180074736, -0.241802737, 0.76604414, -1.48394264E-7, -0.642788053, 0.0560230091, 0.996194661, 0.0667653158, 0.640342057, -0.0871560946, 0.763129115) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1653. CFrame.new(1.35600567E-6, 1.49999166, -5.73694706E-7, 0.766043305, -0.0560226552, 0.64034313, -9.31413126E-7, 0.996194601, 0.0871566758, -0.642789006, -0.0667664111, 0.76312834) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1654. CFrame.new(0.965944111, 0.410506815, -0.758076906, 0.409578711, 0.866023779, 0.286785841, 0.370432287, 0.129400983, -0.919802964, -0.833687246, 0.482963026, -0.267803341) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1655. CFrame.new(-1.37906599, 0.100769401, -0.915000141, 0.633367777, 0.168905735, 0.755190313, 0.68845278, 0.322659701, -0.649560332, -0.353385001, 0.931322694, 0.0880800188) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1656. CFrame.new(0.59794265, -2.0041101, -0.0749895424, 0.981711328, -0.0754808784, -0.174771756, 0.0819018856, 0.996202469, 0.0298143364, 0.171854109, -0.04358197, 0.984157085) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1657. CFrame.new(-0.786915421, -1.82557595, -0.30038017, 0.813531935, 0.108696118, 0.57126832, -0.062976934, 0.993065894, -0.0992677882, -0.578093946, 0.0447808057, 0.814740956) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  1658. }, 0.3, false)
  1659. end
  1660. elseif Headvelocity > 2 and hit ~= nil then
  1661. Anim = "Walk"
  1662. if attack == false then
  1663. change = 3
  1664. PlayAnimationFromTable({
  1665. CFrame.new(0, -0.234493911, -0.148225456, 1, 0, 0, 0, 0.972469866, 0.233028963, 0, -0.233028963, 0.972469866) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.2, math.rad(-10 * math.cos(sine / 10)), 0),
  1666. CFrame.new(0, 1.49999082, 3.57627869E-6, 1, 0, 0, 0, 0.991436481, -0.130595058, 0, 0.130595058, 0.991436481) * CFrame.new(0, 0, 0) * CFrame.Angles(0.15, math.rad(10 * math.cos(sine / 10)), math.rad(-3 * math.cos(sine / 10))),
  1667. CFrame.new(0.678833663, 0.365906566, -0.753261089, 0.337660074, 0.901719749, 0.269976407, 0.271790266, 0.181202337, -0.945143342, -0.901174843, 0.39251405, -0.183893844) * CFrame.new(math.rad(5 * math.cos(sine / 10)), math.rad(-5 * math.cos(sine / 5)), 0) * CFrame.Angles(0, 0, 0),
  1668. CFrame.new(-1.42503321, 0.101834446, -0.631737471, 0.459770948, 0.0983300805, 0.882576883, 0.674444914, 0.607868612, -0.419070512, -0.577697933, 0.787925959, 0.213162094) * CFrame.new(math.rad(5 * math.cos(sine / 10)), math.rad(5 * math.cos(sine / 5)), 0) * CFrame.Angles(0, 0, 0),
  1669. CFrame.new(0.5, -1.85 - 0.5 * math.cos(sine / 8) / 2, 0 + 1.8 * math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(-50 * math.sin(sine / 8)), math.rad(0), math.rad(0)),
  1670. CFrame.new(-0.5, -1.85 + 0.5 * math.cos(sine / 8) / 2, 0 - 1.8 * math.sin(sine / 8) / 2) * CFrame.Angles(math.rad(50 * math.sin(sine / 8)), math.rad(0), math.rad(0))
  1671. }, 0.3, false)
  1672. end
  1673. end
  1674. if 0 < #Effects then
  1675. for e = 1, #Effects do
  1676. if Effects[e] ~= nil then
  1677. local Thing = Effects[e]
  1678. if Thing ~= nil then
  1679. local Part = Thing[1]
  1680. local Mode = Thing[2]
  1681. local Delay = Thing[3]
  1682. local IncX = Thing[4]
  1683. local IncY = Thing[5]
  1684. local IncZ = Thing[6]
  1685. if Thing[2] == "Shoot" then
  1686. local Look = Thing[1]
  1687. local move = 30
  1688. if Thing[8] == 3 then
  1689. move = 10
  1690. end
  1691. local hit, pos = rayCast(Thing[4], Look, move, Character)
  1692. local mag = (Thing[4] - pos).magnitude
  1693. Effects.Cylinder.Create(BrickColor.random(), CFrame.new((Thing[4] + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 1, mag * 5, 1, 0.5, 0, 0.5, 0.2)
  1694. Thing[4] = Thing[4] + Look * move
  1695. Thing[3] = Thing[3] - 1
  1696. if hit ~= nil then
  1697. Thing[3] = 0
  1698. local target, distance = findNearestHead(pos)
  1699. if hit.Parent:findFirstChild("Humanoid") == nil and target ~= nil and Thing[5] > 0 then
  1700. Thing[3] = 20
  1701. Thing[5] = Thing[5] - 1
  1702. Thing[6] = Thing[6] - 1
  1703. spread = Vector3.new((math.random(-1, 0) + math.random()) * 2, (math.random(-1, 0) + math.random()) * 2, (math.random(-1, 0) + math.random()) * 2) * (pos + target.Position).magnitude / 100
  1704. local MouseLook = CFrame.new((pos + target.Position) / 2, target.Position)
  1705. Thing[1] = MouseLook.lookVector
  1706. end
  1707. if Thing[8] == 1 or Thing[8] == 3 then
  1708. MagnitudeDamage(hit, 5, 15, 25, math.random(5, 10), "Normal", "", 1)
  1709. end
  1710. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.random(), "Reference", Vector3.new())
  1711. ref.Anchored = true
  1712. ref.CFrame = CFrame.new(pos)
  1713. Effects.Sphere.Create(BrickColor.random(), CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  1714. game:GetService("Debris"):AddItem(ref, 1)
  1715. end
  1716. if Thing[3] <= 0 then
  1717. table.remove(Effects, e)
  1718. end
  1719. end
  1720. if Thing[2] == "FireWave" then
  1721. if Thing[3] <= Thing[4] then
  1722. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1723. Thing[3] = Thing[3] + 1
  1724. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1725. else
  1726. Part.Parent = nil
  1727. table.remove(Effects, e)
  1728. end
  1729. end
  1730. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  1731. if Thing[1].Transparency <= 1 then
  1732. if Thing[2] == "Block1" then
  1733. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1734. Mesh = Thing[7]
  1735. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1736. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1737. elseif Thing[2] == "Block2" then
  1738. Thing[1].CFrame = Thing[1].CFrame
  1739. Mesh = Thing[7]
  1740. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1741. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1742. elseif Thing[2] == "Fire" then
  1743. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1744. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1745. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1746. elseif Thing[2] == "Cylinder" then
  1747. Mesh = Thing[7]
  1748. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1749. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1750. elseif Thing[2] == "Blood" then
  1751. Mesh = Thing[7]
  1752. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1753. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1754. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1755. elseif Thing[2] == "Elec" then
  1756. Mesh = Thing[10]
  1757. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1758. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1759. elseif Thing[2] == "QuadShot" then
  1760. if Thing[5] < 30 then
  1761. Thing[5] = Thing[5] + 1.5
  1762. Thing[4].Scale = Vector3.new(Thing[5], 5, Thing[5])
  1763. else
  1764. refda = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
  1765. refda.Anchored = true
  1766. refda.CFrame = CFrame.new(Thing[1].Position)
  1767. game:GetService("Debris"):AddItem(refda, 1)
  1768. CFuncs.Sound.Create("300916105", refda, 1, 1.4)
  1769. CFuncs.Sound.Create("315744661", refda, 1, 1)
  1770. MagnitudeDamage(refda, 20, 15, 25, math.random(5, 10), "Normal", "315748999", 1)
  1771. Effects.Cylinder.Create(BrickColor.random(), CFrame.new(refda.Position), 3, 9999, 3, 1, 1, 1, 0.1)
  1772. for i = 1, 3 do
  1773. Effects.Sphere.Create(BrickColor.random(), CFrame.new(refda.Position), 10, 10, 10, 4 * i, 4 * i, 4 * i, 0.08)
  1774. end
  1775. Thing[1].Parent = nil
  1776. table.remove(Effects, e)
  1777. end
  1778. elseif Thing[2] == "Disappear" then
  1779. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1780. elseif Thing[2] == "Shatter" then
  1781. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1782. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1783. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1784. Thing[6] = Thing[6] + Thing[5]
  1785. end
  1786. else
  1787. Part.Parent = nil
  1788. table.remove(Effects, e)
  1789. end
  1790. end
  1791. end
  1792. end
  1793. end
  1794. end
  1795. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement