SHOW:
|
|
- or go back to the newest paste.
| 1 | - | --School Shooter script by DMS ok bye |
| 1 | + | --School Shooter edit by xiaxiaokid ok bye |
| 2 | o1 = Instance.new("Model")
| |
| 3 | o1.Name = "Vest" | |
| 4 | o2 = Instance.new("Part")
| |
| 5 | o2.Name = "Middle" | |
| 6 | o2.Parent = o1 | |
| 7 | o2.BrickColor = BrickColor.new("Brick yellow")
| |
| 8 | o2.Transparency = 1 | |
| 9 | o2.Position = Vector3.new(0.139906004, 1.05800402, -11.1099901) | |
| 10 | o2.Anchored = true | |
| 11 | o2.CFrame = CFrame.new(0.139906004, 1.05800402, -11.1099901, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 12 | o2.CanCollide = false | |
| 13 | o2.FormFactor = Enum.FormFactor.Symmetric | |
| 14 | o2.Size = Vector3.new(2, 2, 1) | |
| 15 | o2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 16 | o2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 17 | o2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 18 | o2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 19 | o2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 20 | o2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 21 | o2.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
| 22 | o3 = Instance.new("Part")
| |
| 23 | o3.Name = "Pack" | |
| 24 | o3.Parent = o1 | |
| 25 | o3.BrickColor = BrickColor.new("Dark stone grey")
| |
| 26 | o3.Position = Vector3.new(0.139907002, 1.07000601, -10.3049936) | |
| 27 | o3.Rotation = Vector3.new(-180, 0, -180) | |
| 28 | o3.Anchored = true | |
| 29 | o3.CFrame = CFrame.new(0.139907002, 1.07000601, -10.3049936, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 30 | o3.CanCollide = false | |
| 31 | o3.FormFactor = Enum.FormFactor.Custom | |
| 32 | o3.Size = Vector3.new(1.65999985, 1.80000019, 0.630000472) | |
| 33 | o3.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 34 | o3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 35 | o3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 36 | o3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 37 | o3.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 38 | o3.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 39 | o3.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
| 40 | o4 = Instance.new("Part")
| |
| 41 | o4.Name = "Strap" | |
| 42 | o4.Parent = o1 | |
| 43 | o4.BrickColor = BrickColor.new("Black")
| |
| 44 | o4.Position = Vector3.new(0.66991502, 1.05500698, -11.1149797) | |
| 45 | o4.Anchored = true | |
| 46 | o4.CFrame = CFrame.new(0.66991502, 1.05500698, -11.1149797, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 47 | o4.CanCollide = false | |
| 48 | o4.FormFactor = Enum.FormFactor.Custom | |
| 49 | o4.Size = Vector3.new(0.259999752, 2.11000037, 1.15000045) | |
| 50 | o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 51 | o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 52 | o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 53 | o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 54 | o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 55 | o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 56 | o4.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 57 | o5 = Instance.new("Part")
| |
| 58 | o5.Name = "Flap" | |
| 59 | o5.Parent = o1 | |
| 60 | o5.BrickColor = BrickColor.new("Black")
| |
| 61 | o5.Position = Vector3.new(0.139905006, 1.85000098, -10.2900219) | |
| 62 | o5.Anchored = true | |
| 63 | o5.CFrame = CFrame.new(0.139905006, 1.85000098, -10.2900219, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 64 | o5.CanCollide = false | |
| 65 | o5.FormFactor = Enum.FormFactor.Custom | |
| 66 | o5.Size = Vector3.new(1.71999979, 0.400000006, 0.639999866) | |
| 67 | o5.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 68 | o5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 69 | o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 70 | o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 71 | o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 72 | o5.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 73 | o5.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 74 | o6 = Instance.new("Part")
| |
| 75 | o6.Name = "Pocket" | |
| 76 | o6.Parent = o1 | |
| 77 | o6.BrickColor = BrickColor.new("Black")
| |
| 78 | o6.Position = Vector3.new(0.149883002, 0.860005975, -10.0399857) | |
| 79 | o6.Rotation = Vector3.new(-0, 0, -90) | |
| 80 | o6.Anchored = true | |
| 81 | o6.CFrame = CFrame.new(0.149883002, 0.860005975, -10.0399857, 0, 1, 0, -1, 0, 0, 0, 0, 1) | |
| 82 | o6.CanCollide = false | |
| 83 | o6.FormFactor = Enum.FormFactor.Custom | |
| 84 | o6.Size = Vector3.new(0.600000024, 0.800000131, 0.200000003) | |
| 85 | o6.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 86 | o6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 87 | o6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 88 | o6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 89 | o6.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 90 | o6.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 91 | o6.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 92 | o7 = Instance.new("Part")
| |
| 93 | o7.Name = "Pocket" | |
| 94 | o7.Parent = o1 | |
| 95 | o7.BrickColor = BrickColor.new("Black")
| |
| 96 | o7.Position = Vector3.new(0.139600992, 1.10000801, -10.3099718) | |
| 97 | o7.Rotation = Vector3.new(-90, 90, 0) | |
| 98 | o7.Anchored = true | |
| 99 | o7.CFrame = CFrame.new(0.139600992, 1.10000801, -10.3099718, 0, 0, 1, -1, 0, 0, 0, -1, 0) | |
| 100 | o7.CanCollide = false | |
| 101 | o7.FormFactor = Enum.FormFactor.Custom | |
| 102 | o7.Size = Vector3.new(0.600000024, 0.400000155, 1.70000005) | |
| 103 | o7.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 104 | o7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 105 | o7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 106 | o7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 107 | o7.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 108 | o7.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 109 | o7.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 110 | o8 = Instance.new("Part")
| |
| 111 | o8.Name = "Strap" | |
| 112 | o8.Parent = o1 | |
| 113 | o8.BrickColor = BrickColor.new("Black")
| |
| 114 | o8.Position = Vector3.new(-0.37014699, 1.05500698, -11.1149921) | |
| 115 | o8.Anchored = true | |
| 116 | o8.CFrame = CFrame.new(-0.37014699, 1.05500698, -11.1149921, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 117 | o8.CanCollide = false | |
| 118 | o8.FormFactor = Enum.FormFactor.Custom | |
| 119 | o8.Size = Vector3.new(0.259999752, 2.11000037, 1.15000045) | |
| 120 | o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 121 | o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 122 | o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 123 | o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 124 | o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 125 | o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 126 | o8.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 127 | o9 = Instance.new("Part")
| |
| 128 | o9.Parent = o1 | |
| 129 | o9.BrickColor = BrickColor.new("Really black")
| |
| 130 | o9.Reflectance = 0.10000000149012 | |
| 131 | o9.Position = Vector3.new(0.173590899, 4.00173569, -9.98207664) | |
| 132 | o9.Rotation = Vector3.new(2.9181666e-009, -3.48279983e-008, -8.55249798e-019) | |
| 133 | o9.Anchored = true | |
| 134 | o9.CFrame = CFrame.new(0.173590899, 4.00173569, -9.98207664, 0.999998331, 1.49269007e-020, -6.07863204e-010, 1.49269007e-020, 1, -5.09317831e-011, -6.07863204e-010, -5.09317831e-011, 1.00000334) | |
| 135 | o9.FormFactor = Enum.FormFactor.Plate | |
| 136 | o9.Size = Vector3.new(2, 4.80000019, 2) | |
| 137 | o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 138 | o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 139 | o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 140 | o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 141 | o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 142 | o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 143 | o9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 144 | o10 = Instance.new("SpecialMesh")
| |
| 145 | o10.Parent = o9 | |
| 146 | o10.Scale = Vector3.new(0.600000024, 1, 0.600000024) | |
| 147 | o10.MeshType = Enum.MeshType.Brick | |
| 148 | o11 = Instance.new("Part")
| |
| 149 | o11.Parent = o1 | |
| 150 | o11.BrickColor = BrickColor.new("Mid gray")
| |
| 151 | o11.Reflectance = 0.20000000298023 | |
| 152 | o11.Position = Vector3.new(0.173592806, 4.10173273, -11.1821489) | |
| 153 | o11.Rotation = Vector3.new(-180, 89.8953247, -90) | |
| 154 | o11.Anchored = true | |
| 155 | o11.CFrame = CFrame.new(0.173592806, 4.10173273, -11.1821489, -1.49269007e-020, 6.07863204e-010, 0.999998331, -1, 5.09317831e-011, 1.49269007e-020, 5.09317831e-011, -1.00000334, -6.07863204e-010) | |
| 156 | o11.FormFactor = Enum.FormFactor.Plate | |
| 157 | o11.Size = Vector3.new(1, 0.400000006, 2) | |
| 158 | o11.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 159 | o11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 160 | o11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 161 | o11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 162 | o11.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 163 | o11.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 164 | o11.Color = Color3.new(0.803922, 0.803922, 0.803922) | |
| 165 | o12 = Instance.new("CylinderMesh")
| |
| 166 | o12.Parent = o11 | |
| 167 | o12.Offset = Vector3.new(0, -0.600000024, 0) | |
| 168 | o12.Scale = Vector3.new(0.5, 0.100000001, 0.5) | |
| 169 | o13 = Instance.new("Part")
| |
| 170 | o13.Parent = o1 | |
| 171 | o13.BrickColor = BrickColor.new("Mid gray")
| |
| 172 | o13.Reflectance = 0.20000000298023 | |
| 173 | o13.Position = Vector3.new(0.173592806, 5.60169125, -11.1821489) | |
| 174 | o13.Rotation = Vector3.new(1.40697509e-009, -89.8953247, -90) | |
| 175 | o13.Anchored = true | |
| 176 | o13.CFrame = CFrame.new(0.173592806, 5.60169125, -11.1821489, 1.49269007e-020, 6.07863204e-010, -0.999998331, 1, 5.09317831e-011, -1.49269007e-020, -5.09317831e-011, -1.00000334, 6.07863204e-010) | |
| 177 | o13.FormFactor = Enum.FormFactor.Plate | |
| 178 | o13.Size = Vector3.new(2, 0.400000006, 2) | |
| 179 | o13.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 180 | o13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 181 | o13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 182 | o13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 183 | o13.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 184 | o13.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 185 | o13.Color = Color3.new(0.803922, 0.803922, 0.803922) | |
| 186 | o14 = Instance.new("CylinderMesh")
| |
| 187 | o14.Parent = o13 | |
| 188 | o14.Offset = Vector3.new(0, -0.600000024, 0) | |
| 189 | o14.Scale = Vector3.new(0.5, 0.100000001, 0.5) | |
| 190 | o15 = Instance.new("Part")
| |
| 191 | o15.Parent = o1 | |
| 192 | o15.BrickColor = BrickColor.new("Mid gray")
| |
| 193 | o15.Reflectance = 0.20000000298023 | |
| 194 | o15.Position = Vector3.new(0.173592806, 2.60173273, -11.1821489) | |
| 195 | o15.Rotation = Vector3.new(-180, 89.8953247, -90) | |
| 196 | o15.Anchored = true | |
| 197 | o15.CFrame = CFrame.new(0.173592806, 2.60173273, -11.1821489, -1.49269007e-020, 6.07863204e-010, 0.999998331, -1, 5.09317831e-011, 1.49269007e-020, 5.09317831e-011, -1.00000334, -6.07863204e-010) | |
| 198 | o15.FormFactor = Enum.FormFactor.Plate | |
| 199 | o15.Size = Vector3.new(2, 0.400000006, 2) | |
| 200 | o15.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 201 | o15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 202 | o15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 203 | o15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 204 | o15.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 205 | o15.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 206 | o15.Color = Color3.new(0.803922, 0.803922, 0.803922) | |
| 207 | o16 = Instance.new("CylinderMesh")
| |
| 208 | o16.Parent = o15 | |
| 209 | o16.Offset = Vector3.new(0, -0.600000024, 0) | |
| 210 | o16.Scale = Vector3.new(0.5, 0.100000001, 0.5) | |
| 211 | myears = Instance.new('Sound')
| |
| 212 | myears.Parent = game.Players.LocalPlayer.Character.Head | |
| 213 | myears.Looped = true | |
| 214 | myears.Name = "Ruski" | |
| 215 | myears.Playing = true | |
| 216 | - | myears.SoundId = "rbxassetid://341851020" |
| 216 | + | myears.SoundId = "rbxassetid://668469323" |
| 217 | - | myears.Volume = .5 |
| 217 | + | myears.Volume = 10 |
| 218 | myears.TimePosition = 0 | |
| 219 | local g = o1:clone() | |
| 220 | g.Parent = game.Players.LocalPlayer.Character | |
| 221 | local C = g:GetChildren() | |
| 222 | for i=1, #C do | |
| 223 | if C[i].className == "Part" then | |
| 224 | local W = Instance.new("Weld")
| |
| 225 | W.Part0 = g.Middle | |
| 226 | W.Part1 = C[i] | |
| 227 | local CJ = CFrame.new(g.Middle.Position) | |
| 228 | local C0 = g.Middle.CFrame:inverse()*CJ | |
| 229 | local C1 = C[i].CFrame:inverse()*CJ | |
| 230 | W.C0 = C0 | |
| 231 | W.C1 = C1 | |
| 232 | W.Parent = g.Middle | |
| 233 | end | |
| 234 | local Y = Instance.new("Weld")
| |
| 235 | Y.Part0 = game.Players.LocalPlayer.Character.Torso | |
| 236 | Y.Part1 = g.Middle | |
| 237 | Y.C0 = CFrame.new(0, 0, 0) | |
| 238 | Y.Parent = Y.Part0 | |
| 239 | end | |
| 240 | ||
| 241 | local h = g:GetChildren() | |
| 242 | for i = 1, # h do | |
| 243 | h[i].Anchored = false | |
| 244 | h[i].CanCollide = false | |
| 245 | end | |
| 246 | ||
| 247 | debounce = 0; | |
| 248 | ||
| 249 | local player = game.Players.LocalPlayer | |
| 250 | repeat wait() until player.Character.Humanoid | |
| 251 | local humanoid = player.Character.Humanoid | |
| 252 | local mouse = player:GetMouse() | |
| 253 | --game.Players.LocalPlayer.Character.Shirt.ShirtTemplate='rbxassetid://473465498' | |
| 254 | ||
| 255 | ||
| 256 | local player=game.Players.LocalPlayer; | |
| 257 | local char=game.Players.LocalPlayer.Character; | |
| 258 | local humanoid = player.Character.Humanoid; | |
| 259 | Tool=Instance.new('Tool', game.Players.LocalPlayer.Backpack);
| |
| 260 | Tool.GripRight=Vector3.new(0.865, 0.105, -0.49); | |
| 261 | Tool.GripUp=Vector3.new(-0.023, 0.985, 0.171); | |
| 262 | Tool.GripPos=Vector3.new(0.064, -0.3, 0.9); | |
| 263 | Tool.GripForward=Vector3.new(0.485, 0.14, -0.863); --0.485, 0.14, -0.863 | |
| 264 | Tool.Name='Tec 9'; | |
| 265 | Handle=Instance.new('Part', Tool);
| |
| 266 | Handle.Name = 'Handle'; | |
| 267 | Handle.BrickColor=BrickColor.new('Really black')
| |
| 268 | Handle.Size=Vector3.new(0.26, 1.11, 4.85); | |
| 269 | Handle.Position=Vector3.new(-5.112, 1.837, -3.734) | |
| 270 | gunfire=Instance.new('Part', Tool)
| |
| 271 | gunfire.Name='GunFire' | |
| 272 | gunfire.Size=Vector3.new(0.2, 0.2, 0.2) | |
| 273 | gunfire.Transparency=1 | |
| 274 | gunfire.Position=Vector3.new(-5.142, 2.582, -5.059) | |
| 275 | gunfirefx=Instance.new('BillboardGui', gunfire)
| |
| 276 | gunfirefx.Enabled=false | |
| 277 | gunfirefx.Adornee = gunfire | |
| 278 | gunfirefx.Size=UDim2.new(1.1, 0, 1.1, 0) | |
| 279 | gunfirefx2=Instance.new('ImageLabel', gunfirefx)
| |
| 280 | gunfirefx2.Image='http://www.roblox.com/asset/?id=117472237' | |
| 281 | gunfirefx2.BackgroundTransparency=1 | |
| 282 | gunfirefx2.Size=UDim2.new(1.2, 0, 1.2, 0) | |
| 283 | ||
| 284 | ||
| 285 | c4mesh=Instance.new('SpecialMesh', Handle);
| |
| 286 | c4mesh.MeshType = 'FileMesh'; | |
| 287 | c4mesh.MeshId='http://www.roblox.com/asset/?id=430355386'; | |
| 288 | c4mesh.TextureId='http://www.roblox.com/asset/?id=430355390'; | |
| 289 | c4mesh.Scale=Vector3.new(0.075, 0.075, 0.075); | |
| 290 | light=Instance.new('PointLight', Handle);
| |
| 291 | light.Color = Color3.new(255, 255, 0) | |
| 292 | light.Range=10; | |
| 293 | light.Enabled=false; | |
| 294 | ||
| 295 | --Weld Connector | |
| 296 | local prev | |
| 297 | local parts = Tool:GetChildren() | |
| 298 | for i = 1,#parts do | |
| 299 | if (parts[i].className == "Part") then | |
| 300 | if (prev ~= nil)then | |
| 301 | local weld = Instance.new("Weld")
| |
| 302 | weld.Part0 = prev | |
| 303 | weld.Part1 = parts[i] | |
| 304 | weld.C0 = prev.CFrame:inverse() | |
| 305 | weld.C1 = parts[i].CFrame:inverse() | |
| 306 | weld.Parent = prev | |
| 307 | end | |
| 308 | prev = parts[i] | |
| 309 | end | |
| 310 | end | |
| 311 | --end | |
| 312 | local Prepare=Instance.new("Animation", player.Character);
| |
| 313 | Prepare.AnimationId="http://www.roblox.com/asset?id=168086975"; | |
| 314 | local playAnim = humanoid:LoadAnimation(Prepare) | |
| 315 | ||
| 316 | local Prepare3=Instance.new("Animation", player.Character);
| |
| 317 | Prepare3.AnimationId="http://www.roblox.com/asset?id=95383474"; | |
| 318 | local Prepare2Play = humanoid:LoadAnimation(Prepare3) | |
| 319 | ||
| 320 | local Prepare2=Instance.new("Animation", player.Character);
| |
| 321 | Prepare2.AnimationId="http://www.roblox.com/asset?id=95383474"; | |
| 322 | local playAnim6 = humanoid:LoadAnimation(Prepare) | |
| 323 | standed=true | |
| 324 | local shoot=Instance.new("Animation", player.Character);
| |
| 325 | shoot.AnimationId="http://www.roblox.com/Asset?ID=94332152"; | |
| 326 | local playAnim2 = humanoid:LoadAnimation(shoot) | |
| 327 | local reload=Instance.new("Animation", player.Character);
| |
| 328 | reload.AnimationId="http://www.roblox.com/Asset?ID=95390631"; | |
| 329 | local playAnim3 = humanoid:LoadAnimation(reload) | |
| 330 | reloadsound=Instance.new('Sound', char.Torso)
| |
| 331 | reloadsound.Volume=4 | |
| 332 | reloadsound.SoundId='rbxassetid://266147528' | |
| 333 | ||
| 334 | equip=Instance.new('Sound', char.Torso)
| |
| 335 | equip.Volume=4 | |
| 336 | equip.SoundId='rbxassetid://131045401' | |
| 337 | ||
| 338 | equip2=Instance.new('Sound', char.Torso)
| |
| 339 | equip2.Volume=4 | |
| 340 | equip2.SoundId='rbxassetid://131045429' | |
| 341 | function equipped(mouse) | |
| 342 | function Shoot() | |
| 343 | if standed==false then | |
| 344 | if debounce == 0 then | |
| 345 | debounce = 1 | |
| 346 | if mouse.Target ~= nil then | |
| 347 | if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil and mouse.Target.Name ~= "Head" then
| |
| 348 | mouse.Target.Parent.Humanoid:TakeDamage(75) | |
| 349 | hit=Instance.new('Sound', mouse.Target.Parent.Torso)
| |
| 350 | ||
| 351 | hit.Volume=7 | |
| 352 | hit.SoundId='rbxassetid://159970596' | |
| 353 | hit:Play() | |
| 354 | elseif mouse.Target.Parent.Parent:findFirstChild("Humanoid") ~= nil then
| |
| 355 | mouse.Target.Parent.Parent.Humanoid:TakeDamage(45) | |
| 356 | ||
| 357 | hit=Instance.new('Sound', mouse.Target.Parent.Parent.Torso)
| |
| 358 | hit.Volume=7 | |
| 359 | hit.SoundId='rbxassetid://159970596' | |
| 360 | hit:Play() | |
| 361 | elseif mouse.Target.Name == "Part" then | |
| 362 | Hit = mouse.hit | |
| 363 | if Hit==nil then return end | |
| 364 | I = Instance.new("Part")
| |
| 365 | I.Parent = game.Workspace | |
| 366 | I.CFrame = Hit | |
| 367 | I.Anchored=true | |
| 368 | I.Transparency=1 | |
| 369 | I.Anchored=true | |
| 370 | I.CanCollide=false | |
| 371 | Pa=Instance.new('ParticleEmitter', I)
| |
| 372 | Pa.Size = NumberSequence.new(0.2) | |
| 373 | Pa.Speed = NumberRange.new(40) | |
| 374 | Pa.Lifetime=NumberRange.new(0.4) | |
| 375 | Pa.RotSpeed = NumberRange.new(-255, 250) | |
| 376 | Pa.Texture = 'rbxassetid://316915922' | |
| 377 | Pa.LightEmission = 0 | |
| 378 | Pa.EmissionDirection='Back' | |
| 379 | Pa.VelocitySpread = 250 | |
| 380 | Pa.Rate = 500 | |
| 381 | -- | |
| 382 | Pa2=Instance.new('ParticleEmitter', I)
| |
| 383 | Pa2.Size = NumberSequence.new(0.2) | |
| 384 | Pa2.Speed = NumberRange.new(40) | |
| 385 | Pa2.Lifetime=NumberRange.new(0.4) | |
| 386 | Pa2.RotSpeed = NumberRange.new(-255, 250) | |
| 387 | Pa2.Texture = 'rbxassetid://316915922' | |
| 388 | Pa2.LightEmission = 0 | |
| 389 | Pa2.EmissionDirection='Back' | |
| 390 | Pa2.VelocitySpread = 250 | |
| 391 | Pa2.Rate = 1000 | |
| 392 | -- | |
| 393 | Pa3=Instance.new('ParticleEmitter', I)
| |
| 394 | Pa3.Size = NumberSequence.new(0.2) | |
| 395 | Pa3.Speed = NumberRange.new(40) | |
| 396 | Pa3.Lifetime=NumberRange.new(0.4) | |
| 397 | Pa3.RotSpeed = NumberRange.new(-255, 250) | |
| 398 | Pa3.Texture = 'rbxassetid://316915922' | |
| 399 | Pa3.LightEmission = 0 | |
| 400 | Pa3.EmissionDirection='Back' | |
| 401 | Pa3.VelocitySpread = 250 | |
| 402 | Pa3.Rate = 1000 | |
| 403 | ||
| 404 | -- | |
| 405 | Pa4=Instance.new('ParticleEmitter', I)
| |
| 406 | Pa4.Size = NumberSequence.new(0.4) | |
| 407 | Pa4.Speed = NumberRange.new(40) | |
| 408 | Pa4.Lifetime=NumberRange.new(0.4) | |
| 409 | Pa4.RotSpeed = NumberRange.new(-255, 250) | |
| 410 | Pa4.Texture = 'rbxassetid://316915922' | |
| 411 | Pa4.LightEmission = 0 | |
| 412 | Pa4.EmissionDirection='Back' | |
| 413 | Pa4.VelocitySpread = 250 | |
| 414 | Pa4.Rate = 1000 | |
| 415 | ||
| 416 | wait(0.1) | |
| 417 | Pa.Enabled=false | |
| 418 | Pa2.Enabled=false | |
| 419 | Pa3.Enabled=false | |
| 420 | Pa4.Enabled=false | |
| 421 | ||
| 422 | hit=Instance.new('Sound', I)
| |
| 423 | hit.Volume=5 | |
| 424 | hit.SoundId='rbxassetid://159970596' | |
| 425 | hit:Play() | |
| 426 | ||
| 427 | hit2=Instance.new('Sound', I)
| |
| 428 | hit2.Volume=14 | |
| 429 | hit2.SoundId='rbxassetid://516789356' | |
| 430 | hit2:Play() | |
| 431 | end | |
| 432 | end | |
| 433 | ||
| 434 | playAnim2:Play() | |
| 435 | Prepare2Play:Stop() | |
| 436 | light.Enabled=true; | |
| 437 | gunfirefx.Enabled=true | |
| 438 | shootsound=Instance.new('Sound', char.Torso)
| |
| 439 | shootsound.Volume=3 | |
| 440 | shootsound.SoundId='rbxassetid://149355375' | |
| 441 | shootsound:Play() | |
| 442 | wait(0.01) | |
| 443 | light.Enabled=false; | |
| 444 | gunfirefx.Enabled=false | |
| 445 | ||
| 446 | wait(0.001) | |
| 447 | Prepare2Play:Play() | |
| 448 | debounce = 0 | |
| 449 | end | |
| 450 | end end | |
| 451 | mouse.Button1Down:connect(Shoot) | |
| 452 | end | |
| 453 | ||
| 454 | Tool.Equipped:connect(equipped) | |
| 455 | ||
| 456 | local player = game.Players.LocalPlayer | |
| 457 | repeat wait() until player.Character.Humanoid | |
| 458 | local humanoid = player.Character.Humanoid | |
| 459 | local mouse = player:GetMouse() | |
| 460 | ||
| 461 | local reload=Instance.new("Animation", player.Character);
| |
| 462 | reload.AnimationId="http://www.roblox.com/Asset?ID=95384819"; | |
| 463 | local playAnim3 = humanoid:LoadAnimation(reload) | |
| 464 | reloading=false | |
| 465 | mouse.KeyDown:connect(function(key) | |
| 466 | if key == "r" then | |
| 467 | if reloading==true then | |
| 468 | playAnim3:Play() | |
| 469 | reloadsound:Play() | |
| 470 | wait(2) | |
| 471 | playAnim3:Stop() | |
| 472 | end end | |
| 473 | end) | |
| 474 | mouse.KeyDown:connect(function(key) | |
| 475 | if key == "q" then | |
| 476 | if reloading==true then | |
| 477 | if standed==false then | |
| 478 | standed=true | |
| 479 | Prepare2Play:Stop() | |
| 480 | equip2:Play() | |
| 481 | wait() | |
| 482 | playAnim:Play() | |
| 483 | Tool.GripForward=Vector3.new(0.485, 0.14, -0.863); --0.485, 0.14, -0.863 | |
| 484 | elseif standed==true then | |
| 485 | standed=false | |
| 486 | playAnim:Stop() | |
| 487 | wait() | |
| 488 | Prepare2Play:Play() | |
| 489 | equip:Play() | |
| 490 | Tool.GripForward=Vector3.new(-0.501, 0.137, -0.855); | |
| 491 | end end end | |
| 492 | end) | |
| 493 | stfu=false | |
| 494 | function equipped() | |
| 495 | wait() | |
| 496 | stfu=true | |
| 497 | wait() | |
| 498 | playAnim:Play() | |
| 499 | equip:Play() | |
| 500 | reloading=true | |
| 501 | end | |
| 502 | ||
| 503 | function unequipped() | |
| 504 | wait() | |
| 505 | playAnim:Stop() | |
| 506 | reloading=false | |
| 507 | Prepare2Play:Stop() | |
| 508 | stfu=false | |
| 509 | end | |
| 510 | ||
| 511 | Tool.Equipped:connect(equipped) | |
| 512 | Tool.Unequipped:connect(unequipped) | |
| 513 | ||
| 514 | ||
| 515 | --STFU | |
| 516 | stfuu=Instance.new('Sound', char.Torso)
| |
| 517 | stfuu.Volume=3 | |
| 518 | stfuu.Pitch=6.8 | |
| 519 | stfuu.SoundId='rbxassetid://261303790' | |
| 520 | mouse.KeyDown:connect(function(key) | |
| 521 | if key == "z" then | |
| 522 | if stfu==true then | |
| 523 | stfuu:Play() | |
| 524 | game:GetService("Chat"):Chat(char.Head, "SHUT THE FUCK UP U CUNT", Enum.ChatColor.Red)
| |
| 525 | wait(2) | |
| 526 | end end | |
| 527 | end) | |
| 528 | ||
| 529 | ||
| 530 | --- | |
| 531 | ||
| 532 | --Masked | |
| 533 | local player = game.Players.LocalPlayer | |
| 534 | repeat wait() until player.Character.Humanoid | |
| 535 | local humanoid = player.Character.Humanoid | |
| 536 | local mouse = player:GetMouse() | |
| 537 | equipsound = Instance.new('Sound', player.Character.Torso)
| |
| 538 | equipsound.Volume=3 | |
| 539 | equipsound.SoundId='rbxassetid://153647514' | |
| 540 | ||
| 541 | local anim5 = Instance.new("Animation", player.Character)
| |
| 542 | anim5.AnimationId = "http://www.roblox.com/asset/?id=28492456" | |
| 543 | local playAnim10 = humanoid:LoadAnimation(anim5) | |
| 544 | plyr = player | |
| 545 | --p = game:GetService("InsertService"):LoadAsset(304085055)
| |
| 546 | --p.Name='IsMasked' | |
| 547 | --p.Parent = game.Workspace | |
| 548 | ismasked=false | |
| 549 | maskhat=Instance.new('Hat', game.Workspace)
| |
| 550 | maskhat.Name='IsMasked' | |
| 551 | maskhat.AttachmentForward=Vector3.new(0, 0, 0.1); | |
| 552 | maskhat.AttachmentPos=Vector3.new(0, 0.8, -0.05); | |
| 553 | maskhat.AttachmentRight=Vector3.new(1, 0, 0); | |
| 554 | maskhat.AttachmentUp=Vector3.new(0, 1, 0); | |
| 555 | maskhandle=Instance.new('Part', maskhat)
| |
| 556 | maskhandle.Name='Handle'; | |
| 557 | maskhandle.Anchored=false | |
| 558 | maskhandle.Size=Vector3.new(1.33, 1, 1.7) | |
| 559 | maskmeshh=Instance.new('SpecialMesh', maskhandle)
| |
| 560 | maskmeshh.MeshType='FileMesh' | |
| 561 | maskmeshh.MeshId='http://www.roblox.com/asset/?id=304084512' | |
| 562 | maskmeshh.TextureId='http://www.roblox.com/asset/?id=304083165' | |
| 563 | wait(0.001) | |
| 564 | game.Workspace.IsMasked.Parent = plyr.Character | |
| 565 | ||
| 566 | maskhandle.Transparency=1 | |
| 567 | mouse.KeyDown:connect(function(key) | |
| 568 | if key == "f" then | |
| 569 | if ismasked==false then | |
| 570 | ismasked=true | |
| 571 | Handle.Transparency=1 | |
| 572 | playAnim10:Play() | |
| 573 | wait(0.5) | |
| 574 | playAnim10:Stop() | |
| 575 | equipsound:Play() | |
| 576 | Handle.Transparency=0 | |
| 577 | player.Character.Humanoid.DisplayDistanceType='None' | |
| 578 | maskhandle.Transparency=0 | |
| 579 | ||
| 580 | elseif ismasked==true then | |
| 581 | ismasked=false | |
| 582 | Handle.Transparency=1 | |
| 583 | playAnim10:Play() | |
| 584 | wait(0.5) | |
| 585 | playAnim10:Stop() | |
| 586 | equipsound:Play() | |
| 587 | player.Character.Humanoid.DisplayDistanceType='Viewer' | |
| 588 | maskhandle.Transparency=1 | |
| 589 | Handle.Transparency=0 | |
| 590 | end | |
| 591 | end | |
| 592 | ||
| 593 | end) |