Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,game,owner = owner,game
- local RealPlayer = Player
- do
- print("FE Compatibility code by Mokiros")
- local rp = RealPlayer
- script.Parent = rp.Character
- --RemoteEvent for communicating
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- --Fake event to make stuff like Mouse.KeyDown work
- local function fakeEvent()
- local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
- t.connect = t.Connect
- return t
- end
- --Creating fake input objects with fake variables
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
- CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
- end}
- --Merged 2 functions into one by checking amount of arguments
- CAS.UnbindAction = CAS.BindAction
- --This function will trigger the events that have been :Connect()'ed
- local function te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent then
- for _,f in pairs(t.Functions) do
- f(...)
- end
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=rp then return end
- m.Target = io.Target
- m.Hit = io.Hit
- if not io.isMouse then
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return m:TrigEvent(b and "Button1Down" or "Button1Up")
- end
- for _,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[
- local Player = game:GetService("Players").LocalPlayer
- local Event = script:WaitForChild("UserInput_Event")
- local Mouse = Player:GetMouse()
- local UIS = game:GetService("UserInputService")
- local input = function(io,a)
- if a then return end
- --Since InputObject is a client-side instance, we create and pass table instead
- Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local h,t
- --Give the server mouse data 30 times every second, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- while wait(1/30) do
- if h~=Mouse.Hit or t~=Mouse.Target then
- h,t=Mouse.Hit,Mouse.Target
- Event:FireServer({isMouse=true,Target=t,Hit=h})
- end
- end]==],Player.Character)
- ----Sandboxed game object that allows the usage of client-side methods and services
- --Real game object
- local _rg = game
- --Metatable for fake service
- local fsmt = {
- __index = function(self,k)
- local s = rawget(self,"_RealService")
- if s then return s[k] end
- end,
- __newindex = function(self,k,v)
- local s = rawget(self,"_RealService")
- if s then s[k]=v end
- end,
- __call = function(self,...)
- local s = rawget(self,"_RealService")
- if s then return s(...) end
- end
- }
- local function FakeService(t,RealService)
- t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
- return setmetatable(t,fsmt)
- end
- --Fake game object
- local g = {
- GetService = function(self,s)
- return self[s]
- end,
- Players = FakeService({
- LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
- },"Players"),
- UserInputService = FakeService(UIS,"UserInputService"),
- ContextActionService = FakeService(CAS,"ContextActionService"),
- }
- rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
- g.service = g.GetService
- g.RunService = FakeService({
- RenderStepped = _rg:GetService("RunService").Heartbeat,
- BindToRenderStep = function(self,name,_,fun)
- self._btrs[name] = self.Heartbeat:Connect(fun)
- end,
- UnbindFromRenderStep = function(self,name)
- self._btrs[name]:Disconnect()
- end,
- },"RunService")
- setmetatable(g,{
- __index=function(self,s)
- return _rg:GetService(s) or typeof(_rg[s])=="function"
- and function(_,...)return _rg[s](_rg,...)end or _rg[s]
- end,
- __newindex = fsmt.__newindex,
- __call = fsmt.__call
- })
- --Changing owner to fake player object to support owner:GetMouse()
- game,owner = g,g.Players.LocalPlayer
- end
- wait(0.016666666666667)
- Anim = nil
- normcount = 0
- cf = CFrame.new
- function c3(cz, cx, cc)
- return Color3.new(cz / 255, cx / 255, cc / 255)
- end
- angles = CFrame.Angles
- Player = game.Players.LocalPlayer
- Character = Player.Character
- Humanoid = Character.Humanoid
- mouse = Player:GetMouse()
- local LeftArm = Character["Left Arm"]
- RightArm = Character["Right Arm"]
- LeftLeg = Character["Left Leg"]
- RightLeg = Character["Right Leg"]
- Head = Character.Head
- Torso = Character.Torso
- RootPart = Character.HumanoidRootPart
- RootJoint = RootPart.RootJoint
- Humanoid.Animator:Destroy()
- Character.Animate:Destroy()
- NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- RootCF = angles(-1.57, 0, 3.14)
- LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RW = Instance.new("Weld")
- LW = Instance.new("Weld")
- RH = Torso["Right Hip"]
- LH = Torso["Left Hip"]
- Neck = Torso.Neck
- RSH = Torso["Right Shoulder"]
- LSH = Torso["Left Shoulder"]
- RSH.Parent = nil
- LSH.Parent = nil
- RW.Name = "Right Shoulder"
- RW.Part0 = Torso
- RW.C0 = cf(1.5, 0.5, 0)
- RW.C1 = cf(0, 0.5, 0)
- RW.Part1 = RightArm
- RW.Parent = Torso
- LW.Name = "Left Shoulder"
- LW.Part0 = Torso
- LW.C0 = cf(-1.5, 0.5, 0)
- LW.C1 = cf(0, 0.5, 0)
- LW.Part1 = LeftArm
- LW.Parent = Torso
- Effects = Instance.new("Model", Character)
- Effects.Name = "Effects"
- Humanoid.WalkSpeed = 16
- partEffects, AttackHas, AttackNeeded, AttackCan = {}, {}, {}, {}
- AttackHas[1], AttackHas[2], AttackHas[3], AttackHas[4] = 1, 1, 1, 1
- AttackNeeded[1], AttackNeeded[2], AttackNeeded[3], AttackNeeded[4] = 1, 1, 1, 1
- AttackCan[1], AttackCan[2], AttackCan[3], AttackCan[4] = true, true, true, true
- sine = 0
- attackcounter = 1
- torvel = nil
- attacking = false
- hitfloor, posfloor = nil, nil
- Goodbye = false
- tool = nil
- if script.Parent.ClassName == "HopperBin" then
- tool = script.Parent
- tool.Parent = Player.Backpack
- tool.Name = "Nitrite"
- else
- tool = Instance.new("HopperBin", Player.Backpack)
- tool.Name = ""
- end
- meshes = {
- 3270017,
- 20329976,
- 448386996,
- 1095708,
- 1033714,
- 9756362
- }
- sounds = {
- {
- 320557413,
- 320557453,
- 320557487,
- 320557518,
- 320557537,
- 320557563,
- 233856146,
- 233856140
- },
- {
- 234365549,
- 234365573,
- 231917961,
- 231917950,
- 231917856,
- 231917863,
- 231917871
- },
- {
- 262562442,
- 231917806,
- 231917784
- },
- {
- 262562442,
- 233856048,
- 306247739
- }
- }
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 0.025
- tf = 0
- allowframeloss = true
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- function thread(f)
- coroutine.resume(coroutine.create(f))
- end
- function clerp(a, b, t)
- local qa = {
- QuaternionFromCFrame(a)
- }
- local qb = {
- QuaternionFromCFrame(b)
- }
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1 - t
- return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5 / s
- return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
- else
- local i = 0
- if m00 < m11 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00 - m11 - m22 + 1)
- local recip = 0.5 / s
- return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
- elseif i == 1 then
- local s = math.sqrt(m11 - m22 - m00 + 1)
- local recip = 0.5 / s
- return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
- elseif i == 2 then
- local s = math.sqrt(m22 - m00 - m11 + 1)
- local recip = 0.5 / s
- return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w * xs, w * ys, w * zs
- local xx = x * xs
- local xy = x * ys
- local xz = x * zs
- local yy = y * ys
- local yz = y * zs
- local zz = z * zs
- 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))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
- local startInterp, finishInterp
- if cosTheta >= 1.0E-4 then
- if 1 - cosTheta > 1.0E-4 then
- local theta = math.acos(cosTheta)
- local invSinTheta = 1 / math.sin(theta)
- startInterp = math.sin((1 - t) * theta) * invSinTheta
- finishInterp = math.sin(t * theta) * invSinTheta
- else
- startInterp = 1 - t
- finishInterp = t
- end
- elseif 1 + cosTheta > 1.0E-4 then
- local theta = math.acos(-cosTheta)
- local invSinTheta = 1 / math.sin(theta)
- startInterp = math.sin((t - 1) * theta) * invSinTheta
- finishInterp = math.sin(t * theta) * invSinTheta
- else
- startInterp = t - 1
- finishInterp = t
- end
- 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
- end
- function rayCast(Pos, Dir, Max, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- function sound(id, par, vol, dur, pit)
- coroutine.resume(coroutine.create(function()
- local sou = Instance.new("Sound", par or workspace)
- sou.Volume = vol
- sou.Pitch = pit or 1
- sou.SoundId = "http://www.roblox.com/asset/?id=" .. id
- swait()
- sou:play()
- thread(function()
- wait(dur)
- sou:Destroy()
- end)
- return sou
- end))
- end
- function newPart(par, brick, transp, anch, canc, size, name, mat, ref)
- local p = Instance.new("Part")
- p.BrickColor = brick
- p.Transparency = transp
- p.Material = mat and mat or "SmoothPlastic"
- p.Reflectance = ref and ref or 0
- p.Anchored = anch
- p.CanCollide = canc
- p.Size = size
- p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BackSurface = 10, 10, 10, 10, 10, 10
- p.Name = name
- p.CFrame = RootPart.CFrame
- p.Parent = par
- return p
- end
- function mesh(Mesh, part, meshtype, meshid, offset, scale)
- local mesh = Instance.new(Mesh)
- mesh.Parent = part
- if Mesh == "SpecialMesh" then
- mesh.MeshType = meshtype
- if meshid then
- mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
- end
- end
- if offset then
- mesh.Offset = offset
- end
- mesh.Scale = scale
- return mesh
- end
- function weld(parent, part0, part1, c0, c1)
- local weld = Instance.new("Weld")
- weld.Parent = parent
- weld.Part0 = part0
- weld.Part1 = part1
- weld.C0 = c0
- if c1 then
- weld.C1 = c1
- end
- return weld
- end
- function randomangles(r)
- local random = math.rad((math.random() - 0.5) * 180)
- local randomangles = CFrame.Angles(random, random, random)
- if r and r == 0 then
- return angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- elseif r and r == 1 then
- return math.rad((math.random() - 0.5) * 180)
- elseif r and r == 2 then
- return math.random(-50, 50)
- else
- return randomangles
- end
- end
- function round(num)
- local a, b = math.modf(num)
- if num % 1 ~= 0 then
- return math.floor(num) + math.floor(b * 10 + 0.5) / 10
- else
- return math.floor(num)
- end
- end
- function findCloseHumanoid(centre, distance)
- local tab = {}
- for _, child in pairs(game.Workspace:GetChildren()) do
- if child:findFirstChild("Humanoid") and child:findFirstChild("Humanoid") ~= Humanoid and child:findFirstChild("Torso") then
- local vtors = child.Torso
- local mag = math.abs((vtors.Position - centre).magnitude)
- if distance >= mag then
- table.insert(tab, child.Humanoid)
- end
- end
- end
- return tab
- end
- function basicDamage(vhum, damage, colour)
- if not vhum or not vhum.Parent:findFirstChild("Humanoid") or vhum.Health <= 0 then
- return
- end
- vhum.Health = vhum.Health - damage
- local damagepart = Instance.new("Part", Effects)
- damagepart.Transparency = 1
- damagepart.Anchored = true
- damagepart.CanCollide = false
- damagepart.Size = Vector3.new(1, 1, 1)
- damagepart.Name = "DamagePart"
- damagepart.CFrame = vhum.Parent.Head.CFrame * CFrame.new(0, 1, 0)
- local g = Instance.new("BillboardGui", damagepart)
- g.Enabled = true
- g.Adornee = damagepart
- g.Size = UDim2.new(5, 0, 5, 0)
- g.ExtentsOffset = Vector3.new(0, 0, 0)
- g.StudsOffset = Vector3.new(0, 0, 0)
- local t = Instance.new("TextLabel", g)
- t.BackgroundTransparency = 1
- t.Font = "ArialBold"
- t.TextSize = 24
- t.Text = "-" .. round(damage)
- if round(damage) % 1 == 0 then
- t.Text = "-" .. round(damage) .. ".0"
- end
- t.Size = UDim2.new(1, 0, 1, 0)
- t.TextStrokeTransparency = 0
- t.TextTransparency = 0
- t.TextScaled = true
- t.TextWrapped = true
- t.TextXAlignment = "Center"
- t.TextYAlignment = "Center"
- t.TextColor3 = colour
- coroutine.resume(coroutine.create(function()
- for i = 1, 50 do
- game:GetService("RunService").Heartbeat:wait()
- local sinewave = math.sin(i / 500) * 4
- damagepart.CFrame = damagepart.CFrame * CFrame.new(Vector3.new(0, 0.3 - sinewave, 0))
- t.TextTransparency = t.TextTransparency + 0.02
- t.TextStrokeTransparency = t.TextTransparency + 0.02
- end
- damagepart:Destroy()
- end), t)
- end
- function magic(type, thing)
- local magicBlock = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay, t)
- local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", "SmoothPlastic", cframe)
- local msh = mesh("BlockMesh", prt, nil, nil, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 8)
- if t == 1 or t == nil then
- table.insert(partEffects, {
- prt,
- "Block1",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- elseif t == 2 then
- table.insert(partEffects, {
- prt,
- "Block2",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- end
- local magicCylinder = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", cframe)
- local msh = mesh("CylinderMesh", prt, nil, nil, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 8)
- table.insert(partEffects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- local magicSphere = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", cframe)
- local msh = mesh("SpecialMesh", prt, "Sphere", nil, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 8)
- table.insert(partEffects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- local magicRing = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", cframe)
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "FileMesh", 3270017, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 2)
- coroutine.resume(coroutine.create(function(Part, Mesh, num)
- for i = 0, 1, delay do
- swait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
- end
- Part.Parent = nil
- end), prt, msh, (math.random(0, 1) + math.random()) / 5)
- end
- local magicSlash = function(par, brick, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = newPart(par, brick, 0, true, false, Vector3.new(), "Part", cframe)
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("SpecialMesh", prt, "FileMesh", 20329976, Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 2)
- coroutine.resume(coroutine.create(function(Part, Mesh, num)
- for i = 0, 1, delay do
- swait()
- Part.Transparency = i
- Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
- end
- Part:Destroy()
- end), prt, msh, (math.random(0, 1) + math.random()) / 5)
- end
- local par = thing[1]
- local brick = thing[2]
- local cframe = thing[3]
- local x1 = thing[4]
- local y1 = thing[5]
- local z1 = thing[6]
- local x3 = thing[7]
- local y3 = thing[8]
- local z3 = thing[9]
- local delay = thing[10]
- local t = thing[11]
- if type == "Block" or type == 1 then
- magicBlock(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
- elseif type == "Cylinder" or type == 2 then
- magicCylinder(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
- elseif type == "Sphere" or type == 3 then
- magicSphere(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
- elseif type == "Ring" or type == 4 then
- magicRing(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
- elseif type == "Slash" or type == 5 then
- magicSlash(thing[1], thing[2], thing[3], thing[4], thing[5], thing[6], thing[7], thing[8], thing[9], thing[10], thing[11])
- end
- end
- function newFrame(par, bg, transp, size, pos, name)
- local f = Instance.new("Frame", nil)
- f.BackgroundColor3 = bg
- f.BackgroundTransparency = transp
- f.BorderSizePixel = 0
- f.Position = pos
- f.Size = size
- f.Name = name
- f.Parent = par
- return f
- end
- function newLabel(par, size, pos, text, textsize, text3, textstroke3, scaled, name)
- local l = Instance.new("TextLabel", nil)
- l.BackgroundTransparency = 1
- l.Size = size
- l.Position = pos
- l.Text = text
- l.TextSize = textsize
- l.TextColor3 = text3
- l.TextStrokeColor3 = textstroke3
- if scaled then
- l.TextScaled = scaled
- else
- l.TextScaled = true
- end
- l.TextStrokeTransparency = 0
- l.Name = name
- l.Parent = par
- return l
- end
- a1t = "Goodbye"
- a2t = "Astral Blast"
- a3t = "Rainbow Jet"
- a4t = "Pixie Dust"
- backc3 = c3(163, 163, 163)
- reloc3 = BrickColor.new("Sea green").Color
- g = Instance.new("ScreenGui")
- f1 = newFrame(g, backc3, 0.5, UDim2.new(0.18, 0, 0.08, 0), UDim2.new(0.8, 0, 0.85, 0), "")
- f2 = newFrame(g, backc3, 0.5, UDim2.new(0.18, 0, 0.08, 0), UDim2.new(0.8, 0, 0.76, 0), "")
- f3 = newFrame(g, backc3, 0.5, UDim2.new(0.18, 0, 0.08, 0), UDim2.new(0.8, 0, 0.67, 0), "")
- f4 = newFrame(g, backc3, 0.5, UDim2.new(0.18, 0, 0.08, 0), UDim2.new(0.8, 0, 0.58, 0), "")
- newFrame(f1, reloc3, 0, UDim2.new(1.002, 0, 1.002, 0), UDim2.new(0, 0, 0, 0), "Reload")
- newFrame(f2, reloc3, 0, UDim2.new(1.002, 0, 1.002, 0), UDim2.new(0, 0, 0, 0), "Reload")
- newFrame(f3, reloc3, 0, UDim2.new(1.002, 0, 1.002, 0), UDim2.new(0, 0, 0, 0), "Reload")
- newFrame(f4, reloc3, 0, UDim2.new(1.002, 0, 1.002, 0), UDim2.new(0, 0, 0, 0), "Reload")
- 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")
- 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")
- 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")
- 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")
- 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")
- 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")
- 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")
- 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")
- g.Parent = Player.PlayerGui
- Reload = {}
- Reload[1] = f1.Reload
- Reload[2] = f2.Reload
- Reload[3] = f3.Reload
- Reload[4] = f4.Reload
- weapon = Instance.new("Model", Character)
- p0 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p0, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
- p1 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p1, nil, nil, Vector3.new(0, 0, 0), Vector3.new(3.20006061, 1.00001276, 0.900012672))
- p2 = newPart(weapon, BrickColor.new("Steel blue"), 1, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Handle")
- mesh("BlockMesh", p2, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.800007403, 1.00000715, 0.800005436))
- p3 = newPart(weapon, BrickColor.new("Sea green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p3, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
- p4 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p4, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840741, 0.16384086, 0.655362427))
- p5 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p5, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
- p6 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p6, nil, nil, Vector3.new(0, 0, 0), Vector3.new(5.15009165, 0.450000495, 5.05007219))
- p7 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p7, nil, nil, Vector3.new(0, 0, 0), Vector3.new(3.20006013, 1.45001948, 0.900012672))
- p8 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p8, nil, nil, Vector3.new(0, 0, 0), Vector3.new(5.10004807, 1.00000703, 5.10003614))
- p9 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p9, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.450001657, 5.05002356, 5.05001783))
- p10 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p10, nil, nil, Vector3.new(0, 0, 0), Vector3.new(5.10004807, 1.00000703, 5.10003614))
- p11 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p11, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.899998009, 3.80000043, 1.05000365))
- p12 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p12, nil, nil, Vector3.new(0, 0, 0), Vector3.new(3.05005431, 0.450003177, 5.05007219))
- p13 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p13, nil, nil, Vector3.new(0, 0, 0), Vector3.new(3.20006013, 1.35001779, 0.900012672))
- p14 = newPart(weapon, BrickColor.new("Lily white"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p14, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 0.327681214))
- p15 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p15, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 0.655362427))
- p16 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p16, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.899998188, 3.80000138, 1.05000353))
- p17 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p17, nil, nil, Vector3.new(0, 0, 0), Vector3.new(3.05005288, 0.450004637, 5.05007792))
- p18 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p18, nil, nil, Vector3.new(0, 0, 0), Vector3.new(3.20005512, 0.450004339, 5.05007792))
- p19 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p19, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.89999795, 3.80000043, 1.05000246))
- p20 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p20, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.89999795, 3.80000043, 1.05000246))
- p21 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p21, nil, nil, Vector3.new(0, 0, 0), Vector3.new(3.20006013, 1.80002415, 0.900012672))
- p22 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p22, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840562, 0.163840637, 1.63840604))
- p23 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p23, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840666, 0.983043671))
- p24 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p24, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
- p25 = newPart(weapon, BrickColor.new("Lily white"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p25, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
- p26 = newPart(weapon, BrickColor.new("Sea green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p26, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
- p27 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p27, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.491522163, 0.163841024, 0.163840607))
- p28 = newPart(weapon, BrickColor.new("Dark green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p28, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
- p29 = newPart(weapon, BrickColor.new("Sea green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p29, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
- p30 = newPart(weapon, BrickColor.new("Dark green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p30, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
- p31 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p31, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840756, 0.163840875, 0.163840637))
- p32 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p32, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.491521955, 0.163840458, 0.163840607))
- p33 = newPart(weapon, BrickColor.new("Dark green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p33, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
- p34 = newPart(weapon, BrickColor.new("Dark green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p34, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
- p35 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p35, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840756, 0.163840875, 0.163840637))
- p36 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p36, nil, nil, Vector3.new(0, 0, 0), Vector3.new(3.20003057, 1.00000703, 5.10003614))
- p37 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p37, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 0.655362427))
- p38 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p38, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
- p39 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p39, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 0.655362427))
- p40 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p40, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840741, 0.16384086, 0.655362427))
- p41 = newPart(weapon, BrickColor.new("Dark green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p41, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
- p42 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p42, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.327681214, 0.163840562, 0.163840592))
- p43 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p43, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840562, 0.163840637, 1.63840604))
- p44 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p44, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 0.491521835))
- p45 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p45, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840562, 0.163840652, 0.819203019))
- p46 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p46, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 1.47456539))
- p47 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p47, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 0.327681214))
- p48 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p48, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840592, 0.163840652, 1.1468842))
- p49 = newPart(weapon, BrickColor.new("Lily white"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p49, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 0.327681214))
- p50 = newPart(weapon, BrickColor.new("Dark green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p50, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
- p51 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p51, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.327681214, 0.163840562, 0.163840592))
- p52 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p52, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
- p53 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p53, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840666, 0.983043671))
- p54 = newPart(weapon, BrickColor.new("Sea green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p54, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
- p55 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p55, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
- p56 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p56, nil, nil, Vector3.new(0, 0, 0), Vector3.new(5.10004807, 0.950006843, 5.10003614))
- p57 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p57, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
- p58 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p58, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.327681452, 0.16384095, 0.163840637))
- p59 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p59, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840756, 0.163840875, 0.163840637))
- p60 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p60, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.450001657, 5.05002356, 5.05001783))
- p61 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p61, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840756, 0.163840875, 0.163840637))
- p62 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p62, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840756, 0.163840875, 0.163840637))
- p63 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p63, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.899998009, 3.80000043, 1.05000365))
- p64 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p64, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.899998188, 3.80000138, 1.05000353))
- p65 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p65, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840756, 0.163840875, 0.163840637))
- p66 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p66, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.750013411, 1.90002728, 5.10007906))
- p67 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p67, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.750007153, 1.9000138, 5.10003614))
- p68 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p68, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.750013411, 1.90002728, 5.10007906))
- p69 = newPart(weapon, BrickColor.new("Sea green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p69, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
- p70 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p70, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
- p71 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p71, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840756, 0.163840875, 0.163840637))
- p72 = newPart(weapon, BrickColor.new("Dark green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p72, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
- p73 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p73, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840756, 0.163840875, 0.163840637))
- p74 = newPart(weapon, BrickColor.new("Sea green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p74, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
- p75 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p75, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.750007153, 1.9000138, 5.10003614))
- p76 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p76, nil, nil, Vector3.new(0, 0, 0), Vector3.new(1.05001843, 0.450005502, 5.05007219))
- p77 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p77, nil, nil, Vector3.new(0, 0, 0), Vector3.new(5.15004969, 0.450003207, 5.25003862))
- p78 = newPart(weapon, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p78, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840637, 0.163840607))
- p79 = newPart(weapon, BrickColor.new("Sea green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p79, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 0.327681214))
- p80 = newPart(weapon, BrickColor.new("Bright green"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p80, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.163840577, 0.163840652, 0.327681214))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- local handleweld = weld(RightArm, p2, RightArm, CFrame.new(0, 0.2, 0), CFrame.Angles(0, -math.rad(180), 0))
- local currshoulder = Instance.new("Model", Character)
- currshoulder.Name = "Collar thing"
- for i = 1, 2 do
- p0 = newPart(currshoulder, BrickColor.new("Black"), 1, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Handle")
- mesh("BlockMesh", p0, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.850000024, 0.74999994, 1.04999971))
- p1 = newPart(currshoulder, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p1, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.900000036, 5.35000038, 1.05000019))
- p2 = newPart(currshoulder, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p2, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.900000036, 5.35000038, 1.05000019))
- p3 = newPart(currshoulder, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p3, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.900000036, 5.34999943, 1.04999948))
- p4 = newPart(currshoulder, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p4, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.900000036, 5.34999943, 1.04999948))
- p5 = newPart(currshoulder, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p5, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.900000095, 5.35000086, 1.05000007))
- p6 = newPart(currshoulder, BrickColor.new("Black"), 0, false, false, Vector3.new(0.200000003, 0.200000003, 0.200000003), "Block")
- mesh("BlockMesh", p6, nil, nil, Vector3.new(0, 0, 0), Vector3.new(0.799999654, 5.35000038, 1.04999971))
- 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))
- 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))
- 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))
- 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))
- 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))
- 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))
- if i == 1 then
- local weld1 = weld(Torso, p0, Torso, CFrame.new(0.95, -1.5, 0))
- elseif i == 2 then
- local weld2 = weld(Torso, p0, Torso, CFrame.new(0.95, -1.5, 0) * CFrame.Angles(0, math.rad(180), 0))
- end
- end
- function mouse1d()
- if tool.Active == false then
- return
- end
- if attacking == false and attackcounter == 1 then
- attackcounter = 2
- attacking = true
- for i = 0, 1, 0.1 do
- swait()
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(15), 0, math.rad(75)), 0.3)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, math.rad(-75)), 0.3)
- 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)
- 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)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(105), 0), 0.3)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(0), -math.rad(75), 0), 0.3)
- end
- for i = 0, 1, 0.1 do
- swait()
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(15), 0, math.rad(-80)), 0.3)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(10), 0, math.rad(80)), 0.3)
- 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)
- 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)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(75), 0), 0.3)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(0), -math.rad(105), 0), 0.3)
- end
- attacking = false
- elseif attacking == false and attackcounter == 2 then
- attackcounter = 3
- elseif attacking == false and attackcounter == 3 then
- attackcounter = 1
- attacking = true
- for i = 0, 1, 0.1 do
- swait()
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-23), 0, 0), 0.3)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(-25), 0, 0), 0.3)
- 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)
- 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)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-15), math.rad(90), 0), 0.3)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(-10), -math.rad(90), 0), 0.3)
- end
- for i = 0, 1, 0.1 do
- swait()
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(30), 0, 0), 0.3)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(45), 0, 0), 0.3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(-math.rad(30), 0, math.rad(12)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-math.rad(30), 0, -math.rad(12)), 0.3)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(30), math.rad(90), 0), 0.3)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(45), -math.rad(90), 0), 0.3)
- end
- attacking = false
- end
- end
- backwards = false
- side = false
- forwards = false
- RainbowColors = {
- BrickColor.new("Bright red"),
- BrickColor.new("Bright orange"),
- BrickColor.new("Bright yellow"),
- BrickColor.new("Bright green"),
- BrickColor.new("Bright blue"),
- BrickColor.new("Lilac"),
- BrickColor.new("Bright violet")
- }
- function astralblast()
- if Goodbye == false then
- attacking = true
- local origincf = RootPart.CFrame * CFrame.new(0, 0, -35)
- local nncount = 0
- for i = 0, 2, 0.05 do
- swait()
- nncount = nncount + 1
- if nncount % 2 == 0 then
- if nncount % 6 == 0 then
- local soundref = newPart(Effects, BrickColor.White(), 1, true, false, Vector3.new(), "sound")
- soundref.CFrame = origincf
- sound(sounds[3][1], soundref, 1, 3, 1)
- game.Debris:AddItem(soundref, 3)
- end
- for i = 1, 7 do
- local blast = newPart(Effects, RainbowColors[i], 0.2, true, false, Vector3.new(), "Neon")
- blast.CFrame = origincf * randomangles()
- mesh("BlockMesh", blast, nil, nil, Vector3.new(), Vector3.new(6 * i, 6 * i, 6 * i)).Name = "Mesh"
- if i < 4 then
- blast.Mesh.Scale = Vector3.new(10, 10, 10)
- end
- table.insert(partEffects, {
- blast,
- "Block1",
- 0.05,
- i > 1 and i * 2 or 0,
- i > 1 and i * 2 or 0,
- i > 1 and i * 2 or 0
- })
- end
- if nncount % 8 == 0 then
- local hums = findCloseHumanoid(origincf.p, 40)
- for u = 1, #hums do
- basicDamage(hums[u], 5, RainbowColors[math.random(5, 7)].Color)
- local bv = Instance.new("BodyVelocity", hums[u].Parent.Torso)
- bv.Velocity = origincf.p - hums[u].Parent.Torso.Position.unit * -20 + Vector3.new(0, 4, 0)
- bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- game.Debris:AddItem(bv, 0.3)
- end
- end
- end
- for i = 1, 3 do
- local mb = newPart(Effects, RainbowColors[math.random(1, #RainbowColors)], 0, true, false, Vector3.new(), "Part")
- 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))
- local mbmesh = mesh("BlockMesh", mb, nil, nil, Vector3.new(), Vector3.new(5, 5, 5))
- table.insert(partEffects, {
- mb,
- "Block1",
- 0.05,
- -0.2,
- -0.2,
- -0.2,
- mb.Mesh
- })
- local mb = newPart(Effects, RainbowColors[math.random(1, #RainbowColors)], 0, true, false, Vector3.new(), "Part")
- 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))
- local mbmesh = mesh("BlockMesh", mb, nil, nil, Vector3.new(), Vector3.new(5, 5, 5))
- table.insert(partEffects, {
- mb,
- "Block1",
- 0.05,
- -0.2,
- -0.2,
- -0.2,
- mb.Mesh
- })
- end
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(20), 0, math.rad(0)), 0.2)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, math.rad(0)), 0.2)
- 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)
- 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)
- 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)
- 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)
- end
- attacking = false
- elseif Goodbye == true then
- attacking = true
- for i = 0, 1, 0.05 do
- swait()
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(25), math.rad(0), math.rad(0)), 0.2)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -1.5) * CFrame.Angles(math.rad(35), 0, math.rad(0)), 0.2)
- 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)
- 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)
- RH.C0 = clerp(RH.C0, CFrame.new(1, 0, -1) * CFrame.Angles(math.rad(-15), math.rad(90), 0), 0.2)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, -0.5) * CFrame.Angles(math.rad(-50), -math.rad(90), 0), 0.2)
- end
- do
- local sugars = {}
- thread(function()
- for i = 1, 15 do
- for i = 1, 2 do
- 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")
- sugarpart.CFrame = RootPart.CFrame * CFrame.new(0, 0, -10)
- sugarpart.Velocity = RootPart.CFrame.lookVector * 75 + Vector3.new(math.random(-25, 25), math.random(25, 125), math.random(-25, 25))
- mesh("BlockMesh", sugarpart, nil, nil, Vector3.new(), Vector3.new(1, 1, 1))
- table.insert(sugars, sugarpart)
- end
- swait()
- end
- wait(2)
- for i, v in pairs(sugars) do
- delay(math.random() * 2, function()
- local soundref = newPart(Effects, BrickColor.White(), 1, true, false, Vector3.new(), "sound")
- soundref.CFrame = RootPart.CFrame
- sound(sounds[3][3], soundref, 0.2, 3, 2)
- game.Debris:AddItem(soundref, 3.1)
- local hums = findCloseHumanoid(v.Position, 15)
- for u = 1, #hums do
- basicDamage(hums[u], 5, BrickColor.new("White").Color)
- local bv = Instance.new("BodyVelocity", hums[u].Parent.Torso)
- bv.Velocity = v.Position - hums[u].Parent.Torso.Position.unit * -30 + Vector3.new(0, 5, 0)
- bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- game.Debris:AddItem(bv, 0.2)
- end
- table.insert(partEffects, {
- v,
- "Block1",
- 0.05,
- 0.1,
- 0.1,
- 0.1,
- v.Mesh
- })
- end)
- end
- end)
- for i = 0, 1, 0.05 do
- swait()
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(15), 0, 0), 0.2)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(-10), 0, 0), 0.2)
- 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)
- 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)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-15), math.rad(90), 0), 0.2)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(-10), -math.rad(90), 0), 0.2)
- end
- attacking = false
- end
- end
- end
- zdown = false
- function hello()
- if Goodbye == false then
- attacking = true
- Humanoid.WalkSpeed = 0.01
- local stars = {}
- local mousehitp = mouse.Hit.p
- local mousehit = mouse.Hit
- local sounda = sound(sounds[2][7], Character.Head, 1, 4, 2)
- game.Debris:AddItem(sounda, 5)
- for i = 0, 1, 0.075 do
- swait()
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(20), 0, math.rad(-15)), 0.2)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, math.rad(15)), 0.2)
- 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)
- 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)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(75), 0), 0.2)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(0), -math.rad(105), 0), 0.2)
- end
- local ncount = -1
- local stoppos, stophum
- local ceilicount = 0
- if zdown == true then
- repeat
- swait()
- ncount = ncount + 1
- local originpos = RightArm.Position + Vector3.new(0, 3, 0)
- ceilicount = ceilicount + 1
- if ceilicount > #RainbowColors then
- ceilicount = 1
- end
- local currcolor = RainbowColors[ceilicount]
- if ncount % 5 == 0 then
- local blast = newPart(Effects, currcolor, 0.2, true, false, Vector3.new(), "Neon")
- blast.CFrame = CFrame.new(originpos) * randomangles()
- mesh("BlockMesh", blast, nil, nil, Vector3.new(), Vector3.new(8, 8, 8)).Name = "Mesh"
- table.insert(partEffects, {
- blast,
- "Block1",
- 0.05,
- 0.1,
- 0.1,
- 0.1
- })
- local blast = newPart(Effects, BrickColor.new("Sea green"), 0, true, false, Vector3.new(), "Neon")
- blast.CFrame = CFrame.new(originpos) * randomangles()
- mesh("BlockMesh", blast, nil, nil, Vector3.new(), Vector3.new(4, 4, 4)).Name = "Mesh"
- table.insert(partEffects, {
- blast,
- "Block1",
- 0.05,
- 0.1,
- 0.1,
- 0.1
- })
- end
- if ncount % 15 == 0 then
- mousehitp = mouse.Hit.p
- local unit = originpos - mousehitp.unit
- local mid = (originpos + mousehitp) / 2
- local mag = originpos - mousehitp.magnitude
- local hit, pos = rayCast(originpos, -unit, 99999, Character)
- local hithum
- if hit then
- hithum = hit.Parent:findFirstChildOfClass("Humanoid")
- else
- hithum = nil
- end
- local rayref = newPart(Effects, BrickColor.new("Sea green"), 0, true, false, Vector3.new(), "ref")
- if hithum then
- rayref.Material = "Neon"
- end
- rayref.CFrame = CFrame.new(mid, mid - unit)
- local raymesh = mesh("BlockMesh", rayref, nil, nil, Vector3.new(0, 0, 0), Vector3.new(1, 1, mag * 5))
- table.insert(partEffects, {
- rayref,
- "Block2",
- 0.05,
- 0,
- 0,
- 0,
- rayref.Mesh
- })
- stoppos = mousehitp
- stophum = hithum
- local sounda = sound(sounds[4][2], Character.Head, 0.5, 4, not stophum and 8 or 10)
- game.Debris:AddItem(sounda, 5)
- end
- until zdown == false
- end
- if stophum then
- AttackHas[1] = 0
- local hittorso = stophum.Parent:findFirstChild("Torso")
- if hittorso then
- local bp = Instance.new("BodyPosition", hittorso)
- bp.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- bp.Position = RootPart.CFrame * CFrame.new(0, 0, 5).p
- game.Debris:AddItem(bp, 0.8)
- local sounda = sound(sounds[2][6], Character.Head, 1, 4, 1)
- game.Debris:AddItem(sounda, 5)
- end
- elseif stophum == nil then
- AttackHas[1] = AttackHas[1] - 0.5
- local sounda = sound(sounds[1][8], Character.Head, 1, 4, 1)
- game.Debris:AddItem(sounda, 5)
- end
- local lcount = 0
- stars = stophum and 0.05 or 0.1
- for i = 0, 1.5, 0.1 do
- lcount = lcount + 1
- if stophum and stophum.Parent:findFirstChild("Torso") then
- if lcount > 3 then
- if lcount % 6 == 0 then
- basicDamage(stophum, 4, stophum.Parent.Torso.BrickColor.Color)
- end
- elseif i == 0.1 then
- basicDamage(stophum, 5, BrickColor.new("Sea green").Color)
- end
- for i = 1, 2 do
- local mb = newPart(Effects, RainbowColors[math.random(1, #RainbowColors)], 0, true, false, Vector3.new(), "Part")
- mb.CFrame = stophum.Parent.Torso.CFrame * CFrame.new(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5))
- local mbmesh = mesh("BlockMesh", mb, nil, nil, Vector3.new(), Vector3.new(5, 5, 5))
- table.insert(partEffects, {
- mb,
- "Block1",
- 0.05,
- -0.2,
- -0.2,
- -0.2,
- mb.Mesh
- })
- end
- end
- swait()
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(20), 0, math.rad(75)), 0.2)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, math.rad(-75)), 0.2)
- 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)
- 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)
- 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)
- 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)
- end
- Humanoid.WalkSpeed = 16
- attacking = false
- elseif Goodbye == true then
- attacking = true
- attacking = false
- end
- end
- function rainbowroad()
- if Goodbye == false then
- attacking = true
- AttackHas[3] = 0
- Humanoid.WalkSpeed = 0.01
- local currcolor
- for i = 0, 1, 0.05 do
- swait()
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-12), math.rad(-12), math.rad(75)), 0.2)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -1) * CFrame.Angles(math.rad(25), 0, math.rad(-75)), 0.2)
- 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)
- 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)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(100), 0), 0.2)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, 0, 0) * CFrame.Angles(math.rad(0), -math.rad(30), 0), 0.2)
- end
- local soundref = newPart(Effects, BrickColor.White(), 1, true, false, Vector3.new(), "sound")
- soundref.CFrame = RootPart.CFrame
- sound(sounds[3][2], soundref, 1, 4, 1)
- game.Debris:AddItem(soundref, 6)
- for i = 0, 2.4, 0.05 do
- swait()
- RootPart.Velocity = RootPart.CFrame.lookVector * 60
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-15), 0, math.rad(0)), 0.1)
- 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)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, math.rad(12)), 0.2)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 1.5, 0) * CFrame.Angles(math.rad(170), 0, -math.rad(12)), 0.2)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.2)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.2)
- local ceili = math.ceil(i * 10) + 1
- for i = 1, 5 do
- if ceili > #RainbowColors then
- ceili = ceili - #RainbowColors
- end
- end
- currcolor = RainbowColors[ceili]
- if math.floor(i * 10) % 2 == 0 then
- local hums = findCloseHumanoid(Torso.Position, 16)
- for u = 1, #hums do
- basicDamage(hums[u], 1, currcolor.Color)
- end
- end
- if math.floor(i * 10) % 1 == 0 then
- if 3 >= i * 10 then
- local blast = newPart(Effects, currcolor, 0.2, true, false, Vector3.new(), "Neon")
- blast.CFrame = RootPart.CFrame * CFrame.new(0, 0, 5) * randomangles()
- mesh("BlockMesh", blast, nil, nil, Vector3.new(), Vector3.new(40, 40, 40)).Name = "Mesh"
- table.insert(partEffects, {
- blast,
- "Block1",
- 0.02,
- 3,
- 3,
- 3,
- blast.Mesh
- })
- if 0.5 > i * 10 then
- local hums = findCloseHumanoid(Torso.Position, 20)
- for u = 1, #hums do
- basicDamage(hums[u], 5, currcolor.Color)
- local bv = Instance.new("BodyVelocity", hums[u].Parent.Torso)
- bv.Velocity = RootPart.Position - hums[u].Parent.Torso.Position.unit * -30 + Vector3.new(0, 2, 0)
- bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- game.Debris:AddItem(bv, 0.8)
- end
- end
- else
- local blast = newPart(Effects, currcolor, 0, true, false, Vector3.new(), "Neon")
- blast.CFrame = RootPart.CFrame * CFrame.new(0, 0, 5) * randomangles()
- mesh("BlockMesh", blast, nil, nil, Vector3.new(), Vector3.new(20, 20, 20))
- table.insert(partEffects, {
- blast,
- "Block2",
- 0.02,
- 3,
- 3,
- 3,
- blast.Mesh
- })
- end
- end
- end
- local stopdir = RootPart.CFrame.lookVector
- for i = 0, 2, 0.05 do
- swait()
- RootPart.Velocity = stopdir * 30
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-50)), 0.2)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -1.3) * CFrame.Angles(math.rad(25), 0, math.rad(50)), 0.1)
- 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)
- 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)
- 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)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, 0, 0) * CFrame.Angles(math.rad(0), -math.rad(30), 0), 0.2)
- end
- Humanoid.WalkSpeed = 16
- attacking = false
- elseif Goodbye == true then
- attacking = true
- Humanoid.WalkSpeed = 0.01
- for i = 0, 1, 0.05 do
- swait()
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-15), 0, math.rad(10)), 0.2)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -1) * CFrame.Angles(math.rad(25), 0, math.rad(-10)), 0.2)
- 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)
- 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)
- RH.C0 = clerp(RH.C0, CFrame.new(1, 0, -0.8) * CFrame.Angles(math.rad(0), math.rad(80), 0), 0.2)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.6, 0) * CFrame.Angles(0, -math.rad(100), math.rad(25)), 0.2)
- end
- local normcount = 0
- local ceili = 0
- repeat
- swait()
- RootPart.Velocity = RootPart.CFrame.lookVector * 60
- AttackHas[3] = AttackHas[3] - 0.0075
- if normcount % 40 < 20 then
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-15), 0, math.rad(-10)), 0.2)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.7) * CFrame.Angles(math.rad(25), 0, math.rad(10)), 0.2)
- 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)
- 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)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -0.9, 0) * CFrame.Angles(math.rad(0), math.rad(80), math.rad(-25)), 0.2)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.3, -0.8) * CFrame.Angles(0, -math.rad(100), math.rad(0)), 0.2)
- else
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-15), 0, math.rad(10)), 0.2)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.7) * CFrame.Angles(math.rad(25), 0, math.rad(-10)), 0.2)
- 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)
- 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)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -0.3, -0.8) * CFrame.Angles(math.rad(0), math.rad(80), 0), 0.2)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.9, 0) * CFrame.Angles(0, -math.rad(100), math.rad(25)), 0.2)
- end
- normcount = normcount + 1
- until cdown == false or AttackHas[3] <= 0
- Humanoid.WalkSpeed = 16
- attacking = false
- end
- end
- function key(k)
- if tool.Active == false then
- return
- end
- k = k:lower()
- if attacking == false and k == "z" and AttackHas[1] >= AttackNeeded[1] then
- zdown = true
- AttackCan[1] = false
- hello()
- AttackCan[1] = true
- elseif attacking == false and k == "x" and AttackHas[2] >= AttackNeeded[2] then
- AttackHas[2] = 0
- AttackCan[2] = false
- astralblast()
- AttackCan[2] = true
- elseif attacking == false and k == "c" and AttackHas[3] >= AttackNeeded[3] then
- cdown = true
- AttackCan[3] = false
- rainbowroad()
- AttackCan[3] = true
- elseif attacking == false and k == "v" and AttackHas[4] >= AttackNeeded[4] then
- AttackHas[4] = 0
- if Goodbye == true then
- Goodbye = false
- f1.Reload.BackgroundColor3 = BrickColor.new("Sea green").Color
- f2.Reload.BackgroundColor3 = BrickColor.new("Sea green").Color
- f3.Reload.BackgroundColor3 = BrickColor.new("Sea green").Color
- f4.Reload.BackgroundColor3 = BrickColor.new("Sea green").Color
- f1.Label.Text = "Pixie Dust"
- f2.Label.Text = "Astral Blast"
- f3.Label.Text = "Rainbow Jet"
- f4.Label.Text = "Goodbye"
- local weaponparts = weapon:GetChildren()
- for i = 1, #weaponparts do
- local part = weaponparts[i]
- if part:IsA("Part") then
- if part.BrickColor == BrickColor.new("Pink") then
- part.BrickColor = BrickColor.new("Bright green")
- elseif part.BrickColor == BrickColor.new("Hot pink") then
- part.BrickColor = BrickColor.new("Dark green")
- elseif part.BrickColor == BrickColor.new("Carnation pink") then
- part.BrickColor = BrickColor.new("Sea green")
- end
- end
- end
- elseif Goodbye == false then
- Goodbye = true
- f1.Reload.BackgroundColor3 = BrickColor.new("Pink").Color
- f2.Reload.BackgroundColor3 = BrickColor.new("Pink").Color
- f3.Reload.BackgroundColor3 = BrickColor.new("Pink").Color
- f4.Reload.BackgroundColor3 = BrickColor.new("Pink").Color
- f1.Label.Text = "Chipland"
- f2.Label.Text = "Sugar Rush"
- f3.Label.Text = "Rainbow Road"
- f4.Label.Text = "Hello"
- local weaponparts = weapon:GetChildren()
- for i = 1, #weaponparts do
- local part = weaponparts[i]
- if part:IsA("Part") then
- if part.BrickColor == BrickColor.new("Bright green") then
- part.BrickColor = BrickColor.new("Pink")
- elseif part.BrickColor == BrickColor.new("Dark green") then
- part.BrickColor = BrickColor.new("Hot pink")
- elseif part.BrickColor == BrickColor.new("Sea green") then
- part.BrickColor = BrickColor.new("Carnation pink")
- end
- end
- end
- end
- end
- end
- mouse.Button1Down:connect(mouse1d)
- mouse.KeyDown:connect(key)
- function keyup(key)
- if key == "z" and zdown ~= false then
- zdown = false
- end
- if key == "c" and cdown ~= false then
- cdown = false
- end
- end
- mouse.KeyUp:connect(keyup)
- thread(function()
- while true do
- swait()
- torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
- sine = sine + 1
- if AttackHas[1] < AttackNeeded[1] and AttackCan[1] == true then
- AttackHas[1] = AttackHas[1] + 0.03
- end
- if AttackHas[2] < AttackNeeded[2] and AttackCan[2] == true then
- AttackHas[2] = AttackHas[2] + 0.03
- end
- if AttackHas[3] < AttackNeeded[3] and AttackCan[3] == true then
- AttackHas[3] = AttackHas[3] + 0.03
- end
- if AttackHas[4] < AttackNeeded[4] and AttackCan[4] == true then
- AttackHas[4] = AttackHas[4] + 0.03
- end
- normcount = normcount + 1
- local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local rotvel = RootPart.RotVelocity.Y
- local localkey = function(key)
- if key == "w" then
- forwards = true
- else
- if key ~= "a" then
- end
- side = true
- do return end
- if key == "s" then
- backwards = true
- end
- end
- end
- local localkey2 = function(key)
- if key == "w" then
- forwards = false
- else
- if key ~= "a" then
- end
- side = false
- do return end
- if key == "s" then
- backwards = false
- end
- end
- end
- mouse.KeyDown:connect(localkey)
- mouse.KeyUp:connect(localkey2)
- Reload[1]:TweenSize(UDim2.new(AttackHas[1] / AttackNeeded[1], 0, 1, 0), nil, 1, 0.4)
- Reload[2]:TweenSize(UDim2.new(AttackHas[2] / AttackNeeded[2], 0, 1, 0), nil, 1, 0.4)
- Reload[3]:TweenSize(UDim2.new(AttackHas[3] / AttackNeeded[3], 0, 1, 0), nil, 1, 0.4)
- Reload[4]:TweenSize(UDim2.new(AttackHas[4] / AttackNeeded[4], 0, 1, 0), nil, 1, 0.4)
- if 1 < RootPart.Velocity.y and hitfloor == nil then
- if attacking == false then
- Anim = "Jump"
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(-15), 0, math.rad(0)), 0.1)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, math.rad(12)), 0.2)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, -math.rad(12)), 0.2)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, 0), 0.2)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-12), math.rad(90), 0), 0.2)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(12), -math.rad(90), 0), 0.2)
- end
- elseif RootPart.Velocity.y < -1 and hitfloor == nil then
- if attacking == false then
- Anim = "Fall"
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(23), 0, 0), 0.2)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(0, 0, 0), 0.2)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, math.rad(12)), 0.2)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(-math.rad(17), 0, -math.rad(12)), 0.2)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0), 0.2)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(24), math.rad(90), 0), 0.2)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(math.rad(-12), -math.rad(90), 0), 0.2)
- end
- elseif torvel < 1 and hitfloor ~= nil then
- if attacking == false then
- Anim = "Idle"
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(5), 0, math.rad(15)), 0.1)
- 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)
- 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)
- 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)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2)
- 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)
- 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)
- end
- elseif torvel > 2 and hitfloor ~= nil and attacking == false then
- Anim = "Walk"
- if forwards then
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(25) + math.rad(rotvel * 4)), 0.1)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(15), math.rad(rotvel * 1), math.rad(-25)), 0.1)
- 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)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2)
- 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)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.cos(normcount * 1 / 6), math.rad(96.25), 0), 0.2)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(-math.cos(normcount * 1 / 6), -math.rad(77.5), 0), 0.2)
- elseif not backwards or not side then
- Neck.C0 = clerp(Neck.C0, NeckCF * CFrame.Angles(math.rad(0), math.rad(0), math.rad(5) + math.rad(rotvel * 4)), 0.1)
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.Angles(math.rad(5), math.rad(rotvel * 1), math.rad(-5)), 0.1)
- 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)
- RW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2)
- 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)
- LW.C1 = clerp(LW.C1, CFrame.new(0, 0.5, 0), 0.2)
- RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.cos(normcount * 1 / 6), math.rad(92.5), 0), 0.2)
- LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * CFrame.Angles(-math.cos(normcount * 1 / 6), -math.rad(87.5), 0), 0.2)
- end
- end
- if 0 < #partEffects then
- for e = 1, #partEffects do
- if partEffects[e] ~= nil then
- local Thing = partEffects[e]
- if Thing ~= nil then
- local Part = Thing[1]
- local Mode = Thing[2]
- local Delay = Thing[3]
- local IncX = Thing[4]
- local IncY = Thing[5]
- local IncZ = Thing[6]
- if 1 >= Thing[1].Transparency then
- if Thing[2] == "Block1" then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- local Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Block2" then
- Thing[1].CFrame = Thing[1].CFrame
- local Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Cylinder" then
- local Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Blood" then
- local Mesh = Thing[7]
- Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Elec" then
- local Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Disappear" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Shatter" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
- Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
- Thing[6] = Thing[6] + Thing[5]
- end
- else
- Part:Destroy()
- table.remove(partEffects, e)
- end
- end
- end
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement