of     1   

nikolo21vnik
#65264349Saturday, March 31, 2012 6:27 PM GMT

Could any1 tel me some good wepon scripts?
youtubefan122
#65264436Saturday, March 31, 2012 6:28 PM GMT

Hello
nikolo21vnik
#65264462Saturday, March 31, 2012 6:29 PM GMT

have u have u!?
nikolo21vnik
#65265019Saturday, March 31, 2012 6:37 PM GMT

Castle =========================== p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,1.8,-40.5) p.Size = Vector3.new(58,1.2,52) p.Parent = game.Workspace p.Locked = true p.BrickColor = BrickColor.new(38) p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,1.8,-5.5) p.Size = Vector3.new(8,1.2,18) p.Parent = game.Workspace p.Locked = true p.BrickColor = BrickColor.new(38) p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-15.5,9,-12.5) p.Size = Vector3.new(25,15.6,4) p.Parent = game.Workspace p.Locked = true p.BrickColor = BrickColor.new(194) p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(17.5,9,-12.5) p.Size = Vector3.new(25,15.6,4) p.Parent = game.Workspace p.Locked = true p.BrickColor = BrickColor.new(194) p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,27,-12.5) p.Size = Vector3.new(58,20.4,4) p.Parent = game.Workspace p.Locked = true p.BrickColor = BrickColor.new(194) p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-31,19.2,-40.5) p.Size = Vector3.new(6,36,60) p.Parent = game.Workspace p.Locked = true p.BrickColor = BrickColor.new(194) p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(33,19.2,-40.5) p.Size = Vector3.new(6,36,60) p.Parent = game.Workspace p.Locked = true p.BrickColor = BrickColor.new(194) p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,19.2,-68.5) p.Size = Vector3.new(58,36,4) p.Parent = game.Workspace p.Locked = true p.BrickColor = BrickColor.new(194) p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(1,37.8,-40.5) p.Size = Vector3.new(70,1.2,60) p.Parent = game.Workspace p.Locked = true p.BrickColor = BrickColor.new(194) p = Instance.new("SpawnLocation") p.Anchored = true p.Position = Vector3.new(1,1.8,20.5) p.Size = Vector3.new(8,1.2,6) p.Parent = game.Workspace p.Locked = true
RoseAirashii
#65265138Saturday, March 31, 2012 6:39 PM GMT

Get off the forums. ~Axel
Alexrocksdude
#65265571Saturday, March 31, 2012 6:44 PM GMT

^ ~If it 'aint broke, don't fix it.~
nikolo21vnik
#65315085Sunday, April 01, 2012 8:30 AM GMT

p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0,500,0) p.Size = Vector3.new(50,0,50) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5 p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(25,501,0) p.Size = Vector3.new(0,50,50) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5 p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(-25,501,0) p.Size = Vector3.new(0,50,50) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5 p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0,501,25) p.Size = Vector3.new(50,50,0) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5 p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0,501,-25) p.Size = Vector3.new(50,50,0) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5 p = Instance.new("Part") p.Anchored = true p.Position = Vector3.new(0,525,0) p.Size = Vector3.new(50,0,50) p.Parent = game.Workspace p.Locked = true p.Transparency = 0.5 p= game.Players:GetChildren() for i= 1, #p do if p[i] ~= "shanethe13" then p[i].Character.Torso.CFrame = CFrame.new(0,515,0) end end
nikolo21vnik
#65315780Sunday, April 01, 2012 9:09 AM GMT

script.Parent = game.Workspace.nikolo21vnik.Head function OnTouched(food) food:remove() end script.Parent.Touched:connect(OnTouched)
nikolo21vnik
#65316257Sunday, April 01, 2012 9:32 AM GMT

plz join my group its my primary!
Daniel555552068
#65316390Sunday, April 01, 2012 9:40 AM GMT

^The forums are no place for 3 year-olds... ~2068~ ಠ_ಠ http://www.roblox.com/60-Bux-Donations-item?id=74535456
Daniel555552068
#65316400Sunday, April 01, 2012 9:40 AM GMT

All 13 of your posts are spam. ~2068~ ಠ_ಠ http://www.roblox.com/60-Bux-Donations-item?id=74535456
nikolo21vnik
#65322374Sunday, April 01, 2012 1:46 PM GMT

if script == nil then return end Player = game:GetService("Players"):FindFirstChild("zatucke") Name = "FN SCAR 16-S" selected = false canDual = false dual = false Button1Down = false damage = 15 canFire = true canFire2 = false readyTime = 0.075 automatic = true burst = false burstCount = 0 burstCountMax = 3 canSilence = true silenced = false canZoom = false zoom = false switchToSingle = true switchToBurst = false switchToAutomatic = true ammoGui = Instance.new("ScreenGui") ammoGui.Name = Name local frame = Instance.new("Frame") frame.Name = "Frame" frame.Size = UDim2.new(0, 165, 0, 60) frame.Position = UDim2.new(0, 0, 1, -60) frame.BackgroundColor3 = Color3.new(1, 1, 1) frame.BorderColor3 = Color3.new(0, 0, 0) frame.Parent = ammoGui local label = Instance.new("TextLabel") label.Name = "Weapon" label.Text = "Weapon: " ..Name label.Size = UDim2.new(1, 0, 0, 20) label.Position = UDim2.new(0, 0, 0, 0) label.BackgroundColor3 = Color3.new(1, 0, 0) label.BorderColor3 = Color3.new(0, 0, 0) label.Parent = frame local label = Instance.new("TextLabel") label.Name = "MagazinePrefix" label.Text = " Magazine:" label.TextXAlignment = "Left" label.Size = UDim2.new(1, 0, 0, 20) label.Position = UDim2.new(0, 0, 0, 20) label.BackgroundColor3 = Color3.new(1, 1, 1) label.BorderColor3 = Color3.new(0, 0, 0) label.Parent = frame local label = Instance.new("TextLabel") label.Name = "Magazine" label.Text = "0/0" label.TextXAlignment = "Right" label.Size = UDim2.new(1, 0, 0, 20) label.Position = UDim2.new(0, -10, 0, 20) label.BackgroundTransparency = 1 label.BorderSizePixel = 0 label.Parent = frame local label = Instance.new("TextLabel") label.Name = "AmmoPrefix" label.Text = " Ammunition:" label.TextXAlignment = "Left" label.Size = UDim2.new(1, 0, 0, 20) label.Position = UDim2.new(0, 0, 0, 40) label.BackgroundColor3 = Color3.new(1, 1, 1) label.BorderColor3 = Color3.new(0, 0, 0) label.Parent = frame local label = Instance.new("TextLabel") label.Name = "Ammo" label.Text = "0/0" label.TextXAlignment = "Right" label.Size = UDim2.new(1, 0, 0, 20) label.Position = UDim2.new(0, -10, 0, 40) label.BackgroundTransparency = 1 label.BorderSizePixel = 0 label.Parent = frame function updateGui() if selected == false then return end if Player:FindFirstChild("PlayerGui") == nil then Instance.new("PlayerGui").Parent = Player end if Player.PlayerGui:FindFirstChild(Name) == nil then ammoGui:Clone().Parent = Player.PlayerGui end Player.PlayerGui[Name].Frame.Magazine.Text = tostring(magazine.Value).. "/" ..tostring(magazineMax.Value) Player.PlayerGui[Name].Frame.Ammo.Text = tostring(ammo.Value).. "/" ..tostring(ammoMax.Value) end function makeParts(format) local model = Instance.new("Model") model.Name = Name local pm = Instance.new("Part") pm.Name = "Handle" pm.FormFactor = "Custom" pm.Size = Vector3.new(1, 1, 1) pm.BrickColor = BrickColor.new("Pastel brown") pm.Locked = true pm.TopSurface = 0 pm.BottomSurface = 0 pm.Parent = model local m = Instance.new("SpecialMesh") m.MeshType = "Brick" m.Scale = Vector3.new(0.3, 1.25, 0.5) m.Parent = pm if format ~= nil then local w = Instance.new("Weld") w.Part0 = pm if format == "RightHand" then w.Part1 = Player.Character:FindFirstChild("Right Arm") w.C0 = CFrame.new(0, 1.4, 0.8) w.C1 = CFrame.new() elseif format == "RightHolster" then w.Part1 = Player.Character:FindFirstChild("Torso") w.C0 = CFrame.new(-0.65, -0.1, 0.85) * CFrame.fromEulerAnglesXYZ(math.rad(10), math.rad(90), 0) w.C1 = CFrame.new() model.Name = Name.. " (Holstered)" end w.Parent = pm model.Parent = Player.Character end --[[ sniper1 http://www.roblox.com/Asset/?id=1868836 equip http://www.roblox.com/Asset/?id=13510737 fire1 http://www.roblox.com/Asset/?id=2760979 fire2 http://www.roblox.com/Asset/?id=13510352 fire3 http://www.roblox.com/Asset/?id=2692806 fire4 http://www.roblox.com/Asset/?id=2691586 fire5 http://www.roblox.com/Asset/?id=2920959 fire6 http://www.roblox.com/Asset/?id=2697431 fire7 http://www.roblox.com/Asset/?id=2920959 reload1 http://www.roblox.com/Asset/?id=2691591 reload2 http://www.roblox.com/Asset/?id=2697432 reload3 http://www.roblox.com/Asset/?id=2920960 reload4 http://www.roblox.com/Asset/?id=2761842 shotgun1 http://www.roblox.com/Asset/?id=2697294 --]] local s = Instance.new("Sound") s.Name = "Fire" s.SoundId = "http://www.roblox.com/Asset/?id=2760979" s.Volume = 1 s.Pitch = 1 s.Looped = false s.Parent = pm local s = Instance.new("Sound") s.Name = "Reload" s.SoundId = "http://www.roblox.com/Asset/?id=2697432" s.Volume = 1 s.Pitch = 1 s.Looped = false s.Parent = pm local s = Instance.new("Sound") s.Name = "Empty" s.SoundId = "http://www.roblox.com/Asset/?id=2697295" s.Volume = 1 s.Pitch = 5 s.Looped = false s.Parent = pm local s = Instance.new("Sound") s.Name = "Switch" s.SoundId = "http://www.roblox.com/Asset/?id=2697295" s.Volume = 1 s.Pitch = 10 s.Looped = false s.Parent = pm local p = Instance.new("Part") p.Name = "ShellOut" p.FormFactor = "Custom" p.Size = Vector3.new(1, 1, 1) p.Transparency = 1 p.Locked = true p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0 p.Parent = model local w = Instance.new("Weld") w.Part0 = p w.Part1 = pm w.C0 = CFrame.new(0, 0, 1) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) w.C1 = CFrame.new() w.Parent = p local p = Instance.new("Part") p.Name = "Grip" p.FormFactor = "Custom" p.Size = Vector3.new(1, 1, 1) p.BrickColor = BrickColor.new("Brick yellow") p.Locked = true p.TopSurface = 0 p.BottomSurface = 0 p.Parent = model local m = Instance.new("SpecialMesh") m.MeshType = "Brick" m.Scale = Vector3.new(0.29, 0.5, 0.9) m.Parent = p local w = Instance.new("Weld") w.Part0 = p w.Part1 = pm w.C0 = CFrame.new(0, -0.25, -0.6) * CFrame.fromEulerAnglesXYZ(math.rad(15), 0, 0) w.C1 = CFrame.new() w.Parent = p local p = Instance.new("Part") p.Name = "Magazine Housing" p.FormFactor = "Custom" p.Size = Vector3.new(1, 1, 1) p.BrickColor = BrickColor.new("Pastel brown") p.Locked = true p.TopSurface = 0 p.BottomSurface = 0 p.Parent = model local m = Instance.new("SpecialMesh") m.MeshType = "Brick" m.Scale = Vector3.new(0.3, 0.6, 0.3) m.Parent = p local w = Instance.new("Weld") w.Part0 = p w.Part1 = pm w.C0 = CFrame.new(0, 0.525, -0.31) * CFrame.fromEulerAnglesXYZ(math.rad(-10), 0, 0) w.C1 = CFrame.new() w.Parent = p local p = Instance.new("Part") p.Name = "Magazine" p.FormFactor = "Custom" p.Size = Vector3.new(1, 1, 1) p.BrickColor = BrickColor.new("Brick yellow") p.Locked = true p.TopSurface = 0 p.BottomSurface = 0 p.Parent = model local m = Instance.new("SpecialMesh") m.MeshType = "Brick" m.Scale = Vector3.new(0.25, 0.55, 1) m.Parent = p local w = Instance.new("Weld") w.Part0 = p w.Part1 = pm w.C0 = CFrame.new(0, 0.485, -0.9) * CFrame.fromEulerAnglesXYZ(math.rad(-15), 0, 0) w.C1 = CFrame.new() w.Parent = p local p = Instance.new("Part") p.Name = "Trigger Housing" p.FormFactor = "Custom" p.Size = Vector3.new(1, 1, 1) p.BrickColor = BrickColor.new("Pastel brown") p.Locked = true p.TopSurface = 0 p.BottomSurface = 0 p.Parent = model local m = Instance.new("SpecialMesh") m.MeshType = "Brick" m.Scale = Vector3.new(0.1, 0.4, 0.025) m.Parent = p local w = Instance.new("Weld") w.Part0 = p w.Part1 = pm w.C0 = CFrame.new(0, 0.1, -0.4) w.C1 = CFrame.new() w.Parent = p local p = Instance.new("Part") p.Name = "Trigger" p.FormFactor = "Custom" p.Size = Vector3.new(1, 1, 1) p.BrickColor = BrickColor.new("Black") p.Locked = true p.TopSurface = 0 p.BottomSurface = 0 p.Parent = model local m = Instance.new("SpecialMesh") m.MeshType = "Brick" m.Scale = Vector3.new(0.1, 0.05, 0.15) m.Parent = p local w = Instance.new("Weld") w.Part0 = p w.Part1 = pm w.C0 = CFrame.new(0, 0.03, -0.275) w.C1 = CFrame.new() w.Parent = p local p = Instance.new("Part") p.Name = "Barrel 2" p.CanCollide = false p.FormFactor = "Custom" p.Size = Vector3.new(1, 1, 1) p.BrickColor = BrickColor.new("Pastel brown") p.Locked = true p.TopSurface = 0 p.BottomSurface = 0 p.Parent = model local m = Instance.new("SpecialMesh") m.MeshType = "Brick" m.Scale = Vector3.new(0.3, 1.1, 0.35) m.Parent = p local w = Instance.new("Weld") w.Part0 = p w.Part1 = pm w.C0 = CFrame.new(0, 1.15, 0.075) w.C1 = CFrame.new() w.Parent = p local p = Instance.new("Part") p.Name = "Barrel 1" p.FormFactor = "Custom" p.Size = Vector3.new(1, 1, 1) p.BrickColor = BrickColor.new("Black") p.CanCollide = false p.Locked = true p.TopSurface = 0 p.BottomSurface = 0 p.Parent = model local m = Instance.new("CylinderMesh") m.Scale = Vector3.new(0.15, 0.6, 0.15) m.Parent = p local w = Instance.new("Weld") w.Part0 = p w.Part1 = pm w.C0 = CFrame.new(0, 2, 0.075) w.C1 = CFrame.new() w.Parent = p local p = Instance.new("Part") p.Name = "Muzzle" p.FormFactor = "Custom" p.Size = Vector3.new(1, 1, 1) p.BrickColor = BrickColor.new("Black") p.CanCollide = false p.Locked = true p.TopSurface = 0 p.BottomSurface = 0 p.Parent = model local m = Instance.new("CylinderMesh") m.Scale = Vector3.new(0.2, 0.2, 0.2) m.Parent = p local w = Instance.new("Weld") w.Part0 = p w.Part1 = pm w.C0 = CFrame.new(0, 2.4, 0.075) w.C1 = CFrame.new() w.Parent = p local s = Instance.new("Smoke") s.Enabled = false s.Name = "Smoke" s.RiseVelocity = -5 s.Opacity = 0.3 s.Color = Color3.new(75 / 225, 75 / 225, 75 / 225) s.Size = 1 s.Parent = p local f = Instance.new("Fire") f.Enabled = false f.Name = "Fire" f.Heat = -35 f.Size = 1 f.Parent = p local p = Instance.new("Part") p.Name = "Silencer" p.FormFactor = "Custom" p.Size = Vector3.new(1, 1, 1) p.BrickColor = BrickColor.new("Black") p.CanCollide = false p.Transparency = 1 p.Locked = true p.TopSurface = 0 p.BottomSurface = 0 p.Parent = model local m = Instance.new("CylinderMesh") m.Scale = Vector3.new(0.4, 1, 0.4) m.Parent = p local w = Instance.new("Weld") w.Part0 = p w.Part1 = pm w.C0 = CFrame.new(0, 2.8, 0.075) w.C1 = CFrame.new() w.Parent = p local p = Instance.new("Part") p.Name = "Stock 1" p.CanCollide = false p.FormFactor = "Custom" p.Size = Vector3.new(1, 1, 1) p.BrickColor = BrickColor.new("Pastel brown") p.Locked = true p.TopSurface = 0 p.BottomSurface = 0 p.Parent = model local m = Instance.new("SpecialMesh") m.MeshType = "Brick" m.Scale = Vector3.new(0.3, 0.9, 0.35) m.Parent = p local w = Instance.new("Weld") w.Part0 = p w.Part1 = pm w.C0 = CFrame.new(0, -1.05, -0.1) w.C1 = CFrame.new() w.Parent = p local p = Instance.new("Part") p.Name = "Stock 1 Angle" p.CanCollide = false p.FormFactor = "Custom" p.Size = Vector3.new(1, 1, 1) p.BrickColor = BrickColor.new("Pastel brown") p.Locked = true p.TopSurface = 0 p.BottomSurface = 0 p.Parent = model local m = Instance.new("SpecialMesh") m.MeshType = "Wedge" m.Scale = Vector3.new(0.3, 0.9, 0.18) m.Parent = p local w = Instance.new("Weld") w.Part0 = p w.Part1 = pm w.C0 = CFrame.new(0, -1.05, 0.1625) w.C1 = CFrame.new() w.Parent = p local p = Instance.new("Part") p.Name = "Stock 2" p.CanCollide = false p.FormFactor = "Custom" p.Size = Vector3.new(1, 1, 1) p.BrickColor = BrickColor.new("Pastel brown") p.Locked = true p.TopSurface = 0 p.BottomSurface = 0 p.Parent = model local m = Instance.new("SpecialMesh") m.MeshType = "Brick" m.Scale = Vector3.new(0.2, 0.5, 0.3) m.Parent = p local w = Instance.new("Weld") w.Part0 = p w.Part1 = pm w.C0 = CFrame.new(0, -1.7, -0.1) w.C1 = CFrame.new() w.Parent = p local p = Instance.new("Part") p.Name = "Stock 2 Angle" p.CanCollide = false p.FormFactor = "Custom" p.Size = Vector3.new(1, 1, 1) p.BrickColor = BrickColor.new("Pastel brown") p.Locked = true p.TopSurface = 0 p.BottomSurface = 0 p.Parent = model local m = Instance.new("SpecialMesh") m.MeshType = "Wedge" m.Scale = Vector3.new(0.2, 0.5, 0.3) m.Parent = p local w = Instance.new("Weld") w.Part0 = p w.Part1 = pm w.C0 = CFrame.new(0, -0.5, -1.8) * CFrame.fromEulerAnglesXYZ(math.rad(270), 0, math.rad(180)) w.C1 = CFrame.new() w.Parent = p local p = Instance.new("Part") p.Name = "Stock 3" p.CanCollide = false p.FormFactor = "Custom" p.Size = Vector3.new(1, 1, 1) p.BrickColor = BrickColor.new("Pastel brown") p.Locked = true p.TopSurface = 0 p.BottomSurface = 0 p.Parent = model local m = Instance.new("SpecialMesh") m.MeshType = "Brick" m.Scale = Vector3.new(0.2, 0.05, 0.8) m.Parent = p local w = Instance.new("Weld") w.Part0 = p w.Part1 = pm w.C0 = CFrame.new(0, -1.975, -0.349) w.C1 = CFrame.new() w.Parent = p local p = Instance.new("Part") p.Name = "Stock 4" p.CanCollide = false p.FormFactor = "Custom" p.Size = Vector3.new(1, 1, 1) p.BrickColor = BrickColor.new("Black") p.Locked = true p.TopSurface = 0 p.BottomSurface = 0 p.Parent = model local m = Instance.new("SpecialMesh") m.MeshType = "Brick" m.Scale = Vector3.new(0.25, 0.05, 0.85) m.Parent = p local w = Instance.new("Weld") w.Part0 = p w.Part1 = pm w.C0 = CFrame.new(0, -2.025, -0.349) w.C1 = CFrame.new() w.Parent = p local p = Instance.new("Part") p.Name = "Stock 4 Bottom" p.CanCollide = false p.FormFactor = "Custom" p.Size = Vector3.new(1, 1, 1) p.BrickColor = BrickColor.new("Black") p.Locked = true p.TopSurface = 0 p.BottomSurface = 0 p.Parent = model local m = Instance.new("SpecialMesh") m.MeshType = "Wedge" m.Scale = Vector3.new(0.25, 0.1, 0.45) m.Parent = p local w = Instance.new("Weld") w.Part0 = p w.Part1 = pm w.C0 = CFrame.new(0, -2.1, -0.55) w.C1 = CFrame.new() w.Parent = p local p = Instance.new("Part") p.Name = "Stock 4 Top" p.CanCollide = false p.FormFactor = "Custom" p.Size = Vector3.new(1, 1, 1) p.BrickColor = BrickColor.new("Black") p.Locked = true p.TopSurface = 0 p.BottomSurface = 0 p.Parent = model local m = Instance.new("SpecialMesh") m.MeshType = "Wedge" m.Scale = Vector3.new(0.25, 0.1, 0.45) m.Parent = p local w = Instance.new("Weld") w.Part0 = p w.Part1 = pm w.C0 = CFrame.new(0, -2.1, 0.15) * CFrame.fromEulerAnglesXYZ(math.rad(180), 0, math.rad(180)) w.C1 = CFrame.new() w.Parent = p return model end function removeParts(format) if format == "RightHand" then pcall(function() Player.Character[Name]:Remove() end) elseif format == "LeftHand" then pcall(function() Player.Character[Name.. " (Left)"]:Remove() end) elseif format == "RightHolster" then pcall(function() Player.Character[Name.. " (Holstered)"]:Remove() end) elseif format == "LeftHolster" then pcall(function() Player.Character[Name.. " (Holstered, Left)"]:Remove() end) end end function SetAngle(Joint, Angle, Character) if Character == nil then return false end local Joints = { Character.Torso:FindFirstChild("Right Shoulder 2"), Character.Torso:FindFirstChild("Left Shoulder 2"), Character.Torso:FindFirstChild("Right Hip 2"), Character.Torso:FindFirstChild("Left Hip 2") } if Joints[Joint] == nil then return false end if Joint == 1 or Joint == 3 then Joints[Joint].DesiredAngle = Angle end if Joint == 2 or Joint == 4 then Joints[Joint].DesiredAngle = -Angle end end function ForceAngle(Joint, Angle, Character) if Character == nil then return false end local Joints = { Character.Torso:FindFirstChild("Right Shoulder 2"), Character.Torso:FindFirstChild("Left Shoulder 2"), Character.Torso:FindFirstChild("Right Hip 2"), Character.Torso:FindFirstChild("Left Hip 2") } if Joints[Joint] == nil then return false end if Joint == 1 or Joint == 3 then Joints[Joint].DesiredAngle = Angle Joints[Joint].CurrentAngle = Angle end if Joint == 2 or Joint == 4 then Joints[Joint].DesiredAngle = -Angle Joints[Joint].CurrentAngle = -Angle end end function SetSpeed(Joint, Speed, Character) if Character == nil then return false end local Joints = { Character.Torso:FindFirstChild("Right Shoulder 2"), Character.Torso:FindFirstChild("Left Shoulder 2"), Character.Torso:FindFirstChild("Right Hip 2"), Character.Torso:FindFirstChild("Left Hip 2") } if Joints[Joint] == nil then return false end Joints[Joint].MaxVelocity = Speed end function DisableLimb(Limb, Character) if Character == nil then return false end if Character:FindFirstChild("Torso") == nil then return false end local Joints = { Character.Torso:FindFirstChild("Right Shoulder"), Character.Torso:FindFirstChild("Left Shoulder"), Character.Torso:FindFirstChild("Right Hip"), Character.Torso:FindFirstChild("Left Hip") } local Limbs = { Character:FindFirstChild("Right Arm"), Character:FindFirstChild("Left Arm"), Character:FindFirstChild("Right Leg"), Character:FindFirstChild("Left Leg") } if Joints[Limb] == nil then return false end if Limbs[Limb] == nil then return false end local Joint = Instance.new("Motor") Joint.Parent = Character.Torso Joint.Part0 = Character.Torso Joint.Part1 = Limbs[Limb] if Limb == 1 then Joint.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) Joint.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) Joint.Name = "Right Shoulder 2" elseif Limb == 2 then Joint.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) Joint.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) Joint.Name = "Left Shoulder 2" elseif Limb == 3 then Joint.C0 = CFrame.new(0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) Joint.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) Joint.Name = "Right Hip 2" elseif Limb == 4 then Joint.C0 = CFrame.new(-0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) Joint.C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) Joint.Name = "Left Hip 2" end Joint.MaxVelocity = Joints[Limb].MaxVelocity Joint.CurrentAngle = Joints[Limb].CurrentAngle Joint.DesiredAngle = Joints[Limb].DesiredAngle Joints[Limb]:Remove() end function ResetLimbCFrame(Limb, Character) if Character == nil then return false end if Character.Parent == nil then return false end if Character:FindFirstChild("Torso") == nil then return false end local Joints = { Character.Torso:FindFirstChild("Right Shoulder 2"), Character.Torso:FindFirstChild("Left Shoulder 2"), Character.Torso:FindFirstChild("Right Hip 2"), Character.Torso:FindFirstChild("Left Hip 2") } local Limbs = { Character:FindFirstChild("Right Arm"), Character:FindFirstChild("Left Arm"), Character:FindFirstChild("Right Leg"), Character:FindFirstChild("Left Leg") } if Joints[Limb] == nil then return false end if Limbs[Limb] == nil then return false end if Limb == 1 then Joints[Limb].C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) Joints[Limb].C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) elseif Limb == 2 then Joints[Limb].C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) Joints[Limb].C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) elseif Limb == 3 then Joints[Limb].C0 = CFrame.new(0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) Joints[Limb].C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) elseif Limb == 4 then Joints[Limb].C0 = CFrame.new(-0.5, -1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) Joints[Limb].C1 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, math.rad(-90), 0) end end function EnableLimb(Limb, Character) if Character == nil then return false end if Character:FindFirstChild("Torso") == nil then return false end local Joints = { Character.Torso:FindFirstChild("Right Shoulder 2"), Character.Torso:FindFirstChild("Left Shoulder 2"), Character.Torso:FindFirstChild("Right Hip 2"), Character.Torso:FindFirstChild("Left Hip 2") } local Limbs = { Character:FindFirstChild("Right Arm"), Character:FindFirstChild("Left Arm"), Character:FindFirstChild("Right Leg"), Character:FindFirstChild("Left Leg") } if Joints[Limb] == nil then return false end if Limbs[Limb] == nil then return false end if Limb == 1 then Joints[Limb].Name = "Right Shoulder" elseif Limb == 2 then Joints[Limb].Name = "Left Shoulder" elseif Limb == 3 then Joints[Limb].Name = "Right Hip" elseif Limb == 4 then Joints[Limb].Name = "Left Hip" end Animate = Character:FindFirstChild("Animate") if Animate == nil then return false end Animate = Animate:Clone() Character.Animate:Remove() Animate.Parent = Character end function playAnimation(format, mouse) if format == "equip" then Player.Character[Name.. " (Holstered)"].Handle.Weld:Remove() local w = Instance.new("Weld") w.Part0 = Player.Character[Name.. " (Holstered)"].Handle w.Part1 = Player.Character:FindFirstChild("Right Arm") w.C0 = CFrame.new(0, 1.2, 0.7) w.C1 = CFrame.new() w.Parent = Player.Character[Name.. " (Holstered)"].Handle for i = 0.01, 1, 0.1 do if Player.Character:FindFirstChild("Torso") ~= nil then if Player.Character.Torso:FindFirstChild("Left Shoulder 2") ~= nil and Player.Character.Torso:FindFirstChild("Right Shoulder 2") ~= nil then Player.Character.Torso["Left Shoulder 2"].C0 = CFrame.new() Player.Character.Torso["Left Shoulder 2"].C1 = CFrame.new((-0.5 * i) + (1.5 * (1 - i)), 1.2 * i, 0.8 * i) * CFrame.fromEulerAnglesXYZ(math.rad(300 + ((1 - i) * 50)), math.rad(10), math.rad(-90) * i) Player.Character.Torso["Right Shoulder 2"].C0 = CFrame.new() Player.Character.Torso["Right Shoulder 2"].C1 = CFrame.new((-0.9 * i) + (-1.5 * (1 - i)), -0.35 * i, 0.51 * i) * CFrame.fromEulerAnglesXYZ(math.rad(-90 * i), math.rad(-5 * i), 0) wait() else return false end else return false end end return playAnimation("hold") end if format == "unequip" then for i = 1, 0.01, -0.1 do if Player.Character:FindFirstChild("Torso") ~= nil then if Player.Character.Torso:FindFirstChild("Left Shoulder 2") ~= nil and Player.Character.Torso:FindFirstChild("Right Shoulder 2") ~= nil then Player.Character.Torso["Left Shoulder 2"].C0 = CFrame.new() Player.Character.Torso["Left Shoulder 2"].C1 = CFrame.new((-0.5 * i) + (1.5 * (1 - i)), 1.2 * i, 0.8 * i) * CFrame.fromEulerAnglesXYZ(math.rad(300 + ((1 - i) * 50)), math.rad(10), math.rad(-90) * i) Player.Character.Torso["Right Shoulder 2"].C0 = CFrame.new() Player.Character.Torso["Right Shoulder 2"].C1 = CFrame.new((-0.9 * i) + (-1.5 * (1 - i)), -0.35 * i, 0.51 * i) * CFrame.fromEulerAnglesXYZ(math.rad(-90 * i), math.rad(-5 * i), 0) wait() else return false end else return false end end return true end if format == "hold" then if Player.Character:FindFirstChild("Torso") ~= nil then if Player.Character.Torso:FindFirstChild("Left Shoulder 2") ~= nil and Player.Character.Torso:FindFirstChild("Right Shoulder 2") ~= nil then Player.Character.Torso["Left Shoulder 2"].C0 = CFrame.new() Player.Character.Torso["Left Shoulder 2"].C1 = CFrame.new(-0.5, 1.2, 0.8) * CFrame.fromEulerAnglesXYZ(math.rad(300), math.rad(10), math.rad(-90)) Player.Character.Torso["Right Shoulder 2"].C0 = CFrame.new() Player.Character.Torso["Right Shoulder 2"].C1 = CFrame.new(-0.9, -0.35, 0.51) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-5), 0) else return false end else return false end end if format == "reload" then Player.Character[Name].Handle.Reload:Play() for i = 0, 25, 5 do if Player.Character:FindFirstChild("Torso") ~= nil then if Player.Character.Torso:FindFirstChild("Left Shoulder 2") ~= nil and Player.Character.Torso:FindFirstChild("Right Shoulder 2") ~= nil then Player.Character.Torso["Left Shoulder 2"].C0 = CFrame.new() Player.Character.Torso["Left Shoulder 2"].C1 = CFrame.new(-0.5 + (i / 60), 1.2 - (i / 20), 0.8 + (i / 35)) * CFrame.fromEulerAnglesXYZ(math.rad(300 - i), math.rad(10 + -i * 3.5), math.rad(-90)) Player.Character.Torso["Right Shoulder 2"].C0 = CFrame.new() Player.Character.Torso["Right Shoulder 2"].C1 = CFrame.new(-0.9, -0.35, 0.51) * CFrame.fromEulerAnglesXYZ(math.rad(-90 + i), math.rad(-5), 0) wait() else return false end else return false end end Player.Character[Name].Magazine.Transparency = 1 magazineDrop = Player.Character[Name].Magazine:Clone() magazineDrop.Transparency = 0 magazineDrop.Parent = game.Workspace coroutine.resume(coroutine.create(function(part) wait(4.5) for i = 0, 1, 0.1 do part.Transparency = i wait() end part:Remove() end), magazineDrop) delay(0.1, function() magazineDrop.CanCollide = true end) magazineNew = Player.Character[Name].Magazine:Clone() magazineNew.Name = "New Magazine" magazineNew.Transparency = 0 magazineNew.Parent = Player.Character[Name] local w = Instance.new("Weld") w.Part0 = magazineNew w.Part1 = Player.Character:FindFirstChild("Left Arm") w.C0 = CFrame.new(0, 1.1, 0) w.C1 = CFrame.new() * CFrame.fromEulerAnglesXYZ(0, math.rad(90), 0) w.Parent = magazineNew for i = 25, 0, -5 do if Player.Character:FindFirstChild("Torso") ~= nil then if Player.Character.Torso:FindFirstChild("Left Shoulder 2") ~= nil and Player.Character.Torso:FindFirstChild("Right Shoulder 2") ~= nil then Player.Character.Torso["Left Shoulder 2"].C0 = CFrame.new() Player.Character.Torso["Left Shoulder 2"].C1 = CFrame.new(-0.5 + ((i + 10) / 60), 1.2 - ((i + 10) / 20), 0.8 + (i / 35)) * CFrame.fromEulerAnglesXYZ(math.rad(300 - (i - 10)), math.rad(10 + -i * 3.5), math.rad(-90)) Player.Character.Torso["Right Shoulder 2"].C0 = CFrame.new() Player.Character.Torso["Right Shoulder 2"].C1 = CFrame.new(-0.9, -0.35, 0.51) * CFrame.fromEulerAnglesXYZ(math.rad(-90 + i), math.rad(-5), 0) wait() else return false end else return false end end Player.Character[Name].Magazine.Transparency = 0 Player.Character[Name]["New Magazine"]:Remove() wait(0.4) for i = 0, 10, 5 do if Player.Character:FindFirstChild("Torso") ~= nil then if Player.Character.Torso:FindFirstChild("Left Shoulder 2") ~= nil then Player.Character.Torso["Left Shoulder 2"].C0 = CFrame.new() Player.Character.Torso["Left Shoulder 2"].C1 = CFrame.new(-0.5 - (i / 25), 1.2, 0.8) * CFrame.fromEulerAnglesXYZ(math.rad(300 - i), math.rad(10 - i), math.rad(-90)) wait() else return false end else return false end end wait(0.1) for i = 0, 10, 1.5 do if Player.Character:FindFirstChild("Torso") ~= nil then if Player.Character.Torso:FindFirstChild("Left Shoulder 2") ~= nil then Player.Character.Torso["Left Shoulder 2"].C0 = CFrame.new() Player.Character.Torso["Left Shoulder 2"].C1 = CFrame.new(-0.9, 1.2 - (i / 25), 0.8) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90)) wait() else return false end else return false end end for i = 10, 0, -1.5 do if Player.Character:FindFirstChild("Torso") ~= nil then if Player.Character.Torso:FindFirstChild("Left Shoulder 2") ~= nil then Player.Character.Torso["Left Shoulder 2"].C0 = CFrame.new() Player.Character.Torso["Left Shoulder 2"].C1 = CFrame.new(-0.9, 1.2 - (i / 25), 0.8) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90)) wait() else return false end else return false end end for i = 10, 0, -5 do if Player.Character:FindFirstChild("Torso") ~= nil then if Player.Character.Torso:FindFirstChild("Left Shoulder 2") ~= nil then Player.Character.Torso["Left Shoulder 2"].C0 = CFrame.new() Player.Character.Torso["Left Shoulder 2"].C1 = CFrame.new(-0.5 - (i / 25), 1.2, 0.8) * CFrame.fromEulerAnglesXYZ(math.rad(300 - i), math.rad(10 - i), math.rad(-90)) wait() else return false end else return false end end end if format == "fire" then makeShell(Player.Character[Name]:FindFirstChild("ShellOut")) if Player.Character[Name]:FindFirstChild("Handle") ~= nil then if silenced then Player.Character[Name].Handle.Fire.Volume = math.random(3, 8) / 10 Player.Character[Name].Handle.Fire.Pitch = math.random(20, 25) / 10 Player.Character[Name].Handle.Fire:Play() CamShake(5, 50000) else Player.Character[Name].Handle.Fire.Volume = math.random(9, 10) / 10 Player.Character[Name].Handle.Fire.Pitch = 1 Player.Character[Name].Handle.Fire:Play() CamShake(10, 25000) end else return false end if Player.Character[Name]:FindFirstChild("Muzzle") ~= nil then coroutine.resume(coroutine.create(function() Player.Character[Name].Muzzle.Smoke.Enabled = true Player.Character[Name].Muzzle.Fire.Enabled = true wait(0.1) Player.Character[Name].Muzzle.Smoke.Enabled = false Player.Character[Name].Muzzle.Fire.Enabled = false end)) else return false end for i = 0, 10, 5 do if Player.Character:FindFirstChild("Torso") ~= nil then if Player.Character.Torso:FindFirstChild("Left Shoulder 2") ~= nil and Player.Character.Torso:FindFirstChild("Right Shoulder 2") ~= nil then Player.Character.Torso["Left Shoulder 2"].C0 = CFrame.new() Player.Character.Torso["Left Shoulder 2"].C1 = CFrame.new(-0.5, 1.2, 0.8) * CFrame.fromEulerAnglesXYZ(math.rad(300), math.rad(10 + i), math.rad(-90)) Player.Character.Torso["Right Shoulder 2"].C0 = CFrame.new() Player.Character.Torso["Right Shoulder 2"].C1 = CFrame.new(-0.9, -0.35, 0.51) * CFrame.fromEulerAnglesXYZ(math.rad(-90 - i), math.rad(-5), 0) wait() else return false end else return false end end for i = 10, 0, -5 do if Player.Character:FindFirstChild("Torso") ~= nil then if Player.Character.Torso:FindFirstChild("Left Shoulder 2") ~= nil and Player.Character.Torso:FindFirstChild("Right Shoulder 2") ~= nil then Player.Character.Torso["Left Shoulder 2"].C0 = CFrame.new() Player.Character.Torso["Left Shoulder 2"].C1 = CFrame.new(-0.5, 1.2, 0.8) * CFrame.fromEulerAnglesXYZ(math.rad(300), math.rad(10 + i), math.rad(-90)) Player.Character.Torso["Right Shoulder 2"].C0 = CFrame.new() Player.Character.Torso["Right Shoulder 2"].C1 = CFrame.new(-0.9, -0.35, 0.51) * CFrame.fromEulerAnglesXYZ(math.rad(-90 - i), math.rad(-5), 0) wait() else return false end else return false end end end return true end function CamShake(time, freq) coroutine.resume(coroutine.create(function() local cam = Workspace.CurrentCamera local time = 10 local seed = Vector3.new(math.random(100, 200) / freq, math.random(100, 200) / freq, 0) if math.random(1, 2) == 1 then seed = Vector3.new(-seed.x, seed.y, 0) end if math.random(1, 2) == 1 then seed = Vector3.new(seed.x, -seed.y, 0) end cam.CoordinateFrame = (CFrame.new(cam.Focus.p) * (cam.CoordinateFrame - cam.CoordinateFrame.p) * CFrame.fromEulerAnglesXYZ(seed.x * time, seed.y * time, 0)) * CFrame.new(0, 0, (cam.CoordinateFrame.p - cam.Focus.p).magnitude) for i = 1, time do cam.CoordinateFrame = (CFrame.new(cam.Focus.p) * (cam.CoordinateFrame - cam.CoordinateFrame.p) * CFrame.fromEulerAnglesXYZ(-seed.x, -seed.y, 0)) * CFrame.new(0, 0, (cam.CoordinateFrame.p - cam.Focus.p).magnitude) wait() end end)) end function makeShell(part) if part == nil then return false end local casing = Instance.new("Part") casing.Name = "Shell" casing.FormFactor = "Custom" casing.Size = Vector3.new(1, 1, 1) casing.CFrame = CFrame.new(part.Position) * CFrame.fromEulerAnglesXYZ(math.rad(math.random(0, 360)), math.rad(math.random(0, 360)), math.rad(math.random(0, 360))) casing.BrickColor = BrickColor.new("New Yeller") local mesh = Instance.new("CylinderMesh") mesh.Scale = Vector3.new(0.1, 0.3, 0.1) mesh.Parent = casing casing.Parent = Workspace casing:BreakJoints() casing.Velocity = (part.CFrame.lookVector * 50) + Vector3.new(0, 10, 0) coroutine.resume(coroutine.create(function() wait(4.5) for i = 0, 1, 0.1 do casing.Transparency = i wait() end casing:Remove() end)) end function Weld(x, y) local weld = Instance.new("Weld") weld.Part0 = x weld.Part1 = y CJ = CFrame.new(x.Position) C0 = x.CFrame:inverse() * CJ C1 = y.CFrame:inverse() * CJ weld.C0 = C0 weld.C1 = C1 weld.Parent = x end function tagHumanoid(humanoid) local tag = Instance.new("ObjectValue") tag.Name = "creator" tag.Value = Player tag.Parent = humanoid local tag = Instance.new("StringValue") tag.Name = "creatorType1" tag.Value = Name tag.Parent = humanoid local tag = Instance.new("StringValue") tag.Name = "creatorType2" tag.Value = "shot" tag.Parent = humanoid end function untagHumanoid(humanoid) if humanoid ~= nil then local tag = humanoid:FindFirstChild("creator") if tag ~= nil then tag:Remove() end local tag = humanoid:FindFirstChild("creatorType1") if tag ~= nil then tag:Remove() end local tag = humanoid:FindFirstChild("creatorType2") if tag ~= nil then tag:Remove() end end end function fire(startPoint, endPoint, hit) local trail = Instance.new("Part") trail.Name = "Bullet Trail" trail.BrickColor = BrickColor.new("New Yeller") trail.TopSurface = 0 trail.BottomSurface = 0 trail.FormFactor = 0 trail.Size = Vector3.new(1, 1, 1) trail.Transparency = 0.3 trail.Anchored = true trail.CanCollide = false trail.CFrame = CFrame.new((startPoint + endPoint) / 2, endPoint) trail.Parent = Workspace local mesh = Instance.new("SpecialMesh") mesh.MeshType = "Brick" mesh.Scale = Vector3.new(0.1, 0.1, (startPoint - endPoint).magnitude) mesh.Parent = trail coroutine.resume(coroutine.create(function(part) for i = 1, 10 do part.Mesh.Scale = Vector3.new(part.Mesh.Scale.x - 0.01, part.Mesh.Scale.y - 0.01, part.Mesh.Scale.z) wait() end part:Remove() end), trail) if hit ~= nil then if hit.Parent == nil then return end if hit.Parent:FindFirstChild("Humanoid") ~= nil then tagHumanoid(hit.Parent.Humanoid) if hit.Name == "Head" then hit.Parent.Humanoid:TakeDamage(damage * 10) elseif hit.Name == "Torso" then hit.Parent.Humanoid:TakeDamage(damage * 2) else hit.Parent.Humanoid:TakeDamage(damage) end if math.random(1, 10) == 1 then hit.Parent.Humanoid.Sit = true end delay(0.1, function() untagHumanoid(hit.Parent.Humanoid) end) end if hit.Anchored == false then hit.Velocity = hit.Velocity + ((endPoint - startPoint).unit * (damage * 2)) end end end function onButton1Down(mouse) if selected == false then return end if Player.Character:FindFirstChild(Name) ~= nil and Button1Down == false and canFire == true and (function() if dual == true then if Player.Character:FindFirstChild(Name.. " (Left)") ~= nil then return true else return false end else return true end end)() == true then if Player.Character[Name]:FindFirstChild("Handle") == nil then return end if Player.Character[Name]:FindFirstChild("Muzzle") == nil then return end if dual == true then if Player.Character[Name.. " (Left)"]:FindFirstChild("Handle") == nil then return end end if dual == true then if Player.Character[Name.. " (Left)"]:FindFirstChild("Muzzle") == nil then return end end mouse.Icon = "rbxasset://textures\\GunWaitCursor.png" Button1Down = true canFire = false canFire2 = true while canFire2 == true do local humanoid = Player.Character:FindFirstChild("Humanoid") if humanoid == nil then canFire2 = false break end if humanoid.Health <= 0 then canFire2 = false break end local fireLeft = false if automatic == false and burst == false then canFire2 = false elseif automatic == false and burst == true then if burstCount >= burstCountMax then canFire2 = false burstCount = 0 break end burstCount = burstCount + 1 elseif automatic == true and burst == false then fireLeft = true end if magazine.Value > 0 then magazine.Value = magazine.Value - 1 updateGui() fire(Player.Character[Name].Muzzle.Position, mouse.Hit.p, mouse.Target) coroutine.resume(coroutine.create(function() if dual == true then playAnimation("rightFire") elseif dual == false then playAnimation("fire") end end)) else Player.Character[Name].Handle.Empty:Play() end if fireLeft == true and dual == true and automatic == true then if magazine.Value > 0 then coroutine.resume(coroutine.create(function() wait(readyTime / 2) magazine.Value = magazine.Value - 1 updateGui() fire(Player.Character[Name.. " (Left)"].Muzzle.Position, mouse.Hit.p, mouse.Target) playAnimation("leftFire") end)) else coroutine.resume(coroutine.create(function() wait(readyTime / 2) Player.Character[Name].Handle.Empty:Play() end)) end end wait(readyTime) end mouse.Icon = "rbxasset://textures\\GunCursor.png" canFire = true end end function onButton1Up(mouse) if selected == false then return end Button1Down = false canFire2 = false burstCount = 0 while canFire == false do wait() end if dual == true and automatic == false then if Player.Character[Name.. " (Left)"]:FindFirstChild("Handle") == nil then return end if Player.Character[Name.. " (Left)"]:FindFirstChild("Muzzle") == nil then return end mouse.Icon = "rbxasset://textures\\GunWaitCursor.png" canFire = false canFire2 = true while canFire2 == true do local humanoid = Player.Character:FindFirstChild("Humanoid") if humanoid == nil then canFire2 = false break end if humanoid.Health <= 0 then canFire2 = false break end if burst == false then canFire2 = false elseif burst == true then if burstCount >= burstCountMax then canFire2 = false burstCount = 0 break end burstCount = burstCount + 1 end if magazine.Value <= 0 then Player.Character[Name].Handle.Empty:Play() else coroutine.resume(coroutine.create(function() playAnimation("leftFire") end)) magazine.Value = magazine.Value - 1 updateGui() fire(Player.Character[Name.. " (Left)"].Muzzle.Position, mouse.Hit.p, mouse.Target) end wait(readyTime) end mouse.Icon = "rbxasset://textures\\GunCursor.png" canFire = true end end function onKeyDown(key, mouse) if selected == false then return end key = key:lower() if key == "q" and Button1Down == false and canFire == true then if mouse.Target == nil then return end if game:GetService("Players"):GetPlayerFromCharacter(mouse.Target.Parent) ~= nil then if dual == true then onKeyDown("t", mouse) end onDeselected(mouse) removeParts("RightHolster") script.Parent.Parent = game:GetService("Players"):GetPlayerFromCharacter(mouse.Target.Parent).Backpack end end if key == "e" and Button1Down == false and canFire == true and canSilence == true then if silenced then silenced = false if Player.Character:FindFirstChild(Name) == nil then return end if Player.Character[Name]:FindFirstChild("Muzzle") == nil then return end if Player.Character[Name]:FindFirstChild("Muzzle 2") == nil then return end Player.Character[Name].Muzzle.Transparency = 1 Player.Character[Name].Muzzle.Name = "Silencer" Player.Character[Name]["Muzzle 2"].Name = "Muzzle" if dual == true then if Player.Character[Name.. " (Left)"]:FindFirstChild("Muzzle") == nil then return end if Player.Character[Name.. " (Left)"]:FindFirstChild("Muzzle 2") == nil then return end Player.Character[Name.. " (Left)"].Muzzle.Transparency = 1 Player.Character[Name.. " (Left)"].Muzzle.Name = "Silencer" Player.Character[Name.. " (Left)"]["Muzzle 2"].Name = "Muzzle" end else silenced = true if Player.Character:FindFirstChild(Name) == nil then return end if Player.Character[Name]:FindFirstChild("Silencer") == nil then return end if Player.Character[Name]:FindFirstChild("Muzzle") == nil then return end Player.Character[Name].Silencer.Transparency = 0 Player.Character[Name].Muzzle.Name = "Muzzle 2" Player.Character[Name].Silencer.Name = "Muzzle" if dual == true then if Player.Character[Name.. " (Left)"]:FindFirstChild("Silencer") == nil then return end if Player.Character[Name.. " (Left)"]:FindFirstChild("Muzzle") == nil then return end Player.Character[Name.. " (Left)"].Silencer.Transparency = 0 Player.Character[Name.. " (Left)"].Muzzle.Name = "Muzzle 2" Player.Character[Name.. " (Left)"].Silencer.Name = "Muzzle" end end end if key == "r" and Button1Down == false and canFire == true then if ammo.Value > 0 and magazine.Value ~= magazineMax.Value then canFire = false burstCount = 0 mouse.Icon = "rbxasset://textures\\GunWaitCursor.png" if magazine.Value > 0 then ammo.Value = ammo.Value + magazine.Value magazine.Value = 0 end updateGui() if dual == true then playAnimation("reloadDual") elseif dual == false then playAnimation("reload") end if ammo.Value - magazineMax.Value < 0 then magazine.Value = ammo.Value ammo.Value = 0 elseif ammo.Value - magazineMax.Value >= 0 then ammo.Value = ammo.Value - magazineMax.Value magazine.Value = magazineMax.Value end updateGui() mouse.Icon = "rbxasset://textures\\GunCursor.png" canFire = true end end if key == "t" and Button1Down == false and canFire == true and canDual == true then canFire = false if dual == false then local weapon = nil for _, p in pairs(Player.Backpack:GetChildren()) do if p.Name == Name and p ~= script.Parent then weapon = p break end end if weapon ~= nil then dual = true weapon.Name = "Dual" weapon.Parent = script silenced = false removeParts("RightHand") makeParts("RightHand") removeParts("RightHolster") makeParts("LeftHolster") playAnimation("leftEquip") removeParts("LeftHolster") makeParts("LeftHand") magazineMax.Value = math.ceil(magazineMax.Value * 2) ammoMax.Value = math.ceil(ammoMax.Value * 2) magazine.Value = magazine.Value + weapon.Magazine.Value ammo.Value = ammo.Value + weapon.Ammo.Value updateGui() end elseif dual == true then local weapon = script:FindFirstChild("Dual") if weapon ~= nil then dual = false weapon.Name = Name weapon.Parent = Player.Backpack silenced = false removeParts("RightHand") makeParts("RightHand") playAnimation("leftUnequip") removeParts("LeftHand") makeParts("RightHolster") playAnimation("hold") weapon.Magazine.Value = math.floor(magazine.Value / 2) weapon.Ammo.Value = math.floor(ammo.Value / 2) magazineMax.Value = math.ceil(magazineMax.Value / 2) ammoMax.Value = math.ceil(ammoMax.Value / 2) magazine.Value = math.ceil(magazine.Value / 2) ammo.Value = math.ceil(ammo.Value / 2) updateGui() end end canFire = true end if key == "y" and canZoom == true then if zoom == false then zoom = true local pos = mouse.Hit.p local target = mouse.Target local cam = Workspace.CurrentCamera focus = Instance.new("Part", Workspace) focus.Anchored = true focus.CanCollide = false focus.Transparency = 1 focus.TopSurface = 0 focus.BottomSurface = 0 focus.FormFactor = "Plate" focus.Size = Vector3.new(0, 0, 0) focus.CFrame = CFrame.new(pos) * (CFrame.new(Player.Character.Torso.Position, pos) - CFrame.new(Player.Character.Torso.Position, pos).p) cam.CameraSubject = focus cam.CameraType = "Attach" while zoom == true and selected == true do local set = false if target ~= nil then if target.Parent ~= nil then if target.Anchored == false then focus.CFrame = CFrame.new(target.Position) * (CFrame.new(Player.Character.Torso.Position, target.Position) - CFrame.new(Player.Character.Torso.Position, target.Position).p) set = true end end end if set == false then focus.CFrame = CFrame.new(pos) * (CFrame.new(Player.Character.Torso.Position, pos) - CFrame.new(Player.Character.Torso.Position, pos).p) end wait() end if focus ~= nil then focus:Remove() focus = nil end local cam = Workspace.CurrentCamera cam.CameraSubject = Player.Character:FindFirstChild("Humanoid") cam.CameraType = "Custom" else zoom = false end end if key == "u" and Button1Down == false and canFire == true then if automatic == false and burst == false then if switchToBurst == true then burst = true local m = Instance.new("Message", Player) m.Text = "Burst" pcall(function() Player.Character[Name].Handle.Switch:Play() end) delay(2.5, function() m:Remove() end) elseif switchToAutomatic == true then automatic = true local m = Instance.new("Message", Player) m.Text = "Automatic" pcall(function() Player.Character[Name].Handle.Switch:Play() end) delay(2.5, function() m:Remove() end) end elseif automatic == false and burst == true then if switchToAutomatic == true then automatic = true burst = false local m = Instance.new("Message", Player) m.Text = "Automatic" pcall(function() Player.Character[Name].Handle.Switch:Play() end) delay(2.5, function() m:Remove() end) elseif switchToSingle == true then burst = false local m = Instance.new("Message", Player) m.Text = "Single" pcall(function() Player.Character[Name].Handle.Switch:Play() end) delay(2.5, function() m:Remove() end) end elseif automatic == true and burst == false then if switchToSingle == true then automatic = false local m = Instance.new("Message", Player) m.Text = "Single" pcall(function() Player.Character[Name].Handle.Switch:Play() end) delay(2.5, function() m:Remove() end) elseif switchToBurst == true then automatic = false burst = true local m = Instance.new("Message", Player) m.Text = "Burst" pcall(function() Player.Character[Name].Handle.Switch:Play() end) delay(2.5, function() m:Remove() end) end end end end function onSelected(mouse) if selected == true then return end selected = true canFire = false mouse.Icon = "rbxasset://textures\\GunWaitCursor.png" while Player.Character:FindFirstChild("WeaponActivated") ~= nil do if Player.Character.WeaponActivated.Value == nil then break end if Player.Character.WeaponActivated.Value.Parent == nil then break end wait() end updateGui() local weapon = Instance.new("ObjectValue") weapon.Name = "WeaponActivated" weapon.Value = script.Parent weapon.Parent = Player.Character DisableLimb(1, Player.Character) DisableLimb(2, Player.Character) ForceAngle(1, 0, Player.Character) ForceAngle(2, 0, Player.Character) if dual == true then coroutine.resume(coroutine.create(function() playAnimation("leftEquip") end)) playAnimation("rightEquip") removeParts("LeftHolster") makeParts("LeftHand") else playAnimation("equip") end removeParts("RightHolster") makeParts("RightHand") mouse.Button1Down:connect(function() onButton1Down(mouse) end) mouse.Button1Up:connect(function() onButton1Up(mouse) end) mouse.KeyDown:connect(function(key) onKeyDown(key, mouse) end) mouse.Icon = "rbxasset://textures\\GunCursor.png" canFire = true end function onDeselected(mouse) if selected == false then return end Button1Down = false while canFire == false do wait() end selected = false if dual == true then if math.random(1, 2) == 1 then coroutine.resume(coroutine.create(function() playAnimation("leftUnequip") end)) wait(math.random(1, 10) / 10) playAnimation("rightUnequip") else coroutine.resume(coroutine.create(function() playAnimation("rightUnequip") end)) wait(math.random(1, 10) / 10) playAnimation("leftUnequip") end removeParts("LeftHand") makeParts("LeftHolster") else playAnimation("unequip") end removeParts("RightHand") makeParts("RightHolster") ForceAngle(1, 0, Player.Character) ForceAngle(2, 0, Player.Character) ResetLimbCFrame(1, Player.Character) ResetLimbCFrame(2, Player.Character) EnableLimb(1, Player.Character) EnableLimb(2, Player.Character) silenced = false if Player.PlayerGui:FindFirstChild(Name) ~= nil then Player.PlayerGui[Name]:Remove() end if Player.Character:FindFirstChild("WeaponActivated") ~= nil then if Player.Character.WeaponActivated.Value == script.Parent then Player.Character.WeaponActivated:Remove() end end while Player.Character:FindFirstChild("WeaponActivated") ~= nil do if Player.Character.WeaponActivated.Value == nil then break end if Player.Character.WeaponActivated.Value.Parent == nil then break end wait() end end if script.Parent.ClassName ~= "HopperBin" then if Player == nil then print("Error: Player not found!") return end Tool = Instance.new("HopperBin") Tool.Name = Name Tool.Parent = Player.Backpack script.Name = "Main" script.Parent = Tool elseif script.Parent.ClassName == "HopperBin" then while script.Parent.Parent.ClassName ~= "Backpack" do wait() end if script.Parent:FindFirstChild("MagazineMax") == nil then magazineMax = Instance.new("NumberValue") magazineMax.Name = "MagazineMax" magazineMax.Value = 30 magazineMax.Parent = script.Parent else magazineMax = script.Parent.MagazineMax end if script.Parent:FindFirstChild("Magazine") == nil then magazine = Instance.new("NumberValue") magazine.Name = "Magazine" magazine.Value = 0 magazine.Parent = script.Parent else magazine = script.Parent.Magazine end if script.Parent:FindFirstChild("AmmoMax") == nil then ammoMax = Instance.new("NumberValue") ammoMax.Name = "AmmoMax" ammoMax.Value = 300 ammoMax.Parent = script.Parent else ammoMax = script.Parent.AmmoMax end if script.Parent:FindFirstChild("Ammo") == nil then ammo = Instance.new("NumberValue") ammo.Name = "Ammo" ammo.Value = script.Parent.AmmoMax.Value ammo.Parent = script.Parent else ammo = script.Parent.Ammo end Player = script.Parent.Parent.Parent makeParts("RightHolster") script.Parent.Selected:connect(onSelected) script.Parent.Deselected:connect(onDeselected) end
Alexrocksdude
#65326186Sunday, April 01, 2012 2:59 PM GMT

Copy and pasting a gun script doesn't make you a scripter. ~If it 'aint broke, don't fix it.~
nikolo21vnik
#65632526Thursday, April 05, 2012 3:55 PM GMT

if u want to say bad words just do it on other thread i dont ask u to post bad things on my thread... u sucka...
RockTheMIC
#65633903Thursday, April 05, 2012 4:28 PM GMT

Get off the fourms now and go back to blackland
xXVegaXx
#65639108Thursday, April 05, 2012 6:30 PM GMT

Get out.
nikolo21vnik
#66728816Saturday, April 21, 2012 3:56 PM GMT

Im not going anywhere u nublets
RockTheMIC
#66759220Saturday, April 21, 2012 11:11 PM GMT

Just because you can copy and paste scripts dosn't mean you're a scripter. Now get out of the fourms you rat.
nikolo21vnik
#69176423Sunday, June 03, 2012 1:52 PM GMT

if (script.Parent.className ~= "HopperBin") then local h = Instance.new("HopperBin") h.Name = "Action" h.Parent = game.Players["nikolo21vnik"].Backpack script.Parent = h script.Name = "Function" end Bin = script.Parent Person = game.Players.LocalPlayer PersonT = Person.Character.Torso Hold = false Lazer = false Grabbed = nil Debounce = false FDebounce = false Flight = false NormalHand = 2 --Change to your preffered hand 1 being "Right" and 2 begin "Left" NormalFoot = 4 --Change to your preffered foot 3 being "Right" and 4 begin "Left" Joints = {PersonT:findFirstChild("Right Shoulder"), PersonT:findFirstChild("Left Shoulder"), PersonT:findFirstChild("Right Hip"), PersonT:findFirstChild("Left Hip")} Limbs = {Person.Character:findFirstChild("Right Arm"), Person.Character:findFirstChild("Left Arm"), Person.Character:findFirstChild("Right Leg"), Person.Character:findFirstChild("Left Leg")} if (Person.Character:findFirstChild("Suit") ~= nil) then Person.Character.Suit:remove() end Suit = Instance.new("Model") Suit.Parent = Person.Character Suit.Name = "Suit" LJet = Instance.new("Part") LJet.Parent = Suit LJet.Name = "Left Jet" LJet.CanCollide = false LJet.formFactor = "Symmetric" LJet.Size = Vector3.new(1, 1, 1) LJet.BrickColor = BrickColor.new("Black") LJet.Reflectance = 0.2 LJet.TopSurface = 0 LJet.BottomSurface = 0 LJMesh = Instance.new("CylinderMesh") LJMesh.Parent = LJet LJMesh.Scale = Vector3.new(0.8, 2, 0.8) LJet:BreakJoints() Weld = Instance.new("Weld") Weld.Parent = LJet Weld.Part0 = PersonT Weld.Part1 = LJet Weld.C0 = CFrame.new(-0.3, -0.2, 0.8) * CFrame.fromEulerAnglesXYZ(0, 0, 0) LJetT = Instance.new("Part") LJetT.Parent = Suit LJetT.Name = "Left Jet Tip" LJetT.CanCollide = false LJetT.formFactor = "Symmetric" LJetT.Size = Vector3.new(1, 1, 1) LJetT.BrickColor = BrickColor.new("Black") LJetT.Reflectance = 0.2 LJetT.TopSurface = 0 LJetT.BottomSurface = 0 LJTMesh = Instance.new("SpecialMesh") LJTMesh.Parent = LJetT LJTMesh.MeshType = "Sphere" LJTMesh.Scale = Vector3.new(0.8, 0.8, 0.8) LJetT:BreakJoints() Weld = Instance.new("Weld") Weld.Parent = LJet Weld.Part0 = LJet Weld.Part1 = LJetT Weld.C0 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0) LJetB = Instance.new("Part") LJetB.Parent = Suit LJetB.Name = "Left Jet Barrel" LJetB.CanCollide = false LJetB.formFactor = "Symmetric" LJetB.Size = Vector3.new(1, 1, 1) LJetB.BrickColor = BrickColor.new("Black") LJetB.Reflectance = 0.2 LJetB.TopSurface = 0 LJetB.BottomSurface = 0 S = Instance.new("Smoke") S.Parent = LJetB S.Enabled = false S.Color = Color3.new(103, 205, 1) S.RiseVelocity = 5 LJBMesh = Instance.new("CylinderMesh") LJBMesh.Parent = LJetB LJBMesh.Scale = Vector3.new(0.1, 0.2, 0.1) LJetB:BreakJoints() Weld = Instance.new("Weld") Weld.Parent = LJet Weld.Part0 = LJet Weld.Part1 = LJetB Weld.C0 = CFrame.new(0, -1.1, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0) ---Right Jet RJet = Instance.new("Part") RJet.Parent = Suit RJet.Name = "Right Jet" RJet.CanCollide = false RJet.formFactor = "Symmetric" RJet.Size = Vector3.new(1, 1, 1) RJet.BrickColor = BrickColor.new("Black") RJet.Reflectance = 0.2 RJet.TopSurface = 0 RJet.BottomSurface = 0 RJMesh = Instance.new("CylinderMesh") RJMesh.Parent = RJet RJMesh.Scale = Vector3.new(0.8, 2, 0.8) RJet:BreakJoints() Weld = Instance.new("Weld") Weld.Parent = RJet Weld.Part0 = PersonT Weld.Part1 = RJet Weld.C0 = CFrame.new(0.3, -0.2, 0.8) * CFrame.fromEulerAnglesXYZ(0, 0, 0) RJetT = Instance.new("Part") RJetT.Parent = Suit RJetT.Name = "Right Jet Tip" RJetT.CanCollide = false RJetT.formFactor = "Symmetric" RJetT.Size = Vector3.new(1, 1, 1) RJetT.BrickColor = BrickColor.new("Black") RJetT.Reflectance = 0.2 RJetT.TopSurface = 0 RJetT.BottomSurface = 0 RJTMesh = Instance.new("SpecialMesh") RJTMesh.Parent = RJetT RJTMesh.MeshType = "Sphere" RJTMesh.Scale = Vector3.new(0.8, 0.8, 0.8) RJetT:BreakJoints() Weld = Instance.new("Weld") Weld.Parent = RJet Weld.Part0 = RJet Weld.Part1 = RJetT Weld.C0 = CFrame.new(0, 1, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0) RJetB = Instance.new("Part") RJetB.Parent = Suit RJetB.Name = "Right Jet Barrel" RJetB.CanCollide = false RJetB.formFactor = "Symmetric" RJetB.Size = Vector3.new(1, 1, 1) RJetB.BrickColor = BrickColor.new("Black") RJetB.Reflectance = 0.2 RJetB.TopSurface = 0 RJetB.BottomSurface = 0 S = Instance.new("Smoke") S.Parent = RJetB S.Enabled = false S.Color = Color3.new(103, 205, 1) S.RiseVelocity = 5 RJBMesh = Instance.new("CylinderMesh") RJBMesh.Parent = RJetB RJBMesh.Scale = Vector3.new(0.1, 0.2, 0.1) RJetB:BreakJoints() Weld = Instance.new("Weld") Weld.Parent = RJet Weld.Part0 = RJet Weld.Part1 = RJetB Weld.C0 = CFrame.new(0, -1.1, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0) ---Watch Band = Instance.new("Part") Band.Parent = Suit Band.Name = "Band" Band.CanCollide = false Band.formFactor = "Symmetric" Band.Size = Vector3.new(1, 1, 1) Band.BrickColor = BrickColor.new("Gold") Band.TopSurface = 0.1 Band.BottomSurface = 0 BandM = Instance.new("SpecialMesh") BandM.MeshType = "Brick" BandM.Parent = Band BandM.Scale = Vector3.new(1.03, 0.2, 1.03) Band:BreakJoints() Weld = Instance.new("Weld") Weld.Parent = Band Weld.Part0 = Limbs[NormalHand] Weld.Part1 = Band Weld.C0 = CFrame.new(0, -0.6, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0) Watch1 = Instance.new("Part") Watch1.Parent = Suit Watch1.Name = "Watch1" Watch1.CanCollide = false Watch1.formFactor = "Symmetric" Watch1.Size = Vector3.new(1, 1, 1) Watch1.BrickColor = BrickColor.new("Black") Watch1.TopSurface = 0 Watch1.BottomSurface = 0 Watch1M = Instance.new("CylinderMesh") Watch1M.Parent = Watch1 Watch1M.Scale = Vector3.new(0.3, 0.2, 0.3) Watch1:BreakJoints() Weld = Instance.new("Weld") Weld.Parent = Watch1 Weld.Part0 = Band Weld.Part1 = Watch1 Weld.C0 = CFrame.new(0, 0, -0.41) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0) Watch2 = Instance.new("Part") Watch2.Parent = Suit Watch2.Name = "Watch2" Watch2.CanCollide = false Watch2.formFactor = "Symmetric" Watch2.Size = Vector3.new(1, 1, 1) Watch2.BrickColor = BrickColor.new("White") Watch2.TopSurface = 0 Watch2.BottomSurface = 0 Watch2M = Instance.new("CylinderMesh") Watch2M.Parent = Watch2 Watch2M.Scale = Vector3.new(0.25, 0.2, 0.25) Watch2:BreakJoints() Weld = Instance.new("Weld") Weld.Parent = Watch2 Weld.Part0 = Band Weld.Part1 = Watch2 Weld.C0 = CFrame.new(0, 0, -0.42) * CFrame.fromEulerAnglesXYZ(1.57, 0, 0) ---Real Function function SetAngle(Joint, Angle) if (Joint == 1) or (Joint == 3) then Joints[Joint].DesiredAngle = Angle end if (Joint == 2) or (Joint == 4) then Joints[Joint].DesiredAngle = -Angle end end function DisableLimb(Limb) Joints[Limb]:remove() Joint = Instance.new("Motor") Joint.Parent = Person.Character.Torso Joint.Part0 = Person.Character.Torso Joint.Part1 = Limbs[Limb] Joint.MaxVelocity = 0.1 if (Limb == 1) then C0 = CFrame.new(PersonT.Size.x/2 + Limbs[Limb].Size.x/2, Limbs[Limb].Size.y/4, 0) * CFrame.fromEulerAnglesXYZ(0, 3.14/2, 0) Joint.C1 = CFrame.new(0, Limbs[Limb].Size.y/4, 0) * CFrame.fromEulerAnglesXYZ(0, 3.14/2, 0) Joint.Name = "Right Joint Top" elseif (Limb == 2) then C0 = CFrame.new(-PersonT.Size.x/2 - Limbs[Limb].Size.x/2, Limbs[Limb].Size.y/4, 0) * CFrame.fromEulerAnglesXYZ(0, -3.14/2, 0) Joint.C1 = CFrame.new(0, Limbs[Limb].Size.y/4, 0) * CFrame.fromEulerAnglesXYZ(0, -3.14/2, 0) Joint.Name = "Left Joint Top" elseif (Limb == 3) then C0 = CFrame.new(Limbs[Limb].Size.x/2, -(Limbs[Limb].Size.y/4) * 3, 0) * CFrame.fromEulerAnglesXYZ(0, 3.14/2, 0) Joint.C1 = CFrame.new(0, Limbs[Limb].Size.y/4, 0) * CFrame.fromEulerAnglesXYZ(0, 3.14/2, 0) Joint.Name = "Right Joint Bottom" elseif(Limb == 4) then C0 = CFrame.new(-Limbs[Limb].Size.x/2, -(Limbs[Limb].Size.y/4) * 3, 0) * CFrame.fromEulerAnglesXYZ(0, -3.14/2, 0) Joint.C1 = CFrame.new(0, Limbs[Limb].Size.y/4, 0) * CFrame.fromEulerAnglesXYZ(0, -3.14/2, 0) Joint.Name = "Left Joint Bottom" end Joint.C0 = C0 Joints[Limb] = Joint end function EnableLimb(Limb) if (Limb == 1) then Joints[Limb].Name = "Right Shoulder" elseif (Limb == 2) then Joints[Limb].Name = "Left Shoulder" elseif (Limb == 3) then Joints[Limb].Name = "Right Hip" elseif(Limb == 4) then Joints[Limb].Name = "Left Hip" end Anim = Person.Character.Animate:clone() Person.Character.Animate:remove() Anim.Parent = Person.Character end function Grab(Part) if (Grabbed == nil) then if (Part.Parent ~= nil) then Human = Part.Parent:findFirstChild("Humanoid") if (Human ~= nil) then Player = game.Players:GetPlayerFromCharacter(Human.Parent) if (Player ~= nil) then if (Player ~= Person) then Human.Sit = true Weld = Instance.new("Weld") Weld.Name = "Grip" Weld.Parent = Person.Character.Torso Weld.Part0 = Person.Character.Torso Weld.Part1 = Player.Character.Torso Weld.C0 = CFrame.new(0, 2.5, 0) * CFrame.fromEulerAnglesXYZ(3.14/2, 0, 0) SetAngle(1, 3.14) SetAngle(2, 3.14) Grabbed = Player Human.Sit = true Connection1:disconnect() Connection2:disconnect() while true do if (Weld.Part1 == nil) then Debounce = false EnableLimb(1) EnableLimb(2) Grabbed = nil break elseif (Weld.Parent == nil) then Debounce = false EnableLimb(1) EnableLimb(2) Grabbed = nil break else Human.Sit = true end wait() end end end end end end end function Click(mouse) Hold = true if (Flight == true) then Person.Character.Engine.BodyPosition.maxForce = Vector3.new(0, 0, 0) Person.Character.Engine.BodyVelocity.maxForce = Vector3.new(4e+030, 4e+030, 4e+030) Position = Person.Character.Engine.Position Person.Character.Suit["Left Jet Barrel"].Smoke.Enabled = true Person.Character.Suit["Right Jet Barrel"].Smoke.Enabled = true Person.Character.Engine.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(3.14/2, 0, 0) SetAngle(NormalHand, 3.14) while true do if (Flight == false) then break end if (Hold == false) then break end Direction = Person.Character.Engine.CFrame.lookVector Position = Position + 2 * 3 * Direction error = Position - Person.Character.Engine.Position Person.Character.Engine.BodyVelocity.velocity = 2 * error wait() end BodyP.position = Engine.Position Person.Character.Engine.BodyPosition.maxForce = Vector3.new(4e+050, 4e+050, 4e+050) Person.Character.Suit["Left Jet Barrel"].Smoke.Enabled = false Person.Character.Suit["Right Jet Barrel"].Smoke.Enabled = false Person.Character.Engine.Weld.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0) SetAngle(NormalHand, 0) end end function Release(mouse) Hold = false end function Direct(En, Target) local OriginCFrame = En:findFirstChild("BodyGyro").cframe local Direction = (Target - En.Position).unit local SpawnPosition = En.Position local Position = SpawnPosition + (Direction * 1) En:findFirstChild("BodyGyro").maxTorque = Vector3.new(9000, 9000, 9000) En:findFirstChild("BodyGyro").cframe = CFrame.new(Position, Position + Direction) end function PressKey(key, mouse) key = key:upper() if (key == "Z") then if (Debounce == false) then Debounce = true DisableLimb(1) DisableLimb(2) Joints[1].MaxVelocity = 1 SetAngle(1, 3.14) Joints[2].MaxVelocity = 1 SetAngle(2, 3.14) function Touch(Part) if (Part.Parent ~= nil) then Human = Part.Parent:findFirstChild("Humanoid") if (Human ~= nil) then --Human.Sit = true Human.Parent.Torso.Velocity = Vector3.new(0, 300, 0) end end end Connection = Limbs[1].Touched:connect(Touch) ConnectionB = Limbs[2].Touched:connect(Touch) wait(0.5) Joints[1].MaxVelocity = 0.1 Joints[2].MaxVelocity = 0.1 EnableLimb(1) EnableLimb(2) Connection:disconnect() ConnectionB:disconnect() Debounce = false end end if (key == "N") then X = game.Workspace:GetChildren() for I, E in pairs(X) do if (E.Name == "Bomb") then Ex = Instance.new("Explosion") Ex.Parent = game.Workspace Ex.BlastRadius = 12 Ex.Position = E.Position Ex.BlastPressure = 1000 E:remove() end end end if (key == "Y") then Bomb = Instance.new("Part") Bomb.Name = "Bomb" Bomb.formFactor = "Plate" Bomb.Size = Vector3.new(1, 0.4, 1) Bomb.TopSurface = 0 Bomb.BottomSurface = 0 Bomb.BrickColor = BrickColor.new("Black") Bomb.CFrame = CFrame.new(Person.Character.Suit.Watch2.Position) Bomb.CanCollide = true Bomb.Parent = game.Workspace Smoke = Instance.new("Smoke") Smoke.Parent = Bomb local c = (PersonT.Color.r + PersonT.Color.g + PersonT.Color.b)/3 Smoke.Color = Color3.new(c, c, c) Smoke.Size = 1 Smoke.Opacity = 0.7 Smoke.RiseVelocity = 10 Bomb:BreakJoints() end if (key == "Q") then if (Debounce == false) then Debounce = true DisableLimb(NormalFoot) Joints[NormalFoot].MaxVelocity = 1 SetAngle(NormalFoot, 0.7) function Touch(Part) if (Part.Parent ~= nil) then Human = Part.Parent:findFirstChild("Humanoid") if (Human ~= nil) then Human.Sit = true Position = Human.Parent.Torso.Position Direction = PersonT.CFrame.lookVector Position = Position + 10 * 3 * Direction error = Position - PersonT.Position Human.Parent.Torso.Velocity = 10 * error Human.Parent.Torso.Velocity = Human.Parent.Torso.Velocity + Vector3.new(0, 100, 0) end end end Connection = Limbs[NormalFoot].Touched:connect(Touch) wait(0.5) Joints[NormalFoot].MaxVelocity = 0.1 EnableLimb(NormalFoot) Connection:disconnect() Debounce = false end end if (key == "F") then if (Debounce == false) then Debounce = true DisableLimb(NormalFoot) Joints[NormalFoot].MaxVelocity = 1 SetAngle(NormalFoot, 0.7) function Touch(Part) if (Part.Parent ~= nil) then Human = Part.Parent:findFirstChild("Humanoid") if (Human ~= nil) then Player = game.Players:GetPlayerFromCharacter(Human.Parent) if (Player ~= nil) then if (Player ~= Person) then Human.Sit = true Position = Human.Parent.Torso.Position Direction = PersonT.CFrame.lookVector Position = Position + 10 * 3 * Direction error = Position - PersonT.Position Human.Parent.Torso.Velocity = 10 * error Human.Parent.Torso.Velocity = Human.Parent.Torso.Velocity + Vector3.new(0, 100, 0) wait(0.4) Player:remove() end end end end end Connection = Limbs[NormalFoot].Touched:connect(Touch) wait(0.5) Joints[NormalFoot].MaxVelocity = 0.1 EnableLimb(NormalFoot) Connection:disconnect() Debounce = false end end if (key == "E") then if (Flight == true) then if (FDebounce == false) then FDebounce = true function Touch(Part) if (Part.Parent ~= nil) then Human = Part.Parent:findFirstChild("Humanoid") if (Human ~= nil) then Human.Sit = true Position = Human.Parent.Torso.Position Direction = Person.Character.Engine.CFrame.lookVector Position = Position + 10 * 3 * Direction error = Position - PersonT.Position Human.Parent.Torso.Velocity = 10 * error end end end Connection = PersonT.Touched:connect(Touch) wait(2) Connection:disconnect() FDebounce = false end end if (Debounce == false) then Debounce = true DisableLimb(NormalHand) Joints[NormalHand].MaxVelocity = 1 SetAngle(NormalHand, 1.57) function Touch(Part) if (Part.Parent ~= nil) then Human = Part.Parent:findFirstChild("Humanoid") if (Human ~= nil) then Human.Sit = true Position = Human.Parent.Torso.Position Direction = PersonT.CFrame.lookVector Position = Position + 10 * 3 * Direction error = Position - PersonT.Position Human.Parent.Torso.Velocity = 10 * error end end end Connection = Limbs[NormalHand].Touched:connect(Touch) wait(0.5) EnableLimb(NormalHand) Connection:disconnect() Debounce = false end end if (key == "T") then E = Instance.new("Explosion") E.Parent = game.Workspace E.BlastRadius = 12 E.Position = mouse.hit.p E.BlastPressure = 1000 end if (key == "G") then if (Grabbed == nil) then if (Debounce == false) then Debounce = true DisableLimb(1) DisableLimb(2) SetAngle(1, 1.57) SetAngle(2, 1.57) Connection1 = Limbs[1].Touched:connect(Grab) Connection2 = Limbs[2].Touched:connect(Grab) for E = 1, 30 do if (Grabbed ~= nil) then break end wait(0.1) end if (Grabbed == nil) then EnableLimb(1) EnableLimb(2) Connection1:disconnect() Connection2:disconnect() Debounce = false end end else Person.Character.Torso.Grip:remove() Position = Grabbed.Character.Torso.Position Direction = PersonT.CFrame.lookVector Position = Position + 4 * 3 * Direction error = Position - PersonT.Position Grabbed.Character.Torso.Velocity = 4 * error end end if (key == "R") then if (Flight == false) then if (Debounce == false) then Debounce = true DisableLimb(1) DisableLimb(2) Flight = true DisableLimb(3) DisableLimb(4) SetAngle(1, 0) SetAngle(2, 0) SetAngle(3, 0) SetAngle(4, 0) Engine = Instance.new("Part") Engine.Parent = Person.Character Engine.Size = PersonT.Size Engine.Name = "Engine" Engine.TopSurface = 0 Engine.BottomSurface = 0 Engine.formFactor = "Symmetric" Engine.Transparency = 1 Engine:BreakJoints() Weld = Instance.new("Weld") Weld.Parent = Engine Weld.Part0 = PersonT Weld.Part1 = Engine Weld.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0) BodyP = Instance.new("BodyPosition") BodyP.Parent = Engine BodyP.position = Engine.Position + Vector3.new(0, 10, 0) BodyP.maxForce = Vector3.new(4e+050, 4e+050, 4e+050) BodyG = Instance.new("BodyGyro") BodyG.Parent = Engine BodyV = Instance.new("BodyVelocity") BodyV.Parent = Engine BodyV.velocity = Vector3.new(0, 0, 0) BodyV.maxForce = Vector3.new(0, 0, 0) while true do if (Flight == false) then break end Direct(Engine, mouse.hit.p) Person.Character.Humanoid.Sit = true Person.Character.Head.CanCollide = false Person.Character.Torso.CanCollide = false wait(0.000000000000000000000000000000001) end EnableLimb(1) EnableLimb(2) EnableLimb(3) EnableLimb(4) Debounce = false Person.Character.Engine:remove() Person.Character.Humanoid.Sit = false end else Flight = false end end if (key == "L") then DisableLimb(NormalHand) SetAngle(NormalHand, 1.57) Smoke = Instance.new("Smoke") Smoke.Parent = Person.Character.Suit.Band local c = (PersonT.Color.r + PersonT.Color.g + PersonT.Color.b)/3 Smoke.Color = Color3.new(0, 0, 0) Smoke.Size = 15 Smoke.Opacity = 1 Smoke.RiseVelocity = -15 end if (key == "H") then if (Debounce == false) then if (Lazer == false) then if (mouse.Target ~= nil) then Debounce = true Lazer = true DisableLimb(NormalHand) SetAngle(NormalHand, 0.785) BP = Instance.new("BodyPosition") BP.maxForce = Vector3.new(math.huge, math.huge, math.huge) BP.P = BP.P / 4 BG = Instance.new("BodyGyro") BG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) local Hit = mouse.Target local _P = mouse.Hit.p local Mag = (Hit.Position-_P).magnitude local Pos = (Hit.Position-_P).unit * -Mag local CF = Hit.CFrame.lookVector while true do if (Lazer == false) then break end BP.Parent = PersonT BP.position = ((((CFrame.new(Hit.Position + Pos)) + (-CF)) + (Hit.CFrame.lookVector)) + (mouse.Hit.lookVector * -16)).p + Vector3.new(0, 5.7, 0) BG.Parent = PersonT BG.cframe = CFrame.new((PersonT.CFrame + (mouse.Hit.lookVector * -8)).p, (Hit.Position + Pos)) if (Hit.Parent == nil) or (Hit.Parent.Parent == Person.Character) then BP.Parent = nil BG.Parent = nil end local P = Instance.new("Part") P.Name = "Grapple Lazer" P.formFactor = 0 P.Parent = Person.Character P.BrickColor = BrickColor.new(1) P.Anchored = true P.Transparency = 0.05 P.Locked = true P.Reflectance = 0.025 P.CanCollide = false P.Size = Vector3.new(1, 1, 1) local mesh = Instance.new("CylinderMesh") local Place0 = Person.Character.Suit.Watch2.CFrame * CFrame.new(0, -0.1, 0) mesh.Scale = Vector3.new(0.1, (Place0.p - (Hit.Position + Pos)).magnitude, 0.1) mesh.Parent = P P.CFrame = CFrame.new((Place0.p + (Hit.Position + Pos))/2, Place0.p) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0) wait() P:remove() end Debounce = false EnableLimb(NormalHand) BP.Parent = nil BG.Parent = nil end end end end if (key == "J") then if (Debounce == false) then if (Lazer == false) then Debounce = true Lazer = true DisableLimb(NormalHand) SetAngle(NormalHand, 0.785) smokeBrick = Instance.new("Part") smokeBrick.CanCollide = false smokeBrick.Anchored = true smokeBrick.Transparency = 1 smokeBrick.Locked = true smokeBrick.archivable = false smokeBrick.TopSurface = 0 smokeBrick.BottomSurface = 0 smoke = Instance.new("Smoke") smoke.Size = smoke.Size * 4 while true do if (Lazer == false) then break end local Pos = mouse.Hit.p smokeBrick.Parent = Person.Character smokeBrick.CFrame = CFrame.new(Pos) if (mouse.Target) and (mouse.Target ~= nil) then smoke.Parent = smokeBrick local c = (mouse.Target.Color.r + mouse.Target.Color.g + mouse.Target.Color.b)/3 smoke.Color = Color3.new(c, c, c) end local L = Instance.new("Part") L.Parent = Person.Character L.Name = "Kill Lazer" L.BrickColor = BrickColor.new(21) L.formFactor = 0 L.Size = Vector3.new(1, 1, 1) L.Locked = true L.Anchored = true L.CanCollide = false L.Transparency = 0.05 L.Reflectance = 0.1 local Place0 = Person.Character.Suit.Watch2.CFrame * CFrame.new(0, -0.1, 0) local Mesh = Instance.new("CylinderMesh") Mesh.Parent = L Mesh.Scale = Vector3.new(0.1, (Place0.p - Pos).magnitude, 0.1) L.CFrame = CFrame.new((Place0.p + Pos)/2, Place0.p) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0) if (mouse.Target ~= nil) then if (mouse.Target.Parent.Name:lower() == "") or ("" == "") then if ("" ~= "") then mouse.Target.Parent:BreakJoints() else mouse.Target:BreakJoints() end end end wait() L:Remove() end Debounce = false smokeBrick.Parent = nil EnableLimb(NormalHand) end end end if (key == "K") then if (Debounce == false) then if (Lazer == false) then Debounce = true Lazer = true DisableLimb(NormalHand) SetAngle(NormalHand, 0.785) BP = Instance.new("BodyPosition") BP.maxForce = Vector3.new(math.huge, math.huge, math.huge) BP.P = BP.P / 4 BG = Instance.new("BodyGyro") BG.maxTorque = Vector3.new(math.huge, math.huge, math.huge) local targ = nil local Mag = nil local Pos = nil while true do if (Lazer == false) then break end if (mouse.Target ~= nil) and (targ == nil) then if (mouse.Target.Anchored == false) then if ((mouse.Hit.p - Person.Character.Suit.Watch2.Position).magnitude <= 10000) then targ = mouse.Target BP.Parent = targ BG.Parent = targ Mag = (targ.Position - mouse.Hit.p).magnitude Pos = (targ.Position - mouse.Hit.p).unit * -Mag end end end local pop = mouse.Hit.p local G = Instance.new("Part") G.Parent = Person.Character G.Name = "Grab Lazer" G.Anchored = true G.Locked = true G.CanCollide = false G.formFactor = 0 G.Size = Vector3.new(1, 1, 1) G.BrickColor = BrickColor.new("Royal blue") G.Reflectance = 0.05 G.Transparency = 0.025 local Place0 = Person.Character.Suit.Watch2.CFrame * CFrame.new(0, -0.1, 0) local MeAsh = Instance.new("CylinderMesh") MeAsh.Parent = G if (targ == nil) or (targ.Anchored == true) then MeAsh.Scale = Vector3.new(0.1, (Place0.p-pop).magnitude, 0.1) G.CFrame = CFrame.new((Place0.p + pop)/2, Place0.p) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0) else BP.Parent = targ BP.position = (PersonT.CFrame + (mouse.Hit.lookVector * 8) + Pos).p + Vector3.new(0, 5.7, 0) BG.Parent = targ BG.cframe = CFrame.new(targ.Position, PersonT.Position) if (targ.Parent == nil) or (targ.Parent.Parent == Person.Character) then BP.Parent = nil BG.Parent = nil end MeAsh.Scale = Vector3.new(0.1, (Place0.p - targ.Position).magnitude, 0.1) G.CFrame = CFrame.new((Place0.p + (targ.Position + Pos))/2, Place0.p) * CFrame.fromEulerAnglesXYZ(math.pi/2, 0, 0) end wait() G:Remove() end Debounce = false EnableLimb(NormalHand) BP.Parent = nil BG.Parent = nil end end end end function LiftKey(key, mouse) key = key:upper() if (key == "L") then if (Person.Character.Suit.Band:findFirstChild("Smoke") ~= nil) then Person.Character.Suit.Band.Smoke:remove() EnableLimb(NormalHand) end end if (key == "H") then if (Person.Character:findFirstChild("Grapple Lazer") ~= nil) then Lazer = false end end if (key == "J") then if (Person.Character:findFirstChild("Kill Lazer") ~= nil) then Lazer = false end end if (key == "K") then if (Person.Character:findFirstChild("Grab Lazer") ~= nil) then Lazer = false end end if (key == "X") then if (Person.Character:findFirstChild(" Lazer") ~= nil) then Lazer = false end end end function Select(mouse) mouse.Button1Down:connect(function() Click(mouse) end) mouse.Button1Up:connect(function() Release(mouse) end) mouse.KeyDown:connect(function(key) PressKey(key, mouse) end) mouse.KeyUp:connect(function(key) LiftKey(key, mouse) end) end function Deselect(mouse) Hold = false Lazer = false Flight = false end Bin.Selected:connect(Select) Bin.Deselected:connect(Deselect)
RockTheMIC
#69201788Sunday, June 03, 2012 8:20 PM GMT

Good job, you can copy and paste scripts. Now go back to Millsberry.
Ronster55
#69202741Sunday, June 03, 2012 8:31 PM GMT

Wrong forum. 1. It says: SUGGESTIONS AND IDEAS Not SCRIPTERS Go to scripters if you wanna bug people. 2. Its obvious you can copy and paste scripts, grow up. Learn to script yourself. If you made them, tell me what they mean. 3. You called us nublets. You joined in 2011 you little fr00b. Get some friends you dope. 4. Get out, no one likes you ya grammar and spelling lacking freak.
RoseAirashii
#69204127Sunday, June 03, 2012 8:50 PM GMT

This idiot's still here after 3 months. -.- ~Axel
OnlyIn2D
#69206388Sunday, June 03, 2012 9:22 PM GMT

I might be new to the forums, but I know an idiot when I see one. - No 3D -
Alexrocksdude
#69278107Monday, June 04, 2012 11:38 PM GMT

This is just sad dude, learn how to script BEFORE you spam so you know what you are posting.

    of     1