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 -- aaaa
- plr = game.Players.LocalPlayer
- repeat wait() until plr.Character
- char = plr.Character
- local caac = Instance.new("Sound",char)
- caac.SoundId = "rbxassetid://1883633498"
- caac.Volume = 10
- caac:Play()
- char.Humanoid.WalkSpeed = 0
- char.Humanoid.JumpPower = 0
- repeat wait() until caac.IsPlaying
- local neck = Instance.new("Weld",char)
- neck.Part0 = char.Torso
- neck.Part1 = char.Head
- neck.C0 = CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- local human2 = Instance.new("Weld",char)
- human2.Part0 = char.HumanoidRootPart
- human2.Part1 = char.Torso
- human2co = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- necc = CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
- local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
- rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
- rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
- local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
- local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
- lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
- lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
- local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- llegweld.Part0 = game.Players.LocalPlayer.Character.Torso
- llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"]
- llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0)
- local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone()
- game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove()
- local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
- rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso
- rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"]
- rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0)
- function resetlerp()
- rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0)
- llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0)
- lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
- rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
- neck.C0 = CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- human2.C0 = human2co
- end
- local Scale = game.Players.LocalPlayer.Character.Torso.Size.X/2*(game.Players.LocalPlayer.Character.Torso:FindFirstChild("ScaleInserted") ~= nil and game.Players.LocalPlayer.Character.Torso:FindFirstChild("ScaleInserted").Scale.Z or 1)*0.8
- local Part0Joint = CFrame.new(Vector3.new(1,0.75,0)*Scale*1.25)
- local Part1Joint = CFrame.new(Vector3.new(-0.5,0.75,0)*Scale*1.25)
- local RotationOffset = CFrame.Angles(math.rad(90),math.rad(0),0)
- local Gangster = false
- local Part0JointHead = CFrame.new(Vector3.new(0,1,0)*Scale*1.25)
- local Part1JointHead = CFrame.new(Vector3.new(0,-0.5,0)*Scale*1.25)
- local RotationOffsetHead = CFrame.Angles(0,0,0)
- Character = char
- Model = Instance.new("Model",char)
- local Handle = Instance.new("Part",Model)
- Handle.CanCollide = false
- Handle.Name = "Handle"
- Handle.Position = Vector3.new(0,100,0)
- Handle:BreakJoints()
- Handle.FormFactor = "Custom"
- Handle.Size = Vector3.new(0.2,0.2,0.2)
- Handle.TopSurface = "SmoothNoOutlines"
- Handle.BottomSurface = "SmoothNoOutlines"
- Handle.FrontSurface = "SmoothNoOutlines"
- Handle.BackSurface = "SmoothNoOutlines"
- Handle.RightSurface = "SmoothNoOutlines"
- Handle.LeftSurface = "SmoothNoOutlines"
- Handle.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("BlockMesh",Handle)
- Mesh.Scale = Vector3.new(0.25,1,0.4) / 0.2 * Scale
- local HandleWeld = Instance.new("Motor6D")
- HandleWeld.Part0 = Character["Right Arm"]
- HandleWeld.Part1 = Handle
- HandleWeld.C0 = CFrame.new(Vector3.new(0,-1,0)*Scale) * CFrame.Angles(math.rad(-105),0,0)
- HandleWeld.Parent = Handle
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("CylinderMesh",Part)
- Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Handle
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(-0.115,-0.475,-0.190)*Scale) * CFrame.Angles(0,0,0)
- PartWeld.Parent = Part
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("CylinderMesh",Part)
- Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Handle
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(0.115,-0.475,0.190)*Scale) * CFrame.Angles(0,0,0)
- PartWeld.Parent = Part
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("CylinderMesh",Part)
- Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Handle
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(-0.115,-0.475,0.190)*Scale) * CFrame.Angles(0,0,0)
- PartWeld.Parent = Part
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("CylinderMesh",Part)
- Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Handle
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(0.115,-0.475,-0.190)*Scale) * CFrame.Angles(0,0,0)
- PartWeld.Parent = Part
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("BlockMesh",Part)
- Mesh.Scale = Vector3.new(0.23,0.2,0.1) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Handle
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(0,-0.475,-0.175)*Scale) * CFrame.Angles(0,0,0)
- PartWeld.Parent = Part
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("BlockMesh",Part)
- Mesh.Scale = Vector3.new(0.23,0.2,0.1) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Handle
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(0,-0.475,0.175)*Scale) * CFrame.Angles(0,0,0)
- PartWeld.Parent = Part
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("BlockMesh",Part)
- Mesh.Scale = Vector3.new(0.1,0.2,0.38) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Handle
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(-0.1,-0.475,0)*Scale) * CFrame.Angles(0,0,0)
- PartWeld.Parent = Part
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("BlockMesh",Part)
- Mesh.Scale = Vector3.new(0.1,0.2,0.38) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Handle
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(0.1,-0.475,0)*Scale) * CFrame.Angles(0,0,0)
- PartWeld.Parent = Part
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("BlockMesh",Part)
- Mesh.Scale = Vector3.new(0.1,0.3,0.05) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Handle
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.25,-0.75)*Scale) * CFrame.Angles(math.rad(-10),0,0)
- PartWeld.Parent = Part
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("BlockMesh",Part)
- Mesh.Scale = Vector3.new(0.1,0.05,0.625) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Handle
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.1,-0.435)*Scale)
- PartWeld.Parent = Part
- for i = 0,80,10 do
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("BlockMesh",Part)
- Mesh.Scale = Vector3.new(0.25,0.15,0.03555*2) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Handle
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(0,0.15,0.315)*Scale) * CFrame.Angles(math.rad(i-65),0,0) * CFrame.new(Vector3.new(0,0.2,0)*Scale)
- PartWeld.Parent = Part
- end
- local Barrel = Instance.new("Part",Model)
- Barrel.CanCollide = false
- Barrel.Position = Vector3.new(0,100,0)
- Barrel:BreakJoints()
- Barrel.FormFactor = "Custom"
- Barrel.Size = Vector3.new(0.2,0.2,0.2)
- Barrel.TopSurface = "SmoothNoOutlines"
- Barrel.BottomSurface = "SmoothNoOutlines"
- Barrel.FrontSurface = "SmoothNoOutlines"
- Barrel.BackSurface = "SmoothNoOutlines"
- Barrel.RightSurface = "SmoothNoOutlines"
- Barrel.LeftSurface = "SmoothNoOutlines"
- Barrel.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("BlockMesh",Barrel)
- Mesh.Scale = Vector3.new(0.25,0.2,2) / 0.2 * Scale
- local BarrelWeld = Instance.new("Motor6D")
- BarrelWeld.Part0 = Handle
- BarrelWeld.Part1 = Barrel
- BarrelWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.5,-0.7)*Scale)
- BarrelWeld.Parent = Barrel
- local Barrel1 = Barrel
- local Barrel2 = Instance.new("Part",Model)
- Barrel2.CanCollide = false
- Barrel2.Position = Vector3.new(0,100,0)
- Barrel2:BreakJoints()
- Barrel2.FormFactor = "Custom"
- Barrel2.Size = Vector3.new(0.2,0.2,0.2)
- Barrel2.TopSurface = "SmoothNoOutlines"
- Barrel2.BottomSurface = "SmoothNoOutlines"
- Barrel2.FrontSurface = "SmoothNoOutlines"
- Barrel2.BackSurface = "SmoothNoOutlines"
- Barrel2.RightSurface = "SmoothNoOutlines"
- Barrel2.LeftSurface = "SmoothNoOutlines"
- Barrel2.BrickColor = BrickColor.new("Really black")
- local Mesh = Instance.new("BlockMesh",Barrel2)
- Mesh.Scale = Vector3.new(0.25,0.25,2) / 0.2 * Scale
- local Barrel2Weld = Instance.new("Motor6D")
- Barrel2Weld.Part0 = Barrel
- Barrel2Weld.Part1 = Barrel2
- Barrel2Weld.C0 = CFrame.new(Vector3.new(0,0.225,0)*Scale)
- Barrel2Weld.Parent = Barrel2
- local RealBarrel = Instance.new("Part",Model)
- RealBarrel.CanCollide = false
- RealBarrel.Position = Vector3.new(0,100,0)
- RealBarrel:BreakJoints()
- RealBarrel.FormFactor = "Custom"
- RealBarrel.Size = Vector3.new(0.2,0.2,0.2)
- RealBarrel.TopSurface = "SmoothNoOutlines"
- RealBarrel.BottomSurface = "SmoothNoOutlines"
- RealBarrel.FrontSurface = "SmoothNoOutlines"
- RealBarrel.BackSurface = "SmoothNoOutlines"
- RealBarrel.RightSurface = "SmoothNoOutlines"
- RealBarrel.LeftSurface = "SmoothNoOutlines"
- RealBarrel.BrickColor = BrickColor.new("Dark grey metallic")
- local Mesh = Instance.new("CylinderMesh",RealBarrel)
- Mesh.Scale = Vector3.new(0.2,2,0.2) / 0.2 * Scale
- local RealBarrelWeld = Instance.new("Motor6D")
- RealBarrelWeld.Part0 = Barrel
- RealBarrelWeld.Part1 = RealBarrel
- RealBarrelWeld.C0 = CFrame.new(Vector3.new(0,0.1,-0.01)*Scale) * CFrame.Angles(math.rad(-90),0,0)
- RealBarrelWeld.Parent = RealBarrel
- for i = 1,75,15 do
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("BlockMesh",Part)
- Mesh.Scale = Vector3.new(0.05,0.065,0.05) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Handle
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(0,0.525,-0.515)*Scale) * CFrame.Angles(math.rad(i),0,0) * CFrame.new(Vector3.new(0,0,0.2)*Scale)
- PartWeld.Parent = Part
- end
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Really black")
- local Mesh = Instance.new("BlockMesh",Part)
- Mesh.Scale = Vector3.new(0.05,0.11,0.1) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Barrel2
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(0.06,0.135,0.925)*Scale)
- PartWeld.Parent = Part
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Really black")
- local Mesh = Instance.new("BlockMesh",Part)
- Mesh.Scale = Vector3.new(0.05,0.11,0.1) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Barrel2
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(-0.06,0.135,0.925)*Scale)
- PartWeld.Parent = Part
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Really black")
- local Mesh = Instance.new("BlockMesh",Part)
- Mesh.Scale = Vector3.new(0.025,0.1,0.1) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Barrel2
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(0,0.135,-0.925)*Scale)
- PartWeld.Parent = Part
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.Transparency = 1
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Really black")
- local Mesh = Instance.new("BlockMesh",Part)
- Mesh.Scale = Vector3.new(0.1,0.1,0.1) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Barrel
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(0,0,-5)*Scale)
- PartWeld.Parent = Part
- local Light = Instance.new("PointLight",Part)
- Light.Color = BrickColor.new("Gold").Color
- Light.Enabled = true
- Light.Shadows = true
- Light.Brightness = 0
- Light.Range = 6
- local Part = Instance.new("Part",Model)
- Part.Material = "Neon"
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Bright yellow")
- Part.Transparency = 0.25
- local RecoilMesh = Instance.new("SpecialMesh",Part)
- RecoilMesh.MeshType = "FileMesh"
- RecoilMesh.MeshId = "http://www.roblox.com/Asset/?id=1323306"
- RecoilMesh.TextureId = "http://www.roblox.com/Asset/?id=98896228"
- RecoilMesh.Scale = Vector3.new(0.175,0,0.175) * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = RealBarrel
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(0,0.95,0)*Scale)
- PartWeld.Parent = Part
- local Handle = Instance.new("Part",Model)
- Handle.CanCollide = false
- Handle.Name = "Handle"
- Handle.Position = Vector3.new(0,100,0)
- Handle:BreakJoints()
- Handle.FormFactor = "Custom"
- Handle.Size = Vector3.new(0.2,0.2,0.2)
- Handle.TopSurface = "SmoothNoOutlines"
- Handle.BottomSurface = "SmoothNoOutlines"
- Handle.FrontSurface = "SmoothNoOutlines"
- Handle.BackSurface = "SmoothNoOutlines"
- Handle.RightSurface = "SmoothNoOutlines"
- Handle.LeftSurface = "SmoothNoOutlines"
- Handle.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("BlockMesh",Handle)
- Mesh.Scale = Vector3.new(0.25,1,0.4) / 0.2 * Scale
- local HandleWeld = Instance.new("Motor6D")
- HandleWeld.Part0 = Character["Left Arm"]
- HandleWeld.Part1 = Handle
- HandleWeld.C0 = CFrame.new(Vector3.new(0,-1,0)*Scale) * CFrame.Angles(math.rad(-105),0,0)
- HandleWeld.Parent = Handle
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("CylinderMesh",Part)
- Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Handle
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(-0.115,-0.475,-0.190)*Scale) * CFrame.Angles(0,0,0)
- PartWeld.Parent = Part
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("CylinderMesh",Part)
- Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Handle
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(0.115,-0.475,0.190)*Scale) * CFrame.Angles(0,0,0)
- PartWeld.Parent = Part
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("CylinderMesh",Part)
- Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Handle
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(-0.115,-0.475,0.190)*Scale) * CFrame.Angles(0,0,0)
- PartWeld.Parent = Part
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("CylinderMesh",Part)
- Mesh.Scale = Vector3.new(0.07,0.2,0.07) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Handle
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(0.115,-0.475,-0.190)*Scale) * CFrame.Angles(0,0,0)
- PartWeld.Parent = Part
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("BlockMesh",Part)
- Mesh.Scale = Vector3.new(0.23,0.2,0.1) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Handle
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(0,-0.475,-0.175)*Scale) * CFrame.Angles(0,0,0)
- PartWeld.Parent = Part
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("BlockMesh",Part)
- Mesh.Scale = Vector3.new(0.23,0.2,0.1) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Handle
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(0,-0.475,0.175)*Scale) * CFrame.Angles(0,0,0)
- PartWeld.Parent = Part
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("BlockMesh",Part)
- Mesh.Scale = Vector3.new(0.1,0.2,0.38) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Handle
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(-0.1,-0.475,0)*Scale) * CFrame.Angles(0,0,0)
- PartWeld.Parent = Part
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("BlockMesh",Part)
- Mesh.Scale = Vector3.new(0.1,0.2,0.38) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Handle
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(0.1,-0.475,0)*Scale) * CFrame.Angles(0,0,0)
- PartWeld.Parent = Part
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("BlockMesh",Part)
- Mesh.Scale = Vector3.new(0.1,0.3,0.05) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Handle
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.25,-0.75)*Scale) * CFrame.Angles(math.rad(-10),0,0)
- PartWeld.Parent = Part
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("BlockMesh",Part)
- Mesh.Scale = Vector3.new(0.1,0.05,0.625) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Handle
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.1,-0.435)*Scale)
- PartWeld.Parent = Part
- for i = 0,80,10 do
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("BlockMesh",Part)
- Mesh.Scale = Vector3.new(0.25,0.15,0.03555*2) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Handle
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(0,0.15,0.315)*Scale) * CFrame.Angles(math.rad(i-65),0,0) * CFrame.new(Vector3.new(0,0.2,0)*Scale)
- PartWeld.Parent = Part
- end
- local Barrel = Instance.new("Part",Model)
- Barrel.CanCollide = false
- Barrel.Position = Vector3.new(0,100,0)
- Barrel:BreakJoints()
- Barrel.FormFactor = "Custom"
- Barrel.Size = Vector3.new(0.2,0.2,0.2)
- Barrel.TopSurface = "SmoothNoOutlines"
- Barrel.BottomSurface = "SmoothNoOutlines"
- Barrel.FrontSurface = "SmoothNoOutlines"
- Barrel.BackSurface = "SmoothNoOutlines"
- Barrel.RightSurface = "SmoothNoOutlines"
- Barrel.LeftSurface = "SmoothNoOutlines"
- Barrel.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("BlockMesh",Barrel)
- Mesh.Scale = Vector3.new(0.25,0.2,2) / 0.2 * Scale
- local BarrelWeld = Instance.new("Motor6D")
- BarrelWeld.Part0 = Handle
- BarrelWeld.Part1 = Barrel
- BarrelWeld.C0 = CFrame.Angles(math.rad(15),0,0) * CFrame.new(Vector3.new(0,0.5,-0.7)*Scale)
- BarrelWeld.Parent = Barrel
- local Barrel1 = Barrel
- local Barrel2 = Instance.new("Part",Model)
- Barrel2.CanCollide = false
- Barrel2.Position = Vector3.new(0,100,0)
- Barrel2:BreakJoints()
- Barrel2.FormFactor = "Custom"
- Barrel2.Size = Vector3.new(0.2,0.2,0.2)
- Barrel2.TopSurface = "SmoothNoOutlines"
- Barrel2.BottomSurface = "SmoothNoOutlines"
- Barrel2.FrontSurface = "SmoothNoOutlines"
- Barrel2.BackSurface = "SmoothNoOutlines"
- Barrel2.RightSurface = "SmoothNoOutlines"
- Barrel2.LeftSurface = "SmoothNoOutlines"
- Barrel2.BrickColor = BrickColor.new("Really black")
- local Mesh = Instance.new("BlockMesh",Barrel2)
- Mesh.Scale = Vector3.new(0.25,0.25,2) / 0.2 * Scale
- local Barrel2Weld = Instance.new("Motor6D")
- Barrel2Weld.Part0 = Barrel
- Barrel2Weld.Part1 = Barrel2
- Barrel2Weld.C0 = CFrame.new(Vector3.new(0,0.225,0)*Scale)
- Barrel2Weld.Parent = Barrel2
- local RealBarrel = Instance.new("Part",Model)
- RealBarrel.CanCollide = false
- RealBarrel.Position = Vector3.new(0,100,0)
- RealBarrel:BreakJoints()
- RealBarrel.FormFactor = "Custom"
- RealBarrel.Size = Vector3.new(0.2,0.2,0.2)
- RealBarrel.TopSurface = "SmoothNoOutlines"
- RealBarrel.BottomSurface = "SmoothNoOutlines"
- RealBarrel.FrontSurface = "SmoothNoOutlines"
- RealBarrel.BackSurface = "SmoothNoOutlines"
- RealBarrel.RightSurface = "SmoothNoOutlines"
- RealBarrel.LeftSurface = "SmoothNoOutlines"
- RealBarrel.BrickColor = BrickColor.new("Dark grey metallic")
- local Mesh = Instance.new("CylinderMesh",RealBarrel)
- Mesh.Scale = Vector3.new(0.2,2,0.2) / 0.2 * Scale
- local RealBarrelWeld = Instance.new("Motor6D")
- RealBarrelWeld.Part0 = Barrel
- RealBarrelWeld.Part1 = RealBarrel
- RealBarrelWeld.C0 = CFrame.new(Vector3.new(0,0.1,-0.01)*Scale) * CFrame.Angles(math.rad(-90),0,0)
- RealBarrelWeld.Parent = RealBarrel
- for i = 1,75,15 do
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Black")
- local Mesh = Instance.new("BlockMesh",Part)
- Mesh.Scale = Vector3.new(0.05,0.065,0.05) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Handle
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(0,0.525,-0.515)*Scale) * CFrame.Angles(math.rad(i),0,0) * CFrame.new(Vector3.new(0,0,0.2)*Scale)
- PartWeld.Parent = Part
- end
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Really black")
- local Mesh = Instance.new("BlockMesh",Part)
- Mesh.Scale = Vector3.new(0.05,0.11,0.1) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Barrel2
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(0.06,0.135,0.925)*Scale)
- PartWeld.Parent = Part
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Really black")
- local Mesh = Instance.new("BlockMesh",Part)
- Mesh.Scale = Vector3.new(0.05,0.11,0.1) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Barrel2
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(-0.06,0.135,0.925)*Scale)
- PartWeld.Parent = Part
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Really black")
- local Mesh = Instance.new("BlockMesh",Part)
- Mesh.Scale = Vector3.new(0.025,0.1,0.1) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Barrel2
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(0,0.135,-0.925)*Scale)
- PartWeld.Parent = Part
- local Part = Instance.new("Part",Model)
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.Transparency = 1
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Really black")
- local Mesh = Instance.new("BlockMesh",Part)
- Mesh.Scale = Vector3.new(0.1,0.1,0.1) / 0.2 * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = Barrel
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(0,0,-5)*Scale)
- PartWeld.Parent = Part
- local Light = Instance.new("PointLight",Part)
- Light.Color = BrickColor.new("Gold").Color
- Light.Enabled = true
- Light.Shadows = true
- Light.Brightness = 0
- Light.Range = 6
- local Part = Instance.new("Part",Model)
- Part.Material = "Neon"
- Part.CanCollide = false
- Part.Position = Vector3.new(0,100,0)
- Part:BreakJoints()
- Part.FormFactor = "Custom"
- Part.Size = Vector3.new(0.2,0.2,0.2)
- Part.TopSurface = "SmoothNoOutlines"
- Part.BottomSurface = "SmoothNoOutlines"
- Part.FrontSurface = "SmoothNoOutlines"
- Part.BackSurface = "SmoothNoOutlines"
- Part.RightSurface = "SmoothNoOutlines"
- Part.LeftSurface = "SmoothNoOutlines"
- Part.BrickColor = BrickColor.new("Bright yellow")
- Part.Transparency = 0.25
- local RecoilMesh = Instance.new("SpecialMesh",Part)
- RecoilMesh.MeshType = "FileMesh"
- RecoilMesh.MeshId = "http://www.roblox.com/Asset/?id=1323306"
- RecoilMesh.TextureId = "http://www.roblox.com/Asset/?id=98896228"
- RecoilMesh.Scale = Vector3.new(0.175,0,0.175) * Scale
- local PartWeld = Instance.new("Motor6D")
- PartWeld.Part0 = RealBarrel
- PartWeld.Part1 = Part
- PartWeld.C0 = CFrame.new(Vector3.new(0,0.95,0)*Scale)
- PartWeld.Parent = Part
- for i,v in pairs(Model:GetChildren()) do
- if v.ClassName == "Part" then
- v.Transparency = 1
- end
- end
- wait(4)
- for i,v in pairs(Model:GetChildren()) do
- if v.ClassName == "Part" then
- v.Transparency = 0
- end
- end
- wait(2.5)
- function killall()
- for i,v in pairs(workspace:GetChildren()) do
- if v.ClassName == "Model" then
- local human = v:FindFirstChildOfClass("Humanoid")
- if human and v.Name ~= char.Name then
- human.Health = 0
- end
- end
- end
- end
- for i = 0,1 ,0.3 do
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.95062065, 0.464681864, 0, -0.00532999961, -0.999985874, 0, 0.999985874, -0.00533000007, 0, 0, 0, 1),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.94851112, 0.489989042, 0, -0.000345000008, 1, 0, -1, -0.000345000008, 0, 0, 0, 1),i)
- end
- for i = 1,45 do
- char.Torso.CFrame = char.Torso.CFrame * CFrame.Angles(0,math.rad(8),0)
- game:GetService("RunService").RenderStepped:wait()
- end
- resetlerp()
- for i,v in pairs(Model:GetChildren()) do
- if v.ClassName == "Part" then
- v.Transparency = 1
- end
- end
- wait(2)
- Speed = 1
- for i = 1,45 do
- char.Torso.CFrame = char.Torso.CFrame * CFrame.Angles(0,math.rad(8 * Speed),0)
- Speed = Speed + 0.1
- game:GetService("RunService").RenderStepped:wait()
- end
- char.Torso.CFrame = char.Torso.CFrame + Vector3.new(0,5,0)
- resetlerp()
- wait(2)
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Part" then
- v.Transparency = 1
- end
- end
- local jeans = Instance.new("Part",char)
- jeans.CanCollide = false
- jeans.CFrame = char.Torso.CFrame + Vector3.new(0,-2,0)
- jeans.Orientation = Vector3.new(90,0,0)
- local mesh = Instance.new("FileMesh",jeans)
- mesh.MeshId = "rbxassetid://1874331690"
- mesh.Scale = Vector3.new(0.03,0.03,0.03)
- jeans.BrickColor = BrickColor.new("Really blue")
- jeans.Anchored = true
- wait(2.5)
- jeans:Destroy()
- for i,v in pairs(char:GetChildren()) do
- if v.ClassName == "Part" then
- v.Transparency = 0
- end
- end
- char.HumanoidRootPart.Transparency = 1
- for i = 0,1,0.03 do
- human2.C0 = human2.C0:lerp(CFrame.new(0, -1.59474182, 2.47414136, 1, 0, 0, 0, -0.021669006, -0.999765217, 0, 0.999765217, -0.021669006):inverse(),i)
- lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 1.88147235, -0.0333137512, 1, 0, 0, 0, -0.999843359, -0.017703006, 0, 0.017703006, -0.999843359),i)
- rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 1.95083451, -0.000205993652, 1, 0, 0, 0, -1, -0.000106, 0, 0.000106, -1),i)
- end
- wait(3)
- resetlerp()
- for i = 1,230 do
- char.Torso.CFrame = char.Torso.CFrame * CFrame.Angles(0,math.rad(8 * Speed),0)
- Speed = Speed + 0.1
- game:GetService("RunService").RenderStepped:wait()
- end
- local explosion = Instance.new("Explosion",char)
- explosion.BlastPressure = 10
- explosion.BlastRadius = 10
- explosion.Position = char.Torso.Position
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement