Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Made by Cronizete
- Cronnie#8709
- GunModel by Omega_Phoenix
- --]]
- plr = game:GetService('Players').LocalPlayer
- char = plr.Character
- mouse = plr:GetMouse()
- camera = workspace.Camera
- --// Tabs
- BrickFirst = Instance.new("Part")
- BrickFirst.CanCollide = false
- BrickFirst.Anchored = false
- BrickFirst.Size = Vector3.new(0.2,0.2,0.2)
- BrickFirst.Transparency = 1
- BrickFirst2 = Instance.new("Part")
- BrickFirst2.CanCollide = false
- BrickFirst2.Anchored = true
- BrickFirst2.Size = Vector3.new(0.2, 25, 35)
- BrickFirst2.Transparency = 1
- BrickFirst2.CFrame = BrickFirst.CFrame * CFrame.new(0,-75,0)
- BrickFirst2.TopSurface = 0
- BrickFirst2.BottomSurface = 0
- BrickFirst2.BrickColor = BrickColor.new("Teal")
- g1 = Instance.new("SurfaceGui", BrickFirst2)
- g1.Face = "Right"
- o1 = Instance.new("TextLabel", g1)
- o1.BackgroundColor3 = Color3.new(1, 1, 1)
- o1.BackgroundTransparency = 1
- o1.BorderColor3 = Color3.new(1, 1, 1)
- o1.Size = UDim2.new(1, 0, 1, 0)
- o1.TextScaled = true
- o1.TextWrapped = true
- o1.TextColor3 = Color3.new(1, 1, 1)
- o1.TextStrokeTransparency = 0
- o1.Font = Enum.Font.Arial
- o1.Text = ""
- o1.FontSize = Enum.FontSize.Size48
- gg1 = Instance.new("SurfaceGui", BrickFirst2)
- gg1.Face = "Right"
- oo1 = Instance.new("ImageLabel", gg1)
- oo1.BackgroundColor3 = Color3.new(1, 1, 1)
- oo1.BackgroundTransparency = 1
- oo1.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- oo1.Size = UDim2.new(0, 250, 0, 250)
- oo1.Position = UDim2.new(0, 250, 0, 0)
- local characterImageFormat='http://www.roblox.com/Thumbs/Avatar.ashx?x=352&y=352&format=png&userid=%d';
- oo1.Image = ''
- --characterImageFormat:format(plr.userId);
- Weld = Instance.new("Weld", char)
- Weld.Part0 = char.Torso
- Weld.Part1 = BrickFirst
- Weld.C1 = CFrame.new(0,0,8) * CFrame.Angles(math.rad(90),math.rad(90),math.rad(90)) * CFrame.new(-8,5,20) * CFrame.Angles(0,0,math.rad(180))
- --// Functions
- function tw(string)
- coroutine.resume(coroutine.create(function()
- local String = string
- local Length = string.len(String)
- for i=1,Length do
- wait(.05)
- o1.Text = string.sub(String,1,i)
- end
- end))
- end
- tw("Hi, "..plr.Name.."!")
- function explode(a,b)
- local colors = {
- 'Deep orange',
- 'New Yeller',
- 'Bright yellow'
- }
- local p = Instance.new('Part', workspace)
- p.Anchored = true
- p.CanCollide = false
- p.CFrame = a
- p.BottomSurface = 0
- p.Material = 'Neon'
- p.BrickColor = BrickColor.new(colors[math.random(1,#colors)])
- p.TopSurface = 0
- p.Transparency = 0.25
- p.Size = Vector3.new(0,0,0)
- local o = p:Clone()
- o.Parent = p
- o.CFrame = a
- o.Touched:connect(function(hit)
- if hit.Parent and hit.Parent.Name ~= plr.Name and hit.Parent:FindFirstChildOfClass'Humanoid' then
- local targ = hit.Parent
- local humtarg = targ:FindFirstChildOfClass'Humanoid'
- humtarg:TakeDamage(humtarg.MaxHealth/2/2)
- end
- end)
- p.Touched:connect(function(hit)
- if hit.Parent and hit.Parent.Name ~= plr.Name and hit.Parent:FindFirstChildOfClass'Humanoid' then
- local targ = hit.Parent
- local humtarg = targ:FindFirstChildOfClass'Humanoid'
- humtarg:TakeDamage(humtarg.MaxHealth/2/2)
- end
- end)
- for i = 1,b do
- wait(.05)
- p.Size = p.Size + Vector3.new(0.7,0.7,0.7)
- o.Size = p.Size
- o.CFrame = a * CFrame.Angles(math.random(1,100),math.random(1,100),math.random(1,100))
- p.CFrame = a * CFrame.Angles(math.random(1,100),math.random(1,100),math.random(1,100))
- p.Transparency = p.Transparency + 0.03
- o.Transparency = o.Transparency + 0.03
- p.BrickColor = BrickColor.new(colors[math.random(1,#colors)])
- o.BrickColor = BrickColor.new(colors[math.random(1,#colors)])
- end
- p:Destroy()
- o:Destroy()
- end
- function sd()
- coroutine.resume(coroutine.create(function()
- local colors = {
- 'Deep orange',
- 'New Yeller',
- 'Bright yellow'
- }
- local p = Instance.new('Part', workspace)
- p.Anchored = true
- p.CanCollide = false
- p.CFrame = char.Torso.CFrame
- p.BottomSurface = 0
- p.Material = 'Neon'
- p.BrickColor = BrickColor.new(colors[math.random(1,#colors)])
- p.TopSurface = 0
- p.Transparency = 0.25
- p.Size = Vector3.new(0,0,0)
- local o = p:Clone()
- o.Parent = p
- o.CFrame = char.Torso.CFrame
- o.Touched:connect(function(hit)
- if hit.Parent and hit.Parent.Name ~= plr.Name and hit.Parent:FindFirstChildOfClass'Humanoid' then
- local targ = hit.Parent
- local humtarg = targ:FindFirstChildOfClass'Humanoid'
- humtarg:TakeDamage(humtarg.MaxHealth/2/2)
- for _, a in pairs(targ:children()) do
- if a:IsA('ForceField') then
- a:Destroy()
- end
- end
- end
- end)
- p.Touched:connect(function(hit)
- if hit.Parent and hit.Parent.Name ~= plr.Name and hit.Parent:FindFirstChildOfClass'Humanoid' then
- local targ = hit.Parent
- local humtarg = targ:FindFirstChildOfClass'Humanoid'
- humtarg:TakeDamage(humtarg.MaxHealth/2/2)
- for _, a in pairs(targ:children()) do
- if a:IsA('ForceField') then
- a:Destroy()
- end
- end
- end
- end)
- for i = 1,80 do
- wait(.05)
- p.Size = p.Size + Vector3.new(2,2,2)
- o.Size = p.Size
- o.CFrame = char.Torso.CFrame * CFrame.Angles(math.random(1,100),math.random(1,100),math.random(1,100))
- p.CFrame = char.Torso.CFrame * CFrame.Angles(math.random(1,100),math.random(1,100),math.random(1,100))
- p.Transparency = p.Transparency + 0.012
- o.Transparency = o.Transparency + 0.012
- p.BrickColor = BrickColor.new(colors[math.random(1,#colors)])
- o.BrickColor = BrickColor.new(colors[math.random(1,#colors)])
- end
- p:Destroy()
- o:Destroy()
- end))
- end
- function firer(a)
- local fire1 = Instance.new("ParticleEmitter", a)
- fire1.Texture = "rbxassetid://160041569"
- fire1.Rotation = NumberRange.new(-180,180)
- fire1.RotSpeed = NumberRange.new(5, 9)
- fire1.Speed = NumberRange.new(5, 7)
- fire1.Lifetime = NumberRange.new(0.05,0.06)
- fire1.Color = ColorSequence.new(BrickColor.new'Deep orange'.Color)
- fire1.Rate = 200,300
- fire1.Acceleration = Vector3.new( 8, 6, 6 )
- fire1.Transparency = NumberSequence.new(0, 0, 0, 0.13253, 0.54375, 0, 0.32092, 0.7375, 0, 0.387733, 0, 0, 0.468784 ,0.725, 0, 0.522453, 0.45625, 0, 0.615553, 0.6375, 0, 0.63965, 0 ,0, 0.744797, 0.525, 0 ,1, 0, 0 )
- fire1.LightEmission = 0.860
- fire1.Size = NumberSequence.new(1)
- fire1.LightInfluence = 0
- fire1.Enabled = false
- fire1.SpreadAngle = Vector2.new(28, 28)
- 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
- --// Body Parts
- human = char:FindFirstChildOfClass'Humanoid'
- torso = char.Torso
- root = char.HumanoidRootPart
- lleg = char["Left Leg"]
- rleg = char["Right Leg"]
- larm = char["Left Arm"]
- rarm = char["Right Arm"]
- head = char.Head
- --// Head
- neck = torso.Neck
- ncf = neck.C0
- --// torso
- torsojoint = root.RootJoint
- torsoC0 = torsojoint.C0
- --// Legs
- lhip = torso["Left Hip"]
- rhip = torso["Right Hip"]
- lle = lhip.C0
- rle = rhip.C0
- --// rad,random,sin,cos,and floor
- rad = math.rad
- random = math.random
- sin = math.sin
- cos = math.cos
- floor = math.floor
- --// Body Color
- bc = char:FindFirstChild('Body Colors')
- bc.HeadColor = BrickColor.new('asd')
- bc.LeftArmColor = BrickColor.new('asd')
- bc.RightArmColor = BrickColor.new('asd')
- bc.LeftLegColor = BrickColor.new('asd')
- bc.RightLegColor = BrickColor.new('asd')
- bc.TorsoColor = BrickColor.new('asd')
- --// Sfx
- local s1 = Instance.new('Sound', plr.PlayerGui) -- Zoom out/in
- s1.SoundId = "rbxassetid://866613992"
- s1.Looped = true
- s1.Volume = 4
- s1:Stop()
- local s2 = Instance.new('Sound', char.Torso) -- Fire
- s2.SoundId = "rbxassetid://455238567"
- s2.Looped = true
- s2.Volume = 8
- s2:Stop()
- local s3 = Instance.new('Sound', char.Torso) -- Explosion
- s3.SoundId = "rbxassetid://138210320"
- s3.Looped = false
- s3.Volume = 10
- s3:Stop()
- local s4 = Instance.new('Sound', char['Right Arm']) -- Down/Up
- s4.SoundId = "rbxassetid://92597369"
- s4.Volume = 4
- s4:Stop()
- local s5 = Instance.new('Sound', char['Right Arm']) -- Shoot
- s5.SoundId = "rbxassetid://168143115"
- s5.Volume = 6
- s5.Pitch = 4
- s5:Stop()
- local s6 = s5:Clone()
- s6.Parent = char['Right Arm']
- local s7 = s5:Clone()
- s7.Parent = char['Right Arm']
- local sfx = {}
- table.insert(sfx,s5)
- table.insert(sfx,s6)
- table.insert(sfx,s7)
- --// Arms
- lshold = torso["Left Shoulder"]
- rshold = torso["Right Shoulder"]
- lsho = lshold.C0
- rsho = rshold.C0
- --// Remove animations
- char.Animate.Parent = nil
- human.Animator.Parent = nil
- for i,v in pairs(human:GetPlayingAnimationTracks()) do
- v:Stop()
- end
- --// Heartbeat
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 1 / 60
- tf = 0
- allowframeloss = false
- 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)
- --// Configs
- speed = 4
- cooldown = true
- sprint = false
- gunOut = false
- bladeOut = false
- shootPart = ""
- --// Run
- local UIS = game:GetService('UserInputService')
- UIS.InputBegan:connect(function(input)
- if input.KeyCode == Enum.KeyCode.LeftShift then
- if sprint == false and cooldown then
- cooldown = false
- human.WalkSpeed = 22
- sprint = true
- for _, a in pairs(firep) do
- a.Enabled = true
- end
- elseif sprint == true and cooldown then
- cooldown = false
- sprint = false
- human.WalkSpeed = 7
- for _, a in pairs(firep) do
- a.Enabled = false
- end
- end
- cooldown = true
- end
- end)
- --// Fake Leg Parts
- local p1 = Instance.new('Part', char)
- p1.Name = 'LeftLeg'
- p1.Size = Vector3.new(0.5,0.5,0.5)
- p1.Anchored = false
- p1.CanCollide = false
- local w1 = Instance.new('Weld', char)
- w1.Part0 = p1
- w1.Part1 = char['Left Leg']
- w1.C0 = CFrame.new(0,1,0)
- local p2 = p1:Clone()
- p2.Parent = char
- local w2 = Instance.new('Weld', char)
- w2.Part0 = p2
- w2.Part1 = char['Right Leg']
- w2.C0 = CFrame.new(0,1,0)
- local p3 = p1:Clone()
- p3.Parent = char
- local w3 = Instance.new('Weld', char)
- w3.Part0 = p3
- w3.Part1 = char['Right Arm']
- w3.C0 = CFrame.new(0,1,0)
- p3.Transparency = 1
- p2.Transparency = 1
- p1.Transparency = 1
- firer(p3)
- firer(p2)
- firer(p1)
- firep = {}
- table.insert(firep,p1:FindFirstChildOfClass'ParticleEmitter')
- table.insert(firep,p2:FindFirstChildOfClass'ParticleEmitter')
- table.insert(firep,p3:FindFirstChildOfClass'ParticleEmitter')
- --// Character
- human.WalkSpeed = 7
- for _, a in pairs(char:children()) do
- if a:IsA'Pants' or a:IsA'ShirtGraphic' or a:IsA'Shirt' or a:IsA'CharacterMesh' or a:IsA'Accessory' then
- a:Destroy()
- end
- end
- local sh = Instance.new('Shirt', char)
- sh.ShirtTemplate = "http://www.roblox.com/asset/?id=21849553"
- local pa = Instance.new('Pants', char)
- pa.PantsTemplate = "http://www.roblox.com/asset/?id=21849622"
- local hat = Instance.new('Part', char)
- hat.Name = "Accessory"
- hat.Anchored = false
- hat.CanCollide = false
- hat.BrickColor = BrickColor.new('Really black')
- local weld = Instance.new('Weld', hat)
- weld.Part0 = hat
- weld.Part1 = char.Head
- weld.C0 = CFrame.new(0,-0.52,0)
- local mesh = Instance.new('SpecialMesh', hat)
- mesh.MeshId = "http://www.roblox.com/asset/?id=14394711"
- mesh.Scale = Vector3.new(1, 0.95, 0.85)
- mesh.TextureId = "http://www.roblox.com/asset/?id=14394687"
- --// HandBlade
- local m = Instance.new("Model")
- m.Name = "HandBlade"
- p1 = Instance.new("Part", m)
- p1.BrickColor = BrickColor.new("Bright yellow")
- p1.Reflectance = 0.20000000298023
- p1.Name = "Handle4"
- p1.CFrame = CFrame.new(-0.643002868, 3.90081668, 19.4344158, -0.0783733577, 4.25964231e-07, -0.996935844, 0.0411199033, -0.999173105, -0.00323337456, -0.996070921, -0.041249644, 0.0783098191)
- p1.CanCollide = false
- p1.FormFactor = Enum.FormFactor.Plate
- p1.Size = Vector3.new(0.246900573, 0.106616475, 0.549366534)
- p1.BottomSurface = Enum.SurfaceType.Smooth
- p1.TopSurface = Enum.SurfaceType.Smooth
- b1 = Instance.new("SpecialMesh", p1)
- b1.MeshType = Enum.MeshType.Brick
- b1.Name = "Mesh"
- b1.Scale = Vector3.new(0.5, 0.853330731, 1)
- p2 = Instance.new("Part", m)
- p2.BrickColor = BrickColor.new("Bright yellow")
- p2.Reflectance = 0.20000000298023
- p2.Name = "Handle5"
- p2.CFrame = CFrame.new(-0.64328289, 3.26432657, 19.4081631, -0.0783744007, 4.87090063e-07, -0.996926308, 0.041120708, -0.999153793, -0.00323330285, -0.996074617, -0.0412481911, 0.0783083141)
- p2.FormFactor = Enum.FormFactor.Plate
- p2.Size = Vector3.new(0.246900573, 1.18272865, 0.548843801)
- p2.BottomSurface = Enum.SurfaceType.Smooth
- p2.TopSurface = Enum.SurfaceType.Smooth
- b2 = Instance.new("SpecialMesh", p2)
- b2.MeshType = Enum.MeshType.Brick
- b2.Name = "Mesh"
- b2.Scale = Vector3.new(0.200000003, 1, 0.800000012)
- p3 = Instance.new("Part", m)
- p3.BrickColor = BrickColor.new("Bright yellow")
- p3.Reflectance = 0.20000000298023
- p3.Name = "Main"
- local bladeWeld = Instance.new('Weld', p3)
- bladeWeld.Part0 = p3
- bladeWeld.Name = 'MainWeld'
- bladeWeld.Part1 = char['Right Arm']
- bladeWeld.C0 = CFrame.new(0,-.7,0) * CFrame.Angles(rad(0),rad(0),rad(180))
- p3.CFrame = CFrame.new(-0.636542201, 2.46875334, 19.3747864, -0.0783738792, 4.56527232e-07, -0.996931076, 0.0411203057, -0.999163449, -0.00323333871, -0.996072769, -0.0412489176, 0.0783090666)
- p3.FormFactor = Enum.FormFactor.Plate
- p3.Size = Vector3.new(0.246900573, 0.454895586, 0.562311172)
- b3 = Instance.new("SpecialMesh", p3)
- b3.MeshType = Enum.MeshType.Wedge
- b3.Name = "Mesh"
- b3.Scale = Vector3.new(0.200000003, 1, 0.800000012)
- w1 = Instance.new("Weld", p3)
- w1.Name = "BTWeld"
- w1.Part0 = p3
- w1.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w1.Part1 = p2
- w1.C1 = CFrame.new(2.86102295e-06, 0.79626894, -0.00676131248, 0.999998152, 3.27825546e-07, -3.7997961e-07, 3.27825546e-07, 1.00000966, 4.88944352e-09, -3.7997961e-07, 4.88944352e-09, 1.00000477)
- w2 = Instance.new("Weld", p3)
- w2.Name = "BTWeld"
- w2.Part0 = p3
- w2.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w2.Part1 = p1
- w2.C1 = CFrame.new(9.53674316e-07, 1.4332695, -0.00647997856, 0.999998152, 3.27825546e-07, -3.7997961e-07, 3.27825546e-07, 1.00000966, 4.88944352e-09, -3.7997961e-07, 4.88944352e-09, 1.00000477)
- m.Parent = char
- local b = m:Clone()
- local c = m:Clone()
- for _, a in pairs(b['Main']:children()) do
- if a:IsA'Weld' and a.Name == 'MainWeld' then
- a:Destroy()
- end
- end
- for _, a in pairs(c['Main']:children()) do
- if a:IsA'Weld' and a.Name == 'MainWeld' then
- a:Destroy()
- end
- end
- local bladeWeld2 = bladeWeld:Clone()
- bladeWeld2.Parent = b.Main
- bladeWeld2.Part0 = b.Main
- bladeWeld2.Part1 = char['Right Arm']
- bladeWeld2.C0 = CFrame.new(-.3,-.7,0) * CFrame.Angles(rad(0),rad(0),rad(180))
- local bladeWeld3 = bladeWeld:Clone()
- bladeWeld3.Parent = c.Main
- bladeWeld3.Part0 = c.Main
- bladeWeld3.Part1 = char['Right Arm']
- bladeWeld3.C0 = CFrame.new(.3,-.7,0) * CFrame.Angles(rad(0),rad(0),rad(180))
- b.Parent = m
- c.Parent = b
- for _, a in pairs(c:children()) do
- if a:IsA'Part' then
- a.Anchored = false
- a.CanCollide = false
- a.BrickColor = BrickColor.new'asd'
- a.Material = 'DiamondPlate'
- end
- end
- for _, a in pairs(b:children()) do
- if a:IsA'Part' then
- a.Anchored = false
- a.CanCollide = false
- a.BrickColor = BrickColor.new'asd'
- a.Material = 'DiamondPlate'
- end
- end
- for _, a in pairs(m:children()) do
- if a:IsA'Part' then
- a.Anchored = false
- a.CanCollide = false
- a.BrickColor = BrickColor.new'asd'
- a.Material = 'DiamondPlate'
- end
- end
- --// Gun model
- local m = Instance.new("Model")
- m.Name = "Gun"
- p1 = Instance.new("Part", m)
- p1.BrickColor = BrickColor.new("Fossil")
- p1.CFrame = CFrame.new(-0.401441604, 2.8175571, 18.1787033, 0.999962628, 0.00863229949, -1.11795003e-07, 0.00863230135, -0.999962628, -1.11789809e-07, -1.12755828e-07, 1.10820594e-07, -1)
- p1.Size = Vector3.new(1, 0.25, 0.5)
- b1 = Instance.new("SpecialMesh", p1)
- b1.MeshId = "rbxassetid://989468093"
- b1.TextureId = ""
- b1.MeshType = Enum.MeshType.FileMesh
- b1.Name = "Mesh"
- b1.Scale = Vector3.new(0.5, 12.5, 0.5)
- p2 = Instance.new("Part", m)
- p2.BrickColor = BrickColor.new("Fossil")
- p2.Material = Enum.Material.Metal
- p2.CFrame = CFrame.new(-0.512578011, 2.62521815, 18.2519169, -0.00863235723, 1.11795003e-07, 0.999965012, 0.999965012, 1.11789795e-07, 0.00863236282, -1.10820849e-07, 1, -1.12756112e-07)
- p2.Shape = Enum.PartType.Cylinder
- p2.Size = Vector3.new(0.309999973, 0.12178535, 0.110713989)
- p2.BottomSurface = Enum.SurfaceType.Smooth
- p2.TopSurface = Enum.SurfaceType.Smooth
- gunpart = Instance.new("Part", m)
- gunpart.BrickColor = BrickColor.new("Fossil")
- gunpart.Material = Enum.Material.Metal
- gunpart.CFrame = CFrame.new(-0.401283592, 2.6261785, 18.0415592, -0.00863235909, 1.11795003e-07, 0.999965012, 0.999965012, 1.11789795e-07, 0.00863236468, -1.10820849e-07, 1, -1.12756112e-07)
- gunpart.Shape = Enum.PartType.Cylinder
- gunpart.Size = Vector3.new(0.309999973, 0.12178535, 0.110713989)
- gunpart.BottomSurface = Enum.SurfaceType.Smooth
- gunpart.TopSurface = Enum.SurfaceType.Smooth
- p4 = Instance.new("Part", m)
- p4.BrickColor = BrickColor.new("Fossil")
- p4.Material = Enum.Material.Metal
- p4.CFrame = CFrame.new(-0.290575087, 2.62713361, 18.1190605, -0.00863239262, 1.11794996e-07, 0.99996978, 0.99996978, 1.11789795e-07, 0.00863240566, -1.10821397e-07, 1, -1.12756659e-07)
- p4.Shape = Enum.PartType.Cylinder
- p4.Size = Vector3.new(0.309999973, 0.12178535, 0.110713989)
- p4.BottomSurface = Enum.SurfaceType.Smooth
- p4.TopSurface = Enum.SurfaceType.Smooth
- p5 = Instance.new("Part", m)
- p5.BrickColor = BrickColor.new("Fossil")
- p5.Material = Enum.Material.Metal
- p5.CFrame = CFrame.new(-0.512001157, 2.62522316, 18.1190605, -0.00863235909, 1.11795003e-07, 0.999965012, 0.999965012, 1.11789795e-07, 0.00863236468, -1.10820849e-07, 1, -1.12756112e-07)
- p5.Shape = Enum.PartType.Cylinder
- p5.Size = Vector3.new(0.309999973, 0.12178535, 0.110713989)
- p5.BottomSurface = Enum.SurfaceType.Smooth
- p5.TopSurface = Enum.SurfaceType.Smooth
- p6 = Instance.new("Part", m)
- p6.BrickColor = BrickColor.new("Fossil")
- p6.Material = Enum.Material.Metal
- p6.CFrame = CFrame.new(-0.401282996, 2.62617803, 18.3072739, -0.00863235537, 1.11794996e-07, 0.999965012, 0.999965012, 1.11789802e-07, 0.00863236096, -1.10820856e-07, 1, -1.12756105e-07)
- p6.Shape = Enum.PartType.Cylinder
- p6.Size = Vector3.new(0.309999973, 0.12178535, 0.110713989)
- p6.BottomSurface = Enum.SurfaceType.Smooth
- p6.TopSurface = Enum.SurfaceType.Smooth
- p7 = Instance.new("Part", m)
- p7.BrickColor = BrickColor.new("Fossil")
- p7.Material = Enum.Material.Metal
- p7.Name = "MainWeld"
- p7.CFrame = CFrame.new(-0.290575475, 2.62713385, 18.2519169, -0.00863235351, 1.11794996e-07, 0.999965012, 0.999965012, 1.11789809e-07, 0.00863235909, -1.10820864e-07, 1, -1.12756105e-07)
- p7.Shape = Enum.PartType.Cylinder
- p7.Size = Vector3.new(0.309999973, 0.12178535, 0.110713989)
- p7.BottomSurface = Enum.SurfaceType.Smooth
- p7.TopSurface = Enum.SurfaceType.Smooth
- p8 = Instance.new("Part", m)
- p8.BrickColor = BrickColor.new("Really black")
- p8.Material = Enum.Material.Metal
- p8.Reflectance = 0.55000001192093
- p8.CFrame = CFrame.new(-0.402910084, 2.81120157, 18.1801624, -0.00863235537, 1.11795003e-07, 0.999965012, 0.999965012, 1.11789802e-07, 0.00863236096, -1.10820856e-07, 1, -1.12756112e-07)
- p8.Shape = Enum.PartType.Cylinder
- p8.Size = Vector3.new(0.539999843, 0.437499523, 0.69999963)
- p8.BottomSurface = Enum.SurfaceType.Smooth
- p8.TopSurface = Enum.SurfaceType.Smooth
- p9 = Instance.new("Part", m)
- p9.BrickColor = BrickColor.new("Fossil")
- p9.Material = Enum.Material.Metal
- p9.CFrame = CFrame.new(-0.400313258, 2.62618637, 18.183979, -0.00863235723, 1.11795003e-07, 0.999965012, 0.999965012, 1.11789795e-07, 0.00863236282, -1.10820849e-07, 1, -1.12756112e-07)
- p9.Shape = Enum.PartType.Cylinder
- p9.Size = Vector3.new(0.309999973, 0.12178535, 0.110713989)
- p9.BottomSurface = Enum.SurfaceType.Smooth
- p9.TopSurface = Enum.SurfaceType.Smooth
- p10 = Instance.new("Part", m)
- p10.BrickColor = BrickColor.new("Medium stone grey")
- p10.Name = "Handle"
- p10.CFrame = CFrame.new(-0.393283606, 2.8216691, 17.7182941, 0.027286822, 3.7252903e-09, 0.999634027, 1.16415322e-10, 1.00000477, 3.7252903e-09, -0.999627113, -5.47117907e-13, 0.0272866897)
- p10.Shape = Enum.PartType.Cylinder
- p10.Size = Vector3.new(1.10000086, 0.270000219, 0.199999958)
- w1 = Instance.new("Weld", p7)
- w1.Name = "BTWeld"
- w1.Part0 = p7
- w1.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w1.Part1 = p6
- w1.C1 = CFrame.new(2.38418579e-07, -0.0553569794, 0.110711396, 1, 7.10531724e-15, -1.86262872e-09, -7.10531724e-15, 1, -1.3234773e-23, 1.86262872e-09, 2.6469341e-23, 1)
- w2 = Instance.new("Weld", p7)
- w2.Name = "BTWeld"
- w2.Part0 = p7
- w2.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w2.Part1 = p8
- w2.C1 = CFrame.new(-0.185030222, 0.0717544556, 0.110741228, 1, 7.10535451e-15, -1.86263849e-09, -7.10535451e-15, 1, 7.10542736e-15, 1.86263849e-09, -7.10542736e-15, 1)
- w3 = Instance.new("Weld", p7)
- w3.Name = "BTWeld"
- w3.Part0 = p7
- w3.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w3.Part1 = p10
- w3.C1 = CFrame.new(-0.530622482, -0.194534302, 0.117230028, -0.000235437692, -0.999627113, 0.0272858571, 0.99996525, 1.11789817e-07, 0.00863235909, -0.00862916, 0.0272868015, 0.99959451)
- w4 = Instance.new("Weld", p7)
- w4.Name = "BTWeld"
- w4.Part0 = p7
- w4.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w4.Part1 = p9
- w4.C1 = CFrame.new(2.38418579e-07, 0.067937851, 0.109741598, 1, 1.4210709e-14, -3.72526454e-09, -1.4210709e-14, 1, 7.10542736e-15, 3.72526454e-09, -7.10542736e-15, 1)
- w5 = Instance.new("Weld", p7)
- w5.Name = "BTWeld"
- w5.Part0 = p7
- w5.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w5.Part1 = p2
- w5.C1 = CFrame.new(-7.15255737e-07, 0, 0.222010314, 1, 1.4210709e-14, -3.72526454e-09, -1.4210709e-14, 1, 7.10542736e-15, 3.72526454e-09, -7.10542736e-15, 1)
- w6 = Instance.new("Weld", p7)
- w6.Name = "BTWeld"
- w6.Part0 = p7
- w6.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w6.Part1 = p1
- w6.C1 = CFrame.new(0.10921821, 0.19137311, -0.0732135773, -3.35275985e-08, -7.10542736e-15, 1.00000238, -1.00000238, 0, -3.72529172e-08, 1.42108547e-14, -1, 0)
- w7 = Instance.new("Weld", p7)
- w7.Name = "BTWeld"
- w7.Part0 = p7
- w7.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w7.Part1 = gunpart
- w7.C1 = CFrame.new(-4.76837158e-07, 0.210357666, 0.110711962, 1, 1.42107124e-14, -5.58789193e-09, -1.42107124e-14, 1, 7.10542736e-15, 5.58789193e-09, -7.10542736e-15, 1)
- w8 = Instance.new("Weld", p7)
- w8.Name = "BTWeld"
- w8.Part0 = p7
- w8.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w8.Part1 = p4
- w8.C1 = CFrame.new(2.38418579e-07, 0.132856369, -3.87430191e-07, 1.00000477, -7.10542736e-15, 1.86265758e-09, -1.42108547e-14, 1, 0, 5.58794788e-09, -1.42108547e-14, 1.00000477)
- w9 = Instance.new("Weld", p7)
- w9.Name = "BTWeld"
- w9.Part0 = p7
- w9.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w9.Part1 = p5
- w9.C1 = CFrame.new(-7.15255737e-07, 0.132856369, 0.221433431, 1, 1.42107124e-14, -5.58789193e-09, -1.42107124e-14, 1, 7.10542736e-15, 5.58789193e-09, -7.10542736e-15, 1)
- m.Parent = char
- local gunWeld = Instance.new('Weld', p7)
- gunWeld.Part0 = p7
- gunWeld.Part1 = char['Right Arm']
- gunWeld.C0 = CFrame.new(0.25,-1.53,-0.10) * CFrame.Angles(rad(0),rad(90),rad(0))
- m.Parent = char
- for _, a in pairs(m:children()) do
- if a:IsA'Part' then
- a.CanCollide = false
- a.Anchored = false
- end
- end
- --// Arm
- local m = Instance.new("Model")
- m.Name = "Arm"
- p1 = Instance.new("Part", m)
- p1.BrickColor = BrickColor.new("Medium stone grey")
- p1.Name = "Arm"
- p1.CFrame = CFrame.new(1.30997491, 7.09002733, -22.9693718, 0.965925813, 0.258819044, -4.37113883e-08, -0.258819044, 0.965925813, 0, 4.22219593e-08, 1.13133396e-08, 1)
- p1.Anchored = true
- p1.CanCollide = false
- p1.FormFactor = Enum.FormFactor.Symmetric
- p1.Size = Vector3.new(1, 1, 1)
- b1 = Instance.new("SpecialMesh", p1)
- b1.MeshType = Enum.MeshType.Head
- b1.Name = "Mesh"
- b1.Scale = Vector3.new(0.100000001, 0.600000024, 0.100000001)
- p2 = Instance.new("Part", m)
- p2.BrickColor = BrickColor.new("Bright blue")
- p2.Transparency = 1
- p2.Name = "Middle"
- p2.CFrame = CFrame.new(1.61000085, 8.00003242, -23.0793571, 4.37113883e-08, 0, 1, 0, 1, 0, -1, 0, 4.37113883e-08)
- p2.Anchored = true
- p2.CanCollide = false
- p2.FormFactor = Enum.FormFactor.Symmetric
- p2.Size = Vector3.new(1, 2, 1)
- p2.LeftSurface = Enum.SurfaceType.Weld
- p2.RightSurface = Enum.SurfaceType.Weld
- p2.TopSurface = Enum.SurfaceType.Weld
- p2.LeftParamA = 0
- p2.LeftParamB = 0
- p2.RightParamA = 0
- p2.RightParamB = 0
- p3 = Instance.new("Part", m)
- p3.BrickColor = BrickColor.new("Dark stone grey")
- p3.Name = "Arm"
- p3.CFrame = CFrame.new(1.22997284, 6.77002525, -22.9693642, 0.965925813, 0.258819044, -4.37113883e-08, -0.258819044, 0.965925813, 0, 4.22219593e-08, 1.13133396e-08, 1)
- p3.Anchored = true
- p3.CanCollide = false
- p3.FormFactor = Enum.FormFactor.Symmetric
- p3.Size = Vector3.new(1, 1, 1)
- b2 = Instance.new("SpecialMesh", p3)
- b2.MeshType = Enum.MeshType.Head
- b2.Name = "Mesh"
- b2.Scale = Vector3.new(0.150000006, 0.300000012, 0.400000006)
- p4 = Instance.new("Part", m)
- p4.BrickColor = BrickColor.new("asd")
- p4.Name = "Arm"
- p4.CFrame = CFrame.new(1.40998793, 7.4000144, -22.8793755, -0.965925813, -1.0213936e-07, -0.258819044, 0.258819044, 8.27919777e-08, -0.965925813, 1.20087179e-07, -1, -5.35352989e-08)
- p4.Anchored = true
- p4.CanCollide = false
- p4.FormFactor = Enum.FormFactor.Symmetric
- p4.Size = Vector3.new(1, 1, 1)
- b3 = Instance.new("SpecialMesh", p4)
- b3.MeshType = Enum.MeshType.Torso
- b3.Name = "Mesh"
- b3.Scale = Vector3.new(0.600000024, 0.5, 0.699999988)
- p5 = Instance.new("Part", m)
- p5.BrickColor = BrickColor.new("asd")
- p5.Name = "Arm"
- p5.CFrame = CFrame.new(1.61000085, 8.5000248, -22.8793755, -1, -4.37113883e-08, 1.91068547e-15, -3.82137093e-15, 4.37113883e-08, -1, 4.37113883e-08, -1, -4.37113883e-08)
- p5.Anchored = true
- p5.CanCollide = false
- p5.FormFactor = Enum.FormFactor.Symmetric
- p5.Size = Vector3.new(1, 1, 1)
- b4 = Instance.new("SpecialMesh", p5)
- b4.MeshType = Enum.MeshType.Torso
- b4.Name = "Mesh"
- b4.Scale = Vector3.new(0.600000024, 0.5, 0.699999988)
- p6 = Instance.new("Part", m)
- p6.BrickColor = BrickColor.new("Medium stone grey")
- p6.Name = "Arm"
- p6.CFrame = CFrame.new(1.40997291, 7.05002451, -22.8193779, 0.965925813, 0.258819044, -4.37113883e-08, -0.258819044, 0.965925813, 0, 4.22219593e-08, 1.13133396e-08, 1)
- p6.Anchored = true
- p6.CanCollide = false
- p6.FormFactor = Enum.FormFactor.Symmetric
- p6.Size = Vector3.new(1, 1, 1)
- b5 = Instance.new("SpecialMesh", p6)
- b5.MeshType = Enum.MeshType.Head
- b5.Name = "Mesh"
- b5.Scale = Vector3.new(0.100000001, 0.600000024, 0.100000001)
- p7 = Instance.new("Part", m)
- p7.BrickColor = BrickColor.new("Olive")
- p7.Name = "Arm"
- p7.CFrame = CFrame.new(1.519943, 7.78999233, -22.9393425, 0.965925813, 0.258819044, -4.37113883e-08, -0.258819044, 0.965925813, 0, 4.22219593e-08, 1.13133396e-08, 1)
- p7.Anchored = true
- p7.CanCollide = false
- p7.FormFactor = Enum.FormFactor.Symmetric
- p7.Size = Vector3.new(1, 1, 1)
- b6 = Instance.new("SpecialMesh", p7)
- b6.MeshType = Enum.MeshType.Head
- b6.Name = "Mesh"
- b6.Scale = Vector3.new(0.0500000007, 0.5, 0.0500000007)
- p8 = Instance.new("Part", m)
- p8.BrickColor = BrickColor.new("a")
- p8.Name = "Arm"
- p8.CFrame = CFrame.new(1.40997291, 7.4000144, -22.8893547, -0.965925813, -1.0213936e-07, -0.258819044, 0.258819044, 8.27919777e-08, -0.965925813, 1.20087179e-07, -1, -5.35352989e-08)
- p8.Anchored = true
- p8.CanCollide = false
- p8.FormFactor = Enum.FormFactor.Symmetric
- p8.Size = Vector3.new(1, 1, 1)
- b7 = Instance.new("SpecialMesh", p8)
- b7.MeshType = Enum.MeshType.Torso
- b7.Name = "Mesh"
- b7.Scale = Vector3.new(0.600000024, 0.200000003, 0.600000024)
- p9 = Instance.new("Part", m)
- p9.BrickColor = BrickColor.new("Dark stone grey")
- p9.Name = "Arm"
- p9.CFrame = CFrame.new(1.33997297, 6.75002527, -22.8193779, 0.965925813, 0.258819044, -4.37113883e-08, -0.258819044, 0.965925813, 0, 4.22219593e-08, 1.13133396e-08, 1)
- p9.Anchored = true
- p9.CanCollide = false
- p9.FormFactor = Enum.FormFactor.Symmetric
- p9.Size = Vector3.new(1, 1, 1)
- b8 = Instance.new("SpecialMesh", p9)
- b8.MeshType = Enum.MeshType.Head
- b8.Name = "Mesh"
- b8.Scale = Vector3.new(0.150000006, 0.300000012, 0.400000006)
- p10 = Instance.new("Part", m)
- p10.BrickColor = BrickColor.new("Bright blue")
- p10.Name = "Arm"
- p10.CFrame = CFrame.new(1.41996789, 7.88999844, -22.7793694, 0.965925813, 0.258819044, -4.37113883e-08, -0.258819044, 0.965925813, 0, 4.22219593e-08, 1.13133396e-08, 1)
- p10.Anchored = true
- p10.CanCollide = false
- p10.FormFactor = Enum.FormFactor.Symmetric
- p10.Size = Vector3.new(1, 1, 1)
- b9 = Instance.new("SpecialMesh", p10)
- b9.MeshType = Enum.MeshType.Head
- b9.Name = "Mesh"
- b9.Scale = Vector3.new(0.0500000007, 0.5, 0.0500000007)
- p11 = Instance.new("Part", m)
- p11.BrickColor = BrickColor.new("Medium stone grey")
- p11.Name = "Arm"
- p11.CFrame = CFrame.new(1.61000085, 7.80000639, -22.8193779, 0.965925813, 0.258819044, -4.37113883e-08, -0.258819044, 0.965925813, 0, 4.22219593e-08, 1.13133396e-08, 1)
- p11.Anchored = true
- p11.CanCollide = false
- p11.FormFactor = Enum.FormFactor.Symmetric
- p11.Size = Vector3.new(1, 1, 1)
- b10 = Instance.new("SpecialMesh", p11)
- b10.MeshType = Enum.MeshType.Head
- b10.Name = "Mesh"
- b10.Scale = Vector3.new(0.200000003, 0.600000024, 0.200000003)
- p12 = Instance.new("Part", m)
- p12.BrickColor = BrickColor.new("Medium stone grey")
- p12.Name = "Arm"
- p12.CFrame = CFrame.new(1.20997596, 7.12002039, -22.709362, 0.965925813, 0.258819044, -4.37113883e-08, -0.258819044, 0.965925813, 0, 4.22219593e-08, 1.13133396e-08, 1)
- p12.Anchored = true
- p12.CanCollide = false
- p12.FormFactor = Enum.FormFactor.Symmetric
- p12.Size = Vector3.new(1, 1, 1)
- b11 = Instance.new("SpecialMesh", p12)
- b11.MeshType = Enum.MeshType.Head
- b11.Name = "Mesh"
- b11.Scale = Vector3.new(0.100000001, 0.600000024, 0.100000001)
- p13 = Instance.new("Part", m)
- p13.BrickColor = BrickColor.new("Bright red")
- p13.Name = "MainArm"
- local weld = Instance.new('Weld', p13)
- weld.Part0 = char:FindFirstChild('Left Arm')
- weld.Part1 = p13
- weld.C0 = CFrame.new(.5,0,0)
- p13.CFrame = CFrame.new(1.75000787, 7.78999233, -22.7793694, 0.965925813, 0.258819044, -4.37113883e-08, -0.258819044, 0.965925813, 0, 4.22219593e-08, 1.13133396e-08, 1)
- p13.Anchored = true
- p13.CanCollide = false
- p13.FormFactor = Enum.FormFactor.Symmetric
- p13.Size = Vector3.new(1, 1, 1)
- b12 = Instance.new("SpecialMesh", p13)
- b12.MeshType = Enum.MeshType.Head
- b12.Name = "Mesh"
- b12.Scale = Vector3.new(0.0500000007, 0.5, 0.0500000007)
- p14 = Instance.new("Part", m)
- p14.BrickColor = BrickColor.new("a")
- p14.Name = "Arm"
- p14.CFrame = CFrame.new(1.61000085, 8.5000248, -22.7793694, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- p14.Anchored = true
- p14.CanCollide = false
- p14.FormFactor = Enum.FormFactor.Symmetric
- p14.Size = Vector3.new(1, 1, 1)
- b13 = Instance.new("SpecialMesh", p14)
- b13.MeshType = Enum.MeshType.Brick
- b13.Name = "Mesh"
- b13.Scale = Vector3.new(0.5, 1, 0.5)
- p15 = Instance.new("Part", m)
- p15.BrickColor = BrickColor.new("Dark stone grey")
- p15.Name = "Arm"
- p15.CFrame = CFrame.new(1.13997602, 6.78002453, -22.7093773, 0.965925813, 0.258819044, -4.37113883e-08, -0.258819044, 0.965925813, 0, 4.22219593e-08, 1.13133396e-08, 1)
- p15.Anchored = true
- p15.CanCollide = false
- p15.FormFactor = Enum.FormFactor.Symmetric
- p15.Size = Vector3.new(1, 1, 1)
- b14 = Instance.new("SpecialMesh", p15)
- b14.MeshType = Enum.MeshType.Head
- b14.Name = "Mesh"
- b14.Scale = Vector3.new(0.150000006, 0.300000012, 0.400000006)
- p16 = Instance.new("Part", m)
- p16.BrickColor = BrickColor.new("Bright red")
- p16.Name = "Arm"
- p16.CFrame = CFrame.new(1.48001099, 7.88999653, -22.6793633, 0.965925813, 0.258819044, -4.37113883e-08, -0.258819044, 0.965925813, 0, 4.22219593e-08, 1.13133396e-08, 1)
- p16.Anchored = true
- p16.CanCollide = false
- p16.FormFactor = Enum.FormFactor.Symmetric
- p16.Size = Vector3.new(1, 1, 1)
- b15 = Instance.new("SpecialMesh", p16)
- b15.MeshType = Enum.MeshType.Head
- b15.Name = "Mesh"
- b15.Scale = Vector3.new(0.0500000007, 0.5, 0.0500000007)
- p17 = Instance.new("Part", m)
- p17.BrickColor = BrickColor.new("Really asdblack")
- p17.Name = "Arm"
- p17.CFrame = CFrame.new(1.4100039, 7.40001249, -22.689373, 0.965925813, -4.37113883e-08, -0.258819044, -0.258819044, -4.37113883e-08, -0.965925813, 3.09086197e-08, 1, -5.35352989e-08)
- p17.Anchored = true
- p17.CanCollide = false
- p17.FormFactor = Enum.FormFactor.Symmetric
- p17.Size = Vector3.new(1, 1, 1)
- b16 = Instance.new("SpecialMesh", p17)
- b16.MeshType = Enum.MeshType.Torso
- b16.Name = "Mesh"
- b16.Scale = Vector3.new(0.600000024, 0.200000003, 0.600000024)
- p18 = Instance.new("Part", m)
- p18.BrickColor = BrickColor.new("Earth green")
- p18.Name = "Arm"
- p18.CFrame = CFrame.new(1.68000793, 7.78999662, -22.6793633, 0.965925813, 0.258819044, -4.37113883e-08, -0.258819044, 0.965925813, 0, 4.22219593e-08, 1.13133396e-08, 1)
- p18.Anchored = true
- p18.CanCollide = false
- p18.FormFactor = Enum.FormFactor.Symmetric
- p18.Size = Vector3.new(1, 1, 1)
- b17 = Instance.new("SpecialMesh", p18)
- b17.MeshType = Enum.MeshType.Head
- b17.Name = "Mesh"
- b17.Scale = Vector3.new(0.0500000007, 0.5, 0.0500000007)
- p19 = Instance.new("Part", m)
- p19.BrickColor = BrickColor.new("Really red")
- p19.Transparency = 0.89999997615814
- p19.Name = "Arm"
- p19.CFrame = CFrame.new(1.10996199, 8.60003662, -22.6793633, -4.37113883e-08, 1, -4.37113883e-08, -1, -4.37113883e-08, 0, -1.91068547e-15, 4.37113883e-08, 1)
- p19.Anchored = true
- p19.CanCollide = false
- p19.FormFactor = Enum.FormFactor.Symmetric
- p19.Size = Vector3.new(1, 1, 1)
- b18 = Instance.new("SpecialMesh", p19)
- b18.MeshType = Enum.MeshType.Head
- b18.Name = "Mesh"
- b18.Scale = Vector3.new(0.400000006, 0.5, 0.400000006)
- p20 = Instance.new("Part", m)
- p20.BrickColor = BrickColor.new("Really red")
- p20.Transparency = 0.89999997615814
- p20.Name = "Arm"
- p20.CFrame = CFrame.new(1.10997796, 8.60003662, -22.6793633, -4.37113883e-08, 1, -4.37113883e-08, -1, -4.37113883e-08, 0, -1.91068547e-15, 4.37113883e-08, 1)
- p20.Anchored = true
- p20.CanCollide = false
- p20.FormFactor = Enum.FormFactor.Symmetric
- p20.Size = Vector3.new(1, 1, 1)
- b19 = Instance.new("SpecialMesh", p20)
- b19.MeshType = Enum.MeshType.Head
- b19.Name = "Mesh"
- b19.Scale = Vector3.new(0.300000012, 0.400000006, 0.300000012)
- p21 = Instance.new("Part", m)
- p21.BrickColor = BrickColor.new("Really red")
- p21.Transparency = 0.89999997615814
- p21.Name = "Arm"
- p21.CFrame = CFrame.new(1.10993195, 8.60003662, -22.6793633, -4.37113883e-08, 1, -4.37113883e-08, -1, -4.37113883e-08, 0, -1.91068547e-15, 4.37113883e-08, 1)
- p21.Anchored = true
- p21.CanCollide = false
- p21.FormFactor = Enum.FormFactor.Symmetric
- p21.Size = Vector3.new(1, 1, 1)
- b20 = Instance.new("SpecialMesh", p21)
- b20.MeshType = Enum.MeshType.Head
- b20.Name = "Mesh"
- b20.Scale = Vector3.new(0.600000024, 0.699999988, 0.600000024)
- p22 = Instance.new("Part", m)
- p22.BrickColor = BrickColor.new("Reallyasd black")
- p22.Name = "Arm"
- p22.CFrame = CFrame.new(1.61000085, 8.5000248, -22.6793785, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- p22.Anchored = true
- p22.CanCollide = false
- p22.FormFactor = Enum.FormFactor.Symmetric
- p22.Size = Vector3.new(1, 1, 1)
- b21 = Instance.new("SpecialMesh", p22)
- b21.MeshType = Enum.MeshType.Brick
- b21.Name = "Mesh"
- b21.Scale = Vector3.new(0.400000006, 0.600000024, 0.800000012)
- p23 = Instance.new("Part", m)
- p23.BrickColor = BrickColor.new("Really red")
- p23.Transparency = 0.89999997615814
- p23.Name = "Arm"
- p23.CFrame = CFrame.new(1.10994697, 8.60003662, -22.6793633, -4.37113883e-08, 1, -4.37113883e-08, -1, -4.37113883e-08, 0, -1.91068547e-15, 4.37113883e-08, 1)
- p23.Anchored = true
- p23.CanCollide = false
- p23.FormFactor = Enum.FormFactor.Symmetric
- p23.Size = Vector3.new(1, 1, 1)
- b22 = Instance.new("SpecialMesh", p23)
- b22.MeshType = Enum.MeshType.Head
- b22.Name = "Mesh"
- b22.Scale = Vector3.new(0.5, 0.600000024, 0.5)
- p24 = Instance.new("Part", m)
- p24.BrickColor = BrickColor.new("Really red")
- p24.Name = "Arm"
- p24.CFrame = CFrame.new(1.30998993, 8.60003662, -22.6793633, 0, 1, 1.91068547e-15, 4.37113883e-08, 1.91068547e-15, -1, -1, 0, -4.37113883e-08)
- p24.Anchored = true
- p24.CanCollide = false
- p24.FormFactor = Enum.FormFactor.Symmetric
- p24.Size = Vector3.new(1, 1, 1)
- b23 = Instance.new("SpecialMesh", p24)
- b23.MeshType = Enum.MeshType.Head
- b23.Name = "Mesh"
- b23.Scale = Vector3.new(0.200000003, 0.300000012, 0.200000003)
- p25 = Instance.new("Part", m)
- p25.BrickColor = BrickColor.new("Realasdly black")
- p25.Name = "Arm"
- p25.CFrame = CFrame.new(1.61000085, 8.59003067, -22.4793816, 1, 3.63966279e-08, 1.46659626e-15, 1.24350789e-16, -4.37113883e-08, 1, 3.63966279e-08, -1, -4.37113883e-08)
- p25.Anchored = true
- p25.CanCollide = false
- p25.FormFactor = Enum.FormFactor.Symmetric
- p25.Size = Vector3.new(1, 1, 1)
- b24 = Instance.new("SpecialMesh", p25)
- b24.MeshType = Enum.MeshType.Head
- b24.Name = "Mesh"
- b24.Scale = Vector3.new(1, 0.699999988, 0.699999988)
- w1 = Instance.new("Weld", p13)
- w1.Name = "BTWeld"
- w1.Part0 = p13
- w1.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w1.Part1 = p8
- w1.C1 = CFrame.new(-0.227514863, -0.109985352, -0.464697361, -0.99999994, 1.35858706e-15, 1.62309135e-07, -1.62309135e-07, 4.22219593e-08, -1, -2.26036523e-15, -0.99999994, -4.22219593e-08)
- w2 = Instance.new("Weld", p13)
- w2.Name = "BTWeld"
- w2.Part0 = p13
- w2.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w2.Part1 = p12
- w2.C1 = CFrame.new(0.348229289, 0.786913872, -0.0700073242, 0.99999994, 4.77671366e-16, 0, 4.77671366e-16, 0.99999994, 0, 0, 0, 1)
- w3 = Instance.new("Weld", p13)
- w3.Name = "BTWeld"
- w3.Part0 = p13
- w3.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w3.Part1 = p2
- w3.C1 = CFrame.new(-0.299987793, -0.210040092, 0.140007019, 0, 0, -1, -0.258819044, 0.965925813, 0, 0.965925813, 0.258819044, 0)
- w4 = Instance.new("Weld", p13)
- w4.Name = "BTWeld"
- w4.Part0 = p13
- w4.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w4.Part1 = p4
- w4.C1 = CFrame.new(-0.227500319, -0.100006104, -0.464693546, -0.99999994, 1.35858706e-15, 1.62309135e-07, -1.62309135e-07, 4.22219593e-08, -1, -2.26036523e-15, -0.99999994, -4.22219593e-08)
- w5 = Instance.new("Weld", p13)
- w5.Name = "BTWeld"
- w5.Part0 = p13
- w5.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w5.Part1 = p9
- w5.C1 = CFrame.new(0.126899958, 1.11065578, 0.0400085449, 0.99999994, 4.77671366e-16, 0, 4.77671366e-16, 0.99999994, 0, 0, 0, 1)
- w6 = Instance.new("Weld", p13)
- w6.Name = "BTWeld"
- w6.Part0 = p13
- w6.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w6.Part1 = p15
- w6.C1 = CFrame.new(0.327846646, 1.13344193, -0.0699920654, 0.99999994, 4.77671366e-16, 0, 4.77671366e-16, 0.99999994, 0, 0, 0, 1)
- w7 = Instance.new("Weld", p13)
- w7.Name = "BTWeld"
- w7.Part0 = p13
- w7.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w7.Part1 = p18
- w7.C1 = CFrame.new(0.0676159859, 0.0181126595, -0.100006104, 0.99999994, 4.77671366e-16, 0, 4.77671366e-16, 0.99999994, 0, 0, 0, 1)
- w8 = Instance.new("Weld", p13)
- w8.Name = "BTWeld"
- w8.Part0 = p13
- w8.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w8.Part1 = p24
- w8.C1 = CFrame.new(0.100006104, 0.440017939, 0.810044289, -5.35352989e-08, 3.09086197e-08, -1, 0.965925813, 0.258819044, -4.37113883e-08, 0.258819044, -0.965925813, -4.37113883e-08)
- w9 = Instance.new("Weld", p13)
- w9.Name = "BTWeld"
- w9.Part0 = p13
- w9.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w9.Part1 = p23
- w9.C1 = CFrame.new(0.810044289, 0.640060902, -0.100006104, 0.258819014, -0.965925813, 0, 0.965925813, 0.258819014, 0, 0, 0, 1)
- w10 = Instance.new("Weld", p13)
- w10.Name = "BTWeld"
- w10.Part0 = p13
- w10.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w10.Part1 = p19
- w10.C1 = CFrame.new(0.810044289, 0.640045881, -0.100006104, 0.258819014, -0.965925813, 0, 0.965925813, 0.258819014, 0, 0, 0, 1)
- w11 = Instance.new("Weld", p13)
- w11.Name = "BTWeld"
- w11.Part0 = p13
- w11.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w11.Part1 = p6
- w11.C1 = CFrame.new(0.136930823, 0.802761555, 0.0400085449, 0.99999994, 4.77671366e-16, 0, 4.77671366e-16, 0.99999994, 0, 0, 0, 1)
- w12 = Instance.new("Weld", p13)
- w12.Name = "BTWeld"
- w12.Part0 = p13
- w12.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w12.Part1 = p22
- w12.C1 = CFrame.new(0.0999908447, -0.710032463, 0.140007019, -4.22219593e-08, -1.13133396e-08, -1, -0.258819044, 0.965925813, 0, 0.965925813, 0.258819044, -4.37113883e-08)
- w13 = Instance.new("Weld", p13)
- w13.Name = "BTWeld"
- w13.Part0 = p13
- w13.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w13.Part1 = p3
- w13.C1 = CFrame.new(0.238328338, 1.11980772, 0.189994812, 0.99999994, 4.77671366e-16, 0, 4.77671366e-16, 0.99999994, 0, 0, 0, 1)
- w14 = Instance.new("Weld", p13)
- w14.Name = "BTWeld"
- w14.Part0 = p13
- w14.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w14.Part1 = p5
- w14.C1 = CFrame.new(-0.140007019, -0.100006104, 0.710032463, -0.965925813, -0.258819044, 8.74227766e-08, -9.57572581e-08, 1.95952801e-08, -1, 0.258819044, -0.965925813, -4.37113883e-08)
- w15 = Instance.new("Weld", p13)
- w15.Name = "BTWeld"
- w15.Part0 = p13
- w15.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w15.Part1 = p14
- w15.C1 = CFrame.new(0, -0.710032463, 0.140007019, -4.22219593e-08, -1.13133396e-08, -1, -0.258819044, 0.965925813, 0, 0.965925813, 0.258819044, -4.37113883e-08)
- w16 = Instance.new("Weld", p13)
- w16.Name = "BTWeld"
- w16.Part0 = p13
- w16.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w16.Part1 = p20
- w16.C1 = CFrame.new(0.810044289, 0.640029907, -0.100006104, 0.258819014, -0.965925813, 0, 0.965925813, 0.258819014, 0, 0, 0, 1)
- w17 = Instance.new("Weld", p13)
- w17.Name = "BTWeld"
- w17.Part0 = p13
- w17.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w17.Part1 = p17
- w17.C1 = CFrame.new(0.227484345, -0.0899963379, -0.464691162, 0.99999994, 3.49679712e-16, -1.13133396e-08, 1.13133396e-08, -4.22219593e-08, 1, -2.26036523e-15, -0.99999994, -4.22219593e-08)
- w18 = Instance.new("Weld", p13)
- w18.Name = "BTWeld"
- w18.Part0 = p13
- w18.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w18.Part1 = p1
- w18.C1 = CFrame.new(0.243875027, 0.790002823, 0.190002441, 0.99999994, 4.77671366e-16, 0, 4.77671366e-16, 0.99999994, 0, 0, 0, 1)
- w19 = Instance.new("Weld", p13)
- w19.Name = "BTWeld"
- w19.Part0 = p13
- w19.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w19.Part1 = p11
- w19.C1 = CFrame.new(0.13782835, 0.0265636444, 0.0400085449, 0.99999994, 4.77671366e-16, 0, 4.77671366e-16, 0.99999994, 0, 0, 0, 1)
- w20 = Instance.new("Weld", p13)
- w20.Name = "BTWeld"
- w20.Part0 = p13
- w20.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w20.Part1 = p10
- w20.C1 = CFrame.new(0.344677687, -0.0111780167, 0, 0.99999994, 4.77671366e-16, 0, 4.77671366e-16, 0.99999994, 0, 0, 0, 1)
- w21 = Instance.new("Weld", p13)
- w21.Name = "BTWeld"
- w21.Part0 = p13
- w21.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w21.Part1 = p25
- w21.C1 = CFrame.new(0.140007019, 0.299987793, -0.800038338, 0.965925813, 0.258819044, -7.31476035e-09, 4.24782343e-09, -4.41151577e-08, -1, -0.258819044, 0.965925813, -4.37113883e-08)
- w22 = Instance.new("Weld", p13)
- w22.Name = "BTWeld"
- w22.Part0 = p13
- w22.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w22.Part1 = p21
- w22.C1 = CFrame.new(0.810044289, 0.640075922, -0.100006104, 0.258819014, -0.965925813, 0, 0.965925813, 0.258819014, 0, 0, 0, 1)
- w23 = Instance.new("Weld", p13)
- w23.Name = "BTWeld"
- w23.Part0 = p13
- w23.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w23.Part1 = p16
- w23.C1 = CFrame.new(0.286679983, -0.026717186, -0.100006104, 0.99999994, 4.77671366e-16, 0, 4.77671366e-16, 0.99999994, 0, 0, 0, 1)
- w24 = Instance.new("Weld", p13)
- w24.Name = "BTWeld"
- w24.Part0 = p13
- w24.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- w24.Part1 = p7
- w24.C1 = CFrame.new(0.222225666, 0.0595450401, 0.159973145, 0.99999994, 4.77671366e-16, 0, 4.77671366e-16, 0.99999994, 0, 0, 0, 1)
- m.Parent = char
- char:FindFirstChild'Left Arm'.Transparency = 1
- for _, a in pairs(m:children()) do
- if a:IsA('Part') then
- a.Anchored = false
- a.CanCollide = false
- a.BottomSurface = 0
- a.TopSurface = 0
- end
- end
- if char.Head:FindFirstChildOfClass'Decal' then
- char.Head.face.Texture = "rbxassetid://0"
- end
- --// lclick and rlclick
- local rclick = false
- local lclick = false
- local canZoom = false
- mouse.Button1Down:connect(function()
- if canZoom then
- lclick = true
- elseif gunOut then
- lclick = true
- end
- end)
- mouse.Button1Up:connect(function()
- if canZoom then
- lclick = false
- elseif gunOut then
- lclick = false
- end
- end)
- mouse.Button2Down:connect(function()
- if canZoom then
- rclick = true
- end
- end)
- mouse.Button2Up:connect(function()
- if canZoom then
- rclick = false
- end
- end)
- --// Buttons
- mouse.KeyDown:connect(function(key)
- if key == "q" then
- if canZoom == false and cooldown then
- cooldown = false
- canZoom = true
- tw('Zooming ability activated!')
- cooldown = true
- elseif canZoom == true and cooldown then
- canZoom = false
- cooldown = false
- tw('Zooming ability deactivated!')
- cooldown = true
- end
- end
- if key == "f" then
- if gunOut == false and cooldown then
- cooldown = false
- gunOut = true
- cooldown = true
- elseif gunOut and cooldown then
- cooldown = false
- gunOut = false
- cooldown = true
- end
- end
- if key == "r" and cooldown then
- cooldown = false
- tw('Self destructing...')
- wait(1.2)
- s3:Play()
- sd()
- char:BreakJoints()
- end
- if key == "e" then
- if cooldown and bladeOut == false then
- cooldown = false
- bladeOut = true
- s4:Play()
- bladeWeld.C0 = CFrame.new(0,-1.45,0) * CFrame.Angles(rad(0),rad(0),rad(180))
- bladeWeld3.C0 = CFrame.new(.3,-1.45,0) * CFrame.Angles(rad(0),rad(0),rad(180))
- bladeWeld2.C0 = CFrame.new(-.3,-1.45,0) * CFrame.Angles(rad(0),rad(0),rad(180))
- cooldown = true
- elseif cooldown and bladeOut then
- cooldown = false
- bladeOut = false
- s4:Play()
- bladeWeld3.C0 = CFrame.new(.3,-.7,0) * CFrame.Angles(rad(0),rad(0),rad(180))
- bladeWeld2.C0 = CFrame.new(-.3,-.7,0) * CFrame.Angles(rad(0),rad(0),rad(180))
- bladeWeld.C0 = CFrame.new(0,-.7,0) * CFrame.Angles(rad(0),rad(0),rad(180))
- cooldown = true
- end
- end
- end)
- --// Loop
- cam = workspace.Camera
- game:GetService('RunService').RenderStepped:connect(function()
- if sprint then
- s2:Resume()
- else
- s2:Stop()
- end
- end)
- game:GetService('RunService').RenderStepped:connect(function()
- BrickFirst2.CFrame = BrickFirst2.CFrame:lerp(BrickFirst.CFrame,0.1)
- end)
- game:GetService('RunService').RenderStepped:connect(function()
- if lclick and canZoom then
- cam.FieldOfView = cam.FieldOfView - 0.2
- s1:Resume()
- elseif rclick and cam.FieldOfView <= 72 and canZoom then
- cam.FieldOfView = cam.FieldOfView + 0.2
- s1:Resume()
- elseif rclick == false or lclick == false then
- if canZoom then
- s1:Stop()
- if cam.FieldOfView <= 72 and canZoom == false then
- cam.FieldOfView = cam.FieldOfView + 0.2
- end
- end
- end
- end)
- --// Custom Animation
- local ang = -5
- local ang2 = -5
- local sine = 0
- local change = 0.5
- arm = 0
- local t = math.huge
- game:GetService('RunService').RenderStepped:connect(function()
- sine = change+sine
- ang = ang+0.08
- ang2 = ang2+0.01
- rad = math.rad
- sin = math.sin
- arm = arm + 0.06
- if sprint == false and Vector3.new(torso.Velocity.X,0,torso.Velocity.Z).magnitude > 2 then
- lshold.C0 = lshold.C0:lerp(CFrame.new(0,0,0) * lsho * CFrame.Angles(-0.1, 0, sin(arm)/1.5), .1)
- rshold.C0 = rshold.C0:lerp(CFrame.new(0,0,0) * rsho * CFrame.Angles(-0.1, 0, sin(arm)/1.5), .1)
- neck.C0 = neck.C0:lerp(CFrame.new(0,0,0) * ncf * CFrame.Angles(0, 0, 0), 0.1)
- lhip.C0 = lhip.C0:lerp(CFrame.new(-1,-0.95+0.1*-math.cos(tick()*speed),0.2*math.sin(tick()*4))*CFrame.Angles(math.rad(25*-math.sin(tick()*4)), rad(-90), rad(0)), 1.5) * CFrame.Angles(-0.1, 0, 0)
- rhip.C0 = rhip.C0:lerp(CFrame.new(1,-0.95+0.1*math.cos(tick()*speed),0.2*-math.sin(tick()*4))*CFrame.Angles(math.rad(25*math.sin(tick()*4)), rad(90), rad(0)), 1.5) * CFrame.Angles(-0.1, 0, 0)
- elseif sprint == false and Vector3.new(torso.Velocity.X,0,torso.Velocity.Z).magnitude < 2 then
- lshold.C0 = lshold.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * lsho * CFrame.Angles(-0.2, 0, 0), 0.1)
- rshold.C0 = rshold.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * rsho * CFrame.Angles(-0.1, 0, 0), 0.1)
- torsojoint.C0 = torsojoint.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * torsoC0 * CFrame.Angles(0, 0, 0), 0.1)
- lhip.C0 = lhip.C0:lerp(lle * CFrame.Angles(-0.07, 0, 0), 0.1)
- rhip.C0 = rhip.C0:lerp(rle * CFrame.Angles(-0.07, 0, 0), 0.1)
- elseif sprint and Vector3.new(torso.Velocity.X,0,torso.Velocity.Z).magnitude > 2 then
- torsojoint.C0 = torsojoint.C0:lerp(torsoC0*CFrame.new(0, 0, 2.88) * CFrame.Angles(math.rad(9), 0, 0), 0.1)
- lhip.C0 = lhip.C0:lerp(lle*CFrame.Angles(math.rad(-5.386), math.rad(-3.667), math.rad(22.861)), 0.1)
- rhip.C0 = rhip.C0:lerp(rle*CFrame.Angles(math.rad(-7.047), math.rad(4.813), math.rad(-21.028)), 0.1)
- lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(-15), math.rad(-8), math.rad(45)), 0.1)
- rshold.C0 = rshold.C0:lerp(rsho*CFrame.Angles(math.rad(-15), math.rad(-8), math.rad(-45)), 0.1)
- elseif sprint and Vector3.new(torso.Velocity.X,0,torso.Velocity.Z).magnitude < 2 then
- torsojoint.C0 = torsojoint.C0:lerp(torsoC0*CFrame.new(0, 0, 2.88) * CFrame.Angles(math.rad(9), 0, 0), 0.1)
- lhip.C0 = lhip.C0:lerp(lle*CFrame.new(-0.557, 0.4, 0) * CFrame.Angles(0, 0, math.rad(-14.439)), 0.1)
- rhip.C0 = rhip.C0:lerp(rle*CFrame.new(0.104, 0.064, 0.016) * CFrame.Angles(0, math.rad(-8.537), math.rad(4.756)), 0.1)
- lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(-9.511), 0, 0), 0.1)
- rshold.C0 = rshold.C0:lerp(rsho*CFrame.Angles(math.rad(-9.912), 0, 0), 0.1)
- neck.C0 = neck.C0:lerp(ncf*CFrame.Angles(math.rad(10.371), math.rad(-0.401), math.rad(0.057)), 0.1)
- end
- end)
- --//
- while wait(.02) do
- local sound = sfx[math.random(1,#sfx)]
- if lclick and gunOut then
- sound:Resume()
- local ray = Ray.new(gunpart.CFrame.p, (mouse.Hit.p - gunpart.CFrame.p).unit * 700)
- local part, position = workspace:FindPartOnRay(ray, char, false, true)
- local beam = Instance.new("Part", workspace)
- beam.FormFactor = "Custom"
- beam.Material = "Plastic"
- beam.Transparency = 0.25
- beam.Anchored = true
- beam.Locked = true
- beam.CanCollide = false
- if mouse.Target and mouse.Target.Parent and mouse.Target.Parent:FindFirstChildOfClass'Humanoid' then
- local targ = mouse.Target.Parent
- local humtarg = targ:FindFirstChildOfClass'Humanoid'
- humtarg:TakeDamage(humtarg.MaxHealth/2/2/2/2/2)
- end
- local distance = (gunpart.CFrame.p - position).magnitude
- beam.Size = Vector3.new(0.08, 0.08, distance)
- beam.CFrame = CFrame.new(gunpart.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
- game:GetService('Debris'):AddItem(beam,0.1)
- end
- end
Add Comment
Please, Sign In to add comment