Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Enjoy little skids :)
- Instance.new("Shirt",c).ShirtTemplate="rbxassetid://278316781"
- Instance.new("Pants",c).PantsTemplate="rbxassetid://187135174"
- dot = false
- des = false
- local ChatService = game:GetService("Chat")
- local player = game.Players.LocalPlayer
- char = player.Character
- hum = char.Humanoid
- torso = hum.Torso
- lig = Instance.new("PointLight",player.Character.Torso)
- lig.Color=Color3.new(0,255,255)
- m=player:GetMouse()
- bb = Instance.new("BillboardGui",player.Character.Head)
- bb.Enabled = true
- bb.AlwaysOnTop = true
- bb.Size = UDim2.new(0,200,00,50)
- bb.StudsOffset = Vector3.new(0,1,0)
- gui=Instance.new("TextBox",bb)
- gui.Text = "Seth: "
- gui.Size = UDim2.new(0,400,0,100)
- gui.Position=UDim2.new(0,-95,0,-85)
- gui.TextColor3 = Color3.new(255,255,255)
- gui.BackgroundColor3=Color3.new(0,0,0) --another
- gui.TextWrapped = true
- gui.TextScaled = true
- gui.FontSize = "Size14"
- gui.TextXAlignment = "Left"
- gui.TextYAlignment = "Top"
- gui.Visible = false
- gui.BorderColor3 = Color3.new(255,255,255)
- gui.BorderSizePixel = 5
- gui1=Instance.new("TextButton",bb)
- gui1.Position=UDim2.new(0,5,0,-43)
- gui1.Size = UDim2.new(0,190,0,51)
- gui1.Text = ""
- gui1.TextColor3 = Color3.new(255,255,255)
- gui1.BackgroundColor3=Color3.new(0,0,0) --shotCUT
- gui1.BackgroundTransparency = 1
- gui1.Visible = false
- img = Instance.new("ImageLabel",bb)
- img.Size = UDim2.new(0,0,0,0)
- img.Position = UDim2.new(0,10,0,-41)
- img.BackgroundTransparency = 1
- img.BorderColor3 = Color3.new(0,0,0)
- img.Visible = false
- asd = Instance.new("Sound",player.Character.Torso)
- asd.SoundId = "http://www.roblox.com/asset/?id = 434571966"
- asd.Pitch=0.85
- asd1 = Instance.new("Sound",player.Character.Torso)
- asd1.SoundId = "http://www.roblox.com/asset/?id = 0"
- asd2 = Instance.new("Sound",player.Character.Torso)
- asd2.SoundId = "http://www.roblox.com/asset/?id = 0"
- asd2.Looped = true
- asd3 = Instance.new("Sound",player.Character.Torso)
- asd3.SoundId = "http://www.roblox.com/asset/?id = 259096041"
- asd3.Looped = true
- asd4 = Instance.new("Sound",player.Character.Torso)
- asd4.SoundId = "http://www.roblox.com/asset/?id = 155119191"
- asd4.Looped = false
- asd5 = Instance.new("Sound",player.Character.Torso)
- asd5.SoundId = "http://www.roblox.com/asset/?id = 180139023"
- asd5.Looped = true
- dunkd = Instance.new("Sound",player.Character.Torso)
- dunkd.SoundId = "http://www.roblox.com/asset/?id = 261303790"
- dunkd.Pitch=7
- dunkd.Looped = false
- function play(play)
- asd:Play()
- asd1:Play()
- end
- eye = Instance.new("Part",player.Character)
- eye.BrickColor = BrickColor.new("Toothpaste")
- eye.Material = "Neon"
- eye.FormFactor = 3
- eye.Shape = "Ball"
- eye.Size = Vector3.new(0.37,0.37,0.1)
- weld = Instance.new("Weld",eye)
- weld.Part0 = eye
- weld.Part1 = player.Character.Head
- weld.C0 = CFrame.new(0.1,-0.2,0.45)
- eye.Transparency = 1
- -- listen for their chatting
- player.Chatted:connect(function(message)
- a = string.len(message)
- gui.Text = "Seth: "
- gui.Visible = true
- gui1.Visible = true
- des = false
- img.Visible = false
- print(a)
- if dot == false then
- for i = 1,string.len(message) do wait(0.07)
- gui.Text =gui.Text..message:sub(i,i)
- play()
- end
- end
- des = true
- end)
- m.KeyDown:connect(function(k)
- if k == "g" then
- asd2:Play()
- eye.Transparency = 1
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "p" then
- eye.Transparency = 1
- asd3:Play()
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "r" then
- eye.Transparency = 1
- asd4:Play()
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "q" then
- eye.Transparency = 1
- asd5:Play()
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "z" then
- img.Image = "rbxassetid://"
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "c" then
- cool = Instance.new("Sound",player.Character.Torso)
- cool.SoundId = "http://www.roblox.com/asset/?id = 392201535"
- wait()
- cool:Play()
- human.Health = human.Health - math.random(150,300) --cool short
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "n" then
- healy = Instance.new("Sound",player.Character.Torso)
- healy.SoundId = "http://www.roblox.com/asset/?id = 435185931"
- wait()
- healy:Play()
- human.Health = human.Health + 300 --cool short
- gui.Visible = true
- wait()
- gui.Text = "* You ate the PopCorn. * Pop secret! * You recovered 300 HP!"
- wait(5)
- gui.Visible = false
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "b" then
- healy = Instance.new("Sound",player.Character.Torso)
- healy.SoundId = "http://www.roblox.com/asset/?id = 435185931"
- wait()
- healy:Play()
- human.Health = human.Health + 600 --cool short
- gui.Visible = true
- wait()
- gui.Text = "* You ate the FaceSteak. * You like it alot... * You recovered 600 HP!"
- wait(5)
- gui.Visible = false
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "m" then
- healy = Instance.new("Sound",player.Character.Torso)
- healy.SoundId = "http://www.roblox.com/asset/?id = 435185931"
- wait()
- healy:Play()
- human.Health = 7500 --cool short
- gui.Visible = true
- wait()
- gui.Text = "* You ate the Spaghetti. Slurp! * Your HP was maxed out."
- wait(5)
- gui.Visible = false
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "v" then
- healy = Instance.new("Sound",player.Character.Torso)
- healy.SoundId = "http://www.roblox.com/asset/?id = 435185931"
- wait()
- healy:Play()
- human.Health = human.Health + 750 --cool short
- gui.Visible = true
- wait()
- gui.Text = "* You drank a MrPibb. Ahhh... * You recovered 750 HP!"
- wait(5)
- gui.Visible = false
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "h" then
- img.Image = "rbxassetid://"
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "j" then
- img.Image = "rbxassetid://"
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "l" then
- img.Image = "rbxassetid://"
- print("You take your very last breath...")
- asdd = Instance.new("Sound",player.Character.Torso)
- asdd.SoundId = "http://www.roblox.com/asset/?id = 392201535"
- asdd.Looped = false
- spawn(function()
- wait()
- asdd:Play()
- human.Health = 1
- human.Parent["Right Arm"].BrickColor = BrickColor.new("Really red")
- end)
- wait(0.1)
- asddd = Instance.new("Sound",player.Character.Torso)
- asddd.SoundId = "http://www.roblox.com/asset/?id = 186311262"
- asddd.Looped = false
- spawn(function()
- wait()
- asddd:Play()
- end)
- wait(30)
- asdded = Instance.new("Sound",player.Character.Torso)
- asdded.SoundId = "http://www.roblox.com/asset/?id = 387187707"
- asdded.Looped = false
- spawn(function()
- wait()
- asdded:Play()
- end)
- char:BreakJoints()
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "x" then
- if des == true then
- gui.Visible = false
- gui.Text = "Seth: "
- gui1.Visible = false
- img.Visible = false
- end
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "f" then
- asd1:Stop()
- asd3:Stop()
- asd2:Stop()
- asd4:Stop()
- dunkd:Stop()
- eye.Transparency = 1
- asd5:Stop()
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "u" then
- dunkd = Instance.new("Sound",player.Character.Torso)
- dunkd.SoundId = "http://www.roblox.com/asset/?id = 261303790"
- dunkd.Pitch=7
- dunkd.Looped = false
- dunkd:Play()
- gui.Text = "SHUT THE FUCK UP YOU CUNT"
- end
- end)
- m.KeyDown:connect(function(k)
- if k == "y" then
- img.Image = "rbxassetid://"
- end
- 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 Speed = 20*Scale
- local Gravity = 0.1
- local Player = game.Players.LocalPlayer
- local Character = Player.Character
- local Humanoid = Character.Humanoid
- Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,false)
- local Torso = Character.HumanoidRootPart
- local Mouse = game.Players.LocalPlayer:GetMouse()
- local RenderStepped = game:GetService("RunService").RenderStepped
- local Camera = Workspace.CurrentCamera
- Camera:ClearAllChildren()
- local Model = Instance.new("Model",Character)
- local IgnoreList = {Character,Workspace.Terrain}
- 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)
- 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
- function ShootBullet(Target,barrel)
- local barrel = barrel or Barrel
- local Bullet = Instance.new("Part",Workspace)
- Barrel.CanCollide = false
- Bullet.FormFactor = "Custom"
- Bullet.Size = Vector3.new(0.2,0.2,5)*Scale
- Bullet.TopSurface = "Smooth"
- Bullet.BottomSurface = "Smooth"
- Bullet.Anchored = true
- Bullet.CanCollide = false
- Bullet.CFrame = CFrame.new((barrel.CFrame*CFrame.new(0,0,-barrel.Size.Z*barrel.Mesh.Scale.Z/2)).p,Target)*CFrame.new(0,0,-Bullet.Size.Z/2)
- Bullet.Transparency = 0.1
- Bullet.BrickColor = BrickColor.new("Gold")
- --[[local Mesh = Instance.new("SpecialMesh",Bullet)
- Mesh.MeshType = "FileMesh"
- Mesh.Scale = Vector3.new(0.5,0.5,0.2)
- Mesh.MeshId = "http://www.roblox.com/asset/?id=2697549"
- --Mesh.TextureId = "http://www.roblox.com/asset/?id=2697544"]]
- local Mesh = Instance.new("BlockMesh",Bullet)
- Mesh.Scale = Vector3.new(0.2,0.2,5)*Scale/Bullet.Size
- IgnoreList[#IgnoreList+1] = Bullet
- RenderStepped:wait()
- for i = Speed,1000,Speed do -- Loop to do the bullet movement and stuff.
- local ray,Hit,Pos,SurfaceNormal;
- ray = Ray.new(Bullet.Position,((Bullet.CFrame*CFrame.Angles(math.rad(-Gravity),0,0)*CFrame.new(0,0,-Speed)).p-Bullet.Position).unit*Speed)
- Hit,Pos,SurfaceNormal = Workspace:FindPartOnRayWithIgnoreList(ray,IgnoreList)
- Bullet.CFrame = Bullet.CFrame*CFrame.Angles(math.rad(-Gravity),0,0)*CFrame.new(0,0,-Speed)
- if Hit ~= nil then
- local Hum = Hit.Parent:FindFirstChild("Humanoid") or Hit.Parent.Parent:FindFirstChild("Humanoid") or (Hit.Parent.Parent.Parent ~= nil and Hit.Parent.Parent.Parent:FindFirstChild("Humanoid"))
- if Hum ~= nil then
- Hum:TakeDamage((((Gangster and math.random(99999,99999) or math.random(99999,99999))*Scale)/100)*Hum.MaxHealth)
- end
- break
- end
- RenderStepped:wait()
- end
- Bullet:Destroy()
- end
- Mouse.Button1Down:connect(function()
- if not Down and not DB then
- Down = true
- while Down do
- if Humanoid.Health == 0 then break end
- if not DB then
- DB = true
- local Sound = Instance.new("Sound",Barrel)
- Sound.SoundId = "http://www.roblox.com/Asset/?id=282716906" -- 132373574
- Sound.Volume = 5*Scale
- Sound.Pitch = (math.random(70,110)/100)/((Scale < 0.25 and 0.25) or (Scale > 4 and 4) or Scale)
- Sound:Play()
- Spawn(function()
- ShootBullet(Mouse.Hit.p,Barrel1)
- end)
- RecoilMesh.VertexColor = Vector3.new(1,math.random(160,245)/255,20/255)
- PartWeld.C0 = PartWeld.C0 * CFrame.Angles(0,math.rad(math.random(-40,40)),0)
- local Shell = Instance.new("Part",Workspace)
- Shell.FormFactor = "Custom"
- Shell.BrickColor = BrickColor.new("Bright yellow")
- Shell.Size = Vector3.new(0.2,0.5,0.2)*Scale
- Shell.CFrame = Barrel.CFrame*CFrame.new(0.5,0.5,0)*CFrame.Angles(math.rad(-90),0,0)
- Shell.Velocity = ((Barrel.CFrame*CFrame.new(5,0,math.random(-2,2))).p-Barrel.CFrame.p)*5*Scale
- local Mesh = Instance.new("CylinderMesh",Shell)
- Mesh.Scale = Vector3.new(0.2,0.5,0.2)*Scale/Shell.Size
- Spawn(function()
- wait(5)
- Shell:Destroy()
- end)
- for i = 1,20,7.5 do
- RotationOffset = RotationOffset*CFrame.Angles(math.rad(7.5),0,0)
- Part1Joint = Part1Joint*CFrame.new(Vector3.new(0,-0.15,0)*Scale)
- Barrel2Weld.C0 = Barrel2Weld.C0*CFrame.new(Vector3.new(0,0,0.15)*Scale)
- Light.Brightness = Light.Brightness+38
- RecoilMesh.Scale = RecoilMesh.Scale+(Vector3.new(0,0.375,0)*Scale)
- RenderStepped:wait()
- end
- wait(0.02)
- for i = 1,20,3.75 do
- RotationOffset = RotationOffset*CFrame.Angles(math.rad(-3.75),0,0)
- Part1Joint = Part1Joint*CFrame.new(Vector3.new(0,0.075,0)*Scale)
- Barrel2Weld.C0 = Barrel2Weld.C0*CFrame.new(Vector3.new(0,0,-0.075)*Scale)
- Light.Brightness = Light.Brightness-19
- RecoilMesh.Scale = RecoilMesh.Scale+(Vector3.new(0,-0.1875,0)*Scale)
- RenderStepped:wait()
- end
- wait(0.02)
- DB = false
- end
- end
- end
- end)
- Mouse.Button1Up:connect(function()
- Down = false
- end)
- Mouse.KeyDown:connect(function(Key)
- if Key:lower() == "g" and not DB then
- DB = true
- if Gangster == true then
- for i = 1,70,5 do
- RotationOffset = RotationOffset*CFrame.Angles(0,math.rad(-5),0)
- RenderStepped:wait()
- end
- Gangster = false
- else
- for i = 1,70,5 do
- RotationOffset = RotationOffset*CFrame.Angles(0,math.rad(5),0)
- RenderStepped:wait()
- end
- Gangster = true
- end
- DB = false
- end
- end)
- local Weld = Instance.new("Weld")
- Weld.Part0 = Torso
- Weld.Part1 = Character["Right Arm"]
- Weld.Parent = Torso
- local Weld2 = Instance.new("Weld")
- Weld2.Part0 = Torso
- Weld2.Part1 = Character.Head
- Weld2.Parent = Torso
- local RA = Character["Right Arm"]
- game:GetService("RunService"):BindToRenderStep("Pistol",Enum.RenderPriority.Character.Value,function()
- local Point = Torso.CFrame:vectorToObjectSpace(Mouse.Hit.p-Torso.CFrame.p)
- if Point.Z > 0 then
- if Point.X > 0 then
- Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(Mouse.Hit.X,Torso.Position.Y,Mouse.Hit.Z))*CFrame.Angles(0,math.rad(90),0)
- elseif Point.X < 0 then
- Torso.CFrame = CFrame.new(Torso.Position,Vector3.new(Mouse.Hit.X,Torso.Position.Y,Mouse.Hit.Z))*CFrame.Angles(0,math.rad(-90),0)
- end
- end
- local CFr = (Torso.CFrame*Part0Joint):toObjectSpace(CFrame.new((Torso.CFrame*Part0Joint).p,Mouse.Hit.p))--RayEnd))
- Weld.C0 = Part0Joint * (CFr-CFr.p) * RotationOffset
- Weld.C1 = Part1Joint
- Weld.Part0 = Torso
- Weld.Part1 = RA
- local CFr = (Torso.CFrame*Part0JointHead):toObjectSpace(CFrame.new((Torso.CFrame*Part0JointHead).p,Mouse.Hit.p))--RayEnd))
- Weld2.C0 = Part0JointHead * (CFr-CFr.p) * RotationOffsetHead
- Weld2.C1 = Part1JointHead
- Weld2.Part0 = Torso
- Weld2.Part1 = Character.Head
- local Last = Scale
- 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
- Speed = 20*Scale
- if Scale ~= Last then
- Part0Joint = CFrame.new(Vector3.new(1,0.75,0)*Scale*1.25)
- Part1Joint = CFrame.new(Vector3.new(-0.5,0.75,0)*Scale*1.25)
- Part0JointHead = CFrame.new(Vector3.new(0,1,0)*Scale*1.25)
- Part1JointHead = CFrame.new(Vector3.new(0,-0.5,0)*Scale*1.25)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement