Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --https://github.com/Mokiros/roblox-FE-compatibility
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- local RealPlayer = Player
- do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end local player = game.Players.LocalPlayer
- local char = player.Character
- local tor = char.Torso
- local mouse = player:GetMouse()
- local camera = game.Workspace.CurrentCamera
- local ra = char['Right Arm']
- local la = char['Left Arm']
- local ll = char['Left Leg']
- local rl = char['Right Leg']
- local ammo = 30
- local maxammo = 30
- local guninfo = "WW2 SMG"
- local namegun = "M3 Grease Gun"
- local canmovemouse = false
- local firing = false
- local knifing = false
- local UserInputService = game:GetService("UserInputService")
- print("Made by matteo101man, no stealing plz paypal.me/matteo101man")
- function weld(p0,p1,c0)
- local w=Instance.new("Weld",p0)
- w.Part0=p0
- w.Part1=p1
- w.C0=c0
- return w
- end
- function animate(part,speed,cframe,corout)
- coroutine.resume(coroutine.create(function()
- local startCFrame = part.Weld.C0
- local endCFrame = cframe
- for i = 0,1,speed do wait()
- part.Weld.C0 = startCFrame:lerp(endCFrame,i)
- end
- end))
- end
- function animate2(part,speed,cframe,corout)
- coroutine.resume(coroutine.create(function()
- local startCFrame = part.Weld.C1
- local endCFrame = cframe
- for i = 0,1,speed do wait()
- part.Weld.C1 = startCFrame:lerp(endCFrame,i)
- end
- end))
- end
- function animate3(part,speed,cframe,corout)
- coroutine.resume(coroutine.create(function()
- local startCFrame = part.C1
- local endCFrame = cframe
- for i = 0,1,speed do wait()
- part.C1 = startCFrame:lerp(endCFrame,i)
- end
- end))
- end
- function bleed(victim,speed,amount,velocity)
- coroutine.resume(coroutine.create(function()
- for i = 1,amount do wait(speed)
- local blood = Instance.new("Part",workspace)
- blood.CanCollide = false
- blood.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- blood.Transparency = 0
- blood.Anchored= false
- blood.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- blood.Material = Enum.Material.Metal
- blood.Size = Vector3.new(0.3, 0.3, 0.3)
- blood.Name = "blood"
- blood.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- blood.Position = victim.Position
- blood.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- blood.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- blood.BrickColor = BrickColor.new("Crimson")
- blood.Friction = 0.3
- blood.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- blood.Transparency = 0
- if velocity == nil then
- blood.Velocity = victim.CFrame.lookVector * -30 + Vector3.new(math.random(-10,10),20,math.random(-10,10))
- end
- if velocity ~=nil then
- blood.Velocity = victim.CFrame.lookVector * velocity + Vector3.new(math.random(-10,10),20,math.random(-10,10))
- end
- blood.RotVelocity = Vector3.new(0,200,0)
- blood.Touched:connect(function(h)
- if (not h:isDescendantOf(victim.Parent)) then
- if h.Name ~= "blood" and h.Name ~="puddle" and h.Parent.Name ~="GreaseGun" and h.Parent.Name ~= "bullethole" and h.Parent:FindFirstChild("Humanoid")==nil then
- local debounce = false
- if debounce == false then
- debounce = true
- print(h)
- local puddle = Instance.new("Part", workspace)
- puddle.FormFactor = Enum.FormFactor.Plate
- puddle.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- puddle.Transparency = 0.3
- puddle.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- puddle.Anchored = false
- puddle.CanCollide = true
- puddle.Material = Enum.Material.Metal
- puddle.Size = Vector3.new(2, 0.1, 2)
- puddle.Name = "puddle"
- puddle.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- puddle.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- puddle.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- puddle.BrickColor = BrickColor.new("Crimson")
- puddle.Friction = 0.3
- puddle.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- puddle.Position = blood.Position
- local mesh = Instance.new("CylinderMesh", puddle)
- blood:Destroy()
- wait(1)
- puddle.Anchored = true
- puddle.CanCollide = false
- game.Debris:AddItem(puddle,8)
- coroutine.resume(coroutine.create(function()
- wait(.5)
- while puddle.Transparency <1 do wait(.5)
- puddle.Mesh.Scale = puddle.Mesh.Scale - Vector3.new(0,0,.1)
- puddle.Transparency = puddle.Transparency + .05
- end
- end))
- end
- end
- end
- end)
- end
- end))
- end
- bin=Instance.new('HopperBin',player.Backpack)
- bin.Name='M3 Grease Gun'
- bin.Selected:connect(function(mouse)
- pcall(function()
- local cancrouch = true
- canmovemouse = true
- local crouched = 0
- local tool = Instance.new("Tool",char)
- local greasegun = Instance.new("Model", tool)
- greasegun.Name = "GreaseGun"
- local bolt1 = Instance.new("Part", greasegun)
- bolt1.FormFactor = Enum.FormFactor.Custom
- bolt1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- bolt1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- bolt1.Material = Enum.Material.Metal
- bolt1.Size = Vector3.new(0.2, 0.2, 0.2)
- bolt1.Name = "Bolt1"
- bolt1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- bolt1.CFrame = CFrame.new(10.395, 0.967, -66.222)* CFrame.Angles(1.5707968473434, -1.3239678082755e-05, -1.3708879578189e-06)
- bolt1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- bolt1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- bolt1.BrickColor = BrickColor.new("Dark stone grey")
- bolt1.Friction = 0.3
- bolt1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh = Instance.new("CylinderMesh", bolt1)
- mesh.Scale = Vector3.new(0.48, 0.36, 0.24)
- local bolt2 = Instance.new("Part", greasegun)
- bolt2.FormFactor = Enum.FormFactor.Custom
- bolt2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- bolt2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- bolt2.Material = Enum.Material.Metal
- bolt2.Size = Vector3.new(0.2, 0.2, 0.2)
- bolt2.Name = "Bolt2"
- bolt2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- bolt2.CFrame = CFrame.new(10.395, 0.967, -66.282)* CFrame.Angles(1.5707968473434, -1.2457372577046e-05, -1.4006889159646e-06)
- bolt2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- bolt2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- bolt2.BrickColor = BrickColor.new("Dark stone grey")
- bolt2.Friction = 0.3
- bolt2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_2 = Instance.new("CylinderMesh", bolt2)
- mesh_2.Scale = Vector3.new(0.48, 0.24, 0.3)
- flash = Instance.new("Part", greasegun)
- flash.FormFactor = Enum.FormFactor.Symmetric
- flash.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- flash.Transparency = 1
- flash.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- flash.Material = Enum.Material.Metal
- flash.Size = Vector3.new(1, 1, 1)
- flash.Name = "Flash"
- flash.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- flash.CFrame = CFrame.new(12.728, 0.971, -66.06)* CFrame.Angles(-3.1415927410126, 0, -1.5707963705063)
- flash.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- flash.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- flash.BrickColor = BrickColor.new("Bright orange")
- flash.Friction = 0.3
- flash.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- flash_2 = Instance.new("BillboardGui", flash)
- flash_2.Active = true
- flash_2.Name = "Flash"
- flash_2.Size = UDim2.new(6, 0, 6, 0)
- flash_3 = Instance.new("ImageLabel", flash_2)
- flash_3.Visible = false
- flash_3.Active = true
- flash_3.Image = "http://www.roblox.com/asset?id=61378273"
- flash_3.Name = "Flash"
- flash_3.Position = UDim2.new(0.25, 0, 0.25, 0)
- flash_3.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- flash_3.BackgroundTransparency = 1
- flash_3.Size = UDim2.new(0.5, 0, 0.5, 0)
- flash_3.BackgroundColor3 = Color3.new(0.756863, 0.752941, 0.764706)
- local handle = Instance.new("Part", greasegun)
- handle.FormFactor = Enum.FormFactor.Plate
- handle.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- handle.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- handle.Material = Enum.Material.Metal
- handle.Size = Vector3.new(1, 0.4, 1)
- handle.Name = "Handle"
- handle.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- handle.CFrame = CFrame.new(9.228, 0.48, -66.06)* CFrame.Angles(4.0789689137455e-07, -1.5707963705063, 0)
- handle.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- handle.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- handle.BrickColor = BrickColor.new("Black")
- handle.Friction = 0.3
- handle.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_3 = Instance.new("BlockMesh", handle)
- mesh_3.Scale = Vector3.new(0.024, 0.167, 0.019)
- mesh_4 = Instance.new("BlockMesh", mag)
- mesh_4.Scale = Vector3.new(0.12, 2.333, 0.18)
- part = Instance.new("Part", greasegun)
- part.FormFactor = Enum.FormFactor.Custom
- part.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part.Material = Enum.Material.Metal
- part.Size = Vector3.new(0.24, 0.2, 0.228)
- part.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part.CFrame = CFrame.new(10.759, 0.966, -66.065)* CFrame.Angles(1.5707967281342, -1.2248759048816e-05, 1.5708028078079)
- part.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part.BrickColor = BrickColor.new("Dark stone grey")
- part.Friction = 0.3
- part.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_5 = Instance.new("CylinderMesh", part)
- mesh_5.Scale = Vector3.new(1.07, 0.24, 1.3)
- part_2 = Instance.new("Part", greasegun)
- part_2.FormFactor = Enum.FormFactor.Custom
- part_2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_2.Material = Enum.Material.Metal
- part_2.Size = Vector3.new(0.2, 0.2, 0.252)
- part_2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_2.CFrame = CFrame.new(10.659, 0.648, -66.065)* CFrame.Angles(4.432671403265e-07, -1.5707963705063, 0)
- part_2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_2.BrickColor = BrickColor.new("Dark stone grey")
- part_2.Friction = 0.3
- part_2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_6 = Instance.new("BlockMesh", part_2)
- mesh_6.Scale = Vector3.new(0.702, 0.66, 1)
- part_3 = Instance.new("Part", greasegun)
- part_3.FormFactor = Enum.FormFactor.Custom
- part_3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_3.Material = Enum.Material.Metal
- part_3.Size = Vector3.new(0.3, 0.2, 0.2)
- part_3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_3.CFrame = CFrame.new(10.797, 0.607, -66.065)* CFrame.Angles(1.8621861386237e-07, -1.5707963705063, 0)
- part_3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_3.BrickColor = BrickColor.new("Dark stone grey")
- part_3.Friction = 0.3
- part_3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_7 = Instance.new("SpecialMesh", part_3)
- mesh_7.Scale = Vector3.new(0.5, 0.24, 0.24)
- mesh_7.MeshType = Enum.MeshType.Wedge
- part_4 = Instance.new("Part", greasegun)
- part_4.FormFactor = Enum.FormFactor.Custom
- part_4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_4.Material = Enum.Material.Metal
- part_4.Size = Vector3.new(0.24, 0.2, 0.228)
- part_4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_4.CFrame = CFrame.new(11.03, 0.966, -66.065)* CFrame.Angles(1.5707967281342, -1.4452250070462e-05, 1.5708034038544)
- part_4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_4.BrickColor = BrickColor.new("Dark stone grey")
- part_4.Friction = 0.3
- part_4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_8 = Instance.new("CylinderMesh", part_4)
- mesh_8.Scale = Vector3.new(1.07, 0.24, 1.3)
- part_5 = Instance.new("Part", greasegun)
- part_5.FormFactor = Enum.FormFactor.Custom
- part_5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_5.Material = Enum.Material.Metal
- part_5.Size = Vector3.new(0.2, 0.2, 0.2)
- part_5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_5.CFrame = CFrame.new(10.665, 0.6, -66.065)* CFrame.Angles(-3.1415922641754, 1.5707963705063, 0)
- part_5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_5.BrickColor = BrickColor.new("Dark stone grey")
- part_5.Friction = 0.3
- part_5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_9 = Instance.new("BlockMesh", part_5)
- mesh_9.Scale = Vector3.new(0.576, 0.18, 1.008)
- part_6 = Instance.new("Part", greasegun)
- part_6.FormFactor = Enum.FormFactor.Custom
- part_6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_6.Material = Enum.Material.Metal
- part_6.Size = Vector3.new(0.24, 0.2, 0.228)
- part_6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_6.CFrame = CFrame.new(11.01, 0.966, -66.065)* CFrame.Angles(1.5707967281342, -1.4452250070462e-05, 1.5708034038544)
- part_6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_6.BrickColor = BrickColor.new("Dark stone grey")
- part_6.Friction = 0.3
- part_6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_10 = Instance.new("CylinderMesh", part_6)
- mesh_10.Scale = Vector3.new(1.05, 0.24, 1.3)
- part_7 = Instance.new("Part", greasegun)
- part_7.FormFactor = Enum.FormFactor.Custom
- part_7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_7.Material = Enum.Material.Metal
- part_7.Size = Vector3.new(0.24, 0.2, 0.228)
- part_7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_7.CFrame = CFrame.new(10.739, 0.966, -66.065)* CFrame.Angles(1.5707967281342, -1.2248759048816e-05, 1.5708028078079)
- part_7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_7.BrickColor = BrickColor.new("Dark stone grey")
- part_7.Friction = 0.3
- part_7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_11 = Instance.new("CylinderMesh", part_7)
- mesh_11.Scale = Vector3.new(1.05, 0.24, 1.3)
- part_8 = Instance.new("Part", greasegun)
- part_8.FormFactor = Enum.FormFactor.Custom
- part_8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.Material = Enum.Material.Metal
- part_8.Size = Vector3.new(0.3, 0.2, 0.2)
- part_8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.CFrame = CFrame.new(10.816, 0.832, -66.065)* CFrame.Angles(-3.141592502594, -1.5707963705063, 0)
- part_8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_8.BrickColor = BrickColor.new("Dark stone grey")
- part_8.Friction = 0.3
- part_8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_12 = Instance.new("SpecialMesh", part_8)
- mesh_12.Scale = Vector3.new(0.5, 0.24, 0.36)
- mesh_12.MeshType = Enum.MeshType.Wedge
- part_9 = Instance.new("Part", greasegun)
- part_9.FormFactor = Enum.FormFactor.Custom
- part_9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_9.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_9.Material = Enum.Material.Metal
- part_9.Size = Vector3.new(0.2, 0.2, 0.2)
- part_9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_9.CFrame = CFrame.new(10.883, 1.08, -66.065)* CFrame.Angles(1.5708097219467, -1.0471967458725, 1.5708110332489)
- part_9.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_9.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_9.BrickColor = BrickColor.new("Dark stone grey")
- part_9.Friction = 0.3
- part_9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_13 = Instance.new("BlockMesh", part_9)
- mesh_13.Scale = Vector3.new(0.252, 0.36, 0.392)
- part_10 = Instance.new("Part", greasegun)
- part_10.FormFactor = Enum.FormFactor.Custom
- part_10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_10.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_10.Material = Enum.Material.Metal
- part_10.Size = Vector3.new(0.24, 0.2, 0.228)
- part_10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_10.CFrame = CFrame.new(10.779, 0.966, -66.065)* CFrame.Angles(1.5707967281342, -1.2248759048816e-05, 1.5708028078079)
- part_10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_10.BrickColor = BrickColor.new("Dark stone grey")
- part_10.Friction = 0.3
- part_10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_14 = Instance.new("CylinderMesh", part_10)
- mesh_14.Scale = Vector3.new(1.05, 0.24, 1.3)
- part_11 = Instance.new("Part", greasegun)
- part_11.FormFactor = Enum.FormFactor.Custom
- part_11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_11.Material = Enum.Material.Metal
- part_11.Size = Vector3.new(0.3, 0.2, 0.396)
- part_11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_11.CFrame = CFrame.new(10.647, 0.786, -66.065)* CFrame.Angles(4.432671403265e-07, -1.5707963705063, 0)
- part_11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_11.BrickColor = BrickColor.new("Dark stone grey")
- part_11.Friction = 0.3
- part_11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_15 = Instance.new("BlockMesh", part_11)
- mesh_15.Scale = Vector3.new(0.5, 0.72, 0.7)
- part_12 = Instance.new("Part", greasegun)
- part_12.FormFactor = Enum.FormFactor.Custom
- part_12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_12.Material = Enum.Material.Metal
- part_12.Size = Vector3.new(0.2, 0.2, 0.2)
- part_12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_12.CFrame = CFrame.new(11.091, 0.965, -66.06)* CFrame.Angles(-1.5707963705063, 0, -1.5707963705063)
- part_12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_12.BrickColor = BrickColor.new("Dark stone grey")
- part_12.Friction = 0.3
- part_12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_16 = Instance.new("SpecialMesh", part_12)
- mesh_16.Scale = Vector3.new(0.112, 0.1, 0.112)
- mesh_16.MeshId = "http://www.roblox.com/asset/?id=1033714"
- mesh_16.VertexColor = Vector3.new(3.0000000280822e+15, 2.999999954473e+31, 3.0000000280822e+15)
- mesh_16.MeshType = Enum.MeshType.FileMesh
- part_13 = Instance.new("Part", greasegun)
- part_13.FormFactor = Enum.FormFactor.Custom
- part_13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_13.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_13.Material = Enum.Material.Metal
- part_13.Size = Vector3.new(0.2, 0.2, 0.2)
- part_13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_13.CFrame = CFrame.new(8.952, 0.746, -66.16)* CFrame.Angles(1.5707784891129, 1.3089851140976, 1.5708154439926)
- part_13.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_13.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_13.BrickColor = BrickColor.new("Dark stone grey")
- part_13.Friction = 0.3
- part_13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_17 = Instance.new("CylinderMesh", part_13)
- mesh_17.Scale = Vector3.new(0.25, 0.37, 0.15)
- part_14 = Instance.new("Part", greasegun)
- part_14.FormFactor = Enum.FormFactor.Custom
- part_14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_14.Material = Enum.Material.Metal
- part_14.Size = Vector3.new(0.2, 0.2, 0.2)
- part_14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_14.CFrame = CFrame.new(8.944, 0.346, -66.078)* CFrame.Angles(-1.3089852333069, -4.6491622924805e-06, -3.1415905952454)
- part_14.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_14.BrickColor = BrickColor.new("Dark stone grey")
- part_14.Friction = 0.3
- part_14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_18 = Instance.new("CylinderMesh", part_14)
- mesh_18.Scale = Vector3.new(0.25, 0.22, 0.15)
- part_15 = Instance.new("Part", greasegun)
- part_15.FormFactor = Enum.FormFactor.Custom
- part_15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_15.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_15.Material = Enum.Material.Metal
- part_15.Size = Vector3.new(0.2, 0.2, 0.2)
- part_15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_15.CFrame = CFrame.new(8.952, 0.746, -65.97)* CFrame.Angles(1.5707784891129, 1.3089851140976, 1.5708154439926)
- part_15.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_15.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_15.BrickColor = BrickColor.new("Dark stone grey")
- part_15.Friction = 0.3
- part_15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_19 = Instance.new("CylinderMesh", part_15)
- mesh_19.Scale = Vector3.new(0.25, 0.37, 0.15)
- part_16 = Instance.new("Part", greasegun)
- part_16.FormFactor = Enum.FormFactor.Custom
- part_16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_16.Material = Enum.Material.Metal
- part_16.Size = Vector3.new(0.2, 0.2, 0.2)
- part_16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_16.CFrame = CFrame.new(8.984, 0.803, -65.97)* CFrame.Angles(1.5707886219025, 0.78538632392883, 1.5708062648773)
- part_16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_16.BrickColor = BrickColor.new("Dark stone grey")
- part_16.Friction = 0.3
- part_16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_20 = Instance.new("CylinderMesh", part_16)
- mesh_20.Scale = Vector3.new(0.25, 0.37, 0.15)
- part_17 = Instance.new("Part", greasegun)
- part_17.FormFactor = Enum.FormFactor.Custom
- part_17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_17.Material = Enum.Material.Metal
- part_17.Size = Vector3.new(0.204, 0.252, 0.258)
- part_17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_17.CFrame = CFrame.new(10.635, 0.927, -66.065)* CFrame.Angles(1.5707967281342, -1.2248759048816e-05, 1.5708028078079)
- part_17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_17.BrickColor = BrickColor.new("Dark stone grey")
- part_17.Friction = 0.3
- part_17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_21 = Instance.new("CylinderMesh", part_17)
- mesh_21.Scale = Vector3.new(1.05, 1.5, 1.3)
- part_18 = Instance.new("Part", greasegun)
- part_18.FormFactor = Enum.FormFactor.Custom
- part_18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_18.Material = Enum.Material.Metal
- part_18.Size = Vector3.new(0.2, 0.2, 0.2)
- part_18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_18.CFrame = CFrame.new(9.04, 0.835, -66.16)* CFrame.Angles(1.5707945823669, 0.26178762316704, 1.5708031654358)
- part_18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_18.BrickColor = BrickColor.new("Dark stone grey")
- part_18.Friction = 0.3
- part_18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_22 = Instance.new("CylinderMesh", part_18)
- mesh_22.Scale = Vector3.new(0.25, 0.37, 0.15)
- part_19 = Instance.new("Part", greasegun)
- part_19.FormFactor = Enum.FormFactor.Custom
- part_19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_19.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_19.Material = Enum.Material.Metal
- part_19.Size = Vector3.new(0.2, 0.254, 0.2)
- part_19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_19.CFrame = CFrame.new(8.943, 0.588, -66.16)* CFrame.Angles(-3.1415920257568, 1.5707963705063, 0)
- part_19.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_19.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_19.BrickColor = BrickColor.new("Dark stone grey")
- part_19.Friction = 0.3
- part_19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_23 = Instance.new("CylinderMesh", part_19)
- mesh_23.Scale = Vector3.new(0.25, 1, 0.15)
- part_20 = Instance.new("Part", greasegun)
- part_20.FormFactor = Enum.FormFactor.Custom
- part_20.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_20.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_20.Material = Enum.Material.Metal
- part_20.Size = Vector3.new(0.2, 0.2, 0.2)
- part_20.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_20.CFrame = CFrame.new(8.944, 0.429, -66.151)* CFrame.Angles(-0.26178762316704, -1.661479473114e-06, -3.1415863037109)
- part_20.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_20.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_20.BrickColor = BrickColor.new("Dark stone grey")
- part_20.Friction = 0.3
- part_20.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_24 = Instance.new("CylinderMesh", part_20)
- mesh_24.Scale = Vector3.new(0.25, 0.37, 0.15)
- part_21 = Instance.new("Part", greasegun)
- part_21.FormFactor = Enum.FormFactor.Custom
- part_21.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_21.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_21.Material = Enum.Material.Metal
- part_21.Size = Vector3.new(0.2, 0.2, 0.2)
- part_21.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_21.CFrame = CFrame.new(8.944, 0.373, -66.119)* CFrame.Angles(-0.78538632392883, -5.4538249969482e-06, -3.141587972641)
- part_21.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_21.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_21.BrickColor = BrickColor.new("Dark stone grey")
- part_21.Friction = 0.3
- part_21.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_25 = Instance.new("CylinderMesh", part_21)
- mesh_25.Scale = Vector3.new(0.25, 0.37, 0.15)
- part_22 = Instance.new("Part", greasegun)
- part_22.FormFactor = Enum.FormFactor.Custom
- part_22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_22.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_22.Material = Enum.Material.Metal
- part_22.Size = Vector3.new(0.2, 0.2, 0.2)
- part_22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_22.CFrame = CFrame.new(9.448, 1.118, -66.048)* CFrame.Angles(1.570796251297, -1.1999034541077e-05, 6.6161173890578e-06)
- part_22.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_22.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_22.BrickColor = BrickColor.new("Dark stone grey")
- part_22.Friction = 0.3
- part_22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_26 = Instance.new("CylinderMesh", part_22)
- mesh_26.Scale = Vector3.new(0.45, 0.05, 0.2)
- part_23 = Instance.new("Part", greasegun)
- part_23.FormFactor = Enum.FormFactor.Custom
- part_23.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_23.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_23.Material = Enum.Material.Metal
- part_23.Size = Vector3.new(0.2, 0.2, 0.2)
- part_23.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_23.CFrame = CFrame.new(9.448, 1.083, -66.065)* CFrame.Angles(1.570796251297, -1.1999034541077e-05, 6.6161173890578e-06)
- part_23.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_23.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_23.BrickColor = BrickColor.new("Dark stone grey")
- part_23.Friction = 0.3
- part_23.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_27 = Instance.new("CylinderMesh", part_23)
- mesh_27.Scale = Vector3.new(0.45, 0.22, 0.45)
- part_24 = Instance.new("Part", greasegun)
- part_24.FormFactor = Enum.FormFactor.Custom
- part_24.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_24.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_24.Material = Enum.Material.Metal
- part_24.Size = Vector3.new(0.2, 0.2, 0.2)
- part_24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_24.CFrame = CFrame.new(8.944, 0.433, -65.978)* CFrame.Angles(-2.8798050880432, 1.6838312149048e-06, 6.3106454035733e-06)
- part_24.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_24.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_24.BrickColor = BrickColor.new("Dark stone grey")
- part_24.Friction = 0.3
- part_24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_28 = Instance.new("CylinderMesh", part_24)
- mesh_28.Scale = Vector3.new(0.25, 0.37, 0.15)
- part_25 = Instance.new("Part", greasegun)
- part_25.FormFactor = Enum.FormFactor.Custom
- part_25.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_25.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_25.Material = Enum.Material.Metal
- part_25.Size = Vector3.new(0.2, 0.2, 0.2)
- part_25.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_25.CFrame = CFrame.new(9.04, 0.835, -65.97)* CFrame.Angles(1.5707945823669, 0.26178762316704, 1.5708031654358)
- part_25.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_25.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_25.BrickColor = BrickColor.new("Dark stone grey")
- part_25.Friction = 0.3
- part_25.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_29 = Instance.new("CylinderMesh", part_25)
- mesh_29.Scale = Vector3.new(0.25, 0.37, 0.15)
- part_26 = Instance.new("Part", greasegun)
- part_26.FormFactor = Enum.FormFactor.Custom
- part_26.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_26.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_26.Material = Enum.Material.Metal
- part_26.Size = Vector3.new(0.2, 0.2, 0.2)
- part_26.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_26.CFrame = CFrame.new(8.944, 0.349, -66.051)* CFrame.Angles(-1.8326075077057, 4.6491622924805e-06, 2.0265590592317e-06)
- part_26.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_26.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_26.BrickColor = BrickColor.new("Dark stone grey")
- part_26.Friction = 0.3
- part_26.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_30 = Instance.new("CylinderMesh", part_26)
- mesh_30.Scale = Vector3.new(0.25, 0.22, 0.15)
- part_27 = Instance.new("Part", greasegun)
- part_27.FormFactor = Enum.FormFactor.Custom
- part_27.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_27.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_27.Material = Enum.Material.Metal
- part_27.Size = Vector3.new(0.2, 0.254, 0.2)
- part_27.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_27.CFrame = CFrame.new(8.943, 0.588, -65.97)* CFrame.Angles(-3.1415920257568, 1.5707963705063, 0)
- part_27.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_27.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_27.BrickColor = BrickColor.new("Dark stone grey")
- part_27.Friction = 0.3
- part_27.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_31 = Instance.new("CylinderMesh", part_27)
- mesh_31.Scale = Vector3.new(0.25, 1, 0.15)
- part_28 = Instance.new("Part", greasegun)
- part_28.FormFactor = Enum.FormFactor.Custom
- part_28.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_28.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_28.Material = Enum.Material.Metal
- part_28.Size = Vector3.new(0.2, 0.2, 0.2)
- part_28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_28.CFrame = CFrame.new(9.122, 0.171, -66.065)* CFrame.Angles(1.5708004236221, -0.52360433340073, 1.2332565120232e-06)
- part_28.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_28.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_28.BrickColor = BrickColor.new("Dark stone grey")
- part_28.Friction = 0.3
- part_28.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_32 = Instance.new("CylinderMesh", part_28)
- mesh_32.Scale = Vector3.new(0.72, 0.624, 0.528)
- part_29 = Instance.new("Part", greasegun)
- part_29.FormFactor = Enum.FormFactor.Custom
- part_29.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_29.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_29.Material = Enum.Material.Metal
- part_29.Size = Vector3.new(0.2, 0.2, 0.2)
- part_29.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_29.CFrame = CFrame.new(8.944, 0.378, -66.01)* CFrame.Angles(-2.3562061786652, 5.4836273193359e-06, 4.5895594666945e-06)
- part_29.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_29.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_29.BrickColor = BrickColor.new("Dark stone grey")
- part_29.Friction = 0.3
- part_29.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_33 = Instance.new("CylinderMesh", part_29)
- mesh_33.Scale = Vector3.new(0.25, 0.37, 0.15)
- part_30 = Instance.new("Part", greasegun)
- part_30.FormFactor = Enum.FormFactor.Custom
- part_30.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_30.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_30.Material = Enum.Material.Metal
- part_30.Size = Vector3.new(0.2, 0.2, 0.204)
- part_30.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_30.CFrame = CFrame.new(9.301, 0.966, -66.065)* CFrame.Angles(1.5707967281342, -1.1742124115699e-05, 1.5708029270172)
- part_30.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_30.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_30.BrickColor = BrickColor.new("Dark stone grey")
- part_30.Friction = 0.3
- part_30.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_34 = Instance.new("CylinderMesh", part_30)
- mesh_34.Scale = Vector3.new(1.296, 0.74, 1.6)
- part_31 = Instance.new("Part", greasegun)
- part_31.FormFactor = Enum.FormFactor.Custom
- part_31.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_31.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_31.Material = Enum.Material.Metal
- part_31.Size = Vector3.new(0.2, 0.2, 0.2)
- part_31.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_31.CFrame = CFrame.new(9.448, 1.118, -66.082)* CFrame.Angles(1.570796251297, -1.1999034541077e-05, 6.6161173890578e-06)
- part_31.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_31.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_31.BrickColor = BrickColor.new("Dark stone grey")
- part_31.Friction = 0.3
- part_31.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_35 = Instance.new("CylinderMesh", part_31)
- mesh_35.Scale = Vector3.new(0.45, 0.05, 0.2)
- part_32 = Instance.new("Part", greasegun)
- part_32.FormFactor = Enum.FormFactor.Custom
- part_32.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_32.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_32.Material = Enum.Material.Metal
- part_32.Size = Vector3.new(0.3, 0.2, 0.2)
- part_32.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_32.CFrame = CFrame.new(9.693, 0.529, -66.065)* CFrame.Angles(-1.5708023309708, -0.78538727760315, -1.5708054304123)
- part_32.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_32.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_32.BrickColor = BrickColor.new("Dark stone grey")
- part_32.Friction = 0.3
- part_32.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_36 = Instance.new("BlockMesh", part_32)
- mesh_36.Scale = Vector3.new(0.4, 0.42, 0.126)
- part_33 = Instance.new("Part", greasegun)
- part_33.FormFactor = Enum.FormFactor.Custom
- part_33.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_33.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_33.Material = Enum.Material.Metal
- part_33.Size = Vector3.new(0.2, 0.2, 0.612)
- part_33.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_33.CFrame = CFrame.new(10.047, 0.966, -66.167)* CFrame.Angles(-3.1415922641754, 1.5707963705063, 0)
- part_33.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_33.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_33.BrickColor = BrickColor.new("Really black")
- part_33.Friction = 0.3
- part_33.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_37 = Instance.new("BlockMesh", part_33)
- mesh_37.Scale = Vector3.new(0.18, 0.18, 1.2)
- part_34 = Instance.new("Part", greasegun)
- part_34.FormFactor = Enum.FormFactor.Custom
- part_34.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_34.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_34.Material = Enum.Material.Metal
- part_34.Size = Vector3.new(0.3, 0.2, 0.2)
- part_34.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_34.CFrame = CFrame.new(9.566, 0.694, -66.065)* CFrame.Angles(1.5708205699921, -1.3089945316315, 1.5708209276199)
- part_34.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_34.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_34.BrickColor = BrickColor.new("Dark stone grey")
- part_34.Friction = 0.3
- part_34.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_38 = Instance.new("BlockMesh", part_34)
- mesh_38.Scale = Vector3.new(0.3, 0.72, 0.126)
- part_35 = Instance.new("Part", greasegun)
- part_35.FormFactor = Enum.FormFactor.Custom
- part_35.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_35.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_35.Material = Enum.Material.Metal
- part_35.Size = Vector3.new(0.3, 0.2, 0.2)
- part_35.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_35.CFrame = CFrame.new(9.729, 0.595, -66.065)* CFrame.Angles(-1.5708203315735, -1.3089950084686, -1.5708215236664)
- part_35.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_35.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_35.BrickColor = BrickColor.new("Dark stone grey")
- part_35.Friction = 0.3
- part_35.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_39 = Instance.new("BlockMesh", part_35)
- mesh_39.Scale = Vector3.new(0.4, 0.48, 0.126)
- part_36 = Instance.new("Part", greasegun)
- part_36.FormFactor = Enum.FormFactor.Custom
- part_36.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_36.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_36.Material = Enum.Material.Metal
- part_36.Size = Vector3.new(0.3, 0.2, 0.2)
- part_36.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_36.CFrame = CFrame.new(9.608, 0.598, -66.065)* CFrame.Angles(1.5708051919937, -0.90757036209106, 1.5708069801331)
- part_36.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_36.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_36.BrickColor = BrickColor.new("Dark stone grey")
- part_36.Friction = 0.3
- part_36.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_40 = Instance.new("BlockMesh", part_36)
- mesh_40.Scale = Vector3.new(0.3, 0.42, 0.126)
- part_37 = Instance.new("Part", greasegun)
- part_37.FormFactor = Enum.FormFactor.Custom
- part_37.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_37.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_37.Material = Enum.Material.Metal
- part_37.Size = Vector3.new(0.2, 0.588, 0.276)
- part_37.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_37.CFrame = CFrame.new(9.285, 0.438, -66.065)* CFrame.Angles(-1.5708187818527, -1.3089897632599, -1.5708215236664)
- part_37.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_37.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_37.BrickColor = BrickColor.new("Dark stone grey")
- part_37.Friction = 0.3
- part_37.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_41 = Instance.new("BlockMesh", part_37)
- mesh_41.Scale = Vector3.new(0.624, 1, 1)
- part_38 = Instance.new("Part", greasegun)
- part_38.FormFactor = Enum.FormFactor.Custom
- part_38.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_38.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_38.Material = Enum.Material.Metal
- part_38.Size = Vector3.new(0.2, 0.2, 0.2)
- part_38.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_38.CFrame = CFrame.new(9.412, 0.569, -66.065)* CFrame.Angles(1.5707968473434, -1.3038515135122e-05, -1.1622724969129e-06)
- part_38.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_38.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_38.BrickColor = BrickColor.new("Dark stone grey")
- part_38.Friction = 0.3
- part_38.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_42 = Instance.new("CylinderMesh", part_38)
- mesh_42.Scale = Vector3.new(0.72, 0.624, 0.462)
- part_39 = Instance.new("Part", greasegun)
- part_39.FormFactor = Enum.FormFactor.Custom
- part_39.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_39.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_39.Material = Enum.Material.Metal
- part_39.Size = Vector3.new(0.2, 0.456, 0.2)
- part_39.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_39.CFrame = CFrame.new(9.279, 0.428, -66.065)* CFrame.Angles(-1.5708186626434, -1.3089897632599, -1.5708215236664)
- part_39.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_39.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_39.BrickColor = BrickColor.new("Black")
- part_39.Friction = 0.3
- part_39.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_43 = Instance.new("BlockMesh", part_39)
- mesh_43.Scale = Vector3.new(0.702, 1, 0.84)
- part_40 = Instance.new("Part", greasegun)
- part_40.FormFactor = Enum.FormFactor.Custom
- part_40.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_40.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_40.Material = Enum.Material.Metal
- part_40.Size = Vector3.new(0.3, 0.2, 0.2)
- part_40.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_40.CFrame = CFrame.new(9.574, 0.505, -66.065)* CFrame.Angles(-1.5707958936691, 1.2375417099975e-05, -1.5708029270172)
- part_40.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_40.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_40.BrickColor = BrickColor.new("Dark stone grey")
- part_40.Friction = 0.3
- part_40.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_44 = Instance.new("BlockMesh", part_40)
- mesh_44.Scale = Vector3.new(0.4, 0.72, 0.126)
- part_41 = Instance.new("Part", greasegun)
- part_41.FormFactor = Enum.FormFactor.Custom
- part_41.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_41.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_41.Material = Enum.Material.Metal
- part_41.Size = Vector3.new(0.3, 0.2, 0.2)
- part_41.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_41.CFrame = CFrame.new(9.771, 0.655, -66.065)* CFrame.Angles(-3.141592502594, -1.5707963705063, 0)
- part_41.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_41.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_41.BrickColor = BrickColor.new("Dark stone grey")
- part_41.Friction = 0.3
- part_41.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_45 = Instance.new("SpecialMesh", part_41)
- mesh_45.Scale = Vector3.new(0.5, 0.3, 0.3)
- mesh_45.MeshType = Enum.MeshType.Wedge
- part_42 = Instance.new("Part", greasegun)
- part_42.FormFactor = Enum.FormFactor.Custom
- part_42.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_42.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_42.Material = Enum.Material.Metal
- part_42.Size = Vector3.new(0.456, 0.2, 0.984)
- part_42.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_42.CFrame = CFrame.new(9.765, 0.775, -66.065)* CFrame.Angles(4.432671403265e-07, -1.5707963705063, 0)
- part_42.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_42.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_42.BrickColor = BrickColor.new("Dark stone grey")
- part_42.Friction = 0.3
- part_42.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_46 = Instance.new("BlockMesh", part_42)
- mesh_46.Scale = Vector3.new(0.29, 0.96, 1.1)
- part_43 = Instance.new("Part", greasegun)
- part_43.FormFactor = Enum.FormFactor.Custom
- part_43.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_43.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_43.Material = Enum.Material.Metal
- part_43.Size = Vector3.new(0.2, 0.228, 0.204)
- part_43.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_43.CFrame = CFrame.new(9.447, 0.966, -66.065)* CFrame.Angles(1.5707967281342, -1.1742124115699e-05, 1.5708029270172)
- part_43.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_43.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_43.BrickColor = BrickColor.new("Dark stone grey")
- part_43.Friction = 0.3
- part_43.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_47 = Instance.new("CylinderMesh", part_43)
- mesh_47.Scale = Vector3.new(1.248, 1, 1.15)
- part_44 = Instance.new("Part", greasegun)
- part_44.FormFactor = Enum.FormFactor.Custom
- part_44.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_44.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_44.Material = Enum.Material.Metal
- part_44.Size = Vector3.new(0.2, 0.2, 0.3)
- part_44.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_44.CFrame = CFrame.new(9.333, 0.643, -66.065)* CFrame.Angles(1.5708209276199, -1.3089959621429, 1.5708196163177)
- part_44.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_44.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_44.BrickColor = BrickColor.new("Dark stone grey")
- part_44.Friction = 0.3
- part_44.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_48 = Instance.new("BlockMesh", part_44)
- mesh_48.Scale = Vector3.new(0.624, 0.528, 1)
- part_45 = Instance.new("Part", greasegun)
- part_45.FormFactor = Enum.FormFactor.Custom
- part_45.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_45.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_45.Material = Enum.Material.Metal
- part_45.Size = Vector3.new(0.3, 0.2, 0.2)
- part_45.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_45.CFrame = CFrame.new(9.46, 0.615, -66.065)* CFrame.Angles(2.2160732271459e-07, -1.5707963705063, 0)
- part_45.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_45.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_45.BrickColor = BrickColor.new("Dark stone grey")
- part_45.Friction = 0.3
- part_45.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_49 = Instance.new("BlockMesh", part_45)
- mesh_49.Scale = Vector3.new(0.4, 0.48, 0.126)
- part_46 = Instance.new("Part", greasegun)
- part_46.FormFactor = Enum.FormFactor.Custom
- part_46.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_46.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_46.Material = Enum.Material.Metal
- part_46.Size = Vector3.new(0.312, 0.2, 0.2)
- part_46.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_46.CFrame = CFrame.new(9.482, 0.534, -66.065)* CFrame.Angles(-1.5707845687866, 1.0471956729889, -1.5708096027374)
- part_46.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_46.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_46.BrickColor = BrickColor.new("Dark stone grey")
- part_46.Friction = 0.3
- part_46.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_50 = Instance.new("BlockMesh", part_46)
- mesh_50.Scale = Vector3.new(0.4, 0.42, 0.126)
- part_47 = Instance.new("Part", greasegun)
- part_47.FormFactor = Enum.FormFactor.Custom
- part_47.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_47.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_47.Material = Enum.Material.Metal
- part_47.Size = Vector3.new(0.2, 0.252, 0.2)
- part_47.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_47.CFrame = CFrame.new(9.825, 1.014, -66.161)* CFrame.Angles(-2.6878042221069, 1.5707963705063, 0)
- part_47.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_47.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_47.BrickColor = BrickColor.new("Really black")
- part_47.Friction = 0.3
- part_47.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_51 = Instance.new("BlockMesh", part_47)
- mesh_51.Scale = Vector3.new(0.144, 0.35, 0.288)
- part_48 = Instance.new("Part", greasegun)
- part_48.FormFactor = Enum.FormFactor.Custom
- part_48.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_48.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_48.Material = Enum.Material.Metal
- part_48.Size = Vector3.new(0.2, 0.2, 0.2)
- part_48.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_48.CFrame = CFrame.new(10.065, 1.083, -66.08)* CFrame.Angles(1.5707967281342, -1.1742124115699e-05, 1.5708029270172)
- part_48.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_48.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_48.BrickColor = BrickColor.new("Dark stone grey")
- part_48.Friction = 0.3
- part_48.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_52 = Instance.new("CylinderMesh", part_48)
- mesh_52.Scale = Vector3.new(0.275, 0.05, 0.165)
- part_49 = Instance.new("Part", greasegun)
- part_49.FormFactor = Enum.FormFactor.Custom
- part_49.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_49.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_49.Material = Enum.Material.Metal
- part_49.Size = Vector3.new(0.456, 0.2, 1.056)
- part_49.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_49.CFrame = CFrame.new(9.813, 0.84, -66.065)* CFrame.Angles(4.432671403265e-07, -1.5707963705063, 0)
- part_49.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_49.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_49.BrickColor = BrickColor.new("Dark stone grey")
- part_49.Friction = 0.3
- part_49.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_53 = Instance.new("BlockMesh", part_49)
- mesh_53.Scale = Vector3.new(0.4, 0.96, 1.1)
- part_50 = Instance.new("Part", greasegun)
- part_50.FormFactor = Enum.FormFactor.Custom
- part_50.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_50.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_50.Material = Enum.Material.Metal
- part_50.Size = Vector3.new(0.2, 0.894, 0.2)
- part_50.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_50.CFrame = CFrame.new(9.518, 0.843, -66.165)* CFrame.Angles(1.5707967281342, -1.1742124115699e-05, 1.5708029270172)
- part_50.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_50.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_50.BrickColor = BrickColor.new("Dark stone grey")
- part_50.Friction = 0.3
- part_50.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_54 = Instance.new("CylinderMesh", part_50)
- mesh_54.Scale = Vector3.new(0.2, 1, 0.15)
- part_51 = Instance.new("Part", greasegun)
- part_51.FormFactor = Enum.FormFactor.Custom
- part_51.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_51.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_51.Material = Enum.Material.Metal
- part_51.Size = Vector3.new(0.2, 0.2, 0.2)
- part_51.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_51.CFrame = CFrame.new(9.208, 0.151, -66.065)* CFrame.Angles(-1.5708175897598, -1.3089907169342, -1.5708202123642)
- part_51.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_51.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_51.BrickColor = BrickColor.new("Dark stone grey")
- part_51.Friction = 0.3
- part_51.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_55 = Instance.new("BlockMesh", part_51)
- mesh_55.Scale = Vector3.new(0.624, 0.6, 0.93)
- part_52 = Instance.new("Part", greasegun)
- part_52.FormFactor = Enum.FormFactor.Custom
- part_52.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_52.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_52.Material = Enum.Material.Metal
- part_52.Size = Vector3.new(0.3, 0.2, 0.2)
- part_52.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_52.CFrame = CFrame.new(9.634, 0.505, -66.065)* CFrame.Angles(-1.5707958936691, 1.2375417099975e-05, -1.5708029270172)
- part_52.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_52.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_52.BrickColor = BrickColor.new("Dark stone grey")
- part_52.Friction = 0.3
- part_52.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_56 = Instance.new("BlockMesh", part_52)
- mesh_56.Scale = Vector3.new(0.4, 0.42, 0.126)
- part_53 = Instance.new("Part", greasegun)
- part_53.FormFactor = Enum.FormFactor.Custom
- part_53.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_53.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_53.Material = Enum.Material.Metal
- part_53.Size = Vector3.new(0.3, 0.2, 0.2)
- part_53.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_53.CFrame = CFrame.new(9.711, 0.655, -66.065)* CFrame.Angles(-3.1415922641754, 1.5707963705063, 0)
- part_53.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_53.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_53.BrickColor = BrickColor.new("Dark stone grey")
- part_53.Friction = 0.3
- part_53.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_57 = Instance.new("SpecialMesh", part_53)
- mesh_57.Scale = Vector3.new(0.5, 0.3, 0.3)
- mesh_57.MeshType = Enum.MeshType.Wedge
- part_54 = Instance.new("Part", greasegun)
- part_54.FormFactor = Enum.FormFactor.Custom
- part_54.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_54.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_54.Material = Enum.Material.Metal
- part_54.Size = Vector3.new(0.3, 0.2, 0.2)
- part_54.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_54.CFrame = CFrame.new(9.472, 0.669, -66.065)* CFrame.Angles(-1.5708074569702, -1.0471906661987, -1.5708094835281)
- part_54.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_54.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_54.BrickColor = BrickColor.new("Dark stone grey")
- part_54.Friction = 0.3
- part_54.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_58 = Instance.new("BlockMesh", part_54)
- mesh_58.Scale = Vector3.new(0.4, 0.3, 0.126)
- part_55 = Instance.new("Part", greasegun)
- part_55.FormFactor = Enum.FormFactor.Custom
- part_55.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_55.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_55.Material = Enum.Material.Metal
- part_55.Size = Vector3.new(0.2, 0.894, 0.2)
- part_55.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_55.CFrame = CFrame.new(9.518, 0.843, -65.97)* CFrame.Angles(1.5707967281342, -1.1742124115699e-05, 1.5708029270172)
- part_55.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_55.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_55.BrickColor = BrickColor.new("Dark stone grey")
- part_55.Friction = 0.3
- part_55.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_59 = Instance.new("CylinderMesh", part_55)
- mesh_59.Scale = Vector3.new(0.25, 1, 0.15)
- part_56 = Instance.new("Part", greasegun)
- part_56.FormFactor = Enum.FormFactor.Custom
- part_56.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_56.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_56.Material = Enum.Material.Metal
- part_56.Size = Vector3.new(0.2, 0.2, 0.2)
- part_56.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_56.CFrame = CFrame.new(9.855, 1.027, -66.132)* CFrame.Angles(2.0245847702026, -1.1810625437647e-05, 4.2020492401207e-06)
- part_56.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_56.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_56.BrickColor = BrickColor.new("Really black")
- part_56.Friction = 0.3
- part_56.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_60 = Instance.new("CylinderMesh", part_56)
- mesh_60.Scale = Vector3.new(0.48, 0.36, 0.24)
- part_57 = Instance.new("Part", greasegun)
- part_57.FormFactor = Enum.FormFactor.Custom
- part_57.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_57.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_57.Material = Enum.Material.Metal
- part_57.Size = Vector3.new(0.2, 0.2, 0.56)
- part_57.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_57.CFrame = CFrame.new(10.027, 0.627, -66.064)* CFrame.Angles(3.0399577617645, -1.5697605609894, -0.099226586520672)
- part_57.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_57.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_57.BrickColor = BrickColor.new("Dark stone grey")
- part_57.Friction = 0.3
- part_57.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_61 = Instance.new("SpecialMesh", part_57)
- mesh_61.Scale = Vector3.new(0.705, 0.55, 1)
- mesh_61.MeshType = Enum.MeshType.Wedge
- part_58 = Instance.new("Part", greasegun)
- part_58.FormFactor = Enum.FormFactor.Custom
- part_58.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_58.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_58.Material = Enum.Material.Metal
- part_58.Size = Vector3.new(0.2, 0.2, 0.2)
- part_58.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_58.CFrame = CFrame.new(9.295, 0.123, -66.065)* CFrame.Angles(1.5708000659943, -0.26180398464203, 1.5235701766869e-07)
- part_58.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_58.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_58.BrickColor = BrickColor.new("Dark stone grey")
- part_58.Friction = 0.3
- part_58.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_62 = Instance.new("CylinderMesh", part_58)
- mesh_62.Scale = Vector3.new(0.72, 0.624, 0.528)
- part_59 = Instance.new("Part", greasegun)
- part_59.FormFactor = Enum.FormFactor.Custom
- part_59.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_59.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_59.Material = Enum.Material.Metal
- part_59.Size = Vector3.new(0.53, 0.2, 0.2)
- part_59.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_59.CFrame = CFrame.new(10.328, 1.074, -66.001)* CFrame.Angles(0.52359879016876, 0, -0)
- part_59.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_59.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_59.BrickColor = BrickColor.new("Dark stone grey")
- part_59.Friction = 0.3
- part_59.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_63 = Instance.new("BlockMesh", part_59)
- mesh_63.Scale = Vector3.new(1, 0.05, 0.25)
- part_60 = Instance.new("Part", greasegun)
- part_60.FormFactor = Enum.FormFactor.Custom
- part_60.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_60.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_60.Material = Enum.Material.Metal
- part_60.Size = Vector3.new(0.2, 0.2, 0.2)
- part_60.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_60.CFrame = CFrame.new(10.352, 0.712, -66.064)* CFrame.Angles(3.0399577617645, -1.5697605609894, -0.099226586520672)
- part_60.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_60.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_60.BrickColor = BrickColor.new("Dark stone grey")
- part_60.Friction = 0.3
- part_60.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_64 = Instance.new("SpecialMesh", part_60)
- mesh_64.Scale = Vector3.new(0.905, 0.35, 0.45)
- mesh_64.MeshType = Enum.MeshType.Wedge
- part_61 = Instance.new("Part", greasegun)
- part_61.FormFactor = Enum.FormFactor.Custom
- part_61.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_61.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_61.Material = Enum.Material.Metal
- part_61.Size = Vector3.new(0.2, 0.2, 0.2)
- part_61.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_61.CFrame = CFrame.new(10.59, 1.083, -66.08)* CFrame.Angles(1.5707967281342, -1.1742124115699e-05, 1.5708029270172)
- part_61.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_61.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_61.BrickColor = BrickColor.new("Dark stone grey")
- part_61.Friction = 0.3
- part_61.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_65 = Instance.new("CylinderMesh", part_61)
- mesh_65.Scale = Vector3.new(0.275, 0.05, 0.165)
- part_62 = Instance.new("Part", greasegun)
- part_62.FormFactor = Enum.FormFactor.Custom
- part_62.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_62.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_62.Material = Enum.Material.Metal
- part_62.Size = Vector3.new(0.3, 0.2, 0.2)
- part_62.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_62.CFrame = CFrame.new(10.527, 0.606, -66.065)* CFrame.Angles(4.5816659621778e-07, 1.5707963705063, 0)
- part_62.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_62.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_62.BrickColor = BrickColor.new("Dark stone grey")
- part_62.Friction = 0.3
- part_62.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_66 = Instance.new("SpecialMesh", part_62)
- mesh_66.Scale = Vector3.new(0.5, 0.24, 0.24)
- mesh_66.MeshType = Enum.MeshType.Wedge
- part_63 = Instance.new("Part", greasegun)
- part_63.FormFactor = Enum.FormFactor.Custom
- part_63.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_63.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_63.Material = Enum.Material.Metal
- part_63.Size = Vector3.new(0.2, 0.2, 0.2)
- part_63.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_63.CFrame = CFrame.new(8.984, 0.802, -66.16)* CFrame.Angles(1.5707886219025, 0.78538632392883, 1.5708062648773)
- part_63.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_63.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_63.BrickColor = BrickColor.new("Dark stone grey")
- part_63.Friction = 0.3
- part_63.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_67 = Instance.new("CylinderMesh", part_63)
- mesh_67.Scale = Vector3.new(0.25, 0.37, 0.15)
- part_64 = Instance.new("Part", greasegun)
- part_64.FormFactor = Enum.FormFactor.Custom
- part_64.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_64.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_64.Material = Enum.Material.Metal
- part_64.Size = Vector3.new(0.2, 0.2, 0.2)
- part_64.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_64.CFrame = CFrame.new(12.038, 0.966, -66.065)* CFrame.Angles(1.5707967281342, -1.1742124115699e-05, 1.5708029270172)
- part_64.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_64.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_64.BrickColor = BrickColor.new("Really black")
- part_64.Friction = 0.3
- part_64.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- part_64.Name = "barrelhole"
- mesh_68 = Instance.new("CylinderMesh", part_64)
- mesh_68.Scale = Vector3.new(0.72, 0.24, 0.396)
- part_65 = Instance.new("Part", greasegun)
- part_65.FormFactor = Enum.FormFactor.Custom
- part_65.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_65.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_65.Material = Enum.Material.Metal
- part_65.Size = Vector3.new(0.2, 1.084, 0.2)
- part_65.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_65.CFrame = CFrame.new(11.519, 0.966, -66.065)* CFrame.Angles(1.5707967281342, -1.1742124115699e-05, 1.5708029270172)
- part_65.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_65.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_65.BrickColor = BrickColor.new("Dark stone grey")
- part_65.Friction = 0.3
- part_65.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_69 = Instance.new("CylinderMesh", part_65)
- mesh_69.Scale = Vector3.new(0.432, 1, 0.486)
- part_66 = Instance.new("Part", greasegun)
- part_66.FormFactor = Enum.FormFactor.Custom
- part_66.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_66.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_66.Material = Enum.Material.Metal
- part_66.Size = Vector3.new(0.2, 0.2, 0.2)
- part_66.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_66.CFrame = CFrame.new(10.949, 1.12, -66.065)* CFrame.Angles(1.5707992315292, 7.3015689849854e-07, 1.5708041191101)
- part_66.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_66.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_66.BrickColor = BrickColor.new("Dark stone grey")
- part_66.Friction = 0.3
- part_66.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_70 = Instance.new("BlockMesh", part_66)
- mesh_70.Scale = Vector3.new(0.252, 0.36, 0.462)
- part_67 = Instance.new("Part", greasegun)
- part_67.FormFactor = Enum.FormFactor.Custom
- part_67.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_67.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_67.Material = Enum.Material.Metal
- part_67.Size = Vector3.new(0.2, 0.534, 0.2)
- part_67.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_67.CFrame = CFrame.new(10.328, 1.083, -66.08)* CFrame.Angles(1.5707967281342, -1.1742124115699e-05, 1.5708029270172)
- part_67.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_67.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_67.BrickColor = BrickColor.new("Dark stone grey")
- part_67.Friction = 0.3
- part_67.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_71 = Instance.new("CylinderMesh", part_67)
- mesh_71.Scale = Vector3.new(0.25, 1, 0.15)
- part_68 = Instance.new("Part", greasegun)
- part_68.FormFactor = Enum.FormFactor.Custom
- part_68.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_68.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_68.Material = Enum.Material.Metal
- part_68.Size = Vector3.new(0.2, 1.476, 0.204)
- part_68.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_68.CFrame = CFrame.new(10.287, 0.966, -66.065)* CFrame.Angles(1.5707967281342, -1.1794277270383e-05, 1.5708029270172)
- part_68.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_68.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_68.BrickColor = BrickColor.new("Dark stone grey")
- part_68.Friction = 0.3
- part_68.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_72 = Instance.new("CylinderMesh", part_68)
- mesh_72.Scale = Vector3.new(1.248, 1, 1.15)
- part_69 = Instance.new("Part", greasegun)
- part_69.FormFactor = Enum.FormFactor.Custom
- part_69.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_69.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_69.Material = Enum.Material.Metal
- part_69.Size = Vector3.new(0.53, 0.2, 0.2)
- part_69.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_69.CFrame = CFrame.new(10.328, 1.085, -66.045)
- part_69.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_69.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_69.BrickColor = BrickColor.new("Dark stone grey")
- part_69.Friction = 0.3
- part_69.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_73 = Instance.new("BlockMesh", part_69)
- mesh_73.Scale = Vector3.new(1, 0.05, 0.25)
- part_70 = Instance.new("Part", greasegun)
- part_70.FormFactor = Enum.FormFactor.Custom
- part_70.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_70.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_70.Material = Enum.Material.Metal
- part_70.Size = Vector3.new(0.53, 0.2, 0.2)
- part_70.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_70.CFrame = CFrame.new(10.328, 1.042, -65.969)* CFrame.Angles(1.0471975803375, 0, -0)
- part_70.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_70.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_70.BrickColor = BrickColor.new("Dark stone grey")
- part_70.Friction = 0.3
- part_70.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_74 = Instance.new("BlockMesh", part_70)
- mesh_74.Scale = Vector3.new(1, 0.05, 0.25)
- part_71 = Instance.new("Part", greasegun)
- part_71.FormFactor = Enum.FormFactor.Custom
- part_71.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_71.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_71.Material = Enum.Material.Metal
- part_71.Size = Vector3.new(0.53, 0.2, 0.2)
- part_71.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_71.CFrame = CFrame.new(10.328, 0.998, -65.957)* CFrame.Angles(1.5707963705063, 0, -0)
- part_71.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_71.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_71.BrickColor = BrickColor.new("Dark stone grey")
- part_71.Friction = 0.3
- part_71.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_75 = Instance.new("BlockMesh", part_71)
- mesh_75.Scale = Vector3.new(1, 0.05, 0.25)
- part_72 = Instance.new("Part", greasegun)
- part_72.FormFactor = Enum.FormFactor.Custom
- part_72.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_72.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_72.Material = Enum.Material.Metal
- part_72.Size = Vector3.new(0.2, 0.2, 0.2)
- part_72.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_72.CFrame = CFrame.new(10.922, 1.1, -66.065)* CFrame.Angles(1.57080078125, -0.52359801530838, 1.570804476738)
- part_72.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_72.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_72.BrickColor = BrickColor.new("Dark stone grey")
- part_72.Friction = 0.3
- part_72.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_76 = Instance.new("BlockMesh", part_72)
- mesh_76.Scale = Vector3.new(0.252, 0.36, 0.462)
- part_73 = Instance.new("Part", greasegun)
- part_73.FormFactor = Enum.FormFactor.Custom
- part_73.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- part_73.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- part_73.Material = Enum.Material.Metal
- part_73.Size = Vector3.new(0.2, 0.2, 0.2)
- part_73.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- part_73.CFrame = CFrame.new(10.901, 1.057, -66.065)* CFrame.Angles(3.9483987279709e-07, -1.5707963705063, 0)
- part_73.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- part_73.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- part_73.BrickColor = BrickColor.new("Dark stone grey")
- part_73.Friction = 0.3
- part_73.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- mesh_77 = Instance.new("BlockMesh", part_73)
- mesh_77.Scale = Vector3.new(0.252, 0.36, 0.672)
- aim = Instance.new("Part", greasegun)
- aim.FormFactor = Enum.FormFactor.Symmetric
- aim.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- aim.Transparency = 1
- aim.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- aim.Material = Enum.Material.Metal
- aim.Size = Vector3.new(0.1, 0.1, 0.1)
- aim.Name = "aim"
- aim.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- aim.CFrame = CFrame.new(9.6, 1.176, -66.06)* CFrame.Angles(-1.5707963705063, -1.5707963705063, 0)
- aim.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- aim.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- aim.BrickColor = BrickColor.new("Bright orange")
- aim.Friction = 0.3
- aim.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- flash_4 = Instance.new("BillboardGui", aim)
- flash_4.Active = true
- flash_4.Name = "Flash"
- flash_4.Size = UDim2.new(6, 0, 6, 0)
- flash_5 = Instance.new("ImageLabel", flash_4)
- flash_5.Visible = false
- flash_5.Active = true
- flash_5.Image = "http://www.roblox.com/asset?id=61378273"
- flash_5.Name = "Flash"
- flash_5.Position = UDim2.new(0.25, 0, 0.25, 0)
- flash_5.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- flash_5.BackgroundTransparency = 1
- flash_5.Size = UDim2.new(0.5, 0, 0.5, 0)
- flash_5.BackgroundColor3 = Color3.new(0.756863, 0.752941, 0.764706)
- local newp = Instance.new("Part", greasegun)
- newp.FormFactor = Enum.FormFactor.Symmetric
- newp.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- newp.Transparency = 1
- newp.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- newp.Material = Enum.Material.Metal
- newp.Size = Vector3.new(0.1, 0.1, 0.1)
- newp.Name = "newp"
- newp.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- newp.CFrame = CFrame.new(12.138, 0.971, -66.06)* CFrame.Angles(-1.5707963705063, -1.5707963705063, 0)
- newp.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- newp.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- newp.BrickColor = BrickColor.new("Bright orange")
- newp.Friction = 0.3
- newp.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- flash_6 = Instance.new("BillboardGui", newp)
- flash_6.Active = true
- flash_6.Name = "Flash"
- flash_6.Size = UDim2.new(6, 0, 6, 0)
- flash_7 = Instance.new("ImageLabel", flash_6)
- flash_7.Visible = false
- flash_7.Active = true
- flash_7.Image = "http://www.roblox.com/asset?id=61378273"
- flash_7.Name = "Flash"
- flash_7.Position = UDim2.new(0.25, 0, 0.25, 0)
- flash_7.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- flash_7.BackgroundTransparency = 1
- flash_7.Size = UDim2.new(0.5, 0, 0.5, 0)
- flash_7.BackgroundColor3 = Color3.new(0.756863, 0.752941, 0.764706)
- local gungui = Instance.new("ScreenGui", player.PlayerGui)
- gungui.Name = "gungui"
- local crosshair = Instance.new("Frame", gungui)
- crosshair.BorderColor3 = Color3.new(0, 0, 0)
- crosshair.Name = "crossHair"
- crosshair.Position = UDim2.new(0.5, 0, 0.5, -18)
- crosshair.BorderSizePixel = 0
- crosshair.BackgroundColor3 = Color3.new(1, 1, 1)
- local reload = Instance.new("TextLabel", crosshair)
- reload.ZIndex = 2
- reload.BorderSizePixel = 0
- reload.BackgroundColor3 = Color3.new(1, 1, 1)
- reload.BackgroundTransparency = 1
- reload.Size = UDim2.new(0, 100, 0, 20)
- reload.TextColor3 = Color3.new(1, 1, 1)
- reload.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- reload.Text = "RLD"
- reload.Position = UDim2.new(0, -50, 0, 70)
- reload.Font = Enum.Font.Garamond
- reload.Name = "Reload"
- reload.FontSize = Enum.FontSize.Size18
- reload.Visible = false
- local c = Instance.new("Frame", crosshair)
- c.Size = UDim2.new(0, 4, 0, 500)
- c.ClipsDescendants = true
- c.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- c.Name = "C"
- c.Position = UDim2.new(0, -2, 0, 0)
- c.BackgroundTransparency = 1
- c.BackgroundColor3 = Color3.new(1, 1, 1)
- local line = Instance.new("TextLabel", c)
- line.BorderSizePixel = 0
- line.BackgroundColor3 = Color3.new(1, 1, 1)
- line.BackgroundTransparency = 0.3
- line.Size = UDim2.new(0, 2, 0, 15)
- line.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- line.BorderColor3 = Color3.new(0.392157, 0.392157, 0.392157)
- line.Text = ""
- line.Position = UDim2.new(0.5, -1, 0, 10)
- line.Font = Enum.Font.SourceSans
- line.Name = "Line"
- line.FontSize = Enum.FontSize.Size14
- local a = Instance.new("Frame", crosshair)
- a.Size = UDim2.new(0, 4, 0, 500)
- a.ClipsDescendants = true
- a.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- a.Name = "A"
- a.Position = UDim2.new(0, -2, 0, -500)
- a.BackgroundTransparency = 1
- a.BackgroundColor3 = Color3.new(1, 1, 1)
- local line_2 = Instance.new("TextLabel", a)
- line_2.BorderSizePixel = 0
- line_2.BackgroundColor3 = Color3.new(1, 1, 1)
- line_2.BackgroundTransparency = 0.3
- line_2.Size = UDim2.new(0, 2, 0, 15)
- line_2.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- line_2.BorderColor3 = Color3.new(0.392157, 0.392157, 0.392157)
- line_2.Text = ""
- line_2.Position = UDim2.new(0.5, -1, 1, -25)
- line_2.Font = Enum.Font.SourceSans
- line_2.Name = "Line"
- line_2.FontSize = Enum.FontSize.Size14
- local b = Instance.new("Frame", crosshair)
- b.Size = UDim2.new(0, 500, 0, 4)
- b.ClipsDescendants = true
- b.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- b.Name = "B"
- b.Position = UDim2.new(0, 0, 0, -2)
- b.BackgroundTransparency = 1
- b.BackgroundColor3 = Color3.new(1, 1, 1)
- local line_3 = Instance.new("TextLabel", b)
- line_3.BorderSizePixel = 0
- line_3.BackgroundColor3 = Color3.new(1, 1, 1)
- line_3.BackgroundTransparency = 0.3
- line_3.Size = UDim2.new(0, 15, 0, 2)
- line_3.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- line_3.BorderColor3 = Color3.new(0.392157, 0.392157, 0.392157)
- line_3.Text = ""
- line_3.Position = UDim2.new(0, 10, 0.5, -1)
- line_3.Font = Enum.Font.SourceSans
- line_3.Name = "Line"
- line_3.FontSize = Enum.FontSize.Size14
- local d = Instance.new("Frame", crosshair)
- d.Size = UDim2.new(0, 500, 0, 4)
- d.ClipsDescendants = true
- d.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- d.Name = "D"
- d.Position = UDim2.new(0, -500, 0, -2)
- d.BackgroundTransparency = 1
- d.BackgroundColor3 = Color3.new(1, 1, 1)
- local line_4 = Instance.new("TextLabel", d)
- line_4.BorderSizePixel = 0
- line_4.BackgroundColor3 = Color3.new(1, 1, 1)
- line_4.BackgroundTransparency = 0.3
- line_4.Size = UDim2.new(0, 15, 0, 2)
- line_4.TextColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- line_4.BorderColor3 = Color3.new(0.392157, 0.392157, 0.392157)
- line_4.Text = ""
- line_4.Position = UDim2.new(1, -25, 0.5, -1)
- line_4.Font = Enum.Font.SourceSans
- line_4.Name = "Line"
- line_4.FontSize = Enum.FontSize.Size14
- local imagelabel = Instance.new("ImageLabel", crosshair)
- imagelabel.Visible = false
- imagelabel.Image = "http://www.roblox.com/asset/?id=68308747"
- imagelabel.ZIndex = 2
- imagelabel.Position = UDim2.new(0, -150, 0, -150)
- imagelabel.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- imagelabel.BackgroundTransparency = 1
- imagelabel.Size = UDim2.new(0, 300, 0, 300)
- imagelabel.BackgroundColor3 = Color3.new(1, 1, 1)
- local hud = Instance.new("ImageLabel", gungui)
- hud.ImageColor3 = Color3.new(0.156863, 0.156863, 0.156863)
- hud.BorderSizePixel = 3
- hud.Image = "rbxassetid://0"
- hud.Name = "HUD"
- hud.Position = UDim2.new(1, -200, 0.75, 0)
- hud.BorderColor3 = Color3.new(1, 1, 1)
- hud.BackgroundTransparency = 0.5
- hud.Size = UDim2.new(0, 200, 0, 100)
- hud.BackgroundColor3 = Color3.new(0, 0, 0)
- local gunname = Instance.new("Frame", hud)
- gunname.ZIndex = 10
- gunname.Size = UDim2.new(0.8, 0, 0, 20)
- gunname.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- gunname.Name = "gunName"
- gunname.Position = UDim2.new(0.15, 0, 0, 0)
- gunname.BackgroundTransparency = 1
- gunname.BackgroundColor3 = Color3.new(0.352941, 0.352941, 0.352941)
- local title = Instance.new("TextLabel", gunname)
- title.TextWrapped = true
- title.ZIndex = 10
- title.TextScaled = true
- title.BackgroundColor3 = Color3.new(1, 1, 1)
- title.BackgroundTransparency = 1
- title.Size = UDim2.new(1, 0, 1, 0)
- title.TextColor3 = Color3.new(1, 1, 1)
- title.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- title.Text = namegun
- title.TextStrokeColor3 = Color3.new(0.745098, 0.745098, 0.745098)
- title.Name = "Title"
- title.TextXAlignment = Enum.TextXAlignment.Left
- title.FontSize = Enum.FontSize.Size18
- local info = Instance.new("TextLabel", hud)
- info.TextWrapped = true
- info.ZIndex = 10
- info.BackgroundColor3 = Color3.new(1, 1, 1)
- info.BackgroundTransparency = 1
- info.Size = UDim2.new(1, 0, 0, 15)
- info.TextColor3 = Color3.new(1, 1, 1)
- info.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- info.Text = guninfo
- info.Position = UDim2.new(0, 0, 1, -15)
- info.TextStrokeColor3 = Color3.new(0.745098, 0.745098, 0.745098)
- info.Name = "Info"
- info.TextXAlignment = Enum.TextXAlignment.Left
- info.FontSize = Enum.FontSize.Size12
- local ammog = Instance.new("Frame", hud)
- ammog.ZIndex = 10
- ammog.Size = UDim2.new(0, 100, 0, 40)
- ammog.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- ammog.Name = "Ammo"
- ammog.Position = UDim2.new(0.5, -50, 0.55, -20)
- ammog.BackgroundTransparency = 1
- ammog.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
- local slash = Instance.new("TextLabel", ammog)
- slash.ZIndex = 10
- slash.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
- slash.BackgroundTransparency = 1
- slash.Size = UDim2.new(0, 0, 0, 45)
- slash.TextColor3 = Color3.new(1, 1, 1)
- slash.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- slash.Text = "/"
- slash.Position = UDim2.new(0, 68, 0, -12)
- slash.Font = Enum.Font.SciFi
- slash.Name = "Slash"
- slash.FontSize = Enum.FontSize.Size24
- local stored = Instance.new("TextLabel", ammog)
- stored.TextWrapped = true
- stored.ZIndex = 10
- stored.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
- stored.BackgroundTransparency = 1
- stored.Size = UDim2.new(1, 0, 0, 85)
- stored.TextColor3 = Color3.new(1, 1, 1)
- stored.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- stored.Text = maxammo
- stored.Position = UDim2.new(0, 75, 0, -35)
- stored.Name = "Stored"
- stored.TextXAlignment = Enum.TextXAlignment.Left
- stored.FontSize = Enum.FontSize.Size28
- local clip = Instance.new("TextLabel", ammog)
- clip.ZIndex = 10
- clip.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
- clip.BackgroundTransparency = 1
- clip.Size = UDim2.new(1, 0, 0, 85)
- clip.TextColor3 = Color3.new(1, 1, 1)
- clip.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- clip.Text = ammo
- clip.Position = UDim2.new(0, -40, 0, -35)
- clip.Name = "Clip"
- clip.TextXAlignment = Enum.TextXAlignment.Right
- clip.FontSize = Enum.FontSize.Size28
- local hitm = Instance.new("ImageLabel", gungui)
- hitm.Visible = false
- hitm.BorderSizePixel = 0
- hitm.Image = "http://www.roblox.com/asset/?id=131358529"
- hitm.Name = "Hit"
- hitm.Position = UDim2.new(0, 938, 0, 198)
- hitm.BorderColor3 = Color3.new(0, 0, 0)
- hitm.BackgroundTransparency = 1
- hitm.Size = UDim2.new(0, 45, 0, 45)
- hitm.BackgroundColor3 = Color3.new(0, 0, 0)
- greasegun:BreakJoints()
- local prev
- local parts = greasegun:GetChildren()
- for i = 1,#parts do
- if (parts[i].className == "Part") or (parts[i].className == "WedgePart") or (parts[i].className == "Seat") or (parts[i].className == "VehicleSeat") or (parts[i].className == "CornerWedgePart") then
- if (prev ~= nil)then
- if parts[i]:FindFirstChild("Weld") then parts[i]:FindFirstChild("Weld"):Destroy() end
- local weld = Instance.new("Weld")
- weld.Part0 = prev
- weld.Part1 = parts[i]
- weld.C0 = prev.CFrame:inverse()
- weld.C1 = parts[i].CFrame:inverse()
- weld.Parent = prev
- parts[i].CanCollide = false
- end
- prev = parts[i]
- end
- end
- greasegun:MakeJoints()
- --Magazine--
- local mag = Instance.new("Part", greasegun)
- mag.FormFactor = Enum.FormFactor.Plate
- mag.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- mag.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- mag.Material = Enum.Material.Metal
- mag.Size = Vector3.new(1, .1, .2)
- mag.Name = "Mag"
- mag.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- mag.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- mag.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- mag.BrickColor = BrickColor.new("Black")
- mag.Friction = 0.3
- mag.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- weld(mag, newp, CFrame.new(.5,0,-1.48)*CFrame.Angles(math.rad(0),0,0))
- --Magazine--
- handle.Weld.Name = "Weld2"
- weld(handle, char.HumanoidRootPart, CFrame.new(-.5,0,1)*CFrame.Angles(math.rad(0),0,0))
- tor["Right Shoulder"].Part1 = nil
- weld(ra, handle, CFrame.new(-.2,-.5,-.2)*CFrame.Angles(math.rad(-90),0,0))
- tor["Left Shoulder"].Part1 = nil
- weld(la, handle, CFrame.new(.8,.2,0)*CFrame.Angles(math.rad(-90),math.rad(18),0))
- mouse.TargetFilter = workspace
- local offset = CFrame.new(.5,.2,-1)*CFrame.Angles(math.rad(0),0,0)
- local bg = Instance.new("BodyGyro",char.Torso)
- bg.D = 1
- bg.P = 400000
- bg.maxTorque = Vector3.new(0,0,0)
- game:GetService("RunService").RenderStepped:connect(function()
- if canmovemouse == true then
- --local anglex = -mouse.Hit.p.y/100
- --local angley = mouse.Hit.p.x/100
- --handle.Weld.C0 = CFrame.new(handle.CFrame)*CFrame.Angles(math.rad(anglex),math.rad(0),math.rad(0))
- local p0c0 = char.HumanoidRootPart:GetRenderCFrame()*handle.Weld.C1
- handle.Weld.C0 = (CFrame.new(p0c0.p, mouse.Hit.p)*offset):inverse()*p0c0
- hitm.Position = UDim2.new(0, mouse.X-22.5, 0, mouse.Y-22.5)
- if (camera.focus.p - camera.CoordinateFrame.p).magnitude >= 1 then
- bg.maxTorque = Vector3.new(0,math.huge,0)
- bg.cframe = CFrame.new(tor.Position, Vector3.new(mouse.Hit.p.x, tor.Position.y, mouse.Hit.p.z))
- UserInputService.MouseIconEnabled = true
- mouse.Icon = "http://www.roblox.com/asset/?id=316279304"
- crosshair.Visible = false
- end
- if (camera.focus.p - camera.CoordinateFrame.p).magnitude <= 1 then
- bg.cframe = CFrame.new(tor.Position, Vector3.new(0,0,0))
- bg.maxTorque = Vector3.new(0,0,0)
- UserInputService.MouseIconEnabled = false
- mouse.Icon = ""
- crosshair.Visible = true
- end
- end
- end)
- local fpressed = 0
- mouse.KeyDown:connect(function(key)
- if key == "f" then
- fpressed = fpressed + 1
- if fpressed == 1 then
- canmovemouse = false
- end
- if fpressed == 2 then
- fpressed = 0
- canmovemouse = true
- end
- end
- end)
- local epressed = 0
- local xpressed = false
- local cpressed = false
- mouse.KeyDown:connect(function(key)
- if key == "e" and xpressed == false and cpressed == false then
- epressed = 1
- animate3(tor.Neck, .2, CFrame.new(0,-.5,0)*CFrame.Angles(math.rad(-90),math.rad(-20),math.rad(180)))
- animate2(handle,.2,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0))
- camera.CameraSubject = greasegun.aim
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key == "e" and xpressed == false and cpressed == false then
- epressed = 0
- animate3(tor.Neck, .2, CFrame.new(0,-.5,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(180)))
- animate2(handle,.2,CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0))
- camera.CameraSubject = char.Humanoid
- end
- end)
- local gf1 = Instance.new("Sound")
- gf1.SoundId="rbxassetid://225196896"
- gf1.PlayOnRemove=false
- gf1.Volume=0.7
- gf1.Looped=false
- gf1.Pitch = 1
- gf1.Parent=handle
- local knifeswing = Instance.new("Sound")
- knifeswing.SoundId="rbxassetid://158037267"
- knifeswing.PlayOnRemove=false
- knifeswing.Volume=0.7
- knifeswing.Looped=false
- knifeswing.Pitch = 1
- knifeswing.Parent=handle
- local rl1 = Instance.new("Sound")
- rl1.SoundId="rbxassetid://231020282"
- rl1.PlayOnRemove=false
- rl1.Volume=0.7
- rl1.Looped=false
- rl1.Pitch = 1
- rl1.Parent=handle
- local rl2 = Instance.new("Sound")
- rl2.SoundId="rbxassetid://231021162"
- rl2.PlayOnRemove=false
- rl2.Volume=0.7
- rl2.Looped=false
- rl2.Pitch = 1
- rl2.Parent=handle
- local rl3 = Instance.new("Sound")
- rl3.SoundId="rbxassetid://437204112"
- rl3.PlayOnRemove=false
- rl3.Volume=0.7
- rl3.Looped=false
- rl3.Pitch = 1
- rl3.Parent=handle
- local rl4 = Instance.new("Sound")
- rl4.SoundId="rbxassetid://330005593"
- rl4.PlayOnRemove=false
- rl4.Volume=0.7
- rl4.Looped=false
- rl4.Pitch = 1
- rl4.Parent=handle
- local rl5 = Instance.new("Sound")
- rl5.SoundId="rbxassetid://898540650"
- rl5.PlayOnRemove=false
- rl5.Volume=0.7
- rl5.Looped=false
- rl5.Pitch = 1
- rl5.Parent=handle
- local gf2 = Instance.new("Sound")
- gf2.SoundId="rbxassetid://240785604"
- gf2.PlayOnRemove=false
- gf2.Volume=0.7
- gf2.Looped=false
- gf2.Pitch = 1
- gf2.Parent=handle
- function reload()
- animate(la,.2,CFrame.new(.8,.6,0)*CFrame.Angles(math.rad(-90),math.rad(18),0))
- wait(.5)
- rl1:Play()
- animate(la,.2,CFrame.new(.8,.6,0)*CFrame.Angles(math.rad(-20),math.rad(18),0))
- mag.Weld.Name = "Weld2"
- weld(mag, la, CFrame.new(.5,0,-1)*CFrame.Angles(math.rad(90),math.rad(90),math.rad(180)))
- ammo = 0
- maxammo = 0
- clip.Text = ammo
- stored.Text = maxammo
- wait(.5)
- mag.Transparency = 1
- local magclone = mag:Clone()
- magclone.Transparency = 0
- magclone.Parent = workspace
- if magclone:FindFirstChild("Weld") then magclone.Weld:Destroy() end
- if magclone:FindFirstChild("Weld2") then magclone.Weld2:Destroy() end
- game.Debris:AddItem(magclone,3)
- magclone.CanCollide = true
- wait(.5)
- mag.Transparency = 0
- wait(.2)
- animate(la,.2,CFrame.new(.8,-.1,0)*CFrame.Angles(math.rad(-50),math.rad(30),0))
- wait(.2)
- rl2:Play()
- mag.Weld:Destroy()
- mag.Weld2.Name = "Weld"
- wait(.2)
- animate(la,.2,CFrame.new(.8,.2,0)*CFrame.Angles(math.rad(-50),math.rad(30),0))
- wait(.5)
- rl4:Play()
- animate(la,.2,CFrame.new(.8,.3,0)*CFrame.Angles(math.rad(-80),math.rad(30),0))
- wait(.2)
- animate(la,.2,CFrame.new(.8,.2,0)*CFrame.Angles(math.rad(-50),math.rad(30),0))
- wait(.2)
- animate(la,.2,CFrame.new(.8,.2,.2)*CFrame.Angles(math.rad(-90),math.rad(18),0))
- wait(.2)
- rl3:Play()
- animate(la,.2,CFrame.new(.8,-.2,.2)*CFrame.Angles(math.rad(-90),math.rad(18),0))
- bolt1.Mesh.Offset = Vector3.new(-.5,0,0)
- bolt2.Mesh.Offset = Vector3.new(-.5,0,0)
- wait(.5)
- rl5:Play()
- animate(la,.2,CFrame.new(.8,.4,.2)*CFrame.Angles(math.rad(-90),math.rad(18),0))
- bolt1.Mesh.Offset = Vector3.new(-.2,0,0)
- bolt2.Mesh.Offset = Vector3.new(-.2,0,0)
- wait(.5)
- animate(la,.2,CFrame.new(.8,.2,0)*CFrame.Angles(math.rad(-90),math.rad(18),0))
- wait(.2)
- bolt1.Mesh.Offset = Vector3.new(0,0,0)
- bolt2.Mesh.Offset = Vector3.new(0,0,0)
- ammo = 30
- maxammo = 30
- clip.Text = ammo
- stored.Text = maxammo
- end
- mouse.KeyDown:connect(function(key)
- if key == "r" then
- reload()
- end
- end)
- local Speed = 25
- local bulletholepart = Instance.new("Part")
- bulletholepart.FormFactor = "Custom"
- bulletholepart.Size = Vector3.new(.5, .5, 0.2)
- bulletholepart.Anchored = false
- bulletholepart.CanCollide = false
- bulletholepart.Transparency = 1
- local bulletholedecal = Instance.new("Decal", bulletholepart)
- bulletholedecal.Texture = "http://www.roblox.com/asset/?id=359667702"
- local ignore = {char}
- function fire()
- if ammo <=0 then
- gf2:Play()
- end
- if ammo >=1 then
- ammo = ammo - 1
- firing = true
- clip.Text = ammo
- stored.Text = maxammo
- gf1:Play()
- --local cam_rot = camera.CoordinateFrame - camera.CoordinateFrame.p
- --local cam_scroll = (camera.CoordinateFrame.p - camera.Focus.p).magnitude
- --local ncf = CFrame.new(camera.Focus.p)*cam_rot*CFrame.fromEulerAnglesXYZ(0.00025+math.random()/100, math.random(-10,10)/1000, 0)
- --camera.CoordinateFrame = ncf*CFrame.new(0, 0, cam_scroll)
- local posA, posB = newp.CFrame, mouse.hit;
- --Spread--
- local lookAt = CFrame.new (posA.p, posB.p);
- lookAt = lookAt * CFrame.Angles (
- math.rad (math.random (-2, 2)),
- math.rad (math.random (-2, 2)),
- math.rad (math.random (-2, 2))
- ) * CFrame.new (0, 0, -(posA.p - posB.p).magnitude);
- --Spread End--
- local ray = Ray.new(posA.p,(lookAt.p).unit*300)
- if epressed == 1 then
- ray = Ray.new(newp.CFrame.p,(mouse.Hit.p-newp.CFrame.p).unit*300)
- end
- local Hit,Position, Normal = game.Workspace:FindPartOnRayWithIgnoreList(ray,ignore)
- if Hit then
- local bullethole = bulletholepart:Clone()
- bullethole.Parent = game.Workspace
- bullethole.Name = "bullethole"
- bullethole.CFrame = CFrame.new(Position, Position + Normal)
- game:GetService("Debris"):AddItem(bullethole, 10)
- if Hit.Name == "bullethole" then
- table.insert(ignore, Hit)
- --local ray = Ray.new(newp.CFrame.p,(mouse.Hit.p-newp.CFrame.p).unit*300)
- Hit,Position, Normal = game.Workspace:FindPartOnRayWithIgnoreList(ray,ignore)
- --return Hit, Position, Normal
- end
- if Hit.Transparency == 1 then
- table.insert(ignore, Hit)
- --local ray = Ray.new(newp.CFrame.p,(mouse.Hit.p-newp.CFrame.p).unit*300)
- Hit,Position, Normal = game.Workspace:FindPartOnRayWithIgnoreList(ray,ignore)
- --return Hit, Position, Normal
- end
- if Hit.Parent.ClassName == "Hat" then
- table.insert(ignore, Hit.Parent)
- --local ray = Ray.new(newp.CFrame.p,(mouse.Hit.p-newp.CFrame.p).unit*300)
- Hit,Position, Normal = game.Workspace:FindPartOnRayWithIgnoreList(ray,ignore)
- --return Hit, Position, Normal
- end
- if Hit.Parent.ClassName == "Accessory" then
- table.insert(ignore, Hit.Parent)
- --local ray = Ray.new(newp.CFrame.p,(mouse.Hit.p-newp.CFrame.p).unit*300)
- Hit,Position, Normal = game.Workspace:FindPartOnRayWithIgnoreList(ray,ignore)
- --return Hit, Position, Normal
- end
- local weld = Instance.new("Weld")
- weld.Part0 = bullethole
- weld.Part1 = Hit
- -- correction term to account for average skew between physics update and heartbeat
- local HitPos = bullethole.Position --+ (-arrow.Velocity * (1/60)) --+ (arrow.CFrame.lookVector * .5)
- local CJ = CFrame.new(HitPos)
- local C0 = bullethole.CFrame:inverse() *CJ
- local C1 = Hit.CFrame:inverse() * CJ
- weld.C0 = C0
- weld.C1 = C1
- weld.Parent = bullethole
- if Hit.Parent:FindFirstChildOfClass("Humanoid") then
- if Hit.Parent:FindFirstChild("ForceField") then Hit.Parent.ForceField:Destroy() end
- if Hit.Parent.Name == "imtellingmommy" then Hit.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(50,80)) end
- if Hit.Parent.Name == "iFractal" then Hit.Parent:FindFirstChildOfClass("Humanoid").MaxHealth = 50 end
- Hit.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(5,8))
- if Hit.Name == "Head" then Hit.Parent:FindFirstChildOfClass("Humanoid"):TakeDamage(math.random(15,30)) end
- bleed(Hit,0,1)
- local hitms = Instance.new("Sound")
- hitms.SoundId="rbxassetid://131864673"
- hitms.PlayOnRemove=false
- hitms.Volume=0.7
- hitms.Looped=false
- hitms.Pitch = 1
- hitms.Parent=player.PlayerGui
- hitms:Play()
- game.Debris:AddItem(hitms,1)
- local hitsound = Instance.new("Sound")
- hitsound.SoundId="rbxassetid://151130059"
- hitsound.PlayOnRemove=false
- hitsound.Volume=.8
- hitsound.MaxDistance = 60
- hitsound.Looped=false
- hitsound.Pitch = 1
- hitsound.Parent=Hit
- hitsound:Play()
- coroutine.resume(coroutine.create(function()
- hitm.Rotation = math.random(1, 360)
- hitm.Visible = true
- wait(.1)
- hitm.Visible = false
- end))
- end
- end
- local RayPart = Instance.new("Part", char)
- RayPart.Name = "RayPart"
- RayPart.BrickColor = BrickColor.new("Bright yellow")
- RayPart.Transparency = 0.4
- RayPart.Material = "Neon"
- RayPart.Anchored = true
- RayPart.CanCollide = false
- RayPart.TopSurface = Enum.SurfaceType.Smooth
- RayPart.BottomSurface = Enum.SurfaceType.Smooth
- RayPart.formFactor = Enum.FormFactor.Custom
- local Distance = (Position-newp.CFrame.p).magnitude
- RayPart.Size = Vector3.new(0.1,0.1,5)
- RayPart.CFrame = CFrame.new(Position,newp.CFrame.p) * CFrame.new(0,0,-Distance + 2.5)
- local RayPartMesh = Instance.new("BlockMesh", RayPart)
- game.Debris:AddItem(RayPart,Distance/Speed)
- coroutine.resume(coroutine.create(function()
- local RayPart = RayPart
- local RayPartMesh = RayPartMesh
- local Distance = Distance
- for i = 1, Distance/Speed do
- if RayPart then
- wait()
- RayPartMesh.Offset = RayPartMesh.Offset + Vector3.new(0, 0, Speed)
- end
- end
- if RayPart then
- RayPart:Destroy()
- end
- end))
- local flash = greasegun.Flash.Flash.Flash
- local barrelhole = greasegun.barrelhole
- bolt1.Mesh.Offset = Vector3.new(-.5,0,0)
- bolt2.Mesh.Offset = Vector3.new(-.5,0,0)
- barrelhole.BrickColor = BrickColor.new("Bright orange")
- flash.Visible = true
- flash.Rotation = math.random(1,360)
- coroutine.resume(coroutine.create(function()
- while (flash.Visible == true) do
- flash.ImageTransparency=flash.ImageTransparency+.1
- wait()
- end
- end))
- wait(.1)
- flash.Visible = false
- flash.ImageTransparency = 0
- bolt1.Mesh.Offset = Vector3.new(0,0,0)
- bolt2.Mesh.Offset = Vector3.new(0,0,0)
- barrelhole.BrickColor = BrickColor.new("Really black")
- firing = false
- end
- end
- mouse.KeyDown:connect(function(key)
- if key == "c" then
- cpressed = true
- handle.Weld.C1 = CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
- tor["Right Hip"].Part1 = nil
- tor["Left Hip"].Part1 = nil
- weld(ll, tor, CFrame.new(.5,1,1)*CFrame.Angles(math.rad(0),0,0))
- weld(rl, tor, CFrame.new(-.5,1,1)*CFrame.Angles(math.rad(40),0,0))
- camera.CameraSubject = char.Head
- local collider = Instance.new("Part",char)
- collider.Transparency = 1
- collider.CanCollide = true
- collider.Size = Vector3.new(2, 0.2, 3)
- collider.Name = "Collider"
- collider:BreakJoints()
- weld(collider, char.Head, CFrame.new(0,.5,0))
- char.HumanoidRootPart.RootJoint.Part1 = collider
- char.Humanoid.WalkSpeed = 5
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key == "c" then
- cpressed = false
- handle.Weld.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
- animate(rl,.2,CFrame.new(-.5,2,1)*CFrame.Angles(math.rad(0),0,0))
- animate(ll,.2,CFrame.new(.5,2,1)*CFrame.Angles(math.rad(0),0,0))
- camera.CameraSubject = char.Humanoid
- char.HumanoidRootPart.RootJoint.Part1 = char.Torso
- char.Collider:Destroy()
- if rl:FindFirstChild("Weld") then rl.Weld:Destroy() end
- tor["Right Hip"].Part1 = rl
- if ll:FindFirstChild("Weld") then ll.Weld:Destroy() end
- tor["Left Hip"].Part1 = ll
- char.Humanoid.WalkSpeed = 16
- end
- end)
- function knifeattack()
- knifing = true
- local knife = Instance.new("Part", workspace)
- knife.FormFactor = Enum.FormFactor.Custom
- knife.TopSurface = Enum.SurfaceType.Smooth
- knife.Size = Vector3.new(0.2, 1.72, 0.82)
- knife.CanCollide = false
- knife.Name = "knife"
- knife.Friction = 0.3
- knife.BottomSurface = Enum.SurfaceType.Smooth
- local kmesh = Instance.new("SpecialMesh", knife)
- kmesh.MeshId = "http://www.roblox.com/asset/?id=121944778 "
- kmesh.TextureId = "http://www.roblox.com/asset/?id=121944805 "
- kmesh.Scale = Vector3.new(0.8, 0.8, 0.8)
- kmesh.MeshType = Enum.MeshType.FileMesh
- weld(knife, la, CFrame.new(0,-1,1)*CFrame.Angles(math.rad(90),math.rad(90),math.rad(0)))
- animate(la,.2,CFrame.new(.8,1,0)*CFrame.Angles(math.rad(-90),math.rad(18),0))
- wait(.2)
- knifeswing:Play()
- animate(knife,.2,CFrame.new(0,-1,1)*CFrame.Angles(math.rad(135),math.rad(90),math.rad(0)))
- animate(la,.2,CFrame.new(.8,1,0)*CFrame.Angles(math.rad(-90),math.rad(-58),0))
- for _,guy in pairs(workspace:GetChildren()) do
- if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy~=char and (guy:FindFirstChild("HumanoidRootPart").Position-knife.Position).magnitude<5 then
- guy.Humanoid:TakeDamage(math.random(10,15))
- if guy:FindFirstChild("Torso") then
- bleed(guy.Torso,0,2)
- local hitsound = Instance.new("Sound")
- hitsound.SoundId="rbxassetid://220833967"
- hitsound.PlayOnRemove=false
- hitsound.Volume=.8
- hitsound.MaxDistance = 60
- hitsound.Looped=false
- hitsound.Pitch = 1
- hitsound.Parent=guy.Torso
- hitsound:Play()
- game.Debris:AddItem(hitsound,1)
- end
- if guy:FindFirstChild("UpperTorso") then
- bleed(guy.UpperTorso,0,2)
- local hitsound = Instance.new("Sound")
- hitsound.SoundId="rbxassetid://220833967"
- hitsound.PlayOnRemove=false
- hitsound.Volume=.8
- hitsound.MaxDistance = 60
- hitsound.Looped=false
- hitsound.Pitch = 1
- hitsound.Parent=guy.UpperTorso
- hitsound:Play()
- game.Debris:AddItem(hitsound,1)
- end
- end
- end
- wait(.2)
- animate(knife,.2,CFrame.new(0,-1,1)*CFrame.Angles(math.rad(90),math.rad(90),math.rad(0)))
- animate(la,.2,CFrame.new(.8,1,0)*CFrame.Angles(math.rad(-90),math.rad(-38),0))
- wait(.2)
- animate(la,.2,CFrame.new(.8,.2,0)*CFrame.Angles(math.rad(-90),math.rad(18),0))
- wait(.2)
- knife:Destroy()
- knifing = false
- end
- function knifeattack2()
- knifing = true
- local knife = Instance.new("Part", workspace)
- knife.FormFactor = Enum.FormFactor.Custom
- knife.TopSurface = Enum.SurfaceType.Smooth
- knife.Size = Vector3.new(0.2, 1.72, 0.82)
- knife.CanCollide = false
- knife.Name = "knife"
- knife.Friction = 0.3
- knife.BottomSurface = Enum.SurfaceType.Smooth
- local kmesh = Instance.new("SpecialMesh", knife)
- kmesh.MeshId = "http://www.roblox.com/asset/?id=121944778 "
- kmesh.TextureId = "http://www.roblox.com/asset/?id=121944805 "
- kmesh.Scale = Vector3.new(0.8, 0.8, 0.8)
- kmesh.MeshType = Enum.MeshType.FileMesh
- weld(knife, la, CFrame.new(0,-1,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)))
- animate(la,.2,CFrame.new(.8,.4,-1)*CFrame.Angles(math.rad(10),math.rad(18),0))
- wait(.2)
- knifeswing:Play()
- animate(la,.2,CFrame.new(.8,.4,.5)*CFrame.Angles(math.rad(-45),math.rad(18),0))
- for _,guy in pairs(workspace:GetChildren()) do
- if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy~=char and (guy:FindFirstChild("HumanoidRootPart").Position-knife.Position).magnitude<5 then
- guy.Humanoid:TakeDamage(math.random(10,15))
- if guy:FindFirstChild("Torso") then
- bleed(guy.Torso,0,2)
- local hitsound = Instance.new("Sound")
- hitsound.SoundId="rbxassetid://220833967"
- hitsound.PlayOnRemove=false
- hitsound.Volume=.8
- hitsound.MaxDistance = 60
- hitsound.Looped=false
- hitsound.Pitch = 1
- hitsound.Parent=guy.Torso
- hitsound:Play()
- game.Debris:AddItem(hitsound,1)
- end
- if guy:FindFirstChild("UpperTorso") then
- bleed(guy.UpperTorso,0,2)
- local hitsound = Instance.new("Sound")
- hitsound.SoundId="rbxassetid://220833967"
- hitsound.PlayOnRemove=false
- hitsound.Volume=.8
- hitsound.MaxDistance = 60
- hitsound.Looped=false
- hitsound.Pitch = 1
- hitsound.Parent=guy.UpperTorso
- hitsound:Play()
- game.Debris:AddItem(hitsound,1)
- end
- end
- end
- wait(.2)
- animate(la,.2,CFrame.new(.8,.4,-1)*CFrame.Angles(math.rad(10),math.rad(18),0))
- wait(.2)
- animate(la,.2,CFrame.new(.8,.2,0)*CFrame.Angles(math.rad(-90),math.rad(18),0))
- wait(.2)
- knife:Destroy()
- knifing = false
- end
- mouse.KeyDown:connect(function(key)
- if key == "g" and knifing == false then
- local attacks = math.random(1,2)
- if attacks == 1 then
- knifeattack()
- end
- if attacks == 2 then
- knifeattack2()
- end
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "x" then
- xpressed = true
- tor["Right Hip"].Part1 = nil
- tor["Left Hip"].Part1 = nil
- weld(ll, tor, CFrame.new(.5,1,1)*CFrame.Angles(math.rad(90),math.rad(10),0))
- weld(rl, tor, CFrame.new(-.5,1,1)*CFrame.Angles(math.rad(90),math.rad(-10),0))
- handle.Weld.C1 = CFrame.new(0,-2,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
- camera.CameraSubject = char.Head
- local collider = Instance.new("Part",char)
- collider.Transparency = 1
- collider.CanCollide = true
- collider.Size = Vector3.new(2, 0.2, 3)
- collider.Name = "Collider"
- collider:BreakJoints()
- weld(collider, char.Head, CFrame.new(0,-.5,0))
- char.HumanoidRootPart.RootJoint.Part1 = collider
- char.Humanoid.WalkSpeed = 0
- animate(collider,.2,CFrame.new(0,-.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0))
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key == "x" then
- xpressed = false
- handle.Weld.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0)
- animate(rl,.2,CFrame.new(-.5,2,1)*CFrame.Angles(math.rad(0),0,0))
- animate(ll,.2,CFrame.new(.5,2,1)*CFrame.Angles(math.rad(0),0,0))
- camera.CameraSubject = char.Humanoid
- char.HumanoidRootPart.RootJoint.Part1 = char.Torso
- char.Collider:Destroy()
- if rl:FindFirstChild("Weld") then rl.Weld:Destroy() end
- tor["Right Hip"].Part1 = rl
- if ll:FindFirstChild("Weld") then ll.Weld:Destroy() end
- tor["Left Hip"].Part1 = ll
- char.Humanoid.WalkSpeed = 16
- end
- end)
- function recoil()
- if ammo >=1 then
- coroutine.resume(coroutine.create(function()
- if epressed == 1 and xpressed == false and cpressed == false then
- --animate2(handle,.2,CFrame.new(0,.5,.3)*CFrame.Angles(math.rad(0),math.rad(0),0))
- --wait(.2)
- --animate2(handle,.2,CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),0))
- end
- if epressed == 0 and xpressed == false and cpressed == false then
- animate2(handle,.2,CFrame.new(0,0,.3)*CFrame.Angles(math.rad(5),math.rad(0),0))
- wait(.2)
- animate2(handle,.2,CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0))
- end
- if xpressed == true and epressed == 0 and cpressed == false then
- animate2(handle,.2,CFrame.new(0,-2,.3)*CFrame.Angles(math.rad(5),math.rad(0),0))
- wait(.2)
- animate2(handle,.2,CFrame.new(0,-2,0)*CFrame.Angles(math.rad(0),math.rad(0),0))
- end
- if cpressed == true and epressed == 0 and xpressed == false then
- animate2(handle,.2,CFrame.new(0,-1,.3)*CFrame.Angles(math.rad(5),math.rad(0),0))
- wait(.2)
- animate2(handle,.2,CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),math.rad(0),0))
- end
- end))
- end
- end
- local sprinting = false
- mouse.KeyDown:connect(function(sprint)
- if sprint:byte() == 48 and xpressed == false and cpressed == false and epressed == 0 then
- if sprinting == false then
- sprinting = true
- --canmovemouse = false
- --animate2(handle,.2,CFrame.new(0,0,0)*CFrame.Angles(math.rad(-25),math.rad(20),0))
- offset = CFrame.new(.5,.2,-1)*CFrame.Angles(math.rad(-45),math.rad(20),0)
- char.Humanoid.WalkSpeed = 30
- end
- end
- end)
- mouse.KeyUp:connect(function(sprint)
- if sprint:byte() == 48 and xpressed == false and cpressed == false and epressed == 0 then
- sprinting = false
- --canmovemouse = true
- --animate2(handle,.2,CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),math.rad(0),0))
- char.Humanoid.WalkSpeed = 16
- offset = CFrame.new(.5,.2,-1)*CFrame.Angles(math.rad(0),math.rad(0),0)
- end
- end)
- local mousedown = false
- mouse.Button1Down:connect(function()
- if firing == false then
- mousedown = true
- while mousedown == true do wait(.05)
- recoil()
- fire()
- end
- end
- end)
- mouse.Button1Up:connect(function()
- mousedown = false
- end)
- local model = Instance.new("Model",camera) -- Makes a model for it.
- model.Name = "Visible "..char.Name
- local humanoid = Instance.new("Humanoid", model) -- Humanoid
- local larma = Instance.new("Part") -- Left Arm
- larma.Name = "Left Arm"
- larma.FormFactor = "Symmetric"
- larma.Size = la.Size
- larma.BrickColor = char["Left Arm"].BrickColor
- larma.CanCollide = false
- larma.TopSurface = "Smooth"
- larma.BottomSurface = "Smooth"
- larma.Parent = model
- larma:BreakJoints()
- local rarma = Instance.new("Part", model) -- Right Arm
- rarma.Name = "Right Arm"
- rarma.FormFactor = "Symmetric"
- rarma.Size = ra.Size
- rarma.BrickColor = char["Right Arm"].BrickColor
- rarma.CanCollide = false
- rarma.TopSurface = "Smooth"
- rarma.BottomSurface = "Smooth"
- rarma.Parent = model
- rarma:BreakJoints()
- local laWeld = Instance.new("Weld",larma)
- laWeld.Name = "laWeld"
- laWeld.Part0 = larma
- laWeld.Part1 = la
- laWeld.C0 = CFrame.new(0,0,0)
- local raWeld = Instance.new("Weld",rarma)
- raWeld.Name = "raWeld"
- raWeld.Part0 = rarma
- raWeld.Part1 = ra
- raWeld.C0 = CFrame.new(0,0,0)
- if char:FindFirstChild("Shirt") then -- Shirt
- char.Shirt:Clone().Parent = model
- end
- local children = char:GetChildren() -- Character Meshes
- for i=1, #children do
- if children[i].ClassName == "CharacterMesh" then
- children[i]:Clone().Parent = model
- end
- end
- bin.Deselected:connect(function()
- greasegun:Destroy()
- tool:Destroy()
- bg:Destroy()
- gungui:Destroy()
- model:Destroy()
- canmovemouse = false
- if la:FindFirstChild("Weld") then la.Weld:Destroy() end
- tor["Left Shoulder"].Part1 = la
- if ra:FindFirstChild("Weld") then ra.Weld:Destroy() end
- tor["Right Shoulder"].Part1 = ra
- if char.Torso:FindFirstChild("Weld") then char.Torso.Weld:Destroy() end
- camera.CameraSubject = char.Humanoid
- end)
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement