Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Crimson Pistol by Ph0sphoria
- Player = game.Players.LocalPlayer
- Character = Player.Character
- PlayerGui = Player.PlayerGui
- Backpack = Player.Backpack
- Torso = Character.Torso
- Head = Character.Head
- Humanoid = Character.Humanoid
- LeftArm = Character["Left Arm"]
- LeftLeg = Character["Left Leg"]
- RightArm = Character["Right Arm"]
- RightLeg = Character["Right Leg"]
- PlayerGui = Player.PlayerGui
- Backpack = Player.Backpack
- Torso = Character.Torso
- Head = Character.Head
- Humanoid = Character.Humanoid
- LeftArm = Character["Left Arm"]
- LeftLeg = Character["Left Leg"]
- RightArm = Character["Right Arm"]
- RightLeg = Character["Right Leg"]
- LS = Torso["Left Shoulder"]
- RS = Torso["Right Shoulder"]
- Neck = Torso.Neck
- attacktype = 1
- vt = Vector3.new
- cf = CFrame.new
- euler = CFrame.fromEulerAnglesXYZ
- angles = CFrame.Angles
- necko = cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- necko2 = cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- 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)
- RootPart = Character.HumanoidRootPart
- RootJoint = RootPart.RootJoint
- RootCF = euler(-1.57, 0, 3.14)
- attack = false
- equipped = false
- local Anim = "Idle"
- local Effects = {}
- cam = workspace.CurrentCamera
- ZTarget = nil
- RocketTarget = nil
- local RbxUtility = LoadLibrary("RbxUtility")
- local Create = RbxUtility.Create
- local m = Create("Model"){
- Parent = Character,
- Name = "WeaponModel",
- }
- game:GetService"SoundService".AmbientReverb=9
- local Moosic=Create"Sound"{
- Looped=true;
- Volume=500;
- Pitch=1;
- Parent=Character;
- SoundId="rbxassetid://488464235";
- }
- wait()
- Moosic:Play()
- Humanoid.WalkSpeed=35
- Humanoid.MaxHealth=math.huge
- Humanoid.Health=math.huge
- mouse = Player:GetMouse()
- RSH = Torso["Right Shoulder"]
- LSH = Torso["Left Shoulder"]
- RHP = Character.Torso["Right Hip"]
- LHP = Character.Torso["Left Hip"]
- RSH.Parent = nil
- LSH.Parent = nil
- RHP.Parent = nil
- LHP.Parent = nil
- RW = Create("Weld"){
- Name = "Right Shoulder",
- Part0 = Torso ,
- C0 = cf(1.5, 0.5, 0),
- C1 = cf(0, 0.5, 0),
- Part1 = RightArm ,
- Parent = Torso ,
- }
- LW = Create("Weld"){
- Name = "Left Shoulder",
- Part0 = Torso ,
- C0 = cf(-1.5, 0.5, 0),
- C1 = cf(0, 0.5, 0) ,
- Part1 = LeftArm ,
- Parent = Torso ,
- }
- RH = Create("Weld"){
- Part0 = Torso,
- C0 = cf(0, -1.5, 0), --* euler(1.3, 0, -0.5)
- C1 = cf(-0.5, 0.5, 0) ,
- Part1 = Character["Right Leg"],
- Parent = Torso,
- }
- LH = Create("Weld"){
- Part0 = Torso,
- C0 = cf(0, -1.5, 0), --* euler(1.3, 0, -0.5)
- C1 = cf(0.5, 0.5, 0) ,
- Part1 = Character["Left Leg"],
- Parent = Torso,
- }
- local function weldBetween(a, b)
- local weldd = Instance.new("ManualWeld")
- weldd.Part0 = a
- weldd.Part1 = b
- weldd.C0 = CFrame.new()
- weldd.C1 = b.CFrame:inverse() * a.CFrame
- weldd.Parent = a
- return weldd
- end
- it=Instance.new
- function nooutline(part)
- part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
- end
- function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
- local fp=it("Part")
- fp.formFactor=formfactor
- fp.Parent=parent
- fp.Reflectance=reflectance
- fp.Transparency=transparency
- fp.CanCollide=false
- fp.Locked=true
- fp.BrickColor=BrickColor.new(tostring(brickcolor))
- fp.Name=name
- fp.Size=size
- fp.Position=Character.Torso.Position
- nooutline(fp)
- fp.Material=material
- fp:BreakJoints()
- return fp
- end
- function mesh(Mesh,part,meshtype,meshid,offset,scale)
- local mesh=it(Mesh)
- mesh.Parent=part
- if Mesh=="SpecialMesh" then
- mesh.MeshType=meshtype
- mesh.MeshId=meshid
- end
- mesh.Offset=offset
- mesh.Scale=scale
- return mesh
- end
- function weld(parent,part0,part1,c0,c1)
- local weld=it("Weld")
- weld.Parent=parent
- weld.Part0=part0
- weld.Part1=part1
- weld.C0=c0
- weld.C1=c1
- return weld
- end
- function clerp(a, b, t)
- local 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 m11 > m00 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
- local 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
- local 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 >= 0.0001 then
- if (1 - cosTheta) > 0.0001 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
- else
- if (1 + cosTheta) > 0.0001 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
- 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
- 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 rayCast(Pos, Dir, Max, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
- end
- handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Maroon","Handle",Vector3.new(1.20000005, 0.400000006, 0.400000036))
- handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0857429504, -0.878588676, 0.0960168839, -0.0703301653, -0.277553886, -0.958131194, -0.010239129, -0.960258484, 0.278921396, -0.997471154, 0.0294269472, 0.0646932945))
- mesh("BlockMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.999000013))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.687158585, -0.287097931, -2.11056709, 0.49999845, -0.866024017, -1.56462193e-007, 3.7252903e-008, -1.43423676e-007, -0.999999464, 0.866023779, 0.499999493, 9.68575478e-008))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.04151154, -0.287102699, 0.993821502, -0.965923905, 0.258818567, -6.70552254e-008, -1.93715096e-007, -2.51457095e-007, -0.999999523, -0.258818805, -0.965924561, -1.03958882e-007))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.59382164, -0.287101746, 0.971500397, 0.258818716, 0.965924382, 8.45175236e-008, -8.94069672e-008, -1.35973096e-007, -0.999999344, -0.965923905, 0.258818567, -9.68575478e-008))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.993816733, -0.287100792, 0.971496582, 0.258818716, 0.965924382, 8.45175236e-008, -8.94069672e-008, -1.35973096e-007, -0.999999344, -0.965923905, 0.258818567, -9.68575478e-008))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.11055374, -0.287097931, 0.617147446, -0.866023839, -0.499999404, -1.08033419e-007, 5.21540642e-008, -3.1478703e-007, -0.999999583, 0.49999845, -0.866024017, -1.11758709e-007))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.61631775, -0.28289032, 0.192899704, 0.866023779, 0.499999493, 5.21540642e-008, 1.04308128e-007, 1.86264515e-009, 0.999999285, 0.499998569, -0.866023958, 8.94069672e-008))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.66377163, -0.287101746, -1.04151154, -0.258818716, -0.965924382, -8.45175236e-008, -1.15483999e-007, -8.94069672e-008, -0.999999225, 0.965923905, -0.258818567, 9.68575478e-008))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.68631744, -0.287097931, 0.192905426, -0.866023839, -0.499999404, -1.08033419e-007, 5.21540642e-008, -3.1478703e-007, -0.999999583, 0.49999845, -0.866024017, -1.11758709e-007))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.971496582, -0.287100792, -1.06380117, 0.965923905, -0.258818567, 9.68575478e-008, -9.31322575e-008, -2.73808837e-007, -0.999999464, 0.258818805, 0.965924561, 1.03958882e-007))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.61632347, -0.287099838, -0.262899399, 0.866023839, 0.499999404, 1.08033419e-007, 3.7252903e-009, -9.12696123e-008, -0.999999583, -0.49999845, 0.866024017, 1.11758709e-007))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.262897491, -0.287097931, -1.68632126, 0.49999845, -0.866024017, -1.56462193e-007, 3.7252903e-008, -1.43423676e-007, -0.999999464, 0.866023779, 0.499999493, 9.68575478e-008))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.192897797, -0.287099838, 1.61631966, -0.49999845, 0.866024017, 1.56462193e-007, -1.04308128e-007, -1.86264515e-009, -0.999999285, -0.866023779, -0.499999493, -9.68575478e-008))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.06380343, -0.287103653, -1.04151154, -0.258818716, -0.965924382, -8.45175236e-008, -1.15483999e-007, -8.94069672e-008, -0.999999225, 0.965923905, -0.258818567, 9.68575478e-008))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.993815303, -0.282891273, -1.04150391, 0.258818895, 0.965924382, -3.41096893e-008, 1.04308128e-007, 1.86264515e-009, 0.999999285, 0.965923905, -0.258818477, 1.63912773e-007))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.617147446, -0.287099838, 2.04055977, -0.49999845, 0.866024017, 1.56462193e-007, -1.04308128e-007, -1.86264515e-009, -0.999999285, -0.866023779, -0.499999493, -9.68575478e-008))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.04056358, -0.287099838, -0.687137604, 0.866023839, 0.499999404, 1.08033419e-007, 3.7252903e-009, -9.12696123e-008, -0.999999583, -0.49999845, 0.866024017, 1.11758709e-007))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.687137604, -0.282889366, 2.04056549, 0.499998569, -0.866023958, 8.94069672e-008, -2.08616257e-007, -4.28408384e-008, 0.999999404, -0.866023839, -0.499999404, -1.08033419e-007))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.06380033, -0.28289032, 0.971492767, -0.258818895, -0.965924382, 3.41096893e-008, 1.04308128e-007, 1.86264515e-009, 0.999999285, -0.965923905, 0.258818477, -1.63912773e-007))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.617145538, -0.282893181, -2.11055374, -0.499998569, 0.866023958, -8.94069672e-008, -1.78813934e-007, 6.51925802e-008, 0.999999344, 0.866023839, 0.499999404, 1.08033419e-007))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.04056549, -0.28289032, 0.617149353, 0.866023779, 0.499999493, 5.21540642e-008, 1.04308128e-007, 1.86264515e-009, 0.999999285, 0.499998569, -0.866023958, 8.94069672e-008))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.971496582, -0.28289032, 0.993819714, 0.965923905, -0.258818567, 9.68575478e-008, -7.07805157e-008, -9.31322575e-008, 0.999999285, -0.258818686, -0.965924442, 3.84170562e-009))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.04150772, -0.282892227, -1.06380033, -0.965923905, 0.258818567, -9.68575478e-008, -7.07805157e-008, -9.31322575e-008, 0.999999285, 0.258818686, 0.965924442, -3.84170562e-009))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.971496582, -0.287101746, -1.66377091, 0.965923905, -0.258818567, 9.68575478e-008, -9.31322575e-008, -2.73808837e-007, -0.999999464, 0.258818805, 0.965924561, 1.03958882e-007))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.04151535, -0.287103653, 1.59382272, -0.965923905, 0.258818567, -6.70552254e-008, -1.93715096e-007, -2.51457095e-007, -0.999999523, -0.258818805, -0.965924561, -1.03958882e-007))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.192901611, -0.282891273, -1.68631554, -0.499998569, 0.866023958, -8.94069672e-008, -1.78813934e-007, 6.51925802e-008, 0.999999344, 0.866023839, 0.499999404, 1.08033419e-007))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.262895584, -0.282888412, 1.61632156, 0.499998569, -0.866023958, 8.94069672e-008, -2.08616257e-007, -4.28408384e-008, 0.999999404, -0.866023839, -0.499999404, -1.08033419e-007))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.59376526, -0.282891273, -1.04151154, 0.258818895, 0.965924382, -3.41096893e-008, 1.04308128e-007, 1.86264515e-009, 0.999999285, 0.965923905, -0.258818477, 1.63912773e-007))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.66376734, -0.282889366, 0.971496582, -0.258818895, -0.965924382, 3.41096893e-008, 1.04308128e-007, 1.86264515e-009, 0.999999285, -0.965923905, 0.258818477, -1.63912773e-007))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.04151535, -0.282891273, -1.66377103, -0.965923905, 0.258818567, -9.68575478e-008, -7.07805157e-008, -9.31322575e-008, 0.999999285, 0.258818686, 0.965924442, -3.84170562e-009))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.971500397, -0.282891273, 1.59382224, 0.965923905, -0.258818567, 9.68575478e-008, -7.07805157e-008, -9.31322575e-008, 0.999999285, -0.258818686, -0.965924442, 3.84170562e-009))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.11057281, -0.282889366, -0.687145233, -0.866023779, -0.499999493, -5.21540642e-008, -5.96046448e-008, 1.11758709e-008, 0.999999285, -0.499998569, 0.866023958, -8.94069672e-008))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Crystal=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Crystal",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Crystalweld=weld(m,handle,Crystal,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.68632507, -0.282889366, -0.262893677, -0.866023779, -0.499999493, -5.21540642e-008, -5.96046448e-008, 1.11758709e-008, 0.999999285, -0.499998569, 0.866023958, -8.94069672e-008))
- mesh("SpecialMesh",Crystal,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=11294911",Vector3.new(0, 0, 0),Vector3.new(0.150000006, 0.400000006, 0.150000006))
- Gun=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","Gun",Vector3.new(0.400000006, 0.600000024, 0.400000006))
- Gunweld=weld(m,handle,Gun,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, -1.9319849, 0.928161621, 8.56816769e-008, 9.49949026e-008, 0.999999821, 0.499999434, 0.866024733, 8.1025064e-008, -0.86602354, 0.499999166, -2.98023224e-008))
- mesh("SpecialMesh",Gun,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1))
- Gun=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Gun",Vector3.new(0.400000006, 1, 0.800000012))
- Gunweld=weld(m,handle,Gun,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-006, -2.22590351, -0.896587372, -1.04308128e-007, -1.86264515e-009, -0.999999285, 0.258818805, 0.965924203, 7.96280801e-008, 0.965923905, -0.258818567, 7.4505806e-008))
- mesh("SpecialMesh",Gun,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1, 1))
- Gun=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","Gun",Vector3.new(0.400000006, 0.600000024, 0.400000006))
- Gunweld=weld(m,handle,Gun,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.86102295e-006, -1.75995064, 0.596515656, 8.56816769e-008, 9.49949026e-008, 0.999999821, 0.707106948, 0.707107246, 9.87201929e-008, -0.707106352, 0.70710659, -1.11758709e-008))
- mesh("SpecialMesh",Gun,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1))
- Gun=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Bright red","Gun",Vector3.new(0.400000006, 0.800000012, 1.19999993))
- Gunweld=weld(m,handle,Gun,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.53674316e-007, -0.896579742, -1.12592745, 8.56816769e-008, 9.49949026e-008, 0.999999821, 0.965923905, -0.258818567, 6.70552254e-008, 0.258818775, 0.965924442, 9.37143341e-008))
- mesh("BlockMesh",Gun,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1, 1))
- Gun=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Black","Gun",Vector3.new(0.400000006, 0.600000024, 0.400000006))
- Gunweld=weld(m,handle,Gun,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.90734863e-006, -2.02588797, 1.39656448, 8.56816769e-008, 9.49949026e-008, 0.999999821, 0.258818775, 0.965924442, 9.37143341e-008, -0.965923905, 0.258818567, -6.70552254e-008))
- mesh("SpecialMesh",Gun,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.5, 1, 1))
- Gun=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Gun",Vector3.new(0.400000006, 0.800000012, 0.400000006))
- Gunweld=weld(m,handle,Gun,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-4.76837158e-006, -1.82588005, -0.716571808, -1.04308128e-007, -1.86264515e-009, -0.999999285, 0.258818805, 0.965924203, 7.96280801e-008, 0.965923905, -0.258818567, 7.4505806e-008))
- mesh("SpecialMesh",Gun,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.810000002, 1, 1))
- Gun=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Gun",Vector3.new(0.400000006, 0.800000012, 0.400000006))
- Gunweld=weld(m,handle,Gun,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.86102295e-006, 1.02589035, 0.716567993, -8.56816769e-008, -9.49949026e-008, -0.999999821, -0.258818775, -0.965924442, -9.37143341e-008, -0.965923905, 0.258818567, -6.70552254e-008))
- mesh("SpecialMesh",Gun,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.810000002, 1, 1))
- Gun=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Maroon","Gun",Vector3.new(0.399999976, 3.00000024, 0.399999976))
- Gunweld=weld(m,handle,Gun,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.996562958, -1.82587898, 3.81469727e-006, 0.965923905, -0.258818567, 6.70552254e-008, 0.258818775, 0.965924442, 9.37143341e-008, 8.56816769e-008, 9.49949026e-008, 0.999999821))
- mesh("CylinderMesh",Gun,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Gun=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Gun",Vector3.new(0.399999976, 0.200000003, 0.399999976))
- Gunweld=weld(m,handle,Gun,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.996566772, -3.2259016, 6.67572021e-006, 0.965923905, -0.258818567, 6.70552254e-008, 0.258818775, 0.965924442, 9.37143341e-008, 8.56816769e-008, 9.49949026e-008, 0.999999821))
- mesh("CylinderMesh",Gun,"","",Vector3.new(0, 0, 0),Vector3.new(0.899999976, 1.00199997, 0.899999976))
- Gun=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Gun",Vector3.new(0.400000006, 0.600000024, 0.400000006))
- Gunweld=weld(m,handle,Gun,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.90734863e-006, 1.12592936, 0.736579895, -8.56816769e-008, -9.49949026e-008, -0.999999821, -0.258818775, -0.965924442, -9.37143341e-008, -0.965923905, 0.258818567, -6.70552254e-008))
- mesh("SpecialMesh",Gun,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.819999993, 1, 0.800000012))
- Gun=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Gun",Vector3.new(0.400000006, 1.4000001, 0.200000003))
- Gunweld=weld(m,handle,Gun,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.86102295e-006, -1.82586241, 1.1965332, 1.86264515e-008, -5.58793545e-009, 0.999995351, 0.258816361, 0.965915561, 7.48550519e-008, -0.965919554, 0.258817315, -7.4505806e-009))
- mesh("SpecialMesh",Gun,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.810000002, 1, 1))
- Gun=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Gun",Vector3.new(0.400000006, 1.4000001, 0.200000003))
- Gunweld=weld(m,handle,Gun,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.76837158e-006, -1.6858511, 1.1865654, 1.86264515e-008, -5.58793545e-009, 0.999995351, 0.258816361, 0.965915561, 7.48550519e-008, -0.965919554, 0.258817315, -7.4505806e-009))
- mesh("SpecialMesh",Gun,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.819999993, 0.699999988, 0.75))
- Gun=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Gun",Vector3.new(0.400000006, 0.600000024, 0.200000003))
- Gunweld=weld(m,handle,Gun,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.53674316e-007, 0.955905557, -1.16654968, 1.86264515e-008, -5.58793545e-009, 0.999995351, -0.258816361, -0.965915561, -7.48550519e-008, 0.965919256, -0.258817345, 7.4505806e-008))
- mesh("SpecialMesh",Gun,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.819999993, 0.800000012, 0.949999988))
- Gun=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Gun",Vector3.new(0.400000006, 0.600000024, 0.200000003))
- Gunweld=weld(m,handle,Gun,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.82590121, -1.19653702, 1.86264515e-008, -5.58793545e-009, 0.999995351, -0.258816361, -0.965915561, -7.48550519e-008, 0.965919256, -0.258817345, 7.4505806e-008))
- mesh("SpecialMesh",Gun,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.810000002, 1, 1.00999999))
- Gun=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Gun",Vector3.new(0.400000006, 0.600000024, 0.400000006))
- Gunweld=weld(m,handle,Gun,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.86102295e-006, -1.72590566, -0.736579895, -1.04308128e-007, -1.86264515e-009, -0.999999285, 0.258818805, 0.965924203, 7.96280801e-008, 0.965923905, -0.258818567, 7.4505806e-008))
- mesh("SpecialMesh",Gun,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.819999993, 1, 0.800000012))
- Gun=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really red","Gun",Vector3.new(0.400000006, 1, 0.800000012))
- Gunweld=weld(m,handle,Gun,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-006, -2.82593822, -0.856575012, -1.04308128e-007, -1.86264515e-009, -0.999999285, 0.258818805, 0.965924203, 7.96280801e-008, 0.965923905, -0.258818567, 7.4505806e-008))
- mesh("SpecialMesh",Gun,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.790000021, 1, 1))
- Gun=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Really red","Gun",Vector3.new(0.400000006, 0.800000012, 2))
- Gunweld=weld(m,handle,Gun,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, -0.856575012, -1.32594204, 8.56816769e-008, 9.49949026e-008, 0.999999821, 0.965923905, -0.258818567, 6.70552254e-008, 0.258818775, 0.965924442, 9.37143341e-008))
- mesh("BlockMesh",Gun,"","",Vector3.new(0, 0, 0),Vector3.new(0.790000021, 1, 1))
- Handle1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Maroon","Handle1",Vector3.new(0.400000006, 1, 0.99999994))
- Handle1weld=weld(m,handle,Handle1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, -0.885490417, 0.449039459, 8.56816769e-008, 9.49949026e-008, 0.999999821, 0.866023958, 0.499999344, 6.70552254e-008, -0.499998569, 0.866024256, 4.09781933e-008))
- mesh("BlockMesh",Handle1,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Handle2",Vector3.new(0.400000006, 1, 0.99999994))
- Handle2weld=weld(m,handle,Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, -0.885490417, 0.449039459, 8.56816769e-008, 9.49949026e-008, 0.999999821, 0.866023958, 0.499999344, 6.70552254e-008, -0.499998569, 0.866024256, 4.09781933e-008))
- mesh("BlockMesh",Handle2,"","",Vector3.new(0, 0, 0),Vector3.new(0.600000024, 1.01999998, 1.01999998))
- Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle2",Vector3.new(1.20000005, 0.400000006, 0.400000036))
- Handle2weld=weld(m,handle,Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 0.999997854, 3.57627869e-007, 8.56816769e-008, 3.57627869e-007, 0.999998569, 9.49949026e-008, 8.56816769e-008, 9.49949026e-008, 0.999999821))
- mesh("BlockMesh",Handle2,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1.00999999, 0.800000012))
- Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Handle2",Vector3.new(1.20000005, 0.400000006, 0.400000036))
- Handle2weld=weld(m,handle,Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 0.999997854, 3.57627869e-007, 8.56816769e-008, 3.57627869e-007, 0.999998569, 9.49949026e-008, 8.56816769e-008, 9.49949026e-008, 0.999999821))
- mesh("BlockMesh",Handle2,"","",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 1.01999998, 0.600000024))
- Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle2",Vector3.new(0.400000006, 1, 0.99999994))
- Handle2weld=weld(m,handle,Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, -0.885490417, 0.449039459, 8.56816769e-008, 9.49949026e-008, 0.999999821, 0.866023958, 0.499999344, 6.70552254e-008, -0.499998569, 0.866024256, 4.09781933e-008))
- mesh("BlockMesh",Handle2,"","",Vector3.new(0, 0, 0),Vector3.new(0.800000012, 1.00999999, 1.00999999))
- Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle2",Vector3.new(0.400000006, 1, 0.99999994))
- Handle2weld=weld(m,handle,Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, -0.885490417, 0.449039459, 8.56816769e-008, 9.49949026e-008, 0.999999821, 0.866023958, 0.499999344, 6.70552254e-008, -0.499998569, 0.866024256, 4.09781933e-008))
- mesh("BlockMesh",Handle2,"","",Vector3.new(0, 0, 0),Vector3.new(1.00999999, 0.800000012, 0.800000012))
- Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Really red","Handle2",Vector3.new(0.400000006, 1, 0.99999994))
- Handle2weld=weld(m,handle,Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, -0.885490417, 0.449039459, 8.56816769e-008, 9.49949026e-008, 0.999999821, 0.866023958, 0.499999344, 6.70552254e-008, -0.499998569, 0.866024256, 4.09781933e-008))
- mesh("BlockMesh",Handle2,"","",Vector3.new(0, 0, 0),Vector3.new(1.01999998, 0.699999988, 0.699999988))
- Part2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part2",Vector3.new(1, 1, 0.399999976))
- Part2weld=weld(m,handle,Part2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.496578217, -0.625906885, 3.81469727e-006, 0.965923905, -0.258818567, 6.70552254e-008, 0.258818775, 0.965924442, 9.37143341e-008, 8.56816769e-008, 9.49949026e-008, 0.999999821))
- mesh("SpecialMesh",Part2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
- Part1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part1",Vector3.new(1, 1, 0.399999976))
- Part1weld=weld(m,handle,Part1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.496578217, -0.625906885, 3.81469727e-006, 0.965923905, -0.258818567, 6.70552254e-008, 0.258818775, 0.965924442, 9.37143341e-008, 8.56816769e-008, 9.49949026e-008, 0.999999821))
- mesh("SpecialMesh",Part1,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.899999976, 0.899999976, 1))
- Wing=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0.30000001192093,"Bright red","Wing",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Wingweld=weld(m,handle,Wing,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0254402161, -1.74765015, -0.797915459, -0.707104862, -0.707106054, -7.63684511e-008, 0.707104802, -0.7071051, 1.11758709e-008, 3.7252903e-008, -2.60770321e-008, 0.999998927))
- mesh("SpecialMesh",Wing,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=223377755",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.5, 1.10000002))
- Wing=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0.69999998807907,"Crimson","Wing",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Wingweld=weld(m,handle,Wing,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.166862488, -1.99257278, -0.802063942, 0.70710206, 0.707103968, 1.13621354e-007, 0.707100511, -0.707102537, 5.21540642e-008, -1.11758709e-008, 2.79396772e-008, -0.999997079))
- mesh("SpecialMesh",Wing,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=223377796",Vector3.new(0, 0, 0),Vector3.new(0.600000024, 0.600000024, 1.11000001))
- Wing=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0.69999998807907,"Maroon","Wing",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Wingweld=weld(m,handle,Wing,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.16686058, -1.99258804, -0.79791069, -0.707104862, -0.707106054, -7.63684511e-008, 0.707104802, -0.7071051, 1.11758709e-008, 3.7252903e-008, -2.60770321e-008, 0.999998927))
- mesh("SpecialMesh",Wing,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=223377755",Vector3.new(0, 0, 0),Vector3.new(0.600000024, 0.600000024, 1.11000001))
- Wing=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0.30000001192093,"Bright red","Wing",Vector3.new(0.200000003, 0.200000003, 0.200000003))
- Wingweld=weld(m,handle,Wing,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0254459381, -1.74763489, -0.802108765, 0.70710206, 0.707103968, 1.13621354e-007, 0.707100511, -0.707102537, 5.21540642e-008, -1.11758709e-008, 2.79396772e-008, -0.999997079))
- mesh("SpecialMesh",Wing,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=223377796",Vector3.new(0, 0, 0),Vector3.new(0.5, 0.5, 1.10000002))
- Barrel=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,1,"Medium stone grey","Barrel",Vector3.new(1, 1, 1))
- Barrelweld=weld(m,handle,Barrel,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0811567307, -0.671264648, 3.21516037, -0.0703301728, -0.0102390982, -0.997471154, 0.958131015, -0.278921306, -0.0646932945, -0.277553827, -0.960258424, 0.0294269156))
- function swait(num)
- if num ~= nil and num > 0 then
- return game:service'RunService'.RenderStepped:wait(num)
- else
- return game:service'RunService'.RenderStepped:wait(0)
- end
- end
- local sine=0
- local change=1
- local val=0
- local idle=0
- local donum=0
- local handidle=false
- local ActiveAnim="Idle"
- function ChargeEffect(part, x1, y1, z1, x2, y2, z2, x3, y3, z3, color)
- local S = Create("Part"){
- Material = "SmoothPlastic",
- Name = "Effect",
- formFactor = 0,
- Size = vt(x1, y1, z1),
- BrickColor = color,
- Reflectance = 0,
- TopSurface = 0,
- BottomSurface = 0,
- Transparency = 0,
- Anchored = false,
- CanCollide = false,
- Material = "Neon",
- CFrame = part.CFrame * cf(x2, y2, z2) * euler(x3, y3, z3),
- Parent = m,
- }
- local msh1 = Create("SpecialMesh"){
- Scale = vt(0.5, 0.5, 0.5) ,
- MeshType = "Sphere",
- Parent = S,
- }
- coroutine.resume(coroutine.create(function(Part, CF)
- local f = Instance.new("BodyPosition")
- f.P = 800
- f.D = 100
- f.maxForce = vt(math.huge, math.huge, math.huge)
- f.position = part.Position
- f.Parent = Part
- for i = 0, 1, 0.1 do
- wait()
- Part.Transparency = Part.Transparency + 0.1
- end
- Part.Parent = nil
- end), S, S.CFrame)
- end
- local Aiming=false
- local Shoot=false
- local SpreadShot=false
- local MutliShot=false
- local ChargeShot=false
- local MirrorShot=false
- function Grenade()
- local g=Create"Part"{
- Parent=workspace;
- Shape="Ball";
- Size=Vector3.new(1,1,1);
- Velocity=Vector3.new(0, 10, 0)+RootPart.CFrame.lookVector*150;
- CanCollide=true;
- Anchored=false;
- Locked=true;
- CFrame=RootPart.CFrame;
- Name="Grenade";
- TopSurface=10;
- BottomSurface=10;
- }
- coroutine.resume(coroutine.create(function()
- wait(4)
- local exp=Create"Explosion"{
- Parent=workspace;
- Position=g.Position;
- BlastRadius=10;
- BlastPressure=3;
- }
- g:destroy()
- end))
- end
- Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
- if hit.Parent == nil then
- return
- end
- local h = hit.Parent:FindFirstChild("Humanoid")
- for _, v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h = v
- end
- end
- if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
- if hit.Parent:findFirstChild("DebounceHit") ~= nil then
- if hit.Parent.DebounceHit.Value == true then
- return
- end
- end
- if h.MaxHealth >= math.huge then
- hit:BreakJoints()
- end
- local c = Create("ObjectValue"){
- Name = "creator",
- Value = game:service("Players").LocalPlayer,
- Parent = h,
- }
- game:GetService("Debris"):AddItem(c, .5)
- local Damage = math.random(minim, maxim)
- local blocked = false
- local block = hit.Parent:findFirstChild("Block")
- if block ~= nil then
- if block.className == "IntValue" then
- if block.Value > 0 then
- blocked = true
- block.Value = block.Value - 1
- print(block.Value)
- end
- end
- end
- if blocked == false then
- h.Health = h.Health - Damage
- ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Crimson").Color, BrickColor.new("Crimson").Color)
- else
- h.Health = h.Health - (Damage / 2)
- ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Crimson").Color, BrickColor.new("Crimson").Color)
- end
- if Type == "Knockdown" then
- local hum = hit.Parent.Humanoid
- hum.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand = false
- end), hum)
- local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
- local bodvol = Create("BodyVelocity"){
- velocity = angle * knockback,
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- local rl = Create("BodyAngularVelocity"){
- P = 3000,
- maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
- angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodvol, .5)
- game:GetService("Debris"):AddItem(rl, .5)
- elseif Type == "Normal" then
- local vp = Create("BodyVelocity"){
- P = 500,
- maxForce = Vector3.new(math.huge, 0, math.huge),
- velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 2.05,
- }
- if knockback > 0 then
- vp.Parent = hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp, .5)
- elseif Type=="Obliterate" then
- elseif Type == "Up" then
- local bodyVelocity = Create("BodyVelocity"){
- velocity = vt(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodyVelocity, .5)
- elseif Type == "Snare" then
- local bp = Create("BodyPosition"){
- P = 2000,
- D = 100,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso,
- }
- game:GetService("Debris"):AddItem(bp, 1)
- elseif Type == "Freeze" then
- local BodPos = Create("BodyPosition"){
- P = 50000,
- D = 1000,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso,
- }
- local BodGy = Create("BodyGyro") {
- maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
- P = 20e+003,
- Parent = hit.Parent.Torso,
- cframe = hit.Parent.Torso.CFrame,
- }
- hit.Parent.Torso.Anchored = true
- coroutine.resume(coroutine.create(function(Part)
- swait(1.5)
- Part.Anchored = false
- end), hit.Parent.Torso)
- game:GetService("Debris"):AddItem(BodPos, 3)
- game:GetService("Debris"):AddItem(BodGy, 3)
- end
- local debounce = Create("BoolValue"){
- Name = "DebounceHit",
- Parent = hit.Parent,
- Value = true,
- }
- game:GetService("Debris"):AddItem(debounce, Delay)
- c = Instance.new("ObjectValue")
- c.Name = "creator"
- c.Value = Player
- c.Parent = h
- game:GetService("Debris"):AddItem(c, .5)
- end
- end
- function ShowDamage(Pos, Text, Time, Color, Color2)
- local Rate = (1 / 30)
- local Pos = (Pos or Vector3.new(0, 0, 0))
- local Text = (Text or "")
- local Time = (Time or 2)
- local Color = (Color or Color3.new(1, 0, 0))
- local EffectPart = part("Custom", workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
- EffectPart.Anchored = true
- local BillboardGui = Create("BillboardGui"){
- Size = UDim2.new(3, 0, 3, 0),
- Adornee = EffectPart,
- Parent = EffectPart,
- }
- local TextLabel = Create("TextLabel"){
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Text = Text,
- TextColor3 = Color,
- TextScaled = true,
- Font = Enum.Font.ArialBold,
- FontSize = Enum.FontSize.Size10,
- TextStrokeColor3 = Color2,
- TextStrokeTransparency = 0.8,
- Parent = BillboardGui,
- }
- game.Debris:AddItem(EffectPart, (Time + 0.1))
- EffectPart.Parent = game:GetService("Workspace")
- delay(0, function()
- local Frames = (Time / Rate)
- for Frame = 1, Frames do
- wait(Rate)
- local Percent = (Frame / Frames)
- EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
- TextLabel.TextTransparency = Percent
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end)
- end
- function MagnitudeDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
- for _, c in pairs(workspace:children()) do
- local hum = c:findFirstChild("Humanoid")
- if hum ~= nil then
- local head = c:findFirstChild("Torso")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if mag <= magni and c.Name ~= Player.Name then
- Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, 0, "rbxassetid://199149186", 1)
- end
- end
- end
- end
- end
- RocketTarget = RootPart
- function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = part(3, Character, "Neon", 0, 0, brickcolor, "Effect", vt(0.2, 0.2, 0.2))
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 5)
- Effects[#Effects + 1] = {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3
- } --part, type, delay
- end
- local lasrs = {}
- local lasrspd = 100
- local maxTravelDistance = 1000
- local maxRebounds = 2
- function RAY(pos, dir, collidedlist, startpos, endpos, distleft)
- collidedlist = collidedlist or {Character}
- startpos = startpos or pos
- distleft = distleft or dir.unit * dir.magnitude
- endpos = endpos or pos + distleft
- local ray = Ray.new(pos, distleft)
- local hitz,enz = workspace:FindPartOnRayWithIgnoreList(ray, collidedlist)
- if hitz ~= nil and not hitz.Parent:findFirstChild("Humanoid") then
- if hitz.CanCollide == false then
- table.insert(collidedlist, hitz)
- local newpos = enz
- local newdistleft = distleft - (dir.unit * (pos - newpos).magnitude)
- if newdistleft then
- return RAY(newpos-(dir*0.01), dir, collidedlist, startpos, endpos, newdistleft+(dir*0.01))
- end
- end
- end
- return hitz, enz, ray
- end
- function FindSurface(part, position)
- local obj = part.CFrame:pointToObjectSpace(position)
- local siz = part.Size/2
- for i,v in pairs(Enum.NormalId:GetEnumItems()) do
- local vec = Vector3.FromNormalId(v)
- local wvec = part.CFrame:vectorToWorldSpace(vec)
- local vz = (obj)/(siz*vec)
- if (math.abs(vz.X-1) < 0.001 or math.abs(vz.Y-1) < 0.001 or math.abs(vz.Z-1) < 0.001) then
- return wvec,vec
- end
- end
- if part.className == "WedgePart" then
- local pos = (part.CFrame * CFrame.new(0,part.Size.y/2,part.Size.z/2)).p
- local apos = (part.CFrame * CFrame.Angles(-math.atan2(part.CFrame:pointToObjectSpace(pos).y,part.CFrame:pointToObjectSpace(pos).z),0,0) * CFrame.new(0,1,0)).p
- local wvec,vec = (apos - part.Position).unit, part.CFrame:pointToObjectSpace(apos)
- return wvec,vec
- elseif part.className == "Part" and (part.Shape.Name == "Ball" or part.Shape.Name == "Cylinder") then
- return (position - part.Position).unit, part.CFrame:vectorToObjectSpace((position - part.Position).unit)
- end
- end
- function Reflect(direction, normal)
- return direction - 2 * normal:Dot(direction) * normal
- end
- function ReflectShot(mouse)
- local dir = (mouse.Hit.p - Torso.Position).unit
- local tabl
- local tablnum = 0
- for i, v in pairs(lasrs) do
- if not v[1] then
- tabl = v
- tablnum = i
- break
- end
- end
- if not tabl then
- tablnum = #lasrs + 1
- tabl = {false,nil,nil,0,0,1,{},{},{},{}}
- for i = 1, 2 do
- for j = 1, 3 do
- local p = Instance.new("Part")
- p.FormFactor = "Custom"
- p.CanCollide = false
- p.Anchored = true
- p.Locked = true
- p.BrickColor = BrickColor.new("Crimson")
- p.TopSurface = 10
- p.BottomSurface = 10
- p.RightSurface = 10
- p.LeftSurface = 10
- p.FrontSurface = 10
- p.BackSurface = 10
- p.Size = Vector3.new(1,1,1)
- p.Material = "Neon"
- p.Transparency = i == 1 and 0 or 0.6
- local mesh = Instance.new("CylinderMesh",p)
- table.insert(tabl[6+i],p)
- table.insert(tabl[8+i],mesh)
- end
- end
- table.insert(lasrs,tabl)
- end
- -- isMoving,direction,lastPosition,rebounds,distance,recycleCount,middleLayer,outerLayer
- tabl[4],tabl[5] = 0,0
- tabl[3] = Barrel.Position
- tabl[2] = dir
- tabl[1] = true
- end
- RailgunTarget = RootPart
- function ShootSomewhereCharge(asd)
- local MouseLook=cf((asd.Position+mouse.Hit.p)/2,mouse.Hit.p)
- local hit,pos = rayCast(asd.Position,MouseLook.lookVector,999,RailgunTarget.Parent)
- local mag=(asd.Position-pos).magnitude
- CylinderEffect(BrickColor.new("Crimson"),CFrame.new((asd.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*5,1,1.2,0,1.2,0.1)
- CylinderEffect(BrickColor.new("Institutional white"),CFrame.new((asd.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*5,.5,1,0,.5,0.1)
- if hit~=nil then
- local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really red"),"Reference",vt())
- ref.Anchored=true
- ref.CFrame=cf(pos)
- game:GetService("Debris"):AddItem(ref,1)
- Damagefunc(ref,hit,20,90,0,"Normal",RootPart,0)
- end
- end
- function ShootSomewhereObliterate(asd)
- local MouseLook=cf((asd.Position+mouse.Hit.p)/2,mouse.Hit.p)
- local hit,pos = rayCast(asd.Position,MouseLook.lookVector,999,RailgunTarget.Parent)
- local mag=(asd.Position-pos).magnitude
- CylinderEffect(BrickColor.new("Crimson"),CFrame.new((asd.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*5,1,1.2,0,1.2,0.1)
- CylinderEffect(BrickColor.new("Institutional white"),CFrame.new((asd.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*5,.5,1,0,.5,0.1)
- if hit~=nil then
- local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Crimson"),"Reference",vt())
- ref.Anchored=true
- ref.CFrame=cf(pos)
- game:GetService("Debris"):AddItem(ref,1)
- Damagefunc(ref,hit,20,90,0,"Normal",RootPart,0)
- end
- end
- function ShootSomewhere(asd, spread1, spread2)
- local MainPos = asd.Position
- local MainPos2 = mouse.Hit.p
- local spread = vt((math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2) * (asd.Position - mouse.Hit.p).magnitude / 100
- local MouseLook = cf((MainPos + MainPos2) / 2, MainPos2 + spread)
- num = 30
- coroutine.resume(coroutine.create(function(Spreaded)
- repeat
- wait()
- local hit, pos = rayCast(MainPos, MouseLook.lookVector, 10, RocketTarget.Parent)
- local TheHit = mouse.Hit.p
- local mag = (MainPos - pos).magnitude
- CylinderEffect(BrickColor.new("Crimson"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 3, mag * 5, 3, .5, 0, 1.5, 0.1)
- MainPos = MainPos + (MouseLook.lookVector * 10)
- num = num - 1
- if hit ~= nil then
- num = 0
- local ref = part(3, workspace, "Neon", 0, 1, BrickColor.new("Really red"), "Reference", vt())
- ref.Anchored = true
- ref.CFrame = cf(pos)
- MagnitudeDamage(ref, hit, 5, 10, 20, 1, "Normal")
- game:GetService("Debris"):AddItem(ref, 5)
- end
- until num <= 0
- end))
- end
- local Debounce=false
- function Aim()
- attack=true
- ActiveAnim="Attacking"
- Aiming=true
- for i = 0, 1, 0.2 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .5)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), .5)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.5)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.5)
- RH.C0 = clerp(RH.C0, cf(0.05, -1.5, 0) * angles(math.rad(5), math.rad(0), math.rad(5)), .5)
- LH.C0 = clerp(LH.C0, cf(-0.05, -1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), .5)
- end
- RootJoint.C0 = RootCF * cf(0, 0, 0) * euler(0, 0, 1.57)
- RW.C0 = cf(1.5, 0.5, 0) * euler(1.57, 0, 1.57)
- local gairo = Create("BodyGyro"){
- Parent = RootPart,
- maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
- P = 20e+003 ,
- cframe = RootPart.CFrame,
- }
- local offset = nil
- while Aiming == true do
- swait()
- local gunpos = vt(mouse.Hit.p.x, Head.Position.Y, mouse.Hit.p.z)
- offset = (Torso.Position.y - mouse.Hit.p.y) / 60
- local mag = (Torso.Position - mouse.Hit.p).magnitude / 80
- offset = offset / mag
- gairo.cframe = cf(Head.Position, gunpos)
- Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1.57), .3)
- RW.C1 = clerp(RW.C1, cf(0, 0.5, 0) * euler(offset, 0, 0), .5)
- end
- gairo:destroy()
- if not Debounce then
- if Shoot then
- Debounce=true
- ShootSomewhere(Barrel, .2, 1)
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(5), math.rad(-90)), .3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(50), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.3)
- RH.C0 = clerp(RH.C0, cf(0.05, -1.5, 0) * angles(math.rad(5), math.rad(0), math.rad(5)), .3)
- LH.C0 = clerp(LH.C0, cf(-0.05, -1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), .3)
- end
- elseif MultiShot then
- Debounce=true
- for i = 1, 5 do
- ShootSomewhere(Barrel, .2, 1)
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(5), math.rad(-90)), .3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(50), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.3)
- RH.C0 = clerp(RH.C0, cf(0.05, -1.5, 0) * angles(math.rad(5), math.rad(0), math.rad(5)), .3)
- LH.C0 = clerp(LH.C0, cf(-0.05, -1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), .3)
- end
- for i = 0,1,1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .5)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), .5)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.5)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.5)
- RH.C0 = clerp(RH.C0, cf(0.05, -1.5, 0) * angles(math.rad(5), math.rad(0), math.rad(5)), .5)
- LH.C0 = clerp(LH.C0, cf(-0.05, -1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), .5)
- end
- wait(.25)
- end
- elseif SpreadShot then
- Debounce=true
- for i = 1, 5 do
- ShootSomewhere(Barrel, 1, 3)
- end
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(5), math.rad(-90)), .3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(50), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.3)
- RH.C0 = clerp(RH.C0, cf(0.05, -1.5, 0) * angles(math.rad(5), math.rad(0), math.rad(5)), .3)
- LH.C0 = clerp(LH.C0, cf(-0.05, -1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), .3)
- end
- elseif ChargeShot then
- Debounce=true
- for i = 1, 30 do
- swait()
- ChargeEffect(Barrel, 2, 2, 2, math.random(-25, 25), math.random(-25, 25), math.random(-25, 25), 0, 0, 0, BrickColor.new("Crimson"))
- end
- RootPart.Velocity=RootPart.CFrame.lookVector*-100
- ShootSomewhereCharge(Barrel)
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(5), math.rad(-90)), .3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(50), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.3)
- RH.C0 = clerp(RH.C0, cf(0.05, -1.5, 0) * angles(math.rad(5), math.rad(0), math.rad(5)), .3)
- LH.C0 = clerp(LH.C0, cf(-0.05, -1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), .3)
- end
- elseif MirrorShot then
- Debounce=true
- for i = 1, 95 do
- swait()
- ChargeEffect(Barrel, 2, 2, 2, math.random(-25, 25), math.random(-25, 25), math.random(-25, 25), 0, 0, 0, BrickColor.new("Crimson"))
- end
- RootPart.Velocity=RootPart.CFrame.lookVector*-250
- ReflectShot(mouse)
- for i = 0, 1, 0.1 do
- swait()
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(5), math.rad(-90)), .3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(50), math.rad(90)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.3)
- RH.C0 = clerp(RH.C0, cf(0.05, -1.5, 0) * angles(math.rad(5), math.rad(0), math.rad(5)), .3)
- LH.C0 = clerp(LH.C0, cf(-0.05, -1.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), .3)
- end
- end
- end
- Shoot=false
- MultiShot=false
- SpreadShot=false
- MirrorShot=false
- ChargeShot=false
- Aiming=false
- attack=false
- ActiveAnim="Idle"
- wait(.8)
- Debounce=false
- end
- warn("Controls : ")
- print("Press \"f\" to aim")
- print('Press "e" multishot')
- print('Press "q" spreadshot')
- print('Press "l" charged shot')
- print('Press "m" mirror/reflecting shot')
- print('Click standard shot')
- print('The bounce is 0.8 seconds, if you try to shoot while the debounce is on, it\'ll disable the aiming.')
- mouse.KeyDown:connect(function(k)
- k=k:lower()
- if not Shoot and not MultiShot and not SpreadShot and not ChargeShot and not MirrorShot then
- if k == "f" and not Aiming then
- Aim()
- elseif k == 'e' and Aiming then
- MultiShot=true
- Aiming=false
- Shoot=false
- SpreadShot=false
- ChargeShot=false
- elseif k == 'q' and Aiming then
- MultiShot=false
- Aiming=false
- Shoot=false
- SpreadShot=true
- ChargeShot=false
- elseif k == 'l' and Aiming then
- MultiShot=false
- Aiming=false
- Shoot=false
- SpreadShot=false
- ChargeShot=true
- elseif k == 'm' and Aiming then
- Shoot=false
- Aiming=false
- MultiShot=false
- Aiming=false
- SpreadShot=false
- MirrorShot=true
- ChargeShot=false
- end
- end
- end)
- mouse.Button1Down:connect(function()
- if Aiming then
- Shoot=true
- Aiming=false
- MultiShot=false
- SpreadShot=false
- ChargeShot=false
- MirrorShot=false
- end
- end)
- Effects={}
- UpdateActiveAnim=function()
- spawn(function()
- local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velderp = RootPart.Velocity.y
- local hitfloor, posfloor = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 2, 0))).lookVector, 4, Character)
- if not attack then
- if torvel > 2 and hitfloor and Humanoid.WalkSpeed < 21 then
- ActiveAnim="Walk"
- elseif torvel > 2 and hitfloor and Humanoid.WalkSpeed >= 21 then
- ActiveAnim="Run"
- elseif RootPart.Velocity.y > 1 and not hitfloor then
- ActiveAnim="Jump"
- elseif RootPart.Velocity.y < -1 and not hitfloor then
- ActiveAnim="Fall"
- else
- ActiveAnim="Idle"
- end
- else
- ActiveAnim="Attacking"
- end
- end)
- end
- spawn(function()
- while swait() do
- if #Effects > 0 then
- for e = 1, #Effects do
- if Effects[e] ~= nil then
- local Thing = Effects[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 Thing[1].Transparency <= 1 then
- if Thing[2] == "Block1" then
- Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
- Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Cylinder" then
- Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Blood" then
- Mesh = Thing[7]
- Thing[1].CFrame = Thing[1].CFrame * cf(0, .5, 0)
- Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Elec" then
- Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + vt(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]
- end
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- end
- end
- end
- end
- end)
- game:GetService("RunService").Stepped:connect(function()
- for _, lasr in pairs(lasrs) do
- for i, v in pairs(lasr[9]) do
- if lasr[7][i].Parent then
- v.Scale = v.Scale + Vector3.new(-0.1,0,-0.1)
- lasr[10][i].Scale = lasr[10][i].Scale + Vector3.new(-0.1,0,-0.1)
- if v.Scale.x < 0.1 then
- lasr[7][i].Parent = nil
- lasr[8][i].Parent = nil
- end
- end
- end
- if lasr[1] then
- local hitz, enz = RAY(lasr[3],lasr[2]*lasrspd)
- lasr[5] = lasr[5] + (lasr[3] - enz).magnitude
- lasr[7][lasr[6]].Parent = m
- lasr[7][lasr[6]].CFrame = CFrame.new((lasr[3] + enz)/2,enz) * CFrame.Angles(math.pi/2,0,0)
- lasr[9][lasr[6]].Scale = Vector3.new(0.7,(lasr[3] - enz).magnitude*5,0.7)
- lasr[8][lasr[6]].Parent = m
- lasr[8][lasr[6]].CFrame = lasr[7][lasr[6]].CFrame
- lasr[10][lasr[6]].Scale = Vector3.new(1.3,(lasr[3] - enz).magnitude*5 + 0.02,1.3)
- lasr[3] = enz
- lasr[6] = lasr[6]%#lasr[7] + 1
- if hitz then
- lasr[4] = lasr[4] + 1
- if lasr[4] == maxRebounds then
- lasr[1] = false
- else
- local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Crimson"),"Reference",vt())
- ref.Anchored=true
- ref.CFrame=cf(enz)
- game:GetService("Debris"):AddItem(ref,1)
- Damagefunc(ref,hitz,1,100,0,"Normal",RootPart,0)
- local norm = FindSurface(hitz,enz)
- lasr[2] = Reflect(lasr[2],norm)
- end
- end
- if lasr[5] > maxTravelDistance then
- lasr[1] = false
- end
- end
- end
- end)
- print("Have fun with me Edit")
- print(":P")
- while swait() do
- sine=sine+change
- if not attack then
- idle=idle+1
- else
- idle=0
- end
- if idle >=500 then
- if attack==false then end
- end
- if donum>.5 then handidle=true elseif donum <= 0 then handidle=false end
- if handidle==false then
- donum=donum+.003
- else
- donum=donum-.003
- end
- UpdateActiveAnim()
- if ActiveAnim=="Idle" then
- change=.3
- RootJoint.C0=clerp(RootJoint.C0, RootCF,.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko,.3)
- LH.C0 = clerp(LH.C0, CFrame.new(0, -1.5, 0)*angles(0,0,math.rad(-5)), .4)
- RH.C0 = clerp(RH.C0, CFrame.new(0, -1.5, 0)*angles(0,0,math.rad(5)),.4)
- LW.C0=clerp(LW.C0,cf(-1.5,.5,0)*angles(0,0,-donum*.35),.2)
- -- LW.C0=clerp(LW.C0,cf(-1.5,.5,0)*cf(0,donum*.2,0),.2)
- RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.rad(50),0,math.rad(-25))*angles(0,math.sin(sine/25)/2,0),.2)
- RW.C1 = clerp(RW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), .3)
- elseif ActiveAnim=="Walk" then
- change=2
- RootJoint.C0=clerp(RootJoint.C0, RootCF,.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko,.3)
- LH.C0 = clerp(LH.C0, CFrame.new(0, -1.5-0.3*math.cos(sine/14)/2, -.05 + math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + -math.sin(sine/14)/2.3, 0, 0), .4)
- RH.C0 = clerp(RH.C0, CFrame.new(0, -1.5+0.3*math.cos(sine/14)/2, -.05 + -math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + math.sin(sine/14)/2.3, 0, 0), .4)
- LW.C0=clerp(LW.C0,cf(-1.5,.5,0)*angles(math.sin(sine/14),0,0),.2)
- RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.sin(-sine/14)/2,0,0),.2)
- RW.C1 = clerp(RW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), .3)
- elseif ActiveAnim=="Run" then
- change=1.8
- RootJoint.C0=clerp(RootJoint.C0, RootCF,.3)
- Torso.Neck.C0=clerp(Torso.Neck.C0,necko,.3)
- LH.C0 = clerp(LH.C0, CFrame.new(0, -1.5-0.3*math.cos(sine/8)/2, -.05 + math.sin(sine/8)/2) * CFrame.Angles(math.rad(-18) + -math.sin(sine/8)/2.3, 0, 0), .4)
- RH.C0 = clerp(RH.C0, CFrame.new(0, -1.5+0.3*math.cos(sine/8)/2, -.05 + -math.sin(sine/8)/2) * CFrame.Angles(math.rad(-18) + math.sin(sine/8)/2.3, 0, 0), .4)
- LW.C0=clerp(LW.C0,cf(-1.5,.5,0)*angles(math.sin(sine/8),0,0),.2)
- RW.C0=clerp(RW.C0,cf(1.5,.5,0)*angles(math.sin(-sine/8)/2,0,0),.2)
- RW.C1 = clerp(RW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), .3)
- elseif ActiveAnim=="Jump" then
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-5), math.rad(0), math.rad(0)), .3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), .3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3)
- RH.C0 = clerp(RH.C0, cf(.05, -1.5, .5) * angles(math.rad(-20), math.rad(0), math.rad(5)), .3)
- LH.C0 = clerp(LH.C0, cf(-.05, -1.5, .5) * angles(math.rad(-20), math.rad(0), math.rad(-5)), .3)
- RW.C1 = clerp(RW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), .3)
- elseif ActiveAnim=="Fall" then
- RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(20), math.rad(0), math.rad(0)), .3)
- RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(40)), 0.3)
- LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
- RH.C0 = clerp(RH.C0, cf(0.05, -1.5, -.2) * angles(math.rad(10), math.rad(0), math.rad(5)), .3)
- LH.C0 = clerp(LH.C0, cf(-0.05, -1.5, -.2) * angles(math.rad(10), math.rad(0), math.rad(-5)), .3)
- RW.C1 = clerp(RW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), .3)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement