Advertisement
GojiGaming1337

Untitled

May 17th, 2018
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 123.49 KB | None | 0 0
  1. wait(0.016666666666666666)
  2. Effects = {}
  3. Instance.new("ForceField", game.Players.LocalPlayer.Character)
  4. local char = game.Players.localPlayer.Character
  5. local txt = Instance.new("BillboardGui", char)
  6. txt.Adornee = char .Head
  7. txt.Name = "_status"
  8. txt.Size = UDim2.new(2, 0, 1.2, 0)
  9. txt.StudsOffset = Vector3.new(-9, 10, 0)
  10. local text = Instance.new("TextLabel", txt)
  11. text.Size = UDim2.new(10, 0, 7, 0)
  12. text.FontSize = "Size24"
  13. text.TextScaled = true
  14. text.TextTransparency = 0
  15. text.BackgroundTransparency = 1
  16. text.TextTransparency = 0
  17. text.TextStrokeTransparency = 0
  18. text.Font = "Fantasy"
  19. text.TextStrokeColor3 = Color3.new(0,0,0)
  20. text.Text = "Time Sniper"
  21. spawn(function()
  22. while wait(0.1) do
  23. text.TextStrokeColor3 = BrickColor.new("Gold").Color
  24. text.TextColor3 = BrickColor.new("Really black").Color
  25. end
  26. end)
  27. local Player = game.Players.localPlayer
  28. script.Parent = Player.PlayerGui
  29. local Character = Player.Character
  30. local Humanoid = Character.Humanoid
  31. local Mouse = Player:GetMouse()
  32. local LeftArm = Character["Left Arm"]
  33. local RightArm = Character["Right Arm"]
  34. local LeftLeg = Character["Left Leg"]
  35. local RightLeg = Character["Right Leg"]
  36. local Head = Character.Head
  37. local Torso = Character.Torso
  38.  
  39. local v = game.Players.localPlayer
  40. local torso = v.Character.Torso
  41.  
  42. plr = game.Players.LocalPlayer
  43. char = game.Players.LocalPlayer.Character
  44. hum = game.Players.LocalPlayer.Character.Humanoid
  45. t = game.Players.LocalPlayer.Character.Torso
  46. h = game.Players.LocalPlayer.Character.Head
  47. ra = game.Players.LocalPlayer.Character["Right Arm"]
  48. la = game.Players.LocalPlayer.Character["Left Arm"]
  49. rl = game.Players.LocalPlayer.Character["Right Leg"]
  50. ll = game.Players.LocalPlayer.Character["Left Leg"]
  51. tors = Character.Torso
  52. lleg = Character["Left Leg"]
  53. root = Character.HumanoidRootPart
  54. hed = Character.Head
  55. rleg = Character["Right Leg"]
  56. rarm = Character["Right Arm"]
  57. larm = Character["Left Arm"]
  58. bsize1 = NumberSequenceKeypoint.new(3,3,3)
  59. bsize2 = NumberSequenceKeypoint.new(10,10,10)
  60. local Effects = {}
  61. attack = false
  62. local attacking = false
  63. vt = Vector3.new
  64. bc = BrickColor.new
  65. br = BrickColor.random
  66. it = Instance.new
  67. cf = CFrame.new
  68. euler = CFrame.fromEulerAnglesXYZ
  69. angles = CFrame.Angles
  70. matr = math.random
  71. local colororg = BrickColor.new("Dark indigo") -- set color u like
  72. local meshtype = "Sphere" -- only for specialmesh
  73. mouse = plr:GetMouse()
  74.  
  75. local Camera = game.Workspace.CurrentCamera
  76. local RootPart = Character.HumanoidRootPart
  77. local RootJoint = RootPart.RootJoint
  78. local attack = false
  79. local Anim = "Idle"
  80. local attacktype = 1
  81. local Headvelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  82. local velocity = RootPart.Velocity.y
  83. local sine = 0
  84. local change = 1
  85. local Create = LoadLibrary("RbxUtility").Create
  86. local m = Create("Model")({
  87. Parent = Character,
  88. Name = "WeaponModel"
  89. })
  90. Humanoid.Animator.Parent = nil
  91. Character.Animate.Parent = nil
  92. Humanoid.MaxHealth = math.huge
  93. Humanoid.Health = math.huge
  94. Humanoid.WalkSpeed = 130
  95. Humanoid.JumpPower = 135
  96. LeftArm.CanCollide = false
  97. RightArm.CanCollide = false
  98. LeftLeg.CanCollide = false
  99. RightLeg.CanCollide = false
  100. Torso.CanCollide = false
  101. Head.CanCollide = false
  102.  
  103. function chatfunc(text)
  104. local chat = coroutine.wrap(function()
  105. if char:FindFirstChild("TalkingBillBoard")~= nil then
  106. char:FindFirstChild("TalkingBillBoard"):destroy()
  107. end
  108. local naeeym2 = Instance.new("BillboardGui",char)
  109. naeeym2.Size = UDim2.new(0,100,0,40)
  110. naeeym2.StudsOffset = Vector3.new(0,3,0)
  111. naeeym2.Adornee = char.Head
  112. naeeym2.Name = "TalkingBillBoard"
  113. local tecks2 = Instance.new("TextLabel",naeeym2)
  114. tecks2.BackgroundTransparency = 1
  115. tecks2.BorderSizePixel = 0
  116. tecks2.Text = ""
  117. tecks2.Font = "Fantasy"
  118. tecks2.TextSize = 30
  119. tecks2.TextStrokeTransparency = 0
  120. tecks2.TextColor3 = Color3.new(0,0,0)
  121. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  122. tecks2.Size = UDim2.new(1,0,0.5,0)
  123. local tecks3 = Instance.new("TextLabel",naeeym2)
  124. tecks3.BackgroundTransparency = 1
  125. tecks3.BorderSizePixel = 0
  126. tecks3.Text = ""
  127. tecks3.Font = "Fantasy"
  128. tecks3.TextSize = 30
  129. tecks3.TextStrokeTransparency = 0
  130. tecks3.TextColor3 = Color3.new(0,0,0)
  131. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  132. tecks3.Size = UDim2.new(1,0,0.5,0)
  133. spawn(function()
  134. while wait(0.04) do
  135. tecks3.TextStrokeColor3 = BrickColor.new("Gold").Color
  136. tecks2.TextStrokeColor3 = BrickColor.new("Really black").Color
  137. end
  138. end)
  139. for i = 1,string.len(text),1 do
  140.  
  141. tecks2.Text = string.sub(text,1,i)
  142. tecks3.Text = string.sub(text,1,i)
  143. wait(0.01)
  144. end
  145. wait(2)
  146. for i = 1, 50 do
  147.  
  148. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  149. tecks2.Rotation = tecks2.Rotation - .8
  150. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  151. tecks2.TextTransparency = tecks2.TextTransparency + .04
  152. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  153. tecks3.Rotation = tecks2.Rotation + .8
  154. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  155. tecks3.TextTransparency = tecks2.TextTransparency + .04
  156. end
  157. naeeym2:Destroy()
  158. end)
  159. chat()
  160.  
  161. end
  162. function onChatted(msg)
  163. chatfunc(msg)
  164.  
  165. end
  166. Player.Chatted:connect(onChatted)
  167.  
  168. local ColorsArray ={ColorSequenceKeypoint.new(0, Color3.new(1,1,0)),
  169. ColorSequenceKeypoint.new(0.16, Color3.new(1,1,0)),
  170. ColorSequenceKeypoint.new(0.32, Color3.new(1,1,0)),
  171. ColorSequenceKeypoint.new(0.48, Color3.new(1,1,0)),
  172. ColorSequenceKeypoint.new(0.64, Color3.new(1,1,0)),
  173. ColorSequenceKeypoint.new(0.80, Color3.new(1,1,0)),
  174. ColorSequenceKeypoint.new(0.96, Color3.new(1,1,0)),
  175. ColorSequenceKeypoint.new(1, Color3.new(1,1,0))}
  176. local Atch1 = Instance.new("Attachment",Torso)Atch1.Position = Vector3.new(0,2,0)
  177. local Atch2 = Instance.new("Attachment",Torso)Atch2.Position = Vector3.new(0,-2.5,0)
  178. local Trail = Instance.new("Trail",Torso)Trail.Attachment0 = Atch1 Trail.Attachment1 = Atch2
  179. Trail.Texture = "rbxassetid://22636887" Trail.Lifetime = 0.2 Trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  180. Trail.Color = ColorSequence.new(ColorsArray) Trail.LightEmission = 1
  181. Trail.Enabled = true
  182. local function newMotor(part0, part1, c0, c1)
  183. local w = Create("Motor")({
  184. Parent = part0,
  185. Part0 = part0,
  186. Part1 = part1,
  187. C0 = c0,
  188. C1 = c1
  189. })
  190. return w
  191. end
  192. function clerp(a, b, t)
  193. return a:lerp(b, t)
  194. end
  195. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  196. NeckCF = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  197. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  198. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  199. local RH = newMotor(Torso, RightLeg, CFrame.new(0.5, -2, 0), CFrame.new(0, 0, 0))
  200. local LH = newMotor(Torso, LeftLeg, CFrame.new(-0.5, -2, 0), CFrame.new(0, 0, 0))
  201. RootJoint.C1 = CFrame.new(0, 0, 0)
  202. RootJoint.C0 = CFrame.new(0, 0, 0)
  203. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  204. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  205. local rarmc1 = RW.C1
  206. local larmc1 = LW.C1
  207. local rlegc1 = RH.C1
  208. local llegc1 = LH.C1
  209. local resetc1 = false
  210. function PlayAnimationFromTable(table, speed, bool)
  211. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  212. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  213. RW.C0 = clerp(RW.C0, table[3], speed)
  214. LW.C0 = clerp(LW.C0, table[4], speed)
  215. RH.C0 = clerp(RH.C0, table[5], speed)
  216. LH.C0 = clerp(LH.C0, table[6], speed)
  217. if bool == true and resetc1 == false then
  218. resetc1 = true
  219. RootJoint.C1 = RootJoint.C1
  220. Torso.Neck.C1 = Torso.Neck.C1
  221. RW.C1 = rarmc1
  222. LW.C1 = larmc1
  223. RH.C1 = rlegc1
  224. LH.C1 = llegc1
  225. end
  226. end
  227. ArtificialHB = Create("BindableEvent", script)({Parent = script, Name = "Heartbeat"})
  228. script:WaitForChild("Heartbeat")
  229. frame = 0.03333333333333333
  230. tf = 0
  231. allowframeloss = false
  232. tossremainder = false
  233. lastframe = tick()
  234. script.Heartbeat:Fire()
  235. game:GetService("RunService").Heartbeat:connect(function(s, p)
  236. tf = tf + s
  237. if tf >= frame then
  238. if allowframeloss then
  239. script.Heartbeat:Fire()
  240. lastframe = tick()
  241. else
  242. for i = 1, math.floor(tf / frame) do
  243. script.Heartbeat:Fire()
  244. end
  245. lastframe = tick()
  246. end
  247. if tossremainder then
  248. tf = 0
  249. else
  250. tf = tf - frame * math.floor(tf / frame)
  251. end
  252. end
  253. end)
  254. function swait(num)
  255. if num == 0 or num == nil then
  256. ArtificialHB.Event:wait()
  257. else
  258. for i = 0, num do
  259. ArtificialHB.Event:wait()
  260. end
  261. end
  262. end
  263. function RemoveOutlines(part)
  264. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  265. end
  266. CFuncs = {
  267. Part = {
  268. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  269. local Part = Create("Part")({
  270. Parent = Parent,
  271. Reflectance = Reflectance,
  272. Transparency = Transparency,
  273. CanCollide = false,
  274. Locked = true,
  275. BrickColor = BrickColor.new(tostring(BColor)),
  276. Name = Name,
  277. Size = Size,
  278. Material = Material
  279. })
  280. RemoveOutlines(Part)
  281. return Part
  282. end
  283. },
  284. Mesh = {
  285. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  286. local Msh = Create(Mesh)({
  287. Parent = Part,
  288. Offset = OffSet,
  289. Scale = Scale
  290. })
  291. if Mesh == "SpecialMesh" then
  292. Msh.MeshType = MeshType
  293. Msh.MeshId = MeshId
  294. end
  295. return Msh
  296. end
  297. },
  298. Weld = {
  299. Create = function(Parent, Part0, Part1, C0, C1)
  300. local Weld = Create("Weld")({
  301. Parent = Parent,
  302. Part0 = Part0,
  303. Part1 = Part1,
  304. C0 = C0,
  305. C1 = C1
  306. })
  307. return Weld
  308. end
  309. },
  310. Sound = {
  311. Create = function(id, par, vol, pit)
  312. coroutine.resume(coroutine.create(function()
  313. local Sound = Create("Sound")({
  314. Volume = vol,
  315. Pitch = pit or 1,
  316. SoundId = "rbxassetid://" .. id,
  317. Parent = par or workspace
  318. })
  319. Sound:play()
  320. game:GetService("Debris"):AddItem(Sound, 10)
  321. end))
  322. end
  323. },
  324. Decal = {
  325. Create = function(Color, Texture, Transparency, Name, Parent)
  326. local Decal = Create("Decal")({
  327. Color3 = Color,
  328. Texture = "rbxassetid://" .. Texture,
  329. Transparency = Transparency,
  330. Name = Name,
  331. Parent = Parent
  332. })
  333. return Decal
  334. end
  335. },
  336. BillboardGui = {
  337. Create = function(Parent, Image, Position, Size)
  338. local BillPar = CFuncs.Part.Create(Parent, "SmoothPlastic", 0, 1, BrickColor.new("Black"), "BillboardGuiPart", Vector3.new(1, 1, 1))
  339. BillPar.CFrame = CFrame.new(Position)
  340. local Bill = Create("BillboardGui")({
  341. Parent = BillPar,
  342. Adornee = BillPar,
  343. Size = UDim2.new(1, 0, 1, 0),
  344. SizeOffset = Vector2.new(Size, Size)
  345. })
  346. local d = Create("ImageLabel", Bill)({
  347. Parent = Bill,
  348. BackgroundTransparency = 1,
  349. Size = UDim2.new(1, 0, 1, 0),
  350. Image = "rbxassetid://" .. Image
  351. })
  352. return BillPar
  353. end
  354. },
  355. ParticleEmitter = {
  356. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  357. local Particle = Create("ParticleEmitter")({
  358. Parent = Parent,
  359. Color = ColorSequence.new(Color1, Color2),
  360. LightEmission = LightEmission,
  361. Size = Size,
  362. Texture = Texture,
  363. Transparency = Transparency,
  364. ZOffset = ZOffset,
  365. Acceleration = Accel,
  366. Drag = Drag,
  367. LockedToPart = LockedToPart,
  368. VelocityInheritance = VelocityInheritance,
  369. EmissionDirection = EmissionDirection,
  370. Enabled = Enabled,
  371. Lifetime = LifeTime,
  372. Rate = Rate,
  373. Rotation = Rotation,
  374. RotSpeed = RotSpeed,
  375. Speed = Speed,
  376. VelocitySpread = VelocitySpread
  377. })
  378. return Particle
  379. end
  380. },
  381. CreateTemplate = {}
  382. }
  383. function rayCast(Position, Direction, Range, Ignore)
  384. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  385. end
  386. function findNearestHead(pos)
  387. local list = game.Workspace:children()
  388. local head
  389. local dist = 1000
  390. local temp, human, temp2
  391. for x = 1, #list do
  392. temp2 = list[x]
  393. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  394. temp = temp2:findFirstChild("Head")
  395. human = temp2:findFirstChild("Humanoid")
  396. if temp ~= nil and human ~= nil and human.Health > 0 and dist > (temp.Position - pos).magnitude then
  397. head = temp
  398. dist = (temp.Position - pos).magnitude
  399. end
  400. end
  401. end
  402. return head, dist
  403. end
  404. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  405. if hit.Parent == nil then
  406. return
  407. end
  408. local h = hit.Parent:FindFirstChild("Humanoid")
  409. for _, v in pairs(hit.Parent:children()) do
  410. if v:IsA("Humanoid") then
  411. h = v
  412. end
  413. end
  414. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  415. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  416. return
  417. end
  418. local c = Create("ObjectValue")({
  419. Name = "creator",
  420. Value = game:service("Players").LocalPlayer,
  421. Parent = h
  422. })
  423. game:GetService("Debris"):AddItem(c, 0.5)
  424. if HitSound ~= nil and HitPitch ~= nil then
  425. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  426. end
  427. local Damage = math.random(1,1)
  428. local blocked = false
  429. local block = hit.Parent:findFirstChild("Block")
  430. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  431. blocked = true
  432. block.Value = block.Value - 1
  433. print(block.Value)
  434. end
  435. if blocked == false then
  436. h.Health = h.Health - Damage
  437. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.random().Color)
  438. else
  439. h.Health = h.Health - Damage / 2
  440. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, BrickColor.random().Color)
  441. end
  442. if Type == "Knockdown" then
  443. local hum = hit.Parent.Humanoid
  444. hum.PlatformStand = true
  445. coroutine.resume(coroutine.create(function(HHumanoid)
  446. swait(1)
  447. HHumanoid.PlatformStand = false
  448. end), hum)
  449. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  450. local bodvol = Create("BodyVelocity")({
  451. velocity = angle * knockback,
  452. P = math.huge,
  453. maxForce = Vector3.new(math.huge, math.huge, math.huge) * math.huge * math.huge,
  454. Parent = hit
  455. })
  456. local rl = Create("BodyAngularVelocity")({
  457. P = 3000,
  458. maxTorque = Vector3.new(math.huge, math.huge, math.huge) * math.huge,
  459. angularvelocity = Vector3.new(math.random(math.huge, math.huge), math.random(math.huge, math.huge), math.random(math.huge, math.huge)),
  460. Parent = hit
  461. })
  462. game:GetService("Debris"):AddItem(bodvol, 0.5)
  463. game:GetService("Debris"):AddItem(rl, 0.5)
  464. elseif Type == "Normal" then
  465. local vp = Create("BodyVelocity")({
  466. P = 500,
  467. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  468. velocity = Property.CFrame.lookVector * knockback + Property.Velocity * math.huge
  469. })
  470. if knockback > 0 then
  471. vp.Parent = hit.Parent.Head
  472. end
  473. game:GetService("Debris"):AddItem(vp, 0.5)
  474. elseif Type == "Up" then
  475. local bodvol = Create("BodyVelocity")({
  476. velocity = angle * knockback,
  477. P = math.huge,
  478. maxForce = Vector3.new(math.huge, math.huge, math.huge) * math.huge * math.huge,
  479. Parent = hit
  480. })
  481. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  482. elseif Type == "DarkUp" then
  483. coroutine.resume(coroutine.create(function()
  484. for i = 0, 1, 0.1 do
  485. swait()
  486. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Head.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  487. end
  488. end))
  489. local bodvol = Create("BodyVelocity")({
  490. velocity = angle * knockback,
  491. P = math.huge,
  492. maxForce = Vector3.new(math.huge, math.huge, math.huge) * math.huge * math.huge,
  493. Parent = hit
  494. })
  495. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  496. elseif Type == "Snare" then
  497. local bp = Create("BodyPosition")({
  498. P = math.huge,
  499. D = math.huge,
  500. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  501. position = hit.Parent.Head.Position,
  502. Parent = hit.Parent.Head
  503. })
  504. game:GetService("Debris"):AddItem(bp, 1)
  505. elseif Type == "Freeze" then
  506. local BodPos = Create("BodyPosition")({
  507. P = math.huge,
  508. D = math.huge,
  509. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  510. position = hit.Parent.Head.Position,
  511. Parent = hit.Parent.Head
  512. })
  513. local BodGy = Create("BodyGyro")({
  514. maxTorque = Vector3.new(math.huge, math.huge, math.huge) * math.huge,
  515. P = math.huge,
  516. Parent = hit.Parent.Head,
  517. cframe = hit.Parent.Head.CFrame
  518. })
  519. hit.Parent.Head.Anchored = true
  520. coroutine.resume(coroutine.create(function(Part)
  521. swait(1.5)
  522. Part.Anchored = false
  523. end), hit.Parent.Head)
  524. game:GetService("Debris"):AddItem(BodPos, 3)
  525. game:GetService("Debris"):AddItem(BodGy, 3)
  526. end
  527. local debounce = Create("BoolValue")({
  528. Name = "DebounceHit",
  529. Parent = hit.Parent,
  530. Value = true
  531. })
  532. game:GetService("Debris"):AddItem(debounce, Delay)
  533. c = Create("ObjectValue")({
  534. Name = "creator",
  535. Value = Player,
  536. Parent = h
  537. })
  538. game:GetService("Debris"):AddItem(c, 0.5)
  539. end
  540. end
  541. function ShowDamage(Pos, Text, Time, Color)
  542. local Rate = 0.03333333333333333
  543. local Pos = Pos or Vector3.new(0, 0, 0)
  544. local Text = Text or ""
  545. local Time = Time or 2
  546. local Color = Color or Color3.new(1, 0, 1)
  547. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  548. EffectPart.Anchored = true
  549. local BillboardGui = Create("BillboardGui")({
  550. Size = UDim2.new(3, 0, 3, 0),
  551. Adornee = EffectPart,
  552. Parent = EffectPart
  553. })
  554. local TextLabel = Create("TextLabel")({
  555. BackgroundTransparency = 1,
  556. Size = UDim2.new(1, 0, 1, 0),
  557. Text = Text,
  558. Font = "SciFi",
  559. TextColor3 = Color,
  560. TextScaled = true,
  561. Parent = BillboardGui
  562. })
  563. game.Debris:AddItem(EffectPart, Time)
  564. EffectPart.Parent = game:GetService("Workspace")
  565. delay(0, function()
  566. local Frames = Time / Rate
  567. for Frame = 1, Frames do
  568. wait(Rate)
  569. local Percent = Frame / Frames
  570. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  571. TextLabel.TextTransparency = Percent
  572. end
  573. if EffectPart and EffectPart.Parent then
  574. EffectPart:Destroy()
  575. end
  576. end)
  577. end
  578. function MagnitudeDamage(Part, Magnitude, MinimumDamage, MaximumDamage, KnockBack, Type, HitSound, HitPitch)
  579. for _, c in pairs(workspace:children()) do
  580. local hum = c:findFirstChild("Humanoid")
  581. if hum ~= nil then
  582. local head = c:findFirstChild("Head")
  583. if head ~= nil then
  584. local targ = head.Position - Part.Position
  585. local mag = targ.magnitude
  586. if Magnitude >= mag and c.Name ~= Player.Name then
  587. Damage(head, head, MinimumDamage, MaximumDamage, KnockBack, Type, RootPart, 0, HitSound, HitPitch)
  588. end
  589. end
  590. end
  591. end
  592. end
  593. Handle = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, BrickColor.Random(), "Handle", Vector3.new(0.400000036, 0.400000006, 1.20000005))
  594. 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))
  595. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.28000009, 0.200000003, 0.200000003))
  596. 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))
  597. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.840000033))
  598. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  599. 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))
  600. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.400000036))
  601. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.560000062, 0.200000003))
  602. 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))
  603. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.400000036))
  604. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.400000006))
  605. 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))
  606. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 1))
  607. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.60000002, 0.200000003, 0.24000001))
  608. 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))
  609. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
  610. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.60000002, 0.24000001, 0.200000003))
  611. 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))
  612. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.400000036))
  613. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.400000066, 0.24000001, 0.400000006))
  614. 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))
  615. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  616. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.960000217, 0.200000003, 0.24000001))
  617. 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))
  618. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
  619. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  620. 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))
  621. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.400000036))
  622. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.480000079, 0.24000001, 0.400000006))
  623. 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))
  624. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  625. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.240000039, 0.56400001, 0.200000003))
  626. 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))
  627. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.840000033))
  628. Part1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.24000001))
  629. 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))
  630. CFuncs.Mesh.Create("BlockMesh", Part1, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.800000072, 1))
  631. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  632. 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))
  633. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 0.800000072))
  634. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.28000009, 0.200000003, 0.24000001))
  635. 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))
  636. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000191, 1))
  637. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.24000001, 0.200000003, 0.24000001))
  638. 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))
  639. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
  640. Part2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.400000006, 0.200000003))
  641. 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))
  642. CFuncs.Mesh.Create("BlockMesh", Part2, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.800000072))
  643. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.240000054, 0.200000003))
  644. 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))
  645. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.800000072))
  646. Part3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.400000006))
  647. 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))
  648. CFuncs.Mesh.Create("BlockMesh", Part3, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 1))
  649. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  650. 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))
  651. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 0.800000072))
  652. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.28000009, 0.351999998, 0.24000001))
  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.341727257, 0.16400528, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  654. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  655. 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))
  656. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000191, 0.800000072, 0.400000036))
  657. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  658. 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))
  659. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000191, 0.800000072, 0.400000036))
  660. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.92000008, 0.200000003, 0.24000001))
  661. 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))
  662. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
  663. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.720000148, 0.351999998, 0.24000001))
  664. 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))
  665. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.75999987, 0.240000039, 0.24000001))
  666. 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))
  667. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.960000038, 0.200000003, 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.663973808, -0.81999588, -5.56945801E-4, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  669. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.800000072))
  670. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.319999993, 0.560000002, 0.24000001))
  671. 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))
  672. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.720000029, 0.200000003, 0.24000001))
  673. 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))
  674. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.799999952, 1))
  675. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.24000001, 0.200000003))
  676. 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))
  677. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 1, 0.840000033))
  678. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.399999976, 0.24000001))
  679. 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))
  680. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.799999833, 1, 1))
  681. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.960000038, 0.400000006, 0.24000001))
  682. 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))
  683. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.28000009, 0.200000003, 0.24000001))
  684. 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))
  685. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000191, 1))
  686. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.480000019, 0.319999993, 0.200000003))
  687. 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))
  688. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072))
  689. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.320000052, 0.200000003, 0.24000001))
  690. 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))
  691. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
  692. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.12, 0.400000006, 0.24000001))
  693. 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))
  694. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.20000017, 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(1.11452484, 0.796833038, -0.00178527832, 0, -0.866025388, -0.500000238, 0, -0.500000238, 0.866025388, -1, 0, 0))
  696. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.960000098, 1))
  697. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.43599987, 0.488000005, 0.200000003))
  698. 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))
  699. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072))
  700. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.60000002, 0.24000001, 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(0.696018219, -1.10399246, 0.158210754, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  702. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.400000036))
  703. Part24 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.84000003, 0.320000023, 0.200000003))
  704. 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))
  705. CFuncs.Mesh.Create("BlockMesh", Part24, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072))
  706. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.560000062, 0.200000003, 0.24000001))
  707. 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))
  708. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.799999952, 1))
  709. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.240000159, 0.200000003, 0.200000003))
  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.0960187912, -0.299991608, -5.56945801E-4, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  711. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072))
  712. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  713. 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))
  714. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000191, 0.800000072, 0.400000036))
  715. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(2.24000001, 0.240000039, 0.24000001))
  716. 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))
  717. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 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.0239887238, -0.947994232, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  719. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 1))
  720. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 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(1.41601658, -0.947994232, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  722. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 1))
  723. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.559999943, 0.200000003, 0.200000003))
  724. 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))
  725. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.840000033))
  726. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.800000012, 0.24000001, 0.200000003))
  727. 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))
  728. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072))
  729. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.43999994, 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(0.696018219, -0.899993896, -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.400000036, 1))
  732. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.27999985, 0.320000023, 0.24000001))
  733. 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))
  734. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.24000001))
  735. 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))
  736. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.400000066, 0.800000072, 1))
  737. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(1.43999994, 0.200000003, 0.200000003))
  738. 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))
  739. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.720000088))
  740. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.320000052, 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(1.41601706, -0.900001526, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  742. CFuncs.Mesh.Create("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
  743. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.720000148, 0.200000003, 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(-0.783975601, -0.299995422, -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, 0.800000072, 0.800000072))
  746. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.720000029, 0.24000001, 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(3.69600821, -0.419994354, -0.00178527832, 0, -1, 0, 0, 0, 1, -1, 0, 0))
  748. Part = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  749. 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))
  750. CFuncs.Mesh.Create("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000191, 0.800000072, 0.400000036))
  751. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  752. 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))
  753. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
  754. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  755. 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))
  756. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
  757. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.480000019, 0.320000023))
  758. 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))
  759. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  760. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.320000023, 0.200000003))
  761. 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))
  762. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.800000072))
  763. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  764. 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))
  765. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
  766. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.319999993))
  767. 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))
  768. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
  769. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  770. 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))
  771. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072))
  772. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.400000006, 0.200000003, 0.200000003))
  773. 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))
  774. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.400000036))
  775. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  776. 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))
  777. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
  778. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  779. 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))
  780. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036))
  781. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.239999995))
  782. 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))
  783. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 1))
  784. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  785. 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))
  786. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036))
  787. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  788. 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))
  789. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072))
  790. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  791. 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))
  792. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036))
  793. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  794. 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))
  795. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
  796. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.248000011, 0.320000023, 0.200000003))
  797. 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))
  798. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.980000019))
  799. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.320000023, 0.24000001))
  800. 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))
  801. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  802. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  803. 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))
  804. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036))
  805. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.239999995))
  806. 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))
  807. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 1))
  808. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 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.00178527832, 0.0960197449, -0.339992523, -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(1, 0.400000036, 0.400000036))
  811. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.400000006, 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.00178527832, -1.57602215, -1.02399826, 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(1, 0.800000072, 0.400000036))
  814. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  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.299995422, 1.22396374, 1, 0, 0, 0, 0, -1, 0, 1, 0))
  816. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 0.800000072))
  817. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 1.20000005, 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, -1.13601112, 0.379993439, -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.248000011, 0.22800003, 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.00178527832, 0.0220222473, -0.477993011, -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(1, 1, 0.980000019))
  823. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0.80000001192093, "Toothpaste", "Wedge", Vector3.new(0.24000001, 0.200000003, 0.200000003))
  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, -1.69601536, -1.10400009, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  825. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000036, 0.400000036))
  826. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 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(-4.09599543, -0.0782165527, 0.81999588, 0, 1, 0, 1, 0, 0, 0, 0, -1))
  828. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
  829. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 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.158210754, -1.69601536, -1.10400009, 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(0.400000036, 0.400000036, 0.400000036))
  832. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.320000023, 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(5.56945801E-4, 0.379993439, 1.66396999, 1, 0, 0, 0, 0, -1, 0, 1, 0))
  834. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 1, 0.400000036))
  835. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.24000001, 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.179988861, -0.2560215, 1, 0, 0, 0, 0, -1, 0, 1, 0))
  837. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.400000036))
  838. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  839. 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))
  840. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.400000036, 0.400000036, 0.400000036))
  841. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.200000003, 0.239999995))
  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.299995422, -1.02396679, -1, 0, 0, 0, 0, -1, 0, -1, 0))
  843. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000072, 1))
  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, 1.54396248, 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.799999952))
  847. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.320000023, 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, -2.21600771, -0.659992218, 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, 1, 0.400000036))
  850. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.640000045, 0.319999933))
  851. 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))
  852. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.840000153, 1, 1))
  853. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.200000003, 0.200000003, 0.239999995))
  854. 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))
  855. CFuncs.Mesh.Create("SpecialMesh", Wedge, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 1))
  856. Wedge = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 0, BrickColor.Random(), "Wedge", Vector3.new(0.24000001, 0.720000029, 0.239999995))
  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, -3.69600487, -0.17999649, 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.80000001192093, "Toothpaste", "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, -0.303975105, -1.10400009, -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. Barrel = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, BrickColor.Random(), "Barrel", Vector3.new(0.200000003, 0.200000003, 0.600000024))
  863. 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))
  864. CFuncs.Mesh.Create("CylinderMesh", Barrel, "", "", Vector3.new(0, 0, 0), Vector3.new(0.800000072, 0.400000036, 0.800000072))
  865. JetpackHandle = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "JetpackHandle", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  866. 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))
  867. EffectPartR1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartR1", Vector3.new(0.5, 0.5, 0.300000012))
  868. 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))
  869. EffectPartL1 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartL1", Vector3.new(0.5, 0.5, 0.300000012))
  870. 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))
  871. EffectPartR2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartR2", Vector3.new(0.5, 0.5, 0.300000012))
  872. 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))
  873. EffectPartL2 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartL2", Vector3.new(0.5, 0.5, 0.300000012))
  874. 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))
  875. EffectPartL3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartL3", Vector3.new(0.400000006, 0.5, 0.300000012))
  876. 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))
  877. EffectPartR3 = CFuncs.Part.Create(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "EffectPartR3", Vector3.new(0.400000006, 0.5, 0.300000012))
  878. 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))
  879. CFuncs.Mesh.Create("SpecialMesh", JetpackHandle, Enum.MeshType.FileMesh, "rbxassetid://665940542", Vector3.new(0, 0, 0), Vector3.new(1.29999995, 1.29999995, 1.29999995))
  880. JetpackHandle.Mesh.TextureId = "rbxassetid://665940699"
  881. EffectModel = Create("Model")({Parent = Character, Name = "Effects"})
  882. Effects = {
  883. Block = {
  884. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  885. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  886. prt.Anchored = true
  887. prt.CFrame = cframe
  888. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  889. game:GetService("Debris"):AddItem(prt, 10)
  890. if Type == 1 or Type == nil then
  891. table.insert(Effects, {
  892. prt,
  893. "Block1",
  894. delay,
  895. x3,
  896. y3,
  897. z3,
  898. msh
  899. })
  900. elseif Type == 2 then
  901. table.insert(Effects, {
  902. prt,
  903. "Block2",
  904. delay,
  905. x3,
  906. y3,
  907. z3,
  908. msh
  909. })
  910. end
  911. end
  912. },
  913. Cylinder = {
  914. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  915. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2))
  916. prt.Anchored = true
  917. prt.CFrame = cframe
  918. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  919. game:GetService("Debris"):AddItem(prt, 2)
  920. Effects[#Effects + 1] = {
  921. prt,
  922. "Cylinder",
  923. delay,
  924. x3,
  925. y3,
  926. z3,
  927. msh
  928. }
  929. end
  930. },
  931. Head = {
  932. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  933. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  934. prt.Anchored = true
  935. prt.CFrame = cframe
  936. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Head", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  937. game:GetService("Debris"):AddItem(prt, 10)
  938. table.insert(Effects, {
  939. prt,
  940. "Cylinder",
  941. delay,
  942. x3,
  943. y3,
  944. z3,
  945. msh
  946. })
  947. end
  948. },
  949. Sphere = {
  950. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  951. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  952. prt.Anchored = true
  953. prt.CFrame = cframe
  954. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  955. game:GetService("Debris"):AddItem(prt, 10)
  956. table.insert(Effects, {
  957. prt,
  958. "Cylinder",
  959. delay,
  960. x3,
  961. y3,
  962. z3,
  963. msh
  964. })
  965. end
  966. },
  967. Elect = {
  968. Create = function(cff, x, y, z)
  969. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, BrickColor.new("Lime green"), "Part", Vector3.new(1, 1, 1))
  970. prt.Anchored = true
  971. prt.CFrame = cff * CFrame.new(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  972. prt.CFrame = CFrame.new(prt.Position)
  973. game:GetService("Debris"):AddItem(prt, 2)
  974. local xval = math.random() / 2
  975. local yval = math.random() / 2
  976. local zval = math.random() / 2
  977. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(xval, yval, zval))
  978. table.insert(Effects, {
  979. prt,
  980. "Elec",
  981. 0.1,
  982. x,
  983. y,
  984. z,
  985. xval,
  986. yval,
  987. zval
  988. })
  989. end
  990. },
  991. Ring = {
  992. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  993. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  994. prt.Anchored = true
  995. prt.CFrame = cframe
  996. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  997. game:GetService("Debris"):AddItem(prt, 10)
  998. table.insert(Effects, {
  999. prt,
  1000. "Cylinder",
  1001. delay,
  1002. x3,
  1003. y3,
  1004. z3,
  1005. msh
  1006. })
  1007. end
  1008. },
  1009. Wave = {
  1010. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1011. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1012. prt.Anchored = true
  1013. prt.CFrame = cframe
  1014. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1015. game:GetService("Debris"):AddItem(prt, 10)
  1016. table.insert(Effects, {
  1017. prt,
  1018. "Cylinder",
  1019. delay,
  1020. x3,
  1021. y3,
  1022. z3,
  1023. msh
  1024. })
  1025. end
  1026. },
  1027. Break = {
  1028. Create = function(brickcolor, cframe, x1, y1, z1)
  1029. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1030. prt.Anchored = true
  1031. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1032. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1033. local num = math.random(10, 50) / 1000
  1034. game:GetService("Debris"):AddItem(prt, 10)
  1035. table.insert(Effects, {
  1036. prt,
  1037. "Shatter",
  1038. num,
  1039. prt.CFrame,
  1040. math.random() - math.random(),
  1041. 0,
  1042. math.random(50, 100) / 100
  1043. })
  1044. end
  1045. },
  1046. Fire = {
  1047. Create = function(brickcolor, cframe, x1, y1, z1, delay)
  1048. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1049. prt.Anchored = true
  1050. prt.CFrame = cframe
  1051. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1052. game:GetService("Debris"):AddItem(prt, 10)
  1053. table.insert(Effects, {
  1054. prt,
  1055. "Fire",
  1056. delay,
  1057. 1,
  1058. 1,
  1059. 1,
  1060. msh
  1061. })
  1062. end
  1063. },
  1064. FireWave = {
  1065. Create = function(brickcolor, cframe, x1, y1, z1)
  1066. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 1, brickcolor, "Effect", Vector3.new())
  1067. prt.Anchored = true
  1068. prt.CFrame = cframe
  1069. msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1070. local d = Create("Decal")({
  1071. Parent = prt,
  1072. Texture = "rbxassetid://26356434",
  1073. Face = "Top"
  1074. })
  1075. local d = Create("Decal")({
  1076. Parent = prt,
  1077. Texture = "rbxassetid://26356434",
  1078. Face = "Bottom"
  1079. })
  1080. game:GetService("Debris"):AddItem(prt, 10)
  1081. table.insert(Effects, {
  1082. prt,
  1083. "FireWave",
  1084. 1,
  1085. 30,
  1086. math.random(400, 600) / 100,
  1087. msh
  1088. })
  1089. end
  1090. },
  1091. Lightning = {
  1092. Create = function(p0, p1, tym, ofs, col, th, tra, last)
  1093. local magz = (p0 - p1).magnitude
  1094. local curpos = p0
  1095. local trz = {
  1096. -ofs,
  1097. ofs
  1098. }
  1099. for i = 1, tym do
  1100. local li = CFuncs.Part.Create(EffectModel, "Neon", 0, tra or 0.4, col, "Ref", Vector3.new(th, th, magz / tym))
  1101. local ofz = Vector3.new(trz[math.random(1, 2)], trz[math.random(1, 2)], trz[math.random(1, 2)])
  1102. local trolpos = CFrame.new(curpos, p1) * CFrame.new(0, 0, magz / tym).p + ofz
  1103. li.Material = "Neon"
  1104. if tym == i then
  1105. local magz2 = (curpos - p1).magnitude
  1106. li.Size = Vector3.new(th, th, magz2)
  1107. li.CFrame = CFrame.new(curpos, p1) * CFrame.new(0, 0, -magz2 / 2)
  1108. table.insert(Effects, {
  1109. li,
  1110. "Disappear",
  1111. last
  1112. })
  1113. else
  1114. li.CFrame = CFrame.new(curpos, trolpos) * CFrame.new(0, 0, magz / tym / 2)
  1115. curpos = li.CFrame * CFrame.new(0, 0, magz / tym / 2).p
  1116. game.Debris:AddItem(li, 10)
  1117. table.insert(Effects, {
  1118. li,
  1119. "Disappear",
  1120. last
  1121. })
  1122. end
  1123. end
  1124. end
  1125. },
  1126. EffectTemplate = {}
  1127. }
  1128. function Bullet(Part)
  1129. local bullet = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 0, BrickColor.new("Black"), "Bullet", Vector3.new())
  1130. local bmsh = CFuncs.Mesh.Create("CylinderMesh", bullet, "", "", Vector3.new(0, 0, 0), Vector3.new(1.3, 1.5, 1.3))
  1131. bullet.CanCollide = true
  1132. bullet.CFrame = Part.CFrame * CFrame.new(math.random(-100, 100) / 100, math.random(-100, 100) / 100, math.random(-100, 100) / 100)
  1133. 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
  1134. game:GetService("Debris"):AddItem(bullet, 3)
  1135. end
  1136. function Shootcombo()
  1137. local MouseLook = CFrame.new((Barrel.Position + Mouse.Hit.p) / 2, Mouse.Hit.p)
  1138. CFuncs.Sound.Create("186083909", Barrel, 1, 1.2)
  1139. CFuncs.Sound.Create("406722373", Barrel, 1, 1.1)
  1140. Effects.Sphere.Create(BrickColor.new("Really red"), Barrel.CFrame, 0.5, 0.5, 0.5, 1, 1, 1, 0.09)
  1141. Effects.Sphere.Create(BrickColor.new("Really red"), Barrel.CFrame, 1, 1, 1, 2, 2, 2, 0.09)
  1142. Effects.Block.Create(BrickColor.new("Really red"), Barrel.CFrame, 1, 1, 1, 2, 2, 2, 0.09, 1)
  1143. table.insert(Effects, {
  1144. MouseLook.lookVector,
  1145. "Shoot",
  1146. 30,
  1147. Barrel.Position,
  1148. 6,
  1149. 8,
  1150. 0,
  1151. 1
  1152. })
  1153. end
  1154. function Bolt()
  1155. for i = 0, 1, 0.13 do
  1156. swait()
  1157. PlayAnimationFromTable({
  1158. 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),
  1159. 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),
  1160. 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),
  1161. 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),
  1162. 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),
  1163. 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)
  1164. }, 0.4, false)
  1165. end
  1166. Bullet(Handle)
  1167. CFuncs.Sound.Create("318369098", Handle, 1, 1.1)
  1168. for i = 0, 1, 0.2 do
  1169. swait()
  1170. PlayAnimationFromTable({
  1171. 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),
  1172. 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),
  1173. 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),
  1174. 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),
  1175. 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),
  1176. 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)
  1177. }, 0.35, false)
  1178. end
  1179. CFuncs.Sound.Create("318369288", Handle, 1, 1.1)
  1180. for i = 0, 1, 0.13 do
  1181. swait()
  1182. PlayAnimationFromTable({
  1183. 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),
  1184. 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),
  1185. 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),
  1186. 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),
  1187. 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),
  1188. 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)
  1189. }, 0.4, false)
  1190. end
  1191. end
  1192. function SpinShot()
  1193. attack = true
  1194. for i = 0, 1, 0.12 do
  1195. swait()
  1196. PlayAnimationFromTable({
  1197. 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),
  1198. 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),
  1199. 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),
  1200. 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),
  1201. 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),
  1202. 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)
  1203. }, 0.35, false)
  1204. end
  1205. Shootcombo()
  1206. for i = 0, 1, 0.3 do
  1207. swait()
  1208. RootPart.Velocity = RootPart.CFrame.lookVector * -10
  1209. PlayAnimationFromTable({
  1210. 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),
  1211. 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),
  1212. 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),
  1213. 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),
  1214. 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),
  1215. 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)
  1216. }, 0.5, false)
  1217. end
  1218. for i = 0, 1, 0.12 do
  1219. swait()
  1220. PlayAnimationFromTable({
  1221. 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),
  1222. 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),
  1223. 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),
  1224. 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),
  1225. 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),
  1226. 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)
  1227. }, 0.4, false)
  1228. end
  1229. Bolt()
  1230. attack = false
  1231. end
  1232. function LungeShot(Mode)
  1233. attack = true
  1234. Humanoid.Jump = true
  1235. CFuncs.Sound.Create("158149887", Torso, 1, 0.9)
  1236. if Mode == "Forward" then
  1237. RootPart.Velocity = RootPart.CFrame.lookVector * 80
  1238. for i = 0, 1, 0.1 do
  1239. swait()
  1240. PlayAnimationFromTable({
  1241. 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),
  1242. 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),
  1243. 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),
  1244. 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),
  1245. 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),
  1246. 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)
  1247. }, 0.3, false)
  1248. end
  1249. elseif Mode == "Backward" then
  1250. RootPart.Velocity = RootPart.CFrame.lookVector * -80
  1251. for i = 0, 1, 0.1 do
  1252. swait()
  1253. PlayAnimationFromTable({
  1254. 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),
  1255. 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),
  1256. 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),
  1257. 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),
  1258. 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),
  1259. 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)
  1260. }, 0.3, false)
  1261. end
  1262. end
  1263. local hitfloor
  1264. while hitfloor == nil do
  1265. swait()
  1266. hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 6, Character)
  1267. end
  1268. for i = 0, 1, 0.2 do
  1269. swait()
  1270. PlayAnimationFromTable({
  1271. 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),
  1272. 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),
  1273. 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),
  1274. 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),
  1275. 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),
  1276. 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)
  1277. }, 0.4, false)
  1278. end
  1279. Shootcombo()
  1280. for i = 0, 1, 0.3 do
  1281. swait()
  1282. RootPart.Velocity = RootPart.CFrame.lookVector * -40
  1283. PlayAnimationFromTable({
  1284. 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),
  1285. 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),
  1286. 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),
  1287. 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),
  1288. 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),
  1289. 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)
  1290. }, 0.6, false)
  1291. end
  1292. for i = 0, 1, 0.2 do
  1293. swait()
  1294. PlayAnimationFromTable({
  1295. 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),
  1296. 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),
  1297. 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),
  1298. 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),
  1299. 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),
  1300. 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)
  1301. }, 0.6, false)
  1302. end
  1303. Bolt()
  1304. attack = false
  1305. end
  1306. function AutoShot()
  1307. attack = true
  1308. Humanoid.WalkSpeed = 5
  1309. Bolt()
  1310. for i = 0, 1, 0.3 do
  1311. swait()
  1312. PlayAnimationFromTable({
  1313. 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),
  1314. 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),
  1315. 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),
  1316. 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),
  1317. 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),
  1318. 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)
  1319. }, 0.4, false)
  1320. end
  1321. Humanoid.WalkSpeed = 0
  1322. for i = 1, 10 do
  1323. for i = 0, 1, 0.8 do
  1324. swait()
  1325. PlayAnimationFromTable({
  1326. 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),
  1327. 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),
  1328. 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),
  1329. 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),
  1330. 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),
  1331. 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)
  1332. }, 0.7, false)
  1333. end
  1334.  
  1335. Shootcombo()
  1336. for i = 0, 1, 0.9 do
  1337. swait()
  1338. PlayAnimationFromTable({
  1339. 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),
  1340. 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),
  1341. 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),
  1342. 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),
  1343. 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),
  1344. 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)
  1345. }, 0.8, false)
  1346. end
  1347. for i = 0, 1, 0.8 do
  1348. swait()
  1349. PlayAnimationFromTable({
  1350. 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),
  1351. 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),
  1352. 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),
  1353. 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),
  1354. 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),
  1355. 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)
  1356. }, 0.7, false)
  1357. end
  1358. end
  1359. Humanoid.WalkSpeed = 100
  1360. attack = false
  1361. end
  1362. function MortarShot()
  1363. attack = true
  1364. Humanoid.WalkSpeed = 5
  1365. Bolt()
  1366. for i = 0, 1, 0.2 do
  1367. swait()
  1368. PlayAnimationFromTable({
  1369. 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),
  1370. 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),
  1371. 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),
  1372. 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),
  1373. 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),
  1374. 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)
  1375. }, 0.4, false)
  1376. end
  1377. for i = 0, 1, 0.3 do
  1378. swait()
  1379. PlayAnimationFromTable({
  1380. 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),
  1381. 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),
  1382. 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),
  1383. 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),
  1384. 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),
  1385. 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)
  1386. }, 0.4, false)
  1387. end
  1388. CFuncs.Sound.Create("300916014", Barrel, 1, 1.2)
  1389. CFuncs.Sound.Create("301031757", Barrel, 1, 1.1)
  1390. Effects.Sphere.Create(BrickColor.random(), Barrel.CFrame, 6, 6, 6, 0, 0, 0, 1, m)
  1391. for i = 1, 60 do
  1392. local hit, pos = rayCast(Barrel.Position, Barrel.CFrame * CFrame.fromEulerAnglesXYZ(0, 5, 0).lookVector, 220, Character)
  1393. local mag = (Barrel.Position - pos).magnitude
  1394. Effects.Cylinder.Create(BrickColor.random(), Barrel.CFrame, 30, 99999, 30, -0.5, 1, -0.5, 0.1)
  1395. local cf2 = Mouse.Hit.p + Vector3.new(math.random(-1500, 1500) / 100, 100, math.random(-1500, 1500) / 100)
  1396. local hit2, pos2 = rayCast(cf2, CFrame.new(cf2, cf2 - Vector3.new(0, 1, 0)).lookVector, 999, Character)
  1397. if hit2 ~= nil then
  1398. local d1 = CFuncs.Part.Create(workspace, "Neon", 0, 0.5, BrickColor.random(), "Effect", Vector3.new())
  1399. d1.Anchored = true
  1400. d1.CFrame = CFrame.new(pos2)
  1401. game:GetService("Debris"):AddItem(d1, 5)
  1402. local msh = CFuncs.Mesh.Create("CylinderMesh", d1, "nil", "nil", Vector3.new(0, 0, 0), Vector3.new(30, 5, 30))
  1403. local d2 = d1:Clone()
  1404. d2.Parent = d1
  1405. d2.CFrame = CFrame.new(d1.Position)
  1406. d2.BrickColor = BrickColor.random()
  1407. d2.Mesh.Scale = Vector3.new(0, 5, 0)
  1408. table.insert(Effects, {
  1409. d1,
  1410. "QuadShot",
  1411. d2,
  1412. d2.Mesh,
  1413. 0
  1414. })
  1415. end
  1416. end
  1417. for i = 0, 1, 0.2 do
  1418. swait()
  1419. PlayAnimationFromTable({
  1420. 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),
  1421. 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),
  1422. 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),
  1423. 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),
  1424. 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),
  1425. 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)
  1426. }, 0.4, false)
  1427. end
  1428. Humanoid.WalkSpeed = 100
  1429. attack = false
  1430. end
  1431. function DisappearJetOnly()
  1432. for _, i in pairs(m:children()) do
  1433. if i == JetpackHandle then
  1434. coroutine.resume(coroutine.create(function(Part)
  1435. for i = 0, 1, 0.3 do
  1436. swait()
  1437. Part.Transparency = i
  1438. end
  1439. Part.Transparency = 1
  1440. end), i)
  1441. end
  1442. end
  1443. end
  1444. function ReappearJetOnly()
  1445. for _, i in pairs(m:children()) do
  1446. if i == JetpackHandle then
  1447. coroutine.resume(coroutine.create(function(Part)
  1448. for i = 0, 1, 0.3 do
  1449. swait()
  1450. Part.Transparency = i
  1451. end
  1452. Part.Transparency = 0
  1453. end), i)
  1454. end
  1455. end
  1456. end
  1457. local floornum = 0
  1458. function JetDash()
  1459. attack = true
  1460. ReappearJetOnly()
  1461. Humanoid.WalkSpeed = 5
  1462. CFuncs.Sound.Create("324867021", JetpackHandle, 1, 1)
  1463. CFuncs.Sound.Create("301031757", JetpackHandle, 1, 0.8)
  1464. for i = 0, 1, 0.05 do
  1465. swait()
  1466. Effects.Wave.Create(BrickColor.random(), JetpackHandle.CFrame * CFrame.Angles(2.4, 0, 0), 1, 1, 1, 1, 1, 1, 0.4)
  1467. Effects.Break.Create(BrickColor.random(), EffectPartR3.CFrame, 0.2, 0.2, 0.2)
  1468. Effects.Break.Create(BrickColor.random(), EffectPartL3.CFrame, 0.2, 0.2, 0.2)
  1469. Effects.Block.Create(BrickColor.random(), EffectPartR3.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  1470. Effects.Block.Create(BrickColor.random(), EffectPartL3.CFrame, 1, 1, 1, 4, 4, 4, 0.3, 1)
  1471. Effects.Block.Create(BrickColor.random(), EffectPartR2.CFrame, 1, 1, 1, 2, 2, 2, 0.2, 1)
  1472. Effects.Block.Create(BrickColor.random(), EffectPartL2.CFrame, 1, 1, 1, 2, 2, 2, 0.2, 1)
  1473. RootPart.Velocity = RootPart.CFrame.lookVector * 300
  1474. PlayAnimationFromTable({
  1475. 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),
  1476. 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),
  1477. 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),
  1478. 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),
  1479. 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),
  1480. 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)
  1481. }, 0.3, false)
  1482. end
  1483. for i = 0, 1, 0.05 do
  1484. swait()
  1485. Effects.Fire.Create(BrickColor.random(), EffectPartL3.CFrame, 3, 3, 3, 0.3)
  1486. Effects.Fire.Create(BrickColor.random(), EffectPartR3.CFrame, 3, 3, 3, 0.3)
  1487. RootPart.Velocity = RootPart.CFrame.lookVector * 90
  1488. PlayAnimationFromTable({
  1489. 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),
  1490. 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),
  1491. 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),
  1492. 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),
  1493. 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),
  1494. 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)
  1495. }, 0.36, false)
  1496. end
  1497. DisappearJetOnly()
  1498. Humanoid.WalkSpeed = 100
  1499. attack = false
  1500. end
  1501. function findRandomHead(pos)
  1502. local list = game.Workspace:children()
  1503. local head
  1504. local dist = 10000
  1505. local temp, human, temp2
  1506. local list2 = {}
  1507. for x = 1, #list do
  1508. temp2 = list[x]
  1509. if temp2.className == "Model" and temp2.Name ~= Character.Name and temp2.Name ~= "Crystal" then
  1510. temp = temp2:findFirstChild("Head")
  1511. human = temp2:findFirstChild("Humanoid")
  1512. if temp ~= nil and human ~= nil and human.Health > 0 and dist > pos.magnitude then
  1513. local dohit = true
  1514. if dohit == true then
  1515. head = temp
  1516. table.insert(list2, temp)
  1517. end
  1518. end
  1519. end
  1520. end
  1521. if #list2 > 0 then
  1522. rand = math.random(1, #list2)
  1523. return list2[rand], dist
  1524. else
  1525. return nil, dist
  1526. end
  1527. end
  1528. Mouse.Button1Down:connect(function()
  1529. if attack ~= false or attacktype == 1 then
  1530. end
  1531. end)
  1532. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  1533. local gui = it(GuiType)
  1534. gui.Parent = parent
  1535. gui.Text = text
  1536. gui.BackgroundTransparency = backtrans
  1537. gui.BackgroundColor3 = backcol
  1538. gui.SizeConstraint = "RelativeXY"
  1539. gui.TextXAlignment = "Center"
  1540. gui.TextYAlignment = "Center"
  1541. gui.Position = pos
  1542. gui.Size = size
  1543. gui.Font = "SourceSans"
  1544. gui.FontSize = "Size14"
  1545. gui.TextWrapped = false
  1546. gui.TextStrokeTransparency = 0
  1547. gui.TextColor = BrickColor.new("White")
  1548. return gui
  1549. end
  1550. ---- GUI set
  1551. local basgui = it("GuiMain")
  1552. basgui.Parent = Player.PlayerGui
  1553. basgui.Name = "CooldownsGUI"
  1554. local basframe = it("Frame")
  1555. basframe.Parent = basgui
  1556. basframe.BackgroundColor3 = Color3.new(255, 255, 255)
  1557. basframe.BackgroundTransparency = 1
  1558. basframe.BorderColor3 = Color3.new(17, 17, 17)
  1559. basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
  1560. basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
  1561. local basicgui = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Gold").Color, UDim2.new(0.35, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0))
  1562. basicgui.ZIndex = 2
  1563. basicgui.Font = "Highway"
  1564. basicgui.BackgroundTransparency = 0.5
  1565. basicgui.BorderSizePixel = 0.65
  1566. basicgui.TextScaled = true
  1567. basicgui.Text = "(F)\nJet Dash"
  1568. basicgui.TextSize = 24
  1569. local basicgui2 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Gold").Color, UDim2.new(-0.15, 0, -0.125, 0), UDim2.new(0.45, 0, 0.35, 0))
  1570. basicgui2.ZIndex = 2
  1571. basicgui2.Font = "Highway"
  1572. basicgui2.BackgroundTransparency = 0.5
  1573. basicgui2.BorderSizePixel = 0.65
  1574. basicgui2.TextScaled = true
  1575. basicgui2.Text = "(V)\nAuto Shot"
  1576. basicgui2.TextSize = 24
  1577. local basicgui3 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Gold").Color, UDim2.new(-0.15, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0))
  1578. basicgui3.ZIndex = 2
  1579. basicgui3.Font = "Highway"
  1580. basicgui3.BackgroundTransparency = 0.5
  1581. basicgui3.BorderSizePixel = 0.65
  1582. basicgui3.TextScaled = true
  1583. basicgui3.Text = "(Z)\nFire"
  1584. basicgui3.TextSize = 24
  1585. local basicgui4 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Gold").Color, UDim2.new(0.35, 0, 0.225, 0), UDim2.new(0.45, 0, 0.35, 0))
  1586. basicgui4.ZIndex = 2
  1587. basicgui4.Font = "Highway"
  1588. basicgui4.BackgroundTransparency = 0.5
  1589. basicgui4.BorderSizePixel = 0.65
  1590. basicgui4.TextScaled = true
  1591. basicgui4.Text = "(B)\nMortar Shot"
  1592. basicgui4.TextSize = 24
  1593. local basicgui5 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Gold").Color, UDim2.new(-0.15, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0))
  1594. basicgui5.ZIndex = 2
  1595. basicgui5.Font = "Highway"
  1596. basicgui5.BackgroundTransparency = 0.5
  1597. basicgui5.BorderSizePixel = 0.65
  1598. basicgui5.TextScaled = true
  1599. basicgui5.Text = "(C)\nBackwards Lunge Shot"
  1600. basicgui5.TextSize = 24
  1601. local basicgui6 = gui("TextLabel", basframe, "Basic", 0, BrickColor.new("Gold").Color, UDim2.new(0.35, 0, -0.475, 0), UDim2.new(0.45, 0, 0.35, 0))
  1602. basicgui6.ZIndex = 2
  1603. basicgui6.Font = "Highway"
  1604. basicgui6.BackgroundTransparency = 0.5
  1605. basicgui6.BorderSizePixel = 0.65
  1606. basicgui6.TextScaled = true
  1607. basicgui6.Text = "(X)\nForward Lunge Shot"
  1608. basicgui6.TextSize = 24
  1609.  
  1610. Mouse.KeyDown:connect(function(k)
  1611. k = k:lower()
  1612. if attack == false and k == "z" then
  1613. chatfunc("Fire!") SpinShot()
  1614. elseif attack == false and k == "x" then
  1615. chatfunc("Forward Lunge Shot!") LungeShot("Forward")
  1616. elseif attack == false and k == "c" then
  1617. chatfunc("Backwards Lunge Shot!") LungeShot("Backward")
  1618. elseif attack == false and k == "v" then
  1619. chatfunc("Auto Shot!") AutoShot()
  1620. elseif attack == false and k == "b" then
  1621. chatfunc("Mortar Shot!") MortarShot()
  1622. elseif attack == false and k == "f" then
  1623. chatfunc("Jet Dash!") JetDash()
  1624. end
  1625. end)
  1626. while true do
  1627. swait()
  1628. local aim = CFrame.new(RootPart.Position, Mouse.Hit.p)
  1629. local direction = aim.lookVector
  1630. local headingA = math.atan2(direction.x, direction.z)
  1631. headingA = math.deg(headingA)
  1632. Humanoid.AutoRotate = false
  1633. RootPart.CFrame = CFrame.new(RootPart.Position) * CFrame.Angles(math.rad(0), math.rad(headingA - 180), math.rad(0))
  1634. for i, v in pairs(Character:GetChildren()) do
  1635. if v:IsA("Part") then
  1636. v.Material = "SmoothPlastic"
  1637. elseif v:IsA("Accessory") then
  1638. v:WaitForChild("Handle").Material = "SmoothPlastic"
  1639. end
  1640. end
  1641. Headvelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1642. velocity = RootPart.Velocity.y
  1643. sine = sine + change
  1644. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1645. if RootPart.Velocity.y > 1 and hit == nil then
  1646. Anim = "Jump"
  1647. if attack == false then
  1648. PlayAnimationFromTable({
  1649. 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),
  1650. 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),
  1651. 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),
  1652. 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),
  1653. 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),
  1654. 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)
  1655. }, 0.3, false)
  1656. end
  1657. elseif RootPart.Velocity.y < -1 and hit == nil then
  1658. Anim = "Fall"
  1659. if attack == false then
  1660. PlayAnimationFromTable({
  1661. 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),
  1662. 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),
  1663. 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),
  1664. 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),
  1665. 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),
  1666. 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)
  1667. }, 0.3, false)
  1668. end
  1669. elseif Headvelocity < 1 and hit ~= nil then
  1670. Anim = "Idle"
  1671. if attack == false then
  1672. change = 1
  1673. PlayAnimationFromTable({
  1674. 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),
  1675. 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),
  1676. 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),
  1677. 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),
  1678. 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),
  1679. 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)
  1680. }, 0.3, false)
  1681. end
  1682. elseif Headvelocity > 2 and hit ~= nil then
  1683. Anim = "Walk"
  1684. if attack == false then
  1685. change = 3
  1686. PlayAnimationFromTable({
  1687. 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),
  1688. 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))),
  1689. 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),
  1690. 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),
  1691. 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)),
  1692. 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))
  1693. }, 0.3, false)
  1694. end
  1695. end
  1696. if 0 < #Effects then
  1697. for e = 1, #Effects do
  1698. if Effects[e] ~= nil then
  1699. local Thing = Effects[e]
  1700. if Thing ~= nil then
  1701. local Part = Thing[1]
  1702. local Mode = Thing[2]
  1703. local Delay = Thing[3]
  1704. local IncX = Thing[4]
  1705. local IncY = Thing[5]
  1706. local IncZ = Thing[6]
  1707. if Thing[2] == "Shoot" then
  1708. local Look = Thing[1]
  1709. local move = 30
  1710. if Thing[8] == 3 then
  1711. move = 10
  1712. end
  1713. local hit, pos = rayCast(Thing[4], Look, move, Character)
  1714. local mag = (Thing[4] - pos).magnitude
  1715. 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)
  1716. Thing[4] = Thing[4] + Look * move
  1717. Thing[3] = Thing[3] - 1
  1718. if hit ~= nil then
  1719. Thing[3] = 0
  1720. local target, distance = findNearestHead(pos)
  1721. if hit.Parent:findFirstChild("Humanoid") == nil and target ~= nil and Thing[5] > 0 then
  1722. Thing[3] = 20
  1723. Thing[5] = Thing[5] - 1
  1724. Thing[6] = Thing[6] - 1
  1725. 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
  1726. local MouseLook = CFrame.new((pos + target.Position) / 2, target.Position)
  1727. Thing[1] = MouseLook.lookVector
  1728. end
  1729. if Thing[8] == 1 or Thing[8] == 3 then
  1730. MagnitudeDamage(hit, 5, 15, 25, math.random(5, 10), "Normal", "", 1)
  1731. end
  1732. ref = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.random(), "Reference", Vector3.new())
  1733. ref.Anchored = true
  1734. ref.CFrame = CFrame.new(pos)
  1735. Effects.Sphere.Create(BrickColor.random(), CFrame.new(pos), 5, 5, 5, 1, 1, 1, 0.07)
  1736. game:GetService("Debris"):AddItem(ref, 1)
  1737. end
  1738. if Thing[3] <= 0 then
  1739. table.remove(Effects, e)
  1740. end
  1741. end
  1742. if Thing[2] == "FireWave" then
  1743. if Thing[3] <= Thing[4] then
  1744. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(0, 1, 0)
  1745. Thing[3] = Thing[3] + 1
  1746. Thing[6].Scale = Thing[6].Scale + Vector3.new(Thing[5], 0, Thing[5])
  1747. else
  1748. Part.Parent = nil
  1749. table.remove(Effects, e)
  1750. end
  1751. end
  1752. if Thing[2] ~= "Shoot" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" then
  1753. if Thing[1].Transparency <= 1 then
  1754. if Thing[2] == "Block1" then
  1755. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1756. Mesh = Thing[7]
  1757. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1758. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1759. elseif Thing[2] == "Block2" then
  1760. Thing[1].CFrame = Thing[1].CFrame
  1761. Mesh = Thing[7]
  1762. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1763. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1764. elseif Thing[2] == "Fire" then
  1765. Thing[1].CFrame = CFrame.new(Thing[1].Position) + Vector3.new(0, 0.2, 0)
  1766. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1767. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1768. elseif Thing[2] == "Cylinder" then
  1769. Mesh = Thing[7]
  1770. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1771. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1772. elseif Thing[2] == "Blood" then
  1773. Mesh = Thing[7]
  1774. Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 0.5, 0)
  1775. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1776. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1777. elseif Thing[2] == "Elec" then
  1778. Mesh = Thing[10]
  1779. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1780. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1781. elseif Thing[2] == "QuadShot" then
  1782. if Thing[5] < 30 then
  1783. Thing[5] = Thing[5] + 1.5
  1784. Thing[4].Scale = Vector3.new(Thing[5], 5, Thing[5])
  1785. else
  1786. refda = CFuncs.Part.Create(workspace, "Neon", 0, 1, BrickColor.new("Black"), "Reference", Vector3.new())
  1787. refda.Anchored = true
  1788. refda.CFrame = CFrame.new(Thing[1].Position)
  1789. game:GetService("Debris"):AddItem(refda, 1)
  1790. CFuncs.Sound.Create("300916105", refda, 1, 1.4)
  1791. CFuncs.Sound.Create("315744661", refda, 1, 1)
  1792. MagnitudeDamage(refda, 20, 15, 25, math.random(5, 10), "Normal", "315748999", 1)
  1793. Effects.Cylinder.Create(BrickColor.random(), CFrame.new(refda.Position), 3, 9999, 3, 1, 1, 1, 0.1)
  1794. for i = 1, 3 do
  1795. Effects.Sphere.Create(BrickColor.random(), CFrame.new(refda.Position), 10, 10, 10, 4 * i, 4 * i, 4 * i, 0.08)
  1796. end
  1797. Thing[1].Parent = nil
  1798. table.remove(Effects, e)
  1799. end
  1800. elseif Thing[2] == "Disappear" then
  1801. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1802. elseif Thing[2] == "Shatter" then
  1803. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1804. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1805. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1806. Thing[6] = Thing[6] + Thing[5]
  1807. end
  1808. else
  1809. Part.Parent = nil
  1810. table.remove(Effects, e)
  1811. end
  1812. end
  1813. end
  1814. end
  1815. end
  1816. end
  1817. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement