Advertisement
Im_Meme

Nitrite

Aug 17th, 2018
464
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 108.77 KB | None | 0 0
  1.  
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code by Mokiros")
  7. local rp = RealPlayer
  8. script.Parent = rp.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent then
  34. for _,f in pairs(t.Functions) do
  35. f(...)
  36. end
  37. end
  38. end
  39. m.TrigEvent = te
  40. UIS.TrigEvent = te
  41.  
  42. Event.OnServerEvent:Connect(function(plr,io)
  43. if plr~=rp then return end
  44. m.Target = io.Target
  45. m.Hit = io.Hit
  46. if not io.isMouse then
  47. local b = io.UserInputState == Enum.UserInputState.Begin
  48. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  49. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  50. end
  51. for _,t in pairs(CAS.Actions) do
  52. for _,k in pairs(t.Keys) do
  53. if k==io.KeyCode then
  54. t.Function(t.Name,io.UserInputState,io)
  55. end
  56. end
  57. end
  58. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  59. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  60. end
  61. end)
  62. Event.Parent = NLS([==[
  63. local Player = game:GetService("Players").LocalPlayer
  64. local Event = script:WaitForChild("UserInput_Event")
  65.  
  66. local Mouse = Player:GetMouse()
  67. local UIS = game:GetService("UserInputService")
  68. local input = function(io,a)
  69. if a then return end
  70. --Since InputObject is a client-side instance, we create and pass table instead
  71. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  72. end
  73. UIS.InputBegan:Connect(input)
  74. UIS.InputEnded:Connect(input)
  75.  
  76. local h,t
  77. --Give the server mouse data 30 times every second, but only if the values changed
  78. --If player is not moving their mouse, client won't fire events
  79. while wait(1/30) do
  80. if h~=Mouse.Hit or t~=Mouse.Target then
  81. h,t=Mouse.Hit,Mouse.Target
  82. Event:FireServer({isMouse=true,Target=t,Hit=h})
  83. end
  84. end]==],Player.Character)
  85.  
  86. ----Sandboxed game object that allows the usage of client-side methods and services
  87. --Real game object
  88. local _rg = game
  89.  
  90. --Metatable for fake service
  91. local fsmt = {
  92. __index = function(self,k)
  93. local s = rawget(self,"_RealService")
  94. if s then return s[k] end
  95. end,
  96. __newindex = function(self,k,v)
  97. local s = rawget(self,"_RealService")
  98. if s then s[k]=v end
  99. end,
  100. __call = function(self,...)
  101. local s = rawget(self,"_RealService")
  102. if s then return s(...) end
  103. end
  104. }
  105. local function FakeService(t,RealService)
  106. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  107. return setmetatable(t,fsmt)
  108. end
  109.  
  110. --Fake game object
  111. local g = {
  112. GetService = function(self,s)
  113. return self[s]
  114. end,
  115. Players = FakeService({
  116. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  117. },"Players"),
  118. UserInputService = FakeService(UIS,"UserInputService"),
  119. ContextActionService = FakeService(CAS,"ContextActionService"),
  120. }
  121. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  122. g.service = g.GetService
  123.  
  124. g.RunService = FakeService({
  125. RenderStepped = _rg:GetService("RunService").Heartbeat,
  126. BindToRenderStep = function(self,name,_,fun)
  127. self._btrs[name] = self.Heartbeat:Connect(fun)
  128. end,
  129. UnbindFromRenderStep = function(self,name)
  130. self._btrs[name]:Disconnect()
  131. end,
  132. },"RunService")
  133.  
  134. setmetatable(g,{
  135. __index=function(self,s)
  136. return _rg:GetService(s) or typeof(_rg[s])=="function"
  137. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  138. end,
  139. __newindex = fsmt.__newindex,
  140. __call = fsmt.__call
  141. })
  142. --Changing owner to fake player object to support owner:GetMouse()
  143. game,owner = g,g.Players.LocalPlayer
  144. end
  145.  
  146. wait(0.016666666666667)
  147. Anim = nil
  148. normcount = 0
  149. cf = CFrame.new
  150. function c3(cz, cx, cc)
  151. return Color3.new(cz / 255, cx / 255, cc / 255)
  152. end
  153. angles = CFrame.Angles
  154. Player = game.Players.LocalPlayer
  155. Character = Player.Character
  156. Humanoid = Character.Humanoid
  157. mouse = Player:GetMouse()
  158. local LeftArm = Character["Left Arm"]
  159. RightArm = Character["Right Arm"]
  160. LeftLeg = Character["Left Leg"]
  161. RightLeg = Character["Right Leg"]
  162. Head = Character.Head
  163. Torso = Character.Torso
  164. RootPart = Character.HumanoidRootPart
  165. RootJoint = RootPart.RootJoint
  166. Humanoid.Animator:Destroy()
  167. Character.Animate:Destroy()
  168. NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  169. RootCF = angles(-1.57, 0, 3.14)
  170. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  171. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  172. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  173. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  174. RW = Instance.new("Weld")
  175. LW = Instance.new("Weld")
  176. RH = Torso["Right Hip"]
  177. LH = Torso["Left Hip"]
  178. Neck = Torso.Neck
  179. RSH = Torso["Right Shoulder"]
  180. LSH = Torso["Left Shoulder"]
  181. RSH.Parent = nil
  182. LSH.Parent = nil
  183. RW.Name = "Right Shoulder"
  184. RW.Part0 = Torso
  185. RW.C0 = cf(1.5, 0.5, 0)
  186. RW.C1 = cf(0, 0.5, 0)
  187. RW.Part1 = RightArm
  188. RW.Parent = Torso
  189. LW.Name = "Left Shoulder"
  190. LW.Part0 = Torso
  191. LW.C0 = cf(-1.5, 0.5, 0)
  192. LW.C1 = cf(0, 0.5, 0)
  193. LW.Part1 = LeftArm
  194. LW.Parent = Torso
  195. Effects = Instance.new("Model", Character)
  196. Effects.Name = "Effects"
  197. Humanoid.WalkSpeed = 16
  198. partEffects, AttackHas, AttackNeeded, AttackCan = {}, {}, {}, {}
  199. AttackHas[1], AttackHas[2], AttackHas[3], AttackHas[4] = 1, 1, 1, 1
  200. AttackNeeded[1], AttackNeeded[2], AttackNeeded[3], AttackNeeded[4] = 1, 1, 1, 1
  201. AttackCan[1], AttackCan[2], AttackCan[3], AttackCan[4] = true, true, true, true
  202. sine = 0
  203. attackcounter = 1
  204. torvel = nil
  205. attacking = false
  206. hitfloor, posfloor = nil, nil
  207. Goodbye = false
  208. tool = nil
  209. if script.Parent.ClassName == "HopperBin" then
  210. tool = script.Parent
  211. tool.Parent = Player.Backpack
  212. tool.Name = "Nitrite"
  213. else
  214. tool = Instance.new("HopperBin", Player.Backpack)
  215. tool.Name = ""
  216. end
  217. meshes = {
  218. 3270017,
  219. 20329976,
  220. 448386996,
  221. 1095708,
  222. 1033714,
  223. 9756362
  224. }
  225. sounds = {
  226. {
  227. 320557413,
  228. 320557453,
  229. 320557487,
  230. 320557518,
  231. 320557537,
  232. 320557563,
  233. 233856146,
  234. 233856140
  235. },
  236. {
  237. 234365549,
  238. 234365573,
  239. 231917961,
  240. 231917950,
  241. 231917856,
  242. 231917863,
  243. 231917871
  244. },
  245. {
  246. 262562442,
  247. 231917806,
  248. 231917784
  249. },
  250. {
  251. 262562442,
  252. 233856048,
  253. 306247739
  254. }
  255. }
  256. ArtificialHB = Instance.new("BindableEvent", script)
  257. ArtificialHB.Name = "Heartbeat"
  258. script:WaitForChild("Heartbeat")
  259. frame = 0.025
  260. tf = 0
  261. allowframeloss = true
  262. tossremainder = false
  263. lastframe = tick()
  264. script.Heartbeat:Fire()
  265. game:GetService("RunService").Heartbeat:connect(function(s, p)
  266. tf = tf + s
  267. if tf >= frame then
  268. if allowframeloss then
  269. script.Heartbeat:Fire()
  270. lastframe = tick()
  271. else
  272. for i = 1, math.floor(tf / frame) do
  273. script.Heartbeat:Fire()
  274. end
  275. lastframe = tick()
  276. end
  277. if tossremainder then
  278. tf = 0
  279. else
  280. tf = tf - frame * math.floor(tf / frame)
  281. end
  282. end
  283. end)
  284. function swait(num)
  285. if num == 0 or num == nil then
  286. ArtificialHB.Event:wait()
  287. else
  288. for i = 0, num do
  289. ArtificialHB.Event:wait()
  290. end
  291. end
  292. end
  293. function thread(f)
  294. coroutine.resume(coroutine.create(f))
  295. end
  296. function clerp(a, b, t)
  297. local qa = {
  298. QuaternionFromCFrame(a)
  299. }
  300. local qb = {
  301. QuaternionFromCFrame(b)
  302. }
  303. local ax, ay, az = a.x, a.y, a.z
  304. local bx, by, bz = b.x, b.y, b.z
  305. local _t = 1 - t
  306. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  307. end
  308. function QuaternionFromCFrame(cf)
  309. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  310. local trace = m00 + m11 + m22
  311. if trace > 0 then
  312. local s = math.sqrt(1 + trace)
  313. local recip = 0.5 / s
  314. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  315. else
  316. local i = 0
  317. if m00 < m11 then
  318. i = 1
  319. end
  320. if m22 > (i == 0 and m00 or m11) then
  321. i = 2
  322. end
  323. if i == 0 then
  324. local s = math.sqrt(m00 - m11 - m22 + 1)
  325. local recip = 0.5 / s
  326. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  327. elseif i == 1 then
  328. local s = math.sqrt(m11 - m22 - m00 + 1)
  329. local recip = 0.5 / s
  330. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  331. elseif i == 2 then
  332. local s = math.sqrt(m22 - m00 - m11 + 1)
  333. local recip = 0.5 / s
  334. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  335. end
  336. end
  337. end
  338. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  339. local xs, ys, zs = x + x, y + y, z + z
  340. local wx, wy, wz = w * xs, w * ys, w * zs
  341. local xx = x * xs
  342. local xy = x * ys
  343. local xz = x * zs
  344. local yy = y * ys
  345. local yz = y * zs
  346. local zz = z * zs
  347. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  348. end
  349. function QuaternionSlerp(a, b, t)
  350. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  351. local startInterp, finishInterp
  352. if cosTheta >= 1.0E-4 then
  353. if 1 - cosTheta > 1.0E-4 then
  354. local theta = math.acos(cosTheta)
  355. local invSinTheta = 1 / math.sin(theta)
  356. startInterp = math.sin((1 - t) * theta) * invSinTheta
  357. finishInterp = math.sin(t * theta) * invSinTheta
  358. else
  359. startInterp = 1 - t
  360. finishInterp = t
  361. end
  362. elseif 1 + cosTheta > 1.0E-4 then
  363. local theta = math.acos(-cosTheta)
  364. local invSinTheta = 1 / math.sin(theta)
  365. startInterp = math.sin((t - 1) * theta) * invSinTheta
  366. finishInterp = math.sin(t * theta) * invSinTheta
  367. else
  368. startInterp = t - 1
  369. finishInterp = t
  370. end
  371. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  372. end
  373. function rayCast(Pos, Dir, Max, Ignore)
  374. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  375. end
  376. function sound(id, par, vol, dur, pit)
  377. coroutine.resume(coroutine.create(function()
  378. local sou = Instance.new("Sound", par or workspace)
  379. sou.Volume = vol
  380. sou.Pitch = pit or 1
  381. sou.SoundId = "http://www.roblox.com/asset/?id=" .. id
  382. swait()
  383. sou:play()
  384. thread(function()
  385. wait(dur)
  386. sou:Destroy()
  387. end)
  388. return sou
  389. end))
  390. end
  391. function newPart(par, brick, transp, anch, canc, size, name, mat, ref)
  392. local p = Instance.new("Part")
  393. p.BrickColor = brick
  394. p.Transparency = transp
  395. p.Material = mat and mat or "SmoothPlastic"
  396. p.Reflectance = ref and ref or 0
  397. p.Anchored = anch
  398. p.CanCollide = canc
  399. p.Size = size
  400. p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BackSurface = 10, 10, 10, 10, 10, 10
  401. p.Name = name
  402. p.CFrame = RootPart.CFrame
  403. p.Parent = par
  404. return p
  405. end
  406. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  407. local mesh = Instance.new(Mesh)
  408. mesh.Parent = part
  409. if Mesh == "SpecialMesh" then
  410. mesh.MeshType = meshtype
  411. if meshid then
  412. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  413. end
  414. end
  415. if offset then
  416. mesh.Offset = offset
  417. end
  418. mesh.Scale = scale
  419. return mesh
  420. end
  421. function weld(parent, part0, part1, c0, c1)
  422. local weld = Instance.new("Weld")
  423. weld.Parent = parent
  424. weld.Part0 = part0
  425. weld.Part1 = part1
  426. weld.C0 = c0
  427. if c1 then
  428. weld.C1 = c1
  429. end
  430. return weld
  431. end
  432. function randomangles(r)
  433. local random = math.rad((math.random() - 0.5) * 180)
  434. local randomangles = CFrame.Angles(random, random, random)
  435. if r and r == 0 then
  436. return angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  437. elseif r and r == 1 then
  438. return math.rad((math.random() - 0.5) * 180)
  439. elseif r and r == 2 then
  440. return math.random(-50, 50)
  441. else
  442. return randomangles
  443. end
  444. end
  445. function round(num)
  446. local a, b = math.modf(num)
  447. if num % 1 ~= 0 then
  448. return math.floor(num) + math.floor(b * 10 + 0.5) / 10
  449. else
  450. return math.floor(num)
  451. end
  452. end
  453. function findCloseHumanoid(centre, distance)
  454. local tab = {}
  455. for _, child in pairs(game.Workspace:GetChildren()) do
  456. if child:findFirstChild("Humanoid") and child:findFirstChild("Humanoid") ~= Humanoid and child:findFirstChild("Torso") then
  457. local vtors = child.Torso
  458. local mag = math.abs((vtors.Position - centre).magnitude)
  459. if distance >= mag then
  460. table.insert(tab, child.Humanoid)
  461. end
  462. end
  463. end
  464. return tab
  465. end
  466. function basicDamage(vhum, damage, colour)
  467. if not vhum or not vhum.Parent:findFirstChild("Humanoid") or vhum.Health <= 0 then
  468. return
  469. end
  470. vhum.Health = vhum.Health - damage
  471. local damagepart = Instance.new("Part", Effects)
  472. damagepart.Transparency = 1
  473. damagepart.Anchored = true
  474. damagepart.CanCollide = false
  475. damagepart.Size = Vector3.new(1, 1, 1)
  476. damagepart.Name = "DamagePart"
  477. damagepart.CFrame = vhum.Parent.Head.CFrame * CFrame.new(0, 1, 0)
  478. local g = Instance.new("BillboardGui", damagepart)
  479. g.Enabled = true
  480. g.Adornee = damagepart
  481. g.Size = UDim2.new(5, 0, 5, 0)
  482. g.ExtentsOffset = Vector3.new(0, 0, 0)
  483. g.StudsOffset = Vector3.new(0, 0, 0)
  484. local t = Instance.new("TextLabel", g)
  485. t.BackgroundTransparency = 1
  486. t.Font = "ArialBold"
  487. t.TextSize = 24
  488. t.Text = "-" .. round(damage)
  489. if round(damage) % 1 == 0 then
  490. t.Text = "-" .. round(damage) .. ".0"
  491. end
  492. t.Size = UDim2.new(1, 0, 1, 0)
  493. t.TextStrokeTransparency = 0
  494. t.TextTransparency = 0
  495. t.TextScaled = true
  496. t.TextWrapped = true
  497. t.TextXAlignment = "Center"
  498. t.TextYAlignment = "Center"
  499. t.TextColor3 = colour
  500. coroutine.resume(coroutine.create(function()
  501. for i = 1, 50 do
  502. game:GetService("RunService").Heartbeat:wait()
  503. local sinewave = math.sin(i / 500) * 4
  504. damagepart.CFrame = damagepart.CFrame * CFrame.new(Vector3.new(0, 0.3 - sinewave, 0))
  505. t.TextTransparency = t.TextTransparency + 0.02
  506. t.TextStrokeTransparency = t.TextTransparency + 0.02
  507. end
  508. damagepart:Destroy()
  509. end), t)
  510. end
  511. function magic(type, thing)
  512. local magicBlock = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay, t)
  513. local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", "SmoothPlastic", cframe)
  514. local msh = mesh("BlockMesh", prt, nil, nil, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  515. game:GetService("Debris"):AddItem(prt, 8)
  516. if t == 1 or t == nil then
  517. table.insert(partEffects, {
  518. prt,
  519. "Block1",
  520. delay,
  521. x3,
  522. y3,
  523. z3,
  524. msh
  525. })
  526. elseif t == 2 then
  527. table.insert(partEffects, {
  528. prt,
  529. "Block2",
  530. delay,
  531. x3,
  532. y3,
  533. z3,
  534. msh
  535. })
  536. end
  537. end
  538. local magicCylinder = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay)
  539. local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", cframe)
  540. local msh = mesh("CylinderMesh", prt, nil, nil, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  541. game:GetService("Debris"):AddItem(prt, 8)
  542. table.insert(partEffects, {
  543. prt,
  544. "Cylinder",
  545. delay,
  546. x3,
  547. y3,
  548. z3,
  549. msh
  550. })
  551. end
  552. local magicSphere = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay)
  553. local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", cframe)
  554. local msh = mesh("SpecialMesh", prt, "Sphere", nil, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  555. game:GetService("Debris"):AddItem(prt, 8)
  556. table.insert(partEffects, {
  557. prt,
  558. "Cylinder",
  559. delay,
  560. x3,
  561. y3,
  562. z3,
  563. msh
  564. })
  565. end
  566. local magicRing = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay)
  567. local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", cframe)
  568. prt.Anchored = true
  569. prt.CFrame = cframe
  570. local msh = mesh("SpecialMesh", prt, "FileMesh", 3270017, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  571. game:GetService("Debris"):AddItem(prt, 2)
  572. coroutine.resume(coroutine.create(function(Part, Mesh, num)
  573. for i = 0, 1, delay do
  574. swait()
  575. Part.Transparency = i
  576. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  577. end
  578. Part.Parent = nil
  579. end), prt, msh, (math.random(0, 1) + math.random()) / 5)
  580. end
  581. local magicSlash = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay)
  582. local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", cframe)
  583. prt.Anchored = true
  584. prt.CFrame = cframe
  585. local msh = mesh("SpecialMesh", prt, "FileMesh", 20329976, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  586. game:GetService("Debris"):AddItem(prt, 2)
  587. coroutine.resume(coroutine.create(function(Part, Mesh, num)
  588. for i = 0, 1, delay do
  589. swait()
  590. Part.Transparency = i
  591. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  592. end
  593. Part:Destroy()
  594. end), prt, msh, (math.random(0, 1) + math.random()) / 5)
  595. end
  596. local par = thing[1]
  597. local brick = thing[2]
  598. local cframe = thing[3]
  599. local x1 = thing[4]
  600. local y1 = thing[5]
  601. local z1 = thing[6]
  602. local x3 = thing[7]
  603. local y3 = thing[8]
  604. local z3 = thing[9]
  605. local delay = thing[10]
  606. local t = thing[11]
  607. if type == "Block" or type == 1 then
  608. magicBlock(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
  609. elseif type == "Cylinder" or type == 2 then
  610. magicCylinder(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
  611. elseif type == "Sphere" or type == 3 then
  612. magicSphere(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
  613. elseif type == "Ring" or type == 4 then
  614. magicRing(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
  615. elseif type == "Slash" or type == 5 then
  616. magicSlash(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
  617. end
  618. end
  619. function newFrame(par, bg, transp, size, pos, name)
  620. local f = Instance.new("Frame", nil)
  621. f.BackgroundColor3 = bg
  622. f.BackgroundTransparency = transp
  623. f.BorderSizePixel = 0
  624. f.Position = pos
  625. f.Size = size
  626. f.Name = name
  627. f.Parent = par
  628. return f
  629. end
  630. function newLabel(par, size, pos, text, textsize, text3, textstroke3, scaled, name)
  631. local l = Instance.new("TextLabel", nil)
  632. l.BackgroundTransparency = 1
  633. l.Size = size
  634. l.Position = pos
  635. l.Text = text
  636. l.TextSize = textsize
  637. l.TextColor3 = text3
  638. l.TextStrokeColor3 = textstroke3
  639. if scaled then
  640. l.TextScaled = scaled
  641. else
  642. l.TextScaled = true
  643. end
  644. l.TextStrokeTransparency = 0
  645. l.Name = name
  646. l.Parent = par
  647. return l
  648. end
  649. a1t = "Goodbye"
  650. a2t = "Astral Blast"
  651. a3t = "Rainbow Jet"
  652. a4t = "Pixie Dust"
  653. backc3 = c3(163, 163, 163)
  654. reloc3 = BrickColor.new("Sea green").Color
  655. g = Instance.new("ScreenGui")
  656. f1 = newFrame(g, backc3, 0.5, UDim2.new(0.18, 0, 0.08, 0), UDim2.new(0.8, 0, 0.85, 0), "")
  657. f2 = newFrame(g, backc3, 0.5, UDim2.new(0.18, 0, 0.08, 0), UDim2.new(0.8, 0, 0.76, 0), "")
  658. f3 = newFrame(g, backc3, 0.5, UDim2.new(0.18, 0, 0.08, 0), UDim2.new(0.8, 0, 0.67, 0), "")
  659. f4 = newFrame(g, backc3, 0.5, UDim2.new(0.18, 0, 0.08, 0), UDim2.new(0.8, 0, 0.58, 0), "")
  660. newFrame(f1, reloc3, 0, UDim2.new(1.002, 0, 1.002, 0), UDim2.new(0, 0, 0, 0), "Reload")
  661. newFrame(f2, reloc3, 0, UDim2.new(1.002, 0, 1.002, 0), UDim2.new(0, 0, 0, 0), "Reload")
  662. newFrame(f3, reloc3, 0, UDim2.new(1.002, 0, 1.002, 0), UDim2.new(0, 0, 0, 0), "Reload")
  663. newFrame(f4, reloc3, 0, UDim2.new(1.002, 0, 1.002, 0), UDim2.new(0, 0, 0, 0), "Reload")
  664. newLabel(f4, UDim2.new(1, 0, 0.4, 0), UDim2.new(0, 0, 0, 0), "(V)", 18, c3(243, 242, 242), c3(0, 0, 0), true, "Key")
  665. newLabel(f3, UDim2.new(1, 0, 0.4, 0), UDim2.new(0, 0, 0, 0), "(C)", 18, c3(243, 242, 242), c3(0, 0, 0), true, "Key")
  666. newLabel(f2, UDim2.new(1, 0, 0.4, 0), UDim2.new(0, 0, 0, 0), "(X)", 18, c3(243, 242, 242), c3(0, 0, 0), true, "Key")
  667. newLabel(f1, UDim2.new(1, 0, 0.4, 0), UDim2.new(0, 0, 0, 0), "(Z)", 18, c3(243, 242, 242), c3(0, 0, 0), true, "Key")
  668. newLabel(f1, UDim2.new(1, 0, 0.6, 0), UDim2.new(0, 0, 0.38, 0), a4t, 18, c3(243, 242, 242), c3(0, 0, 0), true, "Label")
  669. newLabel(f2, UDim2.new(1, 0, 0.6, 0), UDim2.new(0, 0, 0.38, 0), a2t, 18, c3(243, 242, 242), c3(0, 0, 0), true, "Label")
  670. newLabel(f3, UDim2.new(1, 0, 0.6, 0), UDim2.new(0, 0, 0.38, 0), a3t, 18, c3(243, 242, 242), c3(0, 0, 0), true, "Label")
  671. newLabel(f4, UDim2.new(1, 0, 0.6, 0), UDim2.new(0, 0, 0.38, 0), a1t, 18, c3(243, 242, 242), c3(0, 0, 0), true, "Label")
  672. g.Parent = Player.PlayerGui
  673. Reload = {}
  674. Reload[1] = f1.Reload
  675. Reload[2] = f2.Reload
  676. Reload[3] = f3.Reload
  677. Reload[4] = f4.Reload
  678. weapon = Instance.new("Model", Character)
  679. p0 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  680. mesh("BlockMesh", p0, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
  681. p1 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  682. mesh("BlockMesh", p1, nil, nil, Vector3.new(0, 0, 0), Vector3.new(3.20006061, 1.00001276, 0.900012672))
  683. p2 = newPart(weapon, BrickColor.new("Steel blue"), 1, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Handle")
  684. mesh("BlockMesh", p2, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.800007403, 1.00000715, 0.800005436))
  685. p3 = newPart(weapon, BrickColor.new("Sea green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  686. mesh("BlockMesh", p3, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
  687. p4 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  688. mesh("BlockMesh", p4, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840741, 0.16384086, 0.655362427))
  689. p5 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  690. mesh("BlockMesh", p5, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
  691. p6 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  692. mesh("BlockMesh", p6, nil, nil, Vector3.new(0, 0, 0), Vector3.new(5.15009165, 0.450000495, 5.05007219))
  693. p7 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  694. mesh("BlockMesh", p7, nil, nil, Vector3.new(0, 0, 0), Vector3.new(3.20006013, 1.45001948, 0.900012672))
  695. p8 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  696. mesh("BlockMesh", p8, nil, nil, Vector3.new(0, 0, 0), Vector3.new(5.10004807, 1.00000703, 5.10003614))
  697. p9 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  698. mesh("BlockMesh", p9, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.450001657, 5.05002356, 5.05001783))
  699. p10 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  700. mesh("BlockMesh", p10, nil, nil, Vector3.new(0, 0, 0), Vector3.new(5.10004807, 1.00000703, 5.10003614))
  701. p11 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  702. mesh("BlockMesh", p11, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.899998009, 3.80000043, 1.05000365))
  703. p12 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  704. mesh("BlockMesh", p12, nil, nil, Vector3.new(0, 0, 0), Vector3.new(3.05005431, 0.450003177, 5.05007219))
  705. p13 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  706. mesh("BlockMesh", p13, nil, nil, Vector3.new(0, 0, 0), Vector3.new(3.20006013, 1.35001779, 0.900012672))
  707. p14 = newPart(weapon, BrickColor.new("Lily white"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  708. mesh("BlockMesh", p14, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 0.327681214))
  709. p15 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  710. mesh("BlockMesh", p15, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 0.655362427))
  711. p16 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  712. mesh("BlockMesh", p16, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.899998188, 3.80000138, 1.05000353))
  713. p17 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  714. mesh("BlockMesh", p17, nil, nil, Vector3.new(0, 0, 0), Vector3.new(3.05005288, 0.450004637, 5.05007792))
  715. p18 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  716. mesh("BlockMesh", p18, nil, nil, Vector3.new(0, 0, 0), Vector3.new(3.20005512, 0.450004339, 5.05007792))
  717. p19 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  718. mesh("BlockMesh", p19, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.89999795, 3.80000043, 1.05000246))
  719. p20 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  720. mesh("BlockMesh", p20, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.89999795, 3.80000043, 1.05000246))
  721. p21 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  722. mesh("BlockMesh", p21, nil, nil, Vector3.new(0, 0, 0), Vector3.new(3.20006013, 1.80002415, 0.900012672))
  723. p22 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  724. mesh("BlockMesh", p22, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840562, 0.163840637, 1.63840604))
  725. p23 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  726. mesh("BlockMesh", p23, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840666, 0.983043671))
  727. p24 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  728. mesh("BlockMesh", p24, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
  729. p25 = newPart(weapon, BrickColor.new("Lily white"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  730. mesh("BlockMesh", p25, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
  731. p26 = newPart(weapon, BrickColor.new("Sea green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  732. mesh("BlockMesh", p26, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
  733. p27 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  734. mesh("BlockMesh", p27, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.491522163, 0.163841024, 0.163840607))
  735. p28 = newPart(weapon, BrickColor.new("Dark green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  736. mesh("BlockMesh", p28, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
  737. p29 = newPart(weapon, BrickColor.new("Sea green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  738. mesh("BlockMesh", p29, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
  739. p30 = newPart(weapon, BrickColor.new("Dark green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  740. mesh("BlockMesh", p30, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
  741. p31 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  742. mesh("BlockMesh", p31, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840756, 0.163840875, 0.163840637))
  743. p32 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  744. mesh("BlockMesh", p32, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.491521955, 0.163840458, 0.163840607))
  745. p33 = newPart(weapon, BrickColor.new("Dark green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  746. mesh("BlockMesh", p33, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
  747. p34 = newPart(weapon, BrickColor.new("Dark green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  748. mesh("BlockMesh", p34, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
  749. p35 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  750. mesh("BlockMesh", p35, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840756, 0.163840875, 0.163840637))
  751. p36 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  752. mesh("BlockMesh", p36, nil, nil, Vector3.new(0, 0, 0), Vector3.new(3.20003057, 1.00000703, 5.10003614))
  753. p37 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  754. mesh("BlockMesh", p37, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 0.655362427))
  755. p38 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  756. mesh("BlockMesh", p38, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
  757. p39 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  758. mesh("BlockMesh", p39, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 0.655362427))
  759. p40 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  760. mesh("BlockMesh", p40, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840741, 0.16384086, 0.655362427))
  761. p41 = newPart(weapon, BrickColor.new("Dark green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  762. mesh("BlockMesh", p41, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
  763. p42 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  764. mesh("BlockMesh", p42, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.327681214, 0.163840562, 0.163840592))
  765. p43 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  766. mesh("BlockMesh", p43, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840562, 0.163840637, 1.63840604))
  767. p44 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  768. mesh("BlockMesh", p44, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 0.491521835))
  769. p45 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  770. mesh("BlockMesh", p45, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840562, 0.163840652, 0.819203019))
  771. p46 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  772. mesh("BlockMesh", p46, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 1.47456539))
  773. p47 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  774. mesh("BlockMesh", p47, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 0.327681214))
  775. p48 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  776. mesh("BlockMesh", p48, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840592, 0.163840652, 1.1468842))
  777. p49 = newPart(weapon, BrickColor.new("Lily white"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  778. mesh("BlockMesh", p49, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 0.327681214))
  779. p50 = newPart(weapon, BrickColor.new("Dark green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  780. mesh("BlockMesh", p50, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
  781. p51 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  782. mesh("BlockMesh", p51, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.327681214, 0.163840562, 0.163840592))
  783. p52 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  784. mesh("BlockMesh", p52, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
  785. p53 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  786. mesh("BlockMesh", p53, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840666, 0.983043671))
  787. p54 = newPart(weapon, BrickColor.new("Sea green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  788. mesh("BlockMesh", p54, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
  789. p55 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  790. mesh("BlockMesh", p55, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
  791. p56 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  792. mesh("BlockMesh", p56, nil, nil, Vector3.new(0, 0, 0), Vector3.new(5.10004807, 0.950006843, 5.10003614))
  793. p57 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  794. mesh("BlockMesh", p57, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
  795. p58 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  796. mesh("BlockMesh", p58, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.327681452, 0.16384095, 0.163840637))
  797. p59 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  798. mesh("BlockMesh", p59, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840756, 0.163840875, 0.163840637))
  799. p60 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  800. mesh("BlockMesh", p60, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.450001657, 5.05002356, 5.05001783))
  801. p61 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  802. mesh("BlockMesh", p61, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840756, 0.163840875, 0.163840637))
  803. p62 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  804. mesh("BlockMesh", p62, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840756, 0.163840875, 0.163840637))
  805. p63 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  806. mesh("BlockMesh", p63, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.899998009, 3.80000043, 1.05000365))
  807. p64 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  808. mesh("BlockMesh", p64, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.899998188, 3.80000138, 1.05000353))
  809. p65 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  810. mesh("BlockMesh", p65, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840756, 0.163840875, 0.163840637))
  811. p66 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  812. mesh("BlockMesh", p66, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.750013411, 1.90002728, 5.10007906))
  813. p67 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  814. mesh("BlockMesh", p67, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.750007153, 1.9000138, 5.10003614))
  815. p68 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  816. mesh("BlockMesh", p68, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.750013411, 1.90002728, 5.10007906))
  817. p69 = newPart(weapon, BrickColor.new("Sea green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  818. mesh("BlockMesh", p69, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
  819. p70 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  820. mesh("BlockMesh", p70, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
  821. p71 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  822. mesh("BlockMesh", p71, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840756, 0.163840875, 0.163840637))
  823. p72 = newPart(weapon, BrickColor.new("Dark green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  824. mesh("BlockMesh", p72, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
  825. p73 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  826. mesh("BlockMesh", p73, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840756, 0.163840875, 0.163840637))
  827. p74 = newPart(weapon, BrickColor.new("Sea green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  828. mesh("BlockMesh", p74, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
  829. p75 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  830. mesh("BlockMesh", p75, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.750007153, 1.9000138, 5.10003614))
  831. p76 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  832. mesh("BlockMesh", p76, nil, nil, Vector3.new(0, 0, 0), Vector3.new(1.05001843, 0.450005502, 5.05007219))
  833. p77 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  834. mesh("BlockMesh", p77, nil, nil, Vector3.new(0, 0, 0), Vector3.new(5.15004969, 0.450003207, 5.25003862))
  835. p78 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  836. mesh("BlockMesh", p78, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
  837. p79 = newPart(weapon, BrickColor.new("Sea green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  838. mesh("BlockMesh", p79, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 0.327681214))
  839. p80 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  840. mesh("BlockMesh", p80, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 0.327681214))
  841. weld(p0, p0, p1, CFrame.new(-34.8929596, 46.8359871, -51.4903145, 0.573577166, 0.81915158, -4.22433777E-6, -0.819151521, 0.573577166, -3.25307155E-6, -2.41770834E-7, 5.32626336E-6, 1), CFrame.new(56.9289551, -10.7811947, 51.7623138, -0.98480773, 0.173648551, -1.14725754E-6, 0.173648566, 0.98480767, -5.29968747E-6, 2.09544311E-7, -5.41839245E-6, -1))
  842. weld(p1, p1, p2, CFrame.new(56.9289551, -10.7811947, 51.7623138, -0.98480773, 0.173648551, -1.14725754E-6, 0.173648566, 0.98480767, -5.29968747E-6, 2.09544311E-7, -5.41839245E-6, -1), CFrame.new(57.71521, -1.5217396, 51.3559685, -1, 7.44991894E-7, -2.08611141E-7, 7.44993997E-7, 1, -1.00079205E-5, 2.0860368E-7, -1.00079224E-5, -1))
  843. weld(p2, p2, p3, CFrame.new(57.71521, -1.5217396, 51.3559685, -1, 7.44991894E-7, -2.08611141E-7, 7.44993997E-7, 1, -1.00079205E-5, 2.0860368E-7, -1.00079224E-5, -1), CFrame.new(-34.9906693, 46.8343735, -51.5214729, 0.573577166, 0.819151521, -7.97981556E-6, -0.819151521, 0.573577166, -5.88234025E-6, -2.41489374E-7, 9.91064826E-6, 1))
  844. weld(p3, p3, p4, CFrame.new(-34.9906693, 46.8343735, -51.5214729, 0.573577166, 0.819151521, -7.97981556E-6, -0.819151521, 0.573577166, -5.88234025E-6, -2.41489374E-7, 9.91064826E-6, 1), CFrame.new(-35.1545486, -46.8343735, 51.4722977, 0.573577225, 0.819151461, -7.9798192E-6, 0.819151521, -0.573577166, 5.97174585E-6, 3.14723195E-7, -9.96192921E-6, -1))
  845. weld(p4, p4, p5, CFrame.new(-35.1545486, -46.8343735, 51.4722977, 0.573577225, 0.819151461, -7.9798192E-6, 0.819151521, -0.573577166, 5.97174585E-6, 3.14723195E-7, -9.96192921E-6, -1), CFrame.new(-35.121769, 46.834362, -51.5542412, 0.573577225, 0.819151521, -7.97981556E-6, -0.81915158, 0.573577166, -5.88234388E-6, -2.41488323E-7, 9.91065099E-6, 1))
  846. weld(p5, p5, p6, CFrame.new(-35.121769, 46.834362, -51.5542412, 0.573577225, 0.819151521, -7.97981556E-6, -0.81915158, 0.573577166, -5.88234388E-6, -2.41488323E-7, 9.91065099E-6, 1), CFrame.new(40.0208054, -41.600235, 51.3555832, -0.707106888, 0.707106709, -7.22768891E-6, 0.70710665, 0.707106888, -6.99301245E-6, 1.6594521E-7, -1.0055559E-5, -1))
  847. weld(p6, p6, p7, CFrame.new(40.0208054, -41.600235, 51.3555832, -0.707106888, 0.707106709, -7.22768891E-6, 0.70710665, 0.707106888, -6.99301245E-6, 1.6594521E-7, -1.0055559E-5, -1), CFrame.new(56.9263344, -10.8266582, 51.509819, -0.984807849, 0.173647925, -1.14724833E-6, 0.17364794, 0.984807789, -5.29968702E-6, 2.09539024E-7, -5.41839336E-6, -1))
  848. weld(p7, p7, p8, CFrame.new(56.9263344, -10.8266582, 51.509819, -0.984807849, 0.173647925, -1.14724833E-6, 0.17364794, 0.984807789, -5.29968702E-6, 2.09539024E-7, -5.41839336E-6, -1), CFrame.new(57.7127228, -1.52259934, 51.35355, -1, 1.09075323E-7, -2.08602401E-7, 1.09077433E-7, 1, -1.00079251E-5, 2.08601307E-7, -1.00079233E-5, -1))
  849. weld(p8, p8, p9, CFrame.new(57.7127228, -1.52259934, 51.35355, -1, 1.09075323E-7, -2.08602401E-7, 1.09077433E-7, 1, -1.00079251E-5, 2.08601307E-7, -1.00079233E-5, -1), CFrame.new(-1.04154944, -57.713623, 51.3535652, -1.1425293E-6, 1, -1.00079287E-5, 1, 1.14253146E-6, 2.14758657E-7, 2.14770097E-7, -1.00079269E-5, -1))
  850. weld(p9, p9, p10, CFrame.new(-1.04154944, -57.713623, 51.3535652, -1.1425293E-6, 1, -1.00079287E-5, 1, 1.14253146E-6, 2.14758657E-7, 2.14770097E-7, -1.00079269E-5, -1), CFrame.new(57.7127228, -0.942502797, 51.353569, -1, 1.09075323E-7, -2.08602401E-7, 1.09077433E-7, 1, -1.00079251E-5, 2.08601307E-7, -1.00079233E-5, -1))
  851. weld(p10, p10, p11, CFrame.new(57.7127228, -0.942502797, 51.353569, -1, 1.09075323E-7, -2.08602401E-7, 1.09077433E-7, 1, -1.00079251E-5, 2.08601307E-7, -1.00079233E-5, -1), CFrame.new(65.7853012, -40.0527496, -11.308403, -0.556670249, 0.499994814, -0.663417995, 0.321394086, 0.866028428, 0.383015215, 0.766044438, -5.46281763E-6, -0.642787635))
  852. weld(p11, p11, p12, CFrame.new(65.7853012, -40.0527496, -11.308403, -0.556670249, 0.499994814, -0.663417995, 0.321394086, 0.866028428, 0.383015215, 0.766044438, -5.46281763E-6, -0.642787635), CFrame.new(40.0912704, -41.8819809, 51.3531532, -0.707107306, 0.707106233, -7.24516212E-6, 0.707106233, 0.707107306, -6.9305629E-6, 2.2246374E-7, -1.00237467E-5, -1))
  853. weld(p12, p12, p13, CFrame.new(40.0912704, -41.8819809, 51.3531532, -0.707107306, 0.707106233, -7.24516212E-6, 0.707106233, 0.707107306, -6.9305629E-6, 2.2246374E-7, -1.00237467E-5, -1), CFrame.new(56.9237175, -10.8171215, 51.0073051, -0.984807849, 0.173647359, -1.19737865E-6, 0.173647344, 0.984807909, -5.25854421E-6, 2.66054826E-7, -5.38658242E-6, -1))
  854. weld(p13, p13, p14, CFrame.new(56.9237175, -10.8171215, 51.0073051, -0.984807849, 0.173647359, -1.19737865E-6, 0.173647344, 0.984807909, -5.25854421E-6, 2.66054826E-7, -5.38658242E-6, -1), CFrame.new(-35.0875168, 46.8292542, -51.2380447, 0.573576152, 0.819152236, -7.92134415E-6, -0.819152236, 0.573576152, -5.91037951E-6, -2.98007222E-7, 9.87883777E-6, 1))
  855. weld(p14, p14, p15, CFrame.new(-35.0875168, 46.8292542, -51.2380447, 0.573576152, 0.819152236, -7.92134415E-6, -0.819152236, 0.573576152, -5.91037951E-6, -2.98007222E-7, 9.87883777E-6, 1), CFrame.new(-35.1202812, 46.8292618, -51.467453, 0.573576152, 0.819152236, -7.92134597E-6, -0.819152236, 0.573576152, -5.91038133E-6, -2.98006171E-7, 9.87883959E-6, 1))
  856. weld(p15, p15, p16, CFrame.new(-35.1202812, 46.8292618, -51.467453, 0.573576152, 0.819152236, -7.92134597E-6, -0.819152236, 0.573576152, -5.91038133E-6, -2.98006171E-7, 9.87883959E-6, 1), CFrame.new(74.484024, -2.87864113, -20.5802441, -0.556671262, -0.115556493, -0.822656631, 0.321393609, 0.883207738, -0.341541022, 0.766043901, -0.45452261, -0.454517275))
  857. weld(p16, p16, p17, CFrame.new(74.484024, -2.87864113, -20.5802441, -0.556671262, -0.115556493, -0.822656631, 0.321393609, 0.883207738, -0.341541022, 0.766043901, -0.45452261, -0.454517275), CFrame.new(-37.02882, 35.2369232, 57.7102203, -4.13530415E-7, 0.707112014, 0.707101524, -2.71884204E-7, 0.707101583, -0.707111955, -1, -4.8466211E-7, -1.00155397E-7))
  858. weld(p17, p17, p18, CFrame.new(-37.02882, 35.2369232, 57.7102203, -4.13530415E-7, 0.707112014, 0.707101524, -2.71884204E-7, 0.707101583, -0.707111955, -1, -4.8466211E-7, -1.00155397E-7), CFrame.new(-37.2966995, 35.5198212, 57.7102203, -4.13530415E-7, 0.707111955, 0.707101583, -2.71884232E-7, 0.707101583, -0.707111955, -1, -4.84662053E-7, -1.00155425E-7))
  859. weld(p18, p18, p19, CFrame.new(-37.2966995, 35.5198212, 57.7102203, -4.13530415E-7, 0.707111955, 0.707101583, -2.71884232E-7, 0.707101583, -0.707111955, -1, -4.84662053E-7, -1.00155425E-7), CFrame.new(49.5948677, -30.7265778, 51.3476143, -0.866026223, 0.499998629, -4.55292593E-6, 0.499998629, 0.866026223, -7.55917517E-6, 1.63375645E-7, -8.8229026E-6, -1))
  860. weld(p19, p19, p20, CFrame.new(49.5948677, -30.7265778, 51.3476143, -0.866026223, 0.499998629, -4.55292593E-6, 0.499998629, 0.866026223, -7.55917517E-6, 1.63375645E-7, -8.8229026E-6, -1), CFrame.new(49.4573441, -30.9647713, 51.3476028, -0.866026223, 0.499998629, -4.55292593E-6, 0.499998629, 0.866026223, -7.55917517E-6, 1.63374736E-7, -8.82290442E-6, -1))
  861. weld(p20, p20, p21, CFrame.new(49.4573441, -30.9647713, 51.3476028, -0.866026223, 0.499998629, -4.55292593E-6, 0.499998629, 0.866026223, -7.55917517E-6, 1.63374736E-7, -8.82290442E-6, -1), CFrame.new(56.9219971, -10.8622675, 51.2557526, -0.984807909, 0.173647463, -1.83975055E-6, 0.173647463, 0.984807909, -9.66639254E-6, 1.33256293E-7, -9.83901373E-6, -1))
  862. weld(p21, p21, p22, CFrame.new(56.9219971, -10.8622675, 51.2557526, -0.984807909, 0.173647463, -1.83975055E-6, 0.173647463, 0.984807909, -9.66639254E-6, 1.33256293E-7, -9.83901373E-6, -1), CFrame.new(-35.0213432, 46.827652, -51.3675499, 0.573576272, 0.819152176, -1.16447281E-5, -0.819152176, 0.573576331, -8.35540231E-6, -1.65208107E-7, 1.43312682E-5, 1))
  863. weld(p22, p22, p23, CFrame.new(-35.0213432, 46.827652, -51.3675499, 0.573576272, 0.819152176, -1.16447281E-5, -0.819152176, 0.573576331, -8.35540231E-6, -1.65208107E-7, 1.43312682E-5, 1), CFrame.new(-35.0868912, 46.827652, -51.4658737, 0.573576272, 0.819152176, -1.164473E-5, -0.819152176, 0.573576331, -8.35540231E-6, -1.65207069E-7, 1.433127E-5, 1))
  864. weld(p23, p23, p24, CFrame.new(-35.0868912, 46.827652, -51.4658737, 0.573576272, 0.819152176, -1.164473E-5, -0.819152176, 0.573576331, -8.35540231E-6, -1.65207069E-7, 1.433127E-5, 1), CFrame.new(-34.9230194, 46.8276558, -51.5150337, 0.573576272, 0.819152176, -1.16447354E-5, -0.819152176, 0.573576331, -8.35540413E-6, -1.65206032E-7, 1.43312718E-5, 1))
  865. weld(p24, p24, p25, CFrame.new(-34.9230194, 46.8276558, -51.5150337, 0.573576272, 0.819152176, -1.16447354E-5, -0.819152176, 0.573576331, -8.35540413E-6, -1.65206032E-7, 1.43312718E-5, 1), CFrame.new(-35.021347, 46.8276558, -51.1873093, 0.573576272, 0.819152176, -1.16447336E-5, -0.819152176, 0.573576331, -8.35540413E-6, -1.65204995E-7, 1.43312736E-5, 1))
  866. weld(p25, p25, p26, CFrame.new(-35.021347, 46.8276558, -51.1873093, 0.573576272, 0.819152176, -1.16447336E-5, -0.819152176, 0.573576331, -8.35540413E-6, -1.65204995E-7, 1.43312736E-5, 1), CFrame.new(-34.9557915, 46.8276596, -51.4822655, 0.573576272, 0.819152176, -1.16447354E-5, -0.819152176, 0.573576331, -8.3554005E-6, -1.65203957E-7, 1.43312755E-5, 1))
  867. weld(p26, p26, p27, CFrame.new(-34.9557915, 46.8276596, -51.4822655, 0.573576272, 0.819152176, -1.16447354E-5, -0.819152176, 0.573576331, -8.3554005E-6, -1.65203957E-7, 1.43312755E-5, 1), CFrame.new(-35.0541267, -46.8276482, 51.1217651, 0.573576331, 0.819152117, -1.16447391E-5, 0.819152176, -0.573576331, 8.44480928E-6, 2.38437849E-7, -1.43825564E-5, -1))
  868. weld(p27, p27, p28, CFrame.new(-35.0541267, -46.8276482, 51.1217651, 0.573576331, 0.819152117, -1.16447391E-5, 0.819152176, -0.573576331, 8.44480928E-6, 2.38437849E-7, -1.43825564E-5, -1), CFrame.new(-34.9230156, 46.8276558, -51.4822617, 0.573576272, 0.819152236, -1.16447391E-5, -0.819152176, 0.573576331, -8.35540413E-6, -1.65202877E-7, 1.43312791E-5, 1))
  869. weld(p28, p28, p29, CFrame.new(-34.9230156, 46.8276558, -51.4822617, 0.573576272, 0.819152236, -1.16447391E-5, -0.819152176, 0.573576331, -8.35540413E-6, -1.65202877E-7, 1.43312791E-5, 1), CFrame.new(-34.923027, 46.827652, -51.4494934, 0.573576272, 0.819152236, -1.16447372E-5, -0.819152176, 0.573576331, -8.35540231E-6, -1.6520184E-7, 1.43312809E-5, 1))
  870. weld(p29, p29, p30, CFrame.new(-34.923027, 46.827652, -51.4494934, 0.573576272, 0.819152236, -1.16447372E-5, -0.819152176, 0.573576331, -8.35540231E-6, -1.6520184E-7, 1.43312809E-5, 1), CFrame.new(-34.7919388, 46.827652, -51.351181, 0.573576272, 0.819152236, -1.16447409E-5, -0.819152176, 0.573576331, -8.35540413E-6, -1.65200802E-7, 1.43312827E-5, 1))
  871. weld(p30, p30, p31, CFrame.new(-34.7919388, 46.827652, -51.351181, 0.573576272, 0.819152236, -1.16447409E-5, -0.819152176, 0.573576331, -8.35540413E-6, -1.65200802E-7, 1.43312827E-5, 1), CFrame.new(-35.1196632, -46.8276596, 51.1545448, 0.573576331, 0.819152176, -1.16447463E-5, 0.819152176, -0.573576331, 8.4448111E-6, 2.38434694E-7, -1.43825637E-5, -1))
  872. weld(p31, p31, p32, CFrame.new(-35.1196632, -46.8276596, 51.1545448, 0.573576331, 0.819152176, -1.16447463E-5, 0.819152176, -0.573576331, 8.4448111E-6, 2.38434694E-7, -1.43825637E-5, -1), CFrame.new(-35.0541153, 46.8276596, -51.580574, 0.573576272, 0.819152176, -1.16447482E-5, -0.819152117, 0.573576272, -8.35541141E-6, -1.65199751E-7, 1.43312845E-5, 1))
  873. weld(p32, p32, p33, CFrame.new(-35.0541153, 46.8276596, -51.580574, 0.573576272, 0.819152176, -1.16447482E-5, -0.819152117, 0.573576272, -8.35541141E-6, -1.65199751E-7, 1.43312845E-5, 1), CFrame.new(-34.8574829, 46.8276634, -51.4167175, 0.573576272, 0.819152176, -1.16447482E-5, -0.819152117, 0.573576272, -8.35540959E-6, -1.65198713E-7, 1.43312864E-5, 1))
  874. weld(p33, p33, p34, CFrame.new(-34.8574829, 46.8276634, -51.4167175, 0.573576272, 0.819152176, -1.16447482E-5, -0.819152117, 0.573576272, -8.35540959E-6, -1.65198713E-7, 1.43312864E-5, 1), CFrame.new(-34.824707, 46.8276558, -51.3839607, 0.573576272, 0.819152176, -1.16447518E-5, -0.819152117, 0.573576272, -8.35541141E-6, -1.65197676E-7, 1.43312882E-5, 1))
  875. weld(p34, p34, p35, CFrame.new(-34.824707, 46.8276558, -51.3839607, 0.573576272, 0.819152176, -1.16447518E-5, -0.819152117, 0.573576272, -8.35541141E-6, -1.65197676E-7, 1.43312882E-5, 1), CFrame.new(-35.1196594, -46.8276596, 51.3184013, 0.573576331, 0.819152117, -1.16447518E-5, 0.819152117, -0.573576331, 8.4448111E-6, 2.38431568E-7, -1.43825691E-5, -1))
  876. weld(p35, p35, p36, CFrame.new(-35.1196594, -46.8276596, 51.3184013, 0.573576331, 0.819152117, -1.16447518E-5, 0.819152117, -0.573576331, 8.4448111E-6, 2.38431568E-7, -1.43825691E-5, -1), CFrame.new(57.8985786, -0.753798485, 51.3495522, -1, -3.57614454E-7, -1.32303498E-7, -3.57612493E-7, 1, -1.44285686E-5, 1.32308656E-7, -1.44285677E-5, -1))
  877. weld(p36, p36, p37, CFrame.new(57.8985786, -0.753798485, 51.3495522, -1, -3.57614454E-7, -1.32303498E-7, -3.57612493E-7, 1, -1.44285686E-5, 1.32308656E-7, -1.44285677E-5, -1), CFrame.new(-35.1196594, 46.8276482, -51.2364769, 0.573576272, 0.819152176, -1.16447536E-5, -0.819152117, 0.573576331, -8.35540595E-6, -1.65194237E-7, 1.43312927E-5, 1))
  878. weld(p37, p37, p38, CFrame.new(-35.1196594, 46.8276482, -51.2364769, 0.573576272, 0.819152176, -1.16447536E-5, -0.819152117, 0.573576331, -8.35540595E-6, -1.65194237E-7, 1.43312927E-5, 1), CFrame.new(-34.7919273, 46.8276482, -51.3839607, 0.573576272, 0.819152176, -1.16447573E-5, -0.819152117, 0.573576331, -8.35540595E-6, -1.651932E-7, 1.43312946E-5, 1))
  879. weld(p38, p38, p39, CFrame.new(-34.7919273, 46.8276482, -51.3839607, 0.573576272, 0.819152176, -1.16447573E-5, -0.819152117, 0.573576331, -8.35540595E-6, -1.651932E-7, 1.43312946E-5, 1), CFrame.new(-35.0541077, 46.8276558, -51.4658775, 0.573576272, 0.819152176, -1.16447609E-5, -0.819152117, 0.573576331, -8.35540777E-6, -1.65192162E-7, 1.43312964E-5, 1))
  880. weld(p39, p39, p40, CFrame.new(-35.0541077, 46.8276558, -51.4658775, 0.573576272, 0.819152176, -1.16447609E-5, -0.819152117, 0.573576331, -8.35540777E-6, -1.65192162E-7, 1.43312964E-5, 1), CFrame.new(-35.1524239, -46.8276596, 51.2364731, 0.573576331, 0.819152117, -1.16447663E-5, 0.819152117, -0.573576331, 8.44481474E-6, 2.38426054E-7, -1.43825773E-5, -1))
  881. weld(p40, p40, p41, CFrame.new(-35.1524239, -46.8276596, 51.2364731, 0.573576331, 0.819152117, -1.16447663E-5, 0.819152117, -0.573576331, 8.44481474E-6, 2.38426054E-7, -1.43825773E-5, -1), CFrame.new(-34.9557838, 46.8276558, -51.5150452, 0.573576331, 0.819152117, -1.16447645E-5, -0.819152176, 0.573576331, -8.35540777E-6, -1.65191111E-7, 1.43312982E-5, 1))
  882. weld(p41, p41, p42, CFrame.new(-34.9557838, 46.8276558, -51.5150452, 0.573576331, 0.819152117, -1.16447645E-5, -0.819152176, 0.573576331, -8.35540777E-6, -1.65191111E-7, 1.43312982E-5, 1), CFrame.new(-35.0377235, 46.8276405, -51.1545486, 0.573576331, 0.819152117, -1.164477E-5, -0.819152176, 0.573576331, -8.35541141E-6, -1.65190073E-7, 1.43313E-5, 1))
  883. weld(p42, p42, p43, CFrame.new(-35.0377235, 46.8276405, -51.1545486, 0.573576331, 0.819152117, -1.164477E-5, -0.819152176, 0.573576331, -8.35541141E-6, -1.65190073E-7, 1.43313E-5, 1), CFrame.new(-34.9885483, 46.8276558, -51.3347931, 0.573576331, 0.819152117, -1.16447682E-5, -0.819152176, 0.573576331, -8.35540959E-6, -1.65189036E-7, 1.43313018E-5, 1))
  884. weld(p43, p43, p44, CFrame.new(-34.9885483, 46.8276558, -51.3347931, 0.573576331, 0.819152117, -1.16447682E-5, -0.819152176, 0.573576331, -8.35540959E-6, -1.65189036E-7, 1.43313018E-5, 1), CFrame.new(-34.8574677, 46.8276558, -51.3184128, 0.573576331, 0.819152117, -1.16447718E-5, -0.819152176, 0.573576331, -8.35540777E-6, -1.65187998E-7, 1.43313036E-5, 1))
  885. weld(p44, p44, p45, CFrame.new(-34.8574677, 46.8276558, -51.3184128, 0.573576331, 0.819152117, -1.16447718E-5, -0.819152176, 0.573576331, -8.35540777E-6, -1.65187998E-7, 1.43313036E-5, 1), CFrame.new(-34.8902397, 46.8276558, -51.3184166, 0.573576331, 0.819152117, -1.16447718E-5, -0.819152176, 0.573576331, -8.35540777E-6, -1.65186961E-7, 1.43313055E-5, 1))
  886. weld(p45, p45, p46, CFrame.new(-34.8902397, 46.8276558, -51.3184166, 0.573576331, 0.819152117, -1.16447718E-5, -0.819152176, 0.573576331, -8.35540777E-6, -1.65186961E-7, 1.43313055E-5, 1), CFrame.new(-34.9557877, 46.8276596, -51.3184128, 0.573576331, 0.819152117, -1.16447791E-5, -0.819152176, 0.573576331, -8.35540959E-6, -1.65185924E-7, 1.43313073E-5, 1))
  887. weld(p46, p46, p47, CFrame.new(-34.9557877, 46.8276596, -51.3184128, 0.573576331, 0.819152117, -1.16447791E-5, -0.819152176, 0.573576331, -8.35540959E-6, -1.65185924E-7, 1.43313073E-5, 1), CFrame.new(-35.0868721, 46.8276558, -51.3020248, 0.573576331, 0.819152117, -1.16447773E-5, -0.819152176, 0.573576331, -8.35540777E-6, -1.65184886E-7, 1.43313091E-5, 1))
  888. weld(p47, p47, p48, CFrame.new(-35.0868721, 46.8276558, -51.3020248, 0.573576331, 0.819152117, -1.16447773E-5, -0.819152176, 0.573576331, -8.35540777E-6, -1.65184886E-7, 1.43313091E-5, 1), CFrame.new(-34.923008, 46.8276558, -51.3184166, 0.573576331, 0.819152117, -1.16447827E-5, -0.819152176, 0.573576331, -8.35541141E-6, -1.65183849E-7, 1.43313109E-5, 1))
  889. weld(p48, p48, p49, CFrame.new(-34.923008, 46.8276558, -51.3184166, 0.573576331, 0.819152117, -1.16447827E-5, -0.819152176, 0.573576331, -8.35541141E-6, -1.65183849E-7, 1.43313109E-5, 1), CFrame.new(-35.0541077, 46.8276672, -51.2037086, 0.573576331, 0.819152117, -1.16447791E-5, -0.819152176, 0.573576331, -8.35541141E-6, -1.65182811E-7, 1.43313127E-5, 1))
  890. weld(p49, p49, p50, CFrame.new(-35.0541077, 46.8276672, -51.2037086, 0.573576331, 0.819152117, -1.16447791E-5, -0.819152176, 0.573576331, -8.35541141E-6, -1.65182811E-7, 1.43313127E-5, 1), CFrame.new(-35.0213242, 46.8276749, -51.5478134, 0.573576331, 0.819152117, -1.16447845E-5, -0.819152176, 0.573576331, -8.35541323E-6, -1.65181774E-7, 1.43313146E-5, 1))
  891. weld(p50, p50, p51, CFrame.new(-35.0213242, 46.8276749, -51.5478134, 0.573576331, 0.819152117, -1.16447845E-5, -0.819152176, 0.573576331, -8.35541323E-6, -1.65181774E-7, 1.43313146E-5, 1), CFrame.new(-34.9721642, 46.8276711, -51.547821, 0.573576331, 0.819152117, -1.16447845E-5, -0.819152176, 0.573576331, -8.35540959E-6, -1.65180737E-7, 1.43313164E-5, 1))
  892. weld(p51, p51, p52, CFrame.new(-34.9721642, 46.8276711, -51.547821, 0.573576331, 0.819152117, -1.16447845E-5, -0.819152176, 0.573576331, -8.35540959E-6, -1.65180737E-7, 1.43313164E-5, 1), CFrame.new(-34.8246841, 46.8276749, -51.4167328, 0.573576331, 0.819152117, -1.16447882E-5, -0.819152176, 0.573576331, -8.35541141E-6, -1.65179699E-7, 1.43313182E-5, 1))
  893. weld(p52, p52, p53, CFrame.new(-34.8246841, 46.8276749, -51.4167328, 0.573576331, 0.819152117, -1.16447882E-5, -0.819152176, 0.573576331, -8.35541141E-6, -1.65179699E-7, 1.43313182E-5, 1), CFrame.new(-35.0540848, 46.8276672, -51.3347931, 0.573576331, 0.819152117, -1.16447882E-5, -0.819152176, 0.573576331, -8.35540777E-6, -1.65178662E-7, 1.433132E-5, 1))
  894. weld(p53, p53, p54, CFrame.new(-35.0540848, 46.8276672, -51.3347931, 0.573576331, 0.819152117, -1.16447882E-5, -0.819152176, 0.573576331, -8.35540777E-6, -1.65178662E-7, 1.433132E-5, 1), CFrame.new(-34.8902206, 46.8276749, -51.416729, 0.573576331, 0.819152117, -1.16447936E-5, -0.819152176, 0.573576331, -8.35541323E-6, -1.65177624E-7, 1.43313218E-5, 1))
  895. weld(p54, p54, p55, CFrame.new(-34.8902206, 46.8276749, -51.416729, 0.573576331, 0.819152117, -1.16447936E-5, -0.819152176, 0.573576331, -8.35541323E-6, -1.65177624E-7, 1.43313218E-5, 1), CFrame.new(-35.0868568, 46.8276787, -51.351181, 0.573576331, 0.819152117, -1.16447918E-5, -0.819152176, 0.573576331, -8.35541141E-6, -1.65176587E-7, 1.43313237E-5, 1))
  896. weld(p55, p55, p56, CFrame.new(-35.0868568, 46.8276787, -51.351181, 0.573576331, 0.819152117, -1.16447918E-5, -0.819152176, 0.573576331, -8.35541141E-6, -1.65176587E-7, 1.43313237E-5, 1), CFrame.new(57.7085648, -1.22881532, 51.3495522, -1, -3.87415469E-7, -1.32283986E-7, -3.87413536E-7, 1, -1.44286014E-5, 1.32289586E-7, -1.44286014E-5, -1))
  897. weld(p56, p56, p57, CFrame.new(57.7085648, -1.22881532, 51.3495522, -1, -3.87415469E-7, -1.32283986E-7, -3.87413536E-7, 1, -1.44286014E-5, 1.32289586E-7, -1.44286014E-5, -1), CFrame.new(-34.7591324, 46.8276787, -51.3511848, 0.573576272, 0.819152117, -1.16448009E-5, -0.819152176, 0.573576272, -8.35541141E-6, -1.65175166E-7, 1.43313264E-5, 1))
  898. weld(p57, p57, p58, CFrame.new(-34.7591324, 46.8276787, -51.3511848, 0.573576272, 0.819152117, -1.16448009E-5, -0.819152176, 0.573576272, -8.35541141E-6, -1.65175166E-7, 1.43313264E-5, 1), CFrame.new(-34.9721527, -46.8276825, 51.1545563, 0.573576331, 0.819152176, -1.16447936E-5, 0.819152176, -0.573576331, 8.44481474E-6, 2.38409058E-7, -1.43826092E-5, -1))
  899. weld(p58, p58, p59, CFrame.new(-34.9721527, -46.8276825, 51.1545563, 0.573576331, 0.819152176, -1.16447936E-5, 0.819152176, -0.573576331, 8.44481474E-6, 2.38409058E-7, -1.43826092E-5, -1), CFrame.new(-34.8574524, -46.8276749, 51.2528648, 0.573576391, 0.819152117, -1.16448009E-5, 0.819152117, -0.573576391, 8.44481838E-6, 2.38409058E-7, -1.4382611E-5, -1))
  900. weld(p59, p59, p60, CFrame.new(-34.8574524, -46.8276749, 51.2528648, 0.573576391, 0.819152117, -1.16448009E-5, 0.819152117, -0.573576391, 8.44481838E-6, 2.38409058E-7, -1.4382611E-5, -1), CFrame.new(-1.42286384, -57.7094574, 51.3495445, -1.51985319E-6, 1, -1.44286123E-5, 1, 1.519855E-6, 1.38433876E-7, 1.38455803E-7, -1.44286114E-5, -1))
  901. weld(p60, p60, p61, CFrame.new(-1.42286384, -57.7094574, 51.3495445, -1.51985319E-6, 1, -1.44286123E-5, 1, 1.519855E-6, 1.38433876E-7, 1.38455803E-7, -1.44286114E-5, -1), CFrame.new(-34.8902245, -46.8276711, 51.2200966, 0.57357645, 0.819152057, -1.16448009E-5, 0.819152057, -0.57357645, 8.44482202E-6, 2.38408347E-7, -1.43826119E-5, -1))
  902. weld(p61, p61, p62, CFrame.new(-34.8902245, -46.8276711, 51.2200966, 0.57357645, 0.819152057, -1.16448009E-5, 0.819152057, -0.57357645, 8.44482202E-6, 2.38408347E-7, -1.43826119E-5, -1), CFrame.new(-34.9557762, -46.8276558, 51.1545563, 0.57357651, 0.819151998, -1.16448045E-5, 0.819151998, -0.57357651, 8.44482202E-6, 2.38408347E-7, -1.43826137E-5, -1))
  903. weld(p62, p62, p63, CFrame.new(-34.9557762, -46.8276558, 51.1545563, 0.57357651, 0.819151998, -1.16448045E-5, 0.819151998, -0.57357651, 8.44482202E-6, 2.38408347E-7, -1.43826137E-5, -1), CFrame.new(65.9171982, -39.8127747, -11.3077583, -0.556670368, 0.499991715, -0.66342026, 0.321393877, 0.866030276, 0.383011311, 0.766044378, -8.13986662E-6, -0.642787695))
  904. weld(p63, p63, p64, CFrame.new(65.9171982, -39.8127747, -11.3077583, -0.556670368, 0.499991715, -0.66342026, 0.321393877, 0.866030276, 0.383011311, 0.766044378, -8.13986662E-6, -0.642787695), CFrame.new(74.4830017, -2.62239647, -20.6862984, -0.556671381, -0.11555995, -0.822656035, 0.321393967, 0.883206069, -0.341545016, 0.766043723, -0.454524964, -0.454515278))
  905. weld(p64, p64, p65, CFrame.new(74.4830017, -2.62239647, -20.6862984, -0.556671381, -0.11555995, -0.822656035, 0.321393967, 0.883206069, -0.341545016, 0.766043723, -0.454524964, -0.454515278), CFrame.new(-34.7919197, -46.8276405, 51.3184242, 0.573576629, 0.819151878, -1.16510155E-5, 0.819151938, -0.57357657, 8.34518414E-6, 1.53222771E-7, -1.43305479E-5, -1))
  906. weld(p65, p65, p66, CFrame.new(-34.7919197, -46.8276405, 51.3184242, 0.573576629, 0.819151878, -1.16510155E-5, 0.819151938, -0.57357657, 8.34518414E-6, 1.53222771E-7, -1.43305479E-5, -1), CFrame.new(-51.0491333, -1.2340765, 57.7081261, -3.24850347E-9, 1.44361602E-5, 1, -2.38876668E-10, 1, -1.44361602E-5, -1, -2.38922993E-10, -3.24850191E-9))
  907. weld(p66, p66, p67, CFrame.new(-51.0491333, -1.2340765, 57.7081261, -3.24850347E-9, 1.44361602E-5, 1, -2.38876668E-10, 1, -1.44361602E-5, -1, -2.38922993E-10, -3.24850191E-9), CFrame.new(57.406868, -1.23429096, 51.3479652, -1, 8.42189252E-9, -4.75233897E-8, 8.42279668E-9, 1, -1.90256924E-5, 4.75232262E-8, -1.90256924E-5, -1))
  908. weld(p67, p67, p68, CFrame.new(57.406868, -1.23429096, 51.3479652, -1, 8.42189252E-9, -4.75233897E-8, 8.42279668E-9, 1, -1.90256924E-5, 4.75232262E-8, -1.90256924E-5, -1), CFrame.new(-51.647583, -1.2345053, 57.7064781, -3.67101172E-9, 1.90853043E-5, 1, 1.26818281E-14, 1, -1.90853043E-5, -1, -5.68420704E-14, -3.67101061E-9))
  909. weld(p68, p68, p69, CFrame.new(-51.647583, -1.2345053, 57.7064781, -3.67101172E-9, 1.90853043E-5, 1, 1.26818281E-14, 1, -1.90853043E-5, -1, -5.68420704E-14, -3.67101061E-9), CFrame.new(-34.8562546, 46.8244133, -51.3807602, 0.57357657, 0.819151938, -1.92672396E-5, -0.819151938, 0.57357657, -1.35897508E-5, -8.08324288E-8, 2.35775587E-5, 1))
  910. weld(p69, p69, p70, CFrame.new(-34.8562546, 46.8244133, -51.3807602, 0.57357657, 0.819151938, -1.92672396E-5, -0.819151938, 0.57357657, -1.35897508E-5, -8.08324288E-8, 2.35775587E-5, 1), CFrame.new(-34.8562546, 46.8244209, -51.4463005, 0.57357657, 0.819151938, -1.92672396E-5, -0.819151938, 0.57357657, -1.3589749E-5, -8.08313843E-8, 2.35775606E-5, 1))
  911. weld(p70, p70, p71, CFrame.new(-34.8562546, 46.8244209, -51.4463005, 0.57357657, 0.819151938, -1.92672396E-5, -0.819151938, 0.57357657, -1.3589749E-5, -8.08313843E-8, 2.35775606E-5, 1), CFrame.new(-34.9218063, -46.8244286, 51.1841431, 0.573576629, 0.819151878, -1.92672469E-5, 0.819151938, -0.57357657, 1.36791577E-5, 1.54065248E-7, -2.36288433E-5, -1))
  912. weld(p71, p71, p72, CFrame.new(-34.9218063, -46.8244286, 51.1841431, 0.573576629, 0.819151878, -1.92672469E-5, 0.819151938, -0.57357657, 1.36791577E-5, 1.54065248E-7, -2.36288433E-5, -1), CFrame.new(-34.8890305, 46.8244209, -51.4463005, 0.57357657, 0.819151998, -1.92672433E-5, -0.819151878, 0.573576629, -1.35897508E-5, -8.08303184E-8, 2.3577566E-5, 1))
  913. weld(p72, p72, p73, CFrame.new(-34.8890305, 46.8244209, -51.4463005, 0.57357657, 0.819151998, -1.92672433E-5, -0.819151878, 0.573576629, -1.35897508E-5, -8.08303184E-8, 2.3577566E-5, 1), CFrame.new(-34.8234863, -46.8244171, 51.2824516, 0.573576629, 0.819151938, -1.92672469E-5, 0.819151878, -0.573576629, 1.36791577E-5, 1.54064182E-7, -2.36288488E-5, -1))
  914. weld(p73, p73, p74, CFrame.new(-34.8234863, -46.8244171, 51.2824516, 0.573576629, 0.819151938, -1.92672469E-5, 0.819151878, -0.573576629, 1.36791577E-5, 1.54064182E-7, -2.36288488E-5, -1), CFrame.new(-35.0528679, 46.8244171, -51.5446129, 0.573576629, 0.819151938, -1.92672487E-5, -0.819151938, 0.573576689, -1.35897526E-5, -8.08292668E-8, 2.35775715E-5, 1))
  915. weld(p74, p74, p75, CFrame.new(-35.0528679, 46.8244171, -51.5446129, 0.573576629, 0.819151938, -1.92672487E-5, -0.819151938, 0.573576689, -1.35897526E-5, -8.08292668E-8, 2.35775715E-5, 1), CFrame.new(58.0052528, -1.23473012, 51.3463631, -1, -1.11077467E-12, -4.79422297E-8, 2.42501907E-14, 1, -2.36748456E-5, 4.79422262E-8, -2.36748456E-5, -1))
  916. weld(p75, p75, p76, CFrame.new(58.0052528, -1.23473012, 51.3463631, -1, -1.11077467E-12, -4.79422297E-8, 2.42501907E-14, 1, -2.36748456E-5, 4.79422262E-8, -2.36748456E-5, -1), CFrame.new(39.7328758, -41.3266525, 51.3459587, -0.707112491, 0.707111716, -2.00263585E-5, 0.707111239, 0.707112968, -2.00805534E-5, 5.28384048E-9, -2.37226632E-5, -1.00000787))
  917. weld(p76, p76, p77, CFrame.new(39.7328758, -41.3266525, 51.3459587, -0.707112491, 0.707111716, -2.00263585E-5, 0.707111239, 0.707112968, -2.00805534E-5, 5.28384048E-9, -2.37226632E-5, -1.00000787), CFrame.new(57.7035866, -1.23018336, 51.3447456, -1, -2.98013951E-8, -4.3631303E-9, 2.98023259E-8, 1, -2.83120153E-5, 4.37036718E-9, -2.8312008E-5, -1))
  918. weld(p77, p77, p78, CFrame.new(57.7035866, -1.23018336, 51.3447456, -1, -2.98013951E-8, -4.3631303E-9, 2.98023259E-8, 1, -2.83120153E-5, 4.37036718E-9, -2.8312008E-5, -1), CFrame.new(-35.1177979, 46.8227997, -51.3791656, 0.573576629, 0.819151938, -2.30907917E-5, -0.819151938, 0.57357657, -1.62138276E-5, -3.72559903E-8, 2.82147321E-5, 1))
  919. weld(p78, p78, p79, CFrame.new(-35.1177979, 46.8227997, -51.3791656, 0.573576629, 0.819151938, -2.30907917E-5, -0.819151938, 0.57357657, -1.62138276E-5, -3.72559903E-8, 2.82147321E-5, 1), CFrame.new(-34.8228722, 46.8228035, -51.3300095, 0.573576629, 0.819151938, -2.30907899E-5, -0.819151938, 0.57357657, -1.62138276E-5, -3.72549458E-8, 2.82147339E-5, 1))
  920. weld(p79, p79, p80, CFrame.new(-34.8228722, 46.8228035, -51.3300095, 0.573576629, 0.819151938, -2.30907899E-5, -0.819151938, 0.57357657, -1.62138276E-5, -3.72549458E-8, 2.82147339E-5, 1), CFrame.new(-35.085022, 46.8228073, -51.1661606, 0.573576629, 0.819151938, -2.30907881E-5, -0.819151938, 0.57357657, -1.62138276E-5, -3.72539013E-8, 2.82147357E-5, 1))
  921. local handleweld = weld(RightArm, p2, RightArm, CFrame.new(0, 0.2, 0), CFrame.Angles(0, -math.rad(180), 0))
  922. local currshoulder = Instance.new("Model", Character)
  923. currshoulder.Name = "Collar thing"
  924. for i = 1, 2 do
  925. p0 = newPart(currshoulder, BrickColor.new("Black"), 1, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Handle")
  926. mesh("BlockMesh", p0, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.850000024, 0.74999994, 1.04999971))
  927. p1 = newPart(currshoulder, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  928. mesh("BlockMesh", p1, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.900000036, 5.35000038, 1.05000019))
  929. p2 = newPart(currshoulder, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  930. mesh("BlockMesh", p2, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.900000036, 5.35000038, 1.05000019))
  931. p3 = newPart(currshoulder, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  932. mesh("BlockMesh", p3, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.900000036, 5.34999943, 1.04999948))
  933. p4 = newPart(currshoulder, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  934. mesh("BlockMesh", p4, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.900000036, 5.34999943, 1.04999948))
  935. p5 = newPart(currshoulder, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  936. mesh("BlockMesh", p5, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.900000095, 5.35000086, 1.05000007))
  937. p6 = newPart(currshoulder, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
  938. mesh("BlockMesh", p6, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.799999654, 5.35000038, 1.04999971))
  939. weld(p0, p0, p1, CFrame.new(-49.0397263, -2.17804551, -51.5914459, 1.00000787, -8.46385956E-6, -2.5421381E-5, 2.08616257E-7, 1.00000834, 7.42077827E-6, 1.67191029E-5, -1.3500452E-5, 1.00000072), CFrame.new(-69.8546829, -3.31385326, 14.5175304, 0.556688249, -0.115561396, 0.822644413, -0.321383774, 0.883207321, 0.341551274, -0.766035736, -0.454522192, 0.454531521))
  940. weld(p1, p1, p2, CFrame.new(-69.8546829, -3.31385326, 14.5175304, 0.556688249, -0.115561396, 0.822644413, -0.321383774, 0.883207321, 0.341551274, -0.766035736, -0.454522192, 0.454531521), CFrame.new(-69.8558655, -3.57044601, 14.6242161, 0.556687057, -0.115555644, 0.822646022, -0.321385562, 0.88320893, 0.341545403, -0.766035855, -0.454520524, 0.454533011))
  941. weld(p2, p2, p3, CFrame.new(-69.8558655, -3.57044601, 14.6242161, 0.556687057, -0.115555644, 0.822646022, -0.321385562, 0.88320893, 0.341545403, -0.766035855, -0.454520524, 0.454533011), CFrame.new(-43.2317505, 22.6288986, -51.592041, 0.866026163, 0.499998719, -1.6144073E-5, -0.499998719, 0.866026163, 7.51034349E-6, 1.78531373E-5, 1.59358888E-6, 1))
  942. weld(p3, p3, p4, CFrame.new(-43.2317505, 22.6288986, -51.592041, 0.866026163, 0.499998719, -1.6144073E-5, -0.499998719, 0.866026163, 7.51034349E-6, 1.78531373E-5, 1.59358888E-6, 1), CFrame.new(-43.0945091, 22.8667393, -51.5920067, 0.866025209, 0.500000358, -1.09374523E-5, -0.500000358, 0.866025209, 7.94231892E-6, 1.35600567E-5, -1.38379119E-6, 1))
  943. weld(p4, p4, p5, CFrame.new(-43.0945091, 22.8667393, -51.5920067, 0.866025209, 0.500000358, -1.09374523E-5, -0.500000358, 0.866025209, 7.94231892E-6, 1.35600567E-5, -1.38379119E-6, 1), CFrame.new(-61.9058037, 34.0650177, 4.61152267, 0.556675553, 0.499998033, 0.6634112, -0.321399391, 0.866026521, -0.383015007, -0.766038358, -4.88830756E-6, 0.642794788))
  944. weld(p5, p5, p6, CFrame.new(-61.9058037, 34.0650177, 4.61152267, 0.556675553, 0.499998033, 0.6634112, -0.321399391, 0.866026521, -0.383015007, -0.766038358, -4.88830756E-6, 0.642794788), CFrame.new(-62.0535126, 33.8264618, 4.61145782, 0.5566746, 0.49999693, 0.663412809, -0.321396798, 0.866027176, -0.383015722, -0.766040146, -3.65110623E-6, 0.642792702))
  945. if i == 1 then
  946. local weld1 = weld(Torso, p0, Torso, CFrame.new(0.95, -1.5, 0))
  947. elseif i == 2 then
  948. local weld2 = weld(Torso, p0, Torso, CFrame.new(0.95, -1.5, 0) * CFrame.Angles(0, math.rad(180), 0))
  949. end
  950. end
  951. function mouse1d()
  952. if tool.Active == false then
  953. return
  954. end
  955. if attacking == false and attackcounter == 1 then
  956. attackcounter = 2
  957. attacking = true
  958. for i = 0, 1, 0.1 do
  959. swait()
  960. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(15), 0, math.rad(75)), 0.3)
  961. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, math.rad(-75)), 0.3)
  962. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.35, 0) * CFrame.Angles(math.rad(0), math.rad(45), math.rad(90)) * CFrame.Angles(math.rad(90), math.rad(180), 0), 0.3)
  963. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.35, -0.5) * CFrame.Angles(math.rad(90), math.rad(90), -math.rad(0)) * CFrame.Angles(math.rad(75), 0, 0), 0.3)
  964. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(105), 0), 0.3)
  965. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(0), -math.rad(75), 0), 0.3)
  966. end
  967. for i = 0, 1, 0.1 do
  968. swait()
  969. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(15), 0, math.rad(-80)), 0.3)
  970. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(10), 0, math.rad(80)), 0.3)
  971. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.35, -0.5) * CFrame.Angles(math.rad(0), math.rad(-45), math.rad(90)) * CFrame.Angles(math.rad(90), math.rad(180), 0), 0.3)
  972. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.35, -0.5) * CFrame.Angles(math.rad(90), math.rad(90), -math.rad(0)) * CFrame.Angles(math.rad(-50), 0, 0), 0.3)
  973. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(75), 0), 0.3)
  974. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(0), -math.rad(105), 0), 0.3)
  975. end
  976. attacking = false
  977. elseif attacking == false and attackcounter == 2 then
  978. attackcounter = 3
  979. elseif attacking == false and attackcounter == 3 then
  980. attackcounter = 1
  981. attacking = true
  982. for i = 0, 1, 0.1 do
  983. swait()
  984. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-23), 0, 0), 0.3)
  985. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(-25), 0, 0), 0.3)
  986. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.5, -0.4) * CFrame.Angles(math.rad(80), math.rad(90), math.rad(12)) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
  987. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, -0.4) * CFrame.Angles(math.rad(80), math.rad(-90), -math.rad(12)) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
  988. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-15), math.rad(90), 0), 0.3)
  989. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(-10), -math.rad(90), 0), 0.3)
  990. end
  991. for i = 0, 1, 0.1 do
  992. swait()
  993. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(30), 0, 0), 0.3)
  994. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(45), 0, 0), 0.3)
  995. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(-math.rad(30), 0, math.rad(12)), 0.3)
  996. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-math.rad(30), 0, -math.rad(12)), 0.3)
  997. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(30), math.rad(90), 0), 0.3)
  998. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(45), -math.rad(90), 0), 0.3)
  999. end
  1000. attacking = false
  1001. end
  1002. end
  1003. backwards = false
  1004. side = false
  1005. forwards = false
  1006. RainbowColors = {
  1007. BrickColor.new("Bright red"),
  1008. BrickColor.new("Bright orange"),
  1009. BrickColor.new("Bright yellow"),
  1010. BrickColor.new("Bright green"),
  1011. BrickColor.new("Bright blue"),
  1012. BrickColor.new("Lilac"),
  1013. BrickColor.new("Bright violet")
  1014. }
  1015. function astralblast()
  1016. if Goodbye == false then
  1017. attacking = true
  1018. local origincf = RootPart.CFrame * CFrame.new(0, 0, -35)
  1019. local nncount = 0
  1020. for i = 0, 2, 0.05 do
  1021. swait()
  1022. nncount = nncount + 1
  1023. if nncount % 2 == 0 then
  1024. if nncount % 6 == 0 then
  1025. local soundref = newPart(Effects, BrickColor.White(), 1, true, false, Vector3.new(), "sound")
  1026. soundref.CFrame = origincf
  1027. sound(sounds[3][1], soundref, 1, 3, 1)
  1028. game.Debris:AddItem(soundref, 3)
  1029. end
  1030. for i = 1, 7 do
  1031. local blast = newPart(Effects, RainbowColors[i], 0.2, true, false, Vector3.new(), "Neon")
  1032. blast.CFrame = origincf * randomangles()
  1033. mesh("BlockMesh", blast, nil, nil, Vector3.new(), Vector3.new(6 * i, 6 * i, 6 * i)).Name = "Mesh"
  1034. if i < 4 then
  1035. blast.Mesh.Scale = Vector3.new(10, 10, 10)
  1036. end
  1037. table.insert(partEffects, {
  1038. blast,
  1039. "Block1",
  1040. 0.05,
  1041. i > 1 and i * 2 or 0,
  1042. i > 1 and i * 2 or 0,
  1043. i > 1 and i * 2 or 0
  1044. })
  1045. end
  1046. if nncount % 8 == 0 then
  1047. local hums = findCloseHumanoid(origincf.p, 40)
  1048. for u = 1, #hums do
  1049. basicDamage(hums[u], 5, RainbowColors[math.random(5, 7)].Color)
  1050. local bv = Instance.new("BodyVelocity", hums[u].Parent.Torso)
  1051. bv.Velocity = origincf.p - hums[u].Parent.Torso.Position.unit * -20 + Vector3.new(0, 4, 0)
  1052. bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  1053. game.Debris:AddItem(bv, 0.3)
  1054. end
  1055. end
  1056. end
  1057. for i = 1, 3 do
  1058. local mb = newPart(Effects, RainbowColors[math.random(1, #RainbowColors)], 0, true, false, Vector3.new(), "Part")
  1059. mb.CFrame = origincf * CFrame.new(math.random(-(i > 1 and 15 * i or 5), i > 1 and 15 * i or 5), math.random(-(i > 1 and 15 * i or 5), i > 1 and 15 * i or 5), math.random(-(i > 1 and 15 * i or 5), i > 1 and 15 * i or 5))
  1060. local mbmesh = mesh("BlockMesh", mb, nil, nil, Vector3.new(), Vector3.new(5, 5, 5))
  1061. table.insert(partEffects, {
  1062. mb,
  1063. "Block1",
  1064. 0.05,
  1065. -0.2,
  1066. -0.2,
  1067. -0.2,
  1068. mb.Mesh
  1069. })
  1070. local mb = newPart(Effects, RainbowColors[math.random(1, #RainbowColors)], 0, true, false, Vector3.new(), "Part")
  1071. mb.CFrame = origincf * CFrame.new(math.random(-(i > 1 and 15 * i or 5), i > 1 and 15 * i or 5), math.random(-(i > 1 and 15 * i or 5), i > 1 and 15 * i or 5), math.random(-(i > 1 and 15 * i or 5), i > 1 and 15 * i or 5))
  1072. local mbmesh = mesh("BlockMesh", mb, nil, nil, Vector3.new(), Vector3.new(5, 5, 5))
  1073. table.insert(partEffects, {
  1074. mb,
  1075. "Block1",
  1076. 0.05,
  1077. -0.2,
  1078. -0.2,
  1079. -0.2,
  1080. mb.Mesh
  1081. })
  1082. end
  1083. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(20), 0, math.rad(0)), 0.2)
  1084. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, math.rad(0)), 0.2)
  1085. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.3, -0.8) * CFrame.Angles(math.rad(75), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(15), 0, 0), 0.2)
  1086. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, -0.8) * CFrame.Angles(math.rad(75), math.rad(-90), math.rad(0)) * CFrame.Angles(math.rad(15), 0, 0), 0.2)
  1087. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(10), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(-10), 0, 0), 0.2)
  1088. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(10), -math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(-10), 0, 0), 0.2)
  1089. end
  1090. attacking = false
  1091. elseif Goodbye == true then
  1092. attacking = true
  1093. for i = 0, 1, 0.05 do
  1094. swait()
  1095. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(25), math.rad(0), math.rad(0)), 0.2)
  1096. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -1.5) * CFrame.Angles(math.rad(35), 0, math.rad(0)), 0.2)
  1097. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0, -0.4) * CFrame.Angles(math.rad(45), math.rad(75), math.rad(0)) * CFrame.Angles(math.rad(-15), 0, 0), 0.2)
  1098. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0, -0.4) * CFrame.Angles(math.rad(45), math.rad(75), math.rad(0)) * CFrame.Angles(math.rad(15), 0, 0), 0.2)
  1099. RH.C0 = clerp(RH.C0, CFrame.new(1, 0, -1) * CFrame.Angles(math.rad(-15), math.rad(90), 0), 0.2)
  1100. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, -0.5) * CFrame.Angles(math.rad(-50), -math.rad(90), 0), 0.2)
  1101. end
  1102. do
  1103. local sugars = {}
  1104. thread(function()
  1105. for i = 1, 15 do
  1106. for i = 1, 2 do
  1107. local sugarpart = newPart(Effects, math.random() > 0.5 and BrickColor.new("Carnation pink") or BrickColor.White(), 0, false, true, Vector3.new(5, 5, 5), "Part")
  1108. sugarpart.CFrame = RootPart.CFrame * CFrame.new(0, 0, -10)
  1109. sugarpart.Velocity = RootPart.CFrame.lookVector * 75 + Vector3.new(math.random(-25, 25), math.random(25, 125), math.random(-25, 25))
  1110. mesh("BlockMesh", sugarpart, nil, nil, Vector3.new(), Vector3.new(1, 1, 1))
  1111. table.insert(sugars, sugarpart)
  1112. end
  1113. swait()
  1114. end
  1115. wait(2)
  1116. for i, v in pairs(sugars) do
  1117. delay(math.random() * 2, function()
  1118. local soundref = newPart(Effects, BrickColor.White(), 1, true, false, Vector3.new(), "sound")
  1119. soundref.CFrame = RootPart.CFrame
  1120. sound(sounds[3][3], soundref, 0.2, 3, 2)
  1121. game.Debris:AddItem(soundref, 3.1)
  1122. local hums = findCloseHumanoid(v.Position, 15)
  1123. for u = 1, #hums do
  1124. basicDamage(hums[u], 5, BrickColor.new("White").Color)
  1125. local bv = Instance.new("BodyVelocity", hums[u].Parent.Torso)
  1126. bv.Velocity = v.Position - hums[u].Parent.Torso.Position.unit * -30 + Vector3.new(0, 5, 0)
  1127. bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  1128. game.Debris:AddItem(bv, 0.2)
  1129. end
  1130. table.insert(partEffects, {
  1131. v,
  1132. "Block1",
  1133. 0.05,
  1134. 0.1,
  1135. 0.1,
  1136. 0.1,
  1137. v.Mesh
  1138. })
  1139. end)
  1140. end
  1141. end)
  1142. for i = 0, 1, 0.05 do
  1143. swait()
  1144. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(15), 0, 0), 0.2)
  1145. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(-10), 0, 0), 0.2)
  1146. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.8, 0.2) * CFrame.Angles(-math.rad(160), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(-25), 0, 0), 0.2)
  1147. LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.8, 0.2) * CFrame.Angles(-math.rad(160), math.rad(90), -math.rad(0)) * CFrame.Angles(math.rad(25), 0, 0), 0.2)
  1148. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-15), math.rad(90), 0), 0.2)
  1149. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(-10), -math.rad(90), 0), 0.2)
  1150. end
  1151. attacking = false
  1152. end
  1153. end
  1154. end
  1155. zdown = false
  1156. function hello()
  1157. if Goodbye == false then
  1158. attacking = true
  1159. Humanoid.WalkSpeed = 0.01
  1160. local stars = {}
  1161. local mousehitp = mouse.Hit.p
  1162. local mousehit = mouse.Hit
  1163. local sounda = sound(sounds[2][7], Character.Head, 1, 4, 2)
  1164. game.Debris:AddItem(sounda, 5)
  1165. for i = 0, 1, 0.075 do
  1166. swait()
  1167. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(20), 0, math.rad(-15)), 0.2)
  1168. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, math.rad(15)), 0.2)
  1169. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.4, -0.8) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(-15), 0, 0), 0.2)
  1170. LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.5, -0.4) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(80)), 0.2)
  1171. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(75), 0), 0.2)
  1172. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(0), -math.rad(105), 0), 0.2)
  1173. end
  1174. local ncount = -1
  1175. local stoppos, stophum
  1176. local ceilicount = 0
  1177. if zdown == true then
  1178. repeat
  1179. swait()
  1180. ncount = ncount + 1
  1181. local originpos = RightArm.Position + Vector3.new(0, 3, 0)
  1182. ceilicount = ceilicount + 1
  1183. if ceilicount > #RainbowColors then
  1184. ceilicount = 1
  1185. end
  1186. local currcolor = RainbowColors[ceilicount]
  1187. if ncount % 5 == 0 then
  1188. local blast = newPart(Effects, currcolor, 0.2, true, false, Vector3.new(), "Neon")
  1189. blast.CFrame = CFrame.new(originpos) * randomangles()
  1190. mesh("BlockMesh", blast, nil, nil, Vector3.new(), Vector3.new(8, 8, 8)).Name = "Mesh"
  1191. table.insert(partEffects, {
  1192. blast,
  1193. "Block1",
  1194. 0.05,
  1195. 0.1,
  1196. 0.1,
  1197. 0.1
  1198. })
  1199. local blast = newPart(Effects, BrickColor.new("Sea green"), 0, true, false, Vector3.new(), "Neon")
  1200. blast.CFrame = CFrame.new(originpos) * randomangles()
  1201. mesh("BlockMesh", blast, nil, nil, Vector3.new(), Vector3.new(4, 4, 4)).Name = "Mesh"
  1202. table.insert(partEffects, {
  1203. blast,
  1204. "Block1",
  1205. 0.05,
  1206. 0.1,
  1207. 0.1,
  1208. 0.1
  1209. })
  1210. end
  1211. if ncount % 15 == 0 then
  1212. mousehitp = mouse.Hit.p
  1213. local unit = originpos - mousehitp.unit
  1214. local mid = (originpos + mousehitp) / 2
  1215. local mag = originpos - mousehitp.magnitude
  1216. local hit, pos = rayCast(originpos, -unit, 99999, Character)
  1217. local hithum
  1218. if hit then
  1219. hithum = hit.Parent:findFirstChildOfClass("Humanoid")
  1220. else
  1221. hithum = nil
  1222. end
  1223. local rayref = newPart(Effects, BrickColor.new("Sea green"), 0, true, false, Vector3.new(), "ref")
  1224. if hithum then
  1225. rayref.Material = "Neon"
  1226. end
  1227. rayref.CFrame = CFrame.new(mid, mid - unit)
  1228. local raymesh = mesh("BlockMesh", rayref, nil, nil, Vector3.new(0, 0, 0), Vector3.new(1, 1, mag * 5))
  1229. table.insert(partEffects, {
  1230. rayref,
  1231. "Block2",
  1232. 0.05,
  1233. 0,
  1234. 0,
  1235. 0,
  1236. rayref.Mesh
  1237. })
  1238. stoppos = mousehitp
  1239. stophum = hithum
  1240. local sounda = sound(sounds[4][2], Character.Head, 0.5, 4, not stophum and 8 or 10)
  1241. game.Debris:AddItem(sounda, 5)
  1242. end
  1243. until zdown == false
  1244. end
  1245. if stophum then
  1246. AttackHas[1] = 0
  1247. local hittorso = stophum.Parent:findFirstChild("Torso")
  1248. if hittorso then
  1249. local bp = Instance.new("BodyPosition", hittorso)
  1250. bp.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  1251. bp.Position = RootPart.CFrame * CFrame.new(0, 0, 5).p
  1252. game.Debris:AddItem(bp, 0.8)
  1253. local sounda = sound(sounds[2][6], Character.Head, 1, 4, 1)
  1254. game.Debris:AddItem(sounda, 5)
  1255. end
  1256. elseif stophum == nil then
  1257. AttackHas[1] = AttackHas[1] - 0.5
  1258. local sounda = sound(sounds[1][8], Character.Head, 1, 4, 1)
  1259. game.Debris:AddItem(sounda, 5)
  1260. end
  1261. local lcount = 0
  1262. stars = stophum and 0.05 or 0.1
  1263. for i = 0, 1.5, 0.1 do
  1264. lcount = lcount + 1
  1265. if stophum and stophum.Parent:findFirstChild("Torso") then
  1266. if lcount > 3 then
  1267. if lcount % 6 == 0 then
  1268. basicDamage(stophum, 4, stophum.Parent.Torso.BrickColor.Color)
  1269. end
  1270. elseif i == 0.1 then
  1271. basicDamage(stophum, 5, BrickColor.new("Sea green").Color)
  1272. end
  1273. for i = 1, 2 do
  1274. local mb = newPart(Effects, RainbowColors[math.random(1, #RainbowColors)], 0, true, false, Vector3.new(), "Part")
  1275. mb.CFrame = stophum.Parent.Torso.CFrame * CFrame.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5))
  1276. local mbmesh = mesh("BlockMesh", mb, nil, nil, Vector3.new(), Vector3.new(5, 5, 5))
  1277. table.insert(partEffects, {
  1278. mb,
  1279. "Block1",
  1280. 0.05,
  1281. -0.2,
  1282. -0.2,
  1283. -0.2,
  1284. mb.Mesh
  1285. })
  1286. end
  1287. end
  1288. swait()
  1289. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(20), 0, math.rad(75)), 0.2)
  1290. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, math.rad(-75)), 0.2)
  1291. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.4, -0.8) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(75), 0, 0), 0.2)
  1292. LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.5, -0.4) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(80)), 0.2)
  1293. RH.C0 = clerp(RH.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(math.rad(0), math.rad(165), math.rad(5)), 0.2)
  1294. LH.C0 = clerp(LH.C0, CFrame.new(-0.5, -1, 0.5) * CFrame.Angles(math.rad(0), -math.rad(15), math.rad(-5)), 0.2)
  1295. end
  1296. Humanoid.WalkSpeed = 16
  1297. attacking = false
  1298. elseif Goodbye == true then
  1299. attacking = true
  1300. attacking = false
  1301. end
  1302. end
  1303. function rainbowroad()
  1304. if Goodbye == false then
  1305. attacking = true
  1306. AttackHas[3] = 0
  1307. Humanoid.WalkSpeed = 0.01
  1308. local currcolor
  1309. for i = 0, 1, 0.05 do
  1310. swait()
  1311. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-12), math.rad(-12), math.rad(75)), 0.2)
  1312. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -1) * CFrame.Angles(math.rad(25), 0, math.rad(-75)), 0.2)
  1313. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.2, -0.2) * CFrame.Angles(-math.rad(0), math.rad(75), math.rad(0)) * CFrame.Angles(math.rad(25), 0, 0), 0.2)
  1314. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.4, 0.2) * CFrame.Angles(math.rad(0), math.rad(15), math.rad(75)), 0.2)
  1315. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(100), 0), 0.2)
  1316. LH.C0 = clerp(LH.C0, CFrame.new(-1, 0, 0) * CFrame.Angles(math.rad(0), -math.rad(30), 0), 0.2)
  1317. end
  1318. local soundref = newPart(Effects, BrickColor.White(), 1, true, false, Vector3.new(), "sound")
  1319. soundref.CFrame = RootPart.CFrame
  1320. sound(sounds[3][2], soundref, 1, 4, 1)
  1321. game.Debris:AddItem(soundref, 6)
  1322. for i = 0, 2.4, 0.05 do
  1323. swait()
  1324. RootPart.Velocity = RootPart.CFrame.lookVector * 60
  1325. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-15), 0, math.rad(0)), 0.1)
  1326. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, math.sin(i * 1) * 1) * CFrame.Angles(math.rad(90), 0, math.rad(150) * i), 0.2)
  1327. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, math.rad(12)), 0.2)
  1328. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 1.5, 0) * CFrame.Angles(math.rad(170), 0, -math.rad(12)), 0.2)
  1329. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.2)
  1330. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.2)
  1331. local ceili = math.ceil(i * 10) + 1
  1332. for i = 1, 5 do
  1333. if ceili > #RainbowColors then
  1334. ceili = ceili - #RainbowColors
  1335. end
  1336. end
  1337. currcolor = RainbowColors[ceili]
  1338. if math.floor(i * 10) % 2 == 0 then
  1339. local hums = findCloseHumanoid(Torso.Position, 16)
  1340. for u = 1, #hums do
  1341. basicDamage(hums[u], 1, currcolor.Color)
  1342. end
  1343. end
  1344. if math.floor(i * 10) % 1 == 0 then
  1345. if 3 >= i * 10 then
  1346. local blast = newPart(Effects, currcolor, 0.2, true, false, Vector3.new(), "Neon")
  1347. blast.CFrame = RootPart.CFrame * CFrame.new(0, 0, 5) * randomangles()
  1348. mesh("BlockMesh", blast, nil, nil, Vector3.new(), Vector3.new(40, 40, 40)).Name = "Mesh"
  1349. table.insert(partEffects, {
  1350. blast,
  1351. "Block1",
  1352. 0.02,
  1353. 3,
  1354. 3,
  1355. 3,
  1356. blast.Mesh
  1357. })
  1358. if 0.5 > i * 10 then
  1359. local hums = findCloseHumanoid(Torso.Position, 20)
  1360. for u = 1, #hums do
  1361. basicDamage(hums[u], 5, currcolor.Color)
  1362. local bv = Instance.new("BodyVelocity", hums[u].Parent.Torso)
  1363. bv.Velocity = RootPart.Position - hums[u].Parent.Torso.Position.unit * -30 + Vector3.new(0, 2, 0)
  1364. bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  1365. game.Debris:AddItem(bv, 0.8)
  1366. end
  1367. end
  1368. else
  1369. local blast = newPart(Effects, currcolor, 0, true, false, Vector3.new(), "Neon")
  1370. blast.CFrame = RootPart.CFrame * CFrame.new(0, 0, 5) * randomangles()
  1371. mesh("BlockMesh", blast, nil, nil, Vector3.new(), Vector3.new(20, 20, 20))
  1372. table.insert(partEffects, {
  1373. blast,
  1374. "Block2",
  1375. 0.02,
  1376. 3,
  1377. 3,
  1378. 3,
  1379. blast.Mesh
  1380. })
  1381. end
  1382. end
  1383. end
  1384. local stopdir = RootPart.CFrame.lookVector
  1385. for i = 0, 2, 0.05 do
  1386. swait()
  1387. RootPart.Velocity = stopdir * 30
  1388. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-50)), 0.2)
  1389. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -1.3) * CFrame.Angles(math.rad(25), 0, math.rad(50)), 0.1)
  1390. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0, -0.2) * CFrame.Angles(-math.rad(0), math.rad(50), math.rad(0)) * CFrame.Angles(math.rad(25), 0, 0), 0.2)
  1391. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.2, 0.2) * CFrame.Angles(math.rad(0), math.rad(15), math.rad(75)), 0.2)
  1392. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(90), math.rad(100), 0) * CFrame.Angles(math.rad(-50), 0, 0), 0.2)
  1393. LH.C0 = clerp(LH.C0, CFrame.new(-1, 0, 0) * CFrame.Angles(math.rad(0), -math.rad(30), 0), 0.2)
  1394. end
  1395. Humanoid.WalkSpeed = 16
  1396. attacking = false
  1397. elseif Goodbye == true then
  1398. attacking = true
  1399. Humanoid.WalkSpeed = 0.01
  1400. for i = 0, 1, 0.05 do
  1401. swait()
  1402. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-15), 0, math.rad(10)), 0.2)
  1403. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -1) * CFrame.Angles(math.rad(25), 0, math.rad(-10)), 0.2)
  1404. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.4) * CFrame.Angles(-math.rad(45), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(-15), 0, 0), 0.2)
  1405. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -0.9) * CFrame.Angles(math.rad(25), math.rad(40), math.rad(75)) * CFrame.Angles(0, math.rad(180), 0), 0.2)
  1406. RH.C0 = clerp(RH.C0, CFrame.new(1, 0, -0.8) * CFrame.Angles(math.rad(0), math.rad(80), 0), 0.2)
  1407. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.6, 0) * CFrame.Angles(0, -math.rad(100), math.rad(25)), 0.2)
  1408. end
  1409. local normcount = 0
  1410. local ceili = 0
  1411. repeat
  1412. swait()
  1413. RootPart.Velocity = RootPart.CFrame.lookVector * 60
  1414. AttackHas[3] = AttackHas[3] - 0.0075
  1415. if normcount % 40 < 20 then
  1416. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-15), 0, math.rad(-10)), 0.2)
  1417. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.7) * CFrame.Angles(math.rad(25), 0, math.rad(10)), 0.2)
  1418. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.5, -0.9) * CFrame.Angles(math.rad(90), math.rad(100), math.rad(0)) * CFrame.Angles(math.rad(15), 0, 0), 0.2)
  1419. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0.4) * CFrame.Angles(math.rad(25), math.rad(40), math.rad(-75)) * CFrame.Angles(0, math.rad(180), 0), 0.2)
  1420. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.9, 0) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(-25)), 0.2)
  1421. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.3, -0.8) * CFrame.Angles(0, -math.rad(100), math.rad(0)), 0.2)
  1422. else
  1423. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-15), 0, math.rad(10)), 0.2)
  1424. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.7) * CFrame.Angles(math.rad(25), 0, math.rad(-10)), 0.2)
  1425. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.4) * CFrame.Angles(-math.rad(45), math.rad(90), math.rad(0)) * CFrame.Angles(math.rad(-15), 0, 0), 0.2)
  1426. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, -0.9) * CFrame.Angles(math.rad(25), math.rad(40), math.rad(75)) * CFrame.Angles(0, math.rad(180), 0), 0.2)
  1427. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.3, -0.8) * CFrame.Angles(math.rad(0), math.rad(80), 0), 0.2)
  1428. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.9, 0) * CFrame.Angles(0, -math.rad(100), math.rad(25)), 0.2)
  1429. end
  1430. normcount = normcount + 1
  1431. until cdown == false or AttackHas[3] <= 0
  1432. Humanoid.WalkSpeed = 16
  1433. attacking = false
  1434. end
  1435. end
  1436. function key(k)
  1437. if tool.Active == false then
  1438. return
  1439. end
  1440. k = k:lower()
  1441. if attacking == false and k == "z" and AttackHas[1] >= AttackNeeded[1] then
  1442. zdown = true
  1443. AttackCan[1] = false
  1444. hello()
  1445. AttackCan[1] = true
  1446. elseif attacking == false and k == "x" and AttackHas[2] >= AttackNeeded[2] then
  1447. AttackHas[2] = 0
  1448. AttackCan[2] = false
  1449. astralblast()
  1450. AttackCan[2] = true
  1451. elseif attacking == false and k == "c" and AttackHas[3] >= AttackNeeded[3] then
  1452. cdown = true
  1453. AttackCan[3] = false
  1454. rainbowroad()
  1455. AttackCan[3] = true
  1456. elseif attacking == false and k == "v" and AttackHas[4] >= AttackNeeded[4] then
  1457. AttackHas[4] = 0
  1458. if Goodbye == true then
  1459. Goodbye = false
  1460. f1.Reload.BackgroundColor3 = BrickColor.new("Sea green").Color
  1461. f2.Reload.BackgroundColor3 = BrickColor.new("Sea green").Color
  1462. f3.Reload.BackgroundColor3 = BrickColor.new("Sea green").Color
  1463. f4.Reload.BackgroundColor3 = BrickColor.new("Sea green").Color
  1464. f1.Label.Text = "Pixie Dust"
  1465. f2.Label.Text = "Astral Blast"
  1466. f3.Label.Text = "Rainbow Jet"
  1467. f4.Label.Text = "Goodbye"
  1468. local weaponparts = weapon:GetChildren()
  1469. for i = 1, #weaponparts do
  1470. local part = weaponparts[i]
  1471. if part:IsA("Part") then
  1472. if part.BrickColor == BrickColor.new("Pink") then
  1473. part.BrickColor = BrickColor.new("Bright green")
  1474. elseif part.BrickColor == BrickColor.new("Hot pink") then
  1475. part.BrickColor = BrickColor.new("Dark green")
  1476. elseif part.BrickColor == BrickColor.new("Carnation pink") then
  1477. part.BrickColor = BrickColor.new("Sea green")
  1478. end
  1479. end
  1480. end
  1481. elseif Goodbye == false then
  1482. Goodbye = true
  1483. f1.Reload.BackgroundColor3 = BrickColor.new("Pink").Color
  1484. f2.Reload.BackgroundColor3 = BrickColor.new("Pink").Color
  1485. f3.Reload.BackgroundColor3 = BrickColor.new("Pink").Color
  1486. f4.Reload.BackgroundColor3 = BrickColor.new("Pink").Color
  1487. f1.Label.Text = "Chipland"
  1488. f2.Label.Text = "Sugar Rush"
  1489. f3.Label.Text = "Rainbow Road"
  1490. f4.Label.Text = "Hello"
  1491. local weaponparts = weapon:GetChildren()
  1492. for i = 1, #weaponparts do
  1493. local part = weaponparts[i]
  1494. if part:IsA("Part") then
  1495. if part.BrickColor == BrickColor.new("Bright green") then
  1496. part.BrickColor = BrickColor.new("Pink")
  1497. elseif part.BrickColor == BrickColor.new("Dark green") then
  1498. part.BrickColor = BrickColor.new("Hot pink")
  1499. elseif part.BrickColor == BrickColor.new("Sea green") then
  1500. part.BrickColor = BrickColor.new("Carnation pink")
  1501. end
  1502. end
  1503. end
  1504. end
  1505. end
  1506. end
  1507. mouse.Button1Down:connect(mouse1d)
  1508. mouse.KeyDown:connect(key)
  1509. function keyup(key)
  1510. if key == "z" and zdown ~= false then
  1511. zdown = false
  1512. end
  1513. if key == "c" and cdown ~= false then
  1514. cdown = false
  1515. end
  1516. end
  1517. mouse.KeyUp:connect(keyup)
  1518. thread(function()
  1519. while true do
  1520. swait()
  1521. torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1522. hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1523. sine = sine + 1
  1524. if AttackHas[1] < AttackNeeded[1] and AttackCan[1] == true then
  1525. AttackHas[1] = AttackHas[1] + 0.03
  1526. end
  1527. if AttackHas[2] < AttackNeeded[2] and AttackCan[2] == true then
  1528. AttackHas[2] = AttackHas[2] + 0.03
  1529. end
  1530. if AttackHas[3] < AttackNeeded[3] and AttackCan[3] == true then
  1531. AttackHas[3] = AttackHas[3] + 0.03
  1532. end
  1533. if AttackHas[4] < AttackNeeded[4] and AttackCan[4] == true then
  1534. AttackHas[4] = AttackHas[4] + 0.03
  1535. end
  1536. normcount = normcount + 1
  1537. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1538. local rotvel = RootPart.RotVelocity.Y
  1539. local localkey = function(key)
  1540. if key == "w" then
  1541. forwards = true
  1542. else
  1543. if key ~= "a" then
  1544. end
  1545. side = true
  1546. do return end
  1547. if key == "s" then
  1548. backwards = true
  1549. end
  1550. end
  1551. end
  1552. local localkey2 = function(key)
  1553. if key == "w" then
  1554. forwards = false
  1555. else
  1556. if key ~= "a" then
  1557. end
  1558. side = false
  1559. do return end
  1560. if key == "s" then
  1561. backwards = false
  1562. end
  1563. end
  1564. end
  1565. mouse.KeyDown:connect(localkey)
  1566. mouse.KeyUp:connect(localkey2)
  1567. Reload[1]:TweenSize(UDim2.new(AttackHas[1] / AttackNeeded[1], 0, 1, 0), nil, 1, 0.4)
  1568. Reload[2]:TweenSize(UDim2.new(AttackHas[2] / AttackNeeded[2], 0, 1, 0), nil, 1, 0.4)
  1569. Reload[3]:TweenSize(UDim2.new(AttackHas[3] / AttackNeeded[3], 0, 1, 0), nil, 1, 0.4)
  1570. Reload[4]:TweenSize(UDim2.new(AttackHas[4] / AttackNeeded[4], 0, 1, 0), nil, 1, 0.4)
  1571. if 1 < RootPart.Velocity.y and hitfloor == nil then
  1572. if attacking == false then
  1573. Anim = "Jump"
  1574. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-15), 0, math.rad(0)), 0.1)
  1575. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, math.rad(12)), 0.2)
  1576. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2)
  1577. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, -math.rad(12)), 0.2)
  1578. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2)
  1579. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, 0), 0.2)
  1580. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.2)
  1581. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.2)
  1582. end
  1583. elseif RootPart.Velocity.y < -1 and hitfloor == nil then
  1584. if attacking == false then
  1585. Anim = "Fall"
  1586. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(23), 0, 0), 0.2)
  1587. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, 0), 0.2)
  1588. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, math.rad(12)), 0.2)
  1589. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2)
  1590. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, -math.rad(12)), 0.2)
  1591. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2)
  1592. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(24), math.rad(90), 0), 0.2)
  1593. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(-12), -math.rad(90), 0), 0.2)
  1594. end
  1595. elseif torvel < 1 and hitfloor ~= nil then
  1596. if attacking == false then
  1597. Anim = "Idle"
  1598. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(5), 0, math.rad(15)), 0.1)
  1599. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0.1 * math.cos(sine / 25)) * CFrame.Angles(math.rad(0), 0, math.rad(-15)), 0.1)
  1600. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.4 - 0.1 * math.cos(sine / 15), -0.4) * CFrame.Angles(math.rad(-45), math.rad(160), math.rad(130)), 0.2)
  1601. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.35 - 0.1 * math.cos(sine / 15), 0) * CFrame.Angles(math.rad(25), math.rad(45), math.rad(75)) * CFrame.Angles(0, math.rad(180), 0), 0.2)
  1602. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2)
  1603. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2)
  1604. RH.C0 = clerp(RH.C0, CFrame.new(1, -1 - 0.1 * math.cos(sine / 25), 0) * CFrame.Angles(0, math.rad(90), 0), 0.2)
  1605. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1 - 0.1 * math.cos(sine / 25), 0) * CFrame.Angles(0, -math.rad(90), 0), 0.2)
  1606. end
  1607. elseif torvel > 2 and hitfloor ~= nil and attacking == false then
  1608. Anim = "Walk"
  1609. if forwards then
  1610. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(25) + math.rad(rotvel * 4)), 0.1)
  1611. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(15), math.rad(rotvel * 1), math.rad(-25)), 0.1)
  1612. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.4, 0.2) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(60)), 0.2)
  1613. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2)
  1614. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0.1) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(-15)), 0.2)
  1615. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2)
  1616. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.cos(normcount * 1 / 6), math.rad(96.25), 0), 0.2)
  1617. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(-math.cos(normcount * 1 / 6), -math.rad(77.5), 0), 0.2)
  1618. elseif not backwards or not side then
  1619. Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5) + math.rad(rotvel * 4)), 0.1)
  1620. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(5), math.rad(rotvel * 1), math.rad(-5)), 0.1)
  1621. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.4, 0.2) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(30)), 0.2)
  1622. RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2)
  1623. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.5, 0.1) * CFrame.Angles(math.rad(0), math.rad(5), math.rad(-10)), 0.2)
  1624. LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2)
  1625. RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.cos(normcount * 1 / 6), math.rad(92.5), 0), 0.2)
  1626. LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(-math.cos(normcount * 1 / 6), -math.rad(87.5), 0), 0.2)
  1627. end
  1628. end
  1629. if 0 < #partEffects then
  1630. for e = 1, #partEffects do
  1631. if partEffects[e] ~= nil then
  1632. local Thing = partEffects[e]
  1633. if Thing ~= nil then
  1634. local Part = Thing[1]
  1635. local Mode = Thing[2]
  1636. local Delay = Thing[3]
  1637. local IncX = Thing[4]
  1638. local IncY = Thing[5]
  1639. local IncZ = Thing[6]
  1640. if 1 >= Thing[1].Transparency then
  1641. if Thing[2] == "Block1" then
  1642. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1643. local Mesh = Thing[1].Mesh
  1644. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1645. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1646. elseif Thing[2] == "Block2" then
  1647. Thing[1].CFrame = Thing[1].CFrame
  1648. local Mesh = Thing[7]
  1649. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1650. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1651. elseif Thing[2] == "Cylinder" then
  1652. local Mesh = Thing[1].Mesh
  1653. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1654. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1655. elseif Thing[2] == "Blood" then
  1656. local Mesh = Thing[7]
  1657. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1658. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1659. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1660. elseif Thing[2] == "Elec" then
  1661. local Mesh = Thing[1].Mesh
  1662. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1663. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1664. elseif Thing[2] == "Disappear" then
  1665. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1666. elseif Thing[2] == "Shatter" then
  1667. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1668. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1669. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1670. Thing[6] = Thing[6] + Thing[5]
  1671. end
  1672. else
  1673. Part:Destroy()
  1674. table.remove(partEffects, e)
  1675. end
  1676. end
  1677. end
  1678. end
  1679. end
  1680. end
  1681. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement