SHOW:
|
|
- or go back to the newest paste.
| 1 | -- This script has been converted to FE by iPxter | |
| 2 | ||
| 3 | ||
| 4 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 5 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
| 6 | do | |
| 7 | print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
| |
| 8 | script.Parent = Player.Character | |
| 9 | ||
| 10 | --RemoteEvent for communicating | |
| 11 | local Event = Instance.new("RemoteEvent")
| |
| 12 | Event.Name = "UserInput_Event" | |
| 13 | ||
| 14 | --Fake event to make stuff like Mouse.KeyDown work | |
| 15 | local function fakeEvent() | |
| 16 | local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
| |
| 17 | t.connect = t.Connect | |
| 18 | return t | |
| 19 | end | |
| 20 | ||
| 21 | --Creating fake input objects with fake variables | |
| 22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
| |
| 23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 26 | end} | |
| 27 | --Merged 2 functions into one by checking amount of arguments | |
| 28 | CAS.UnbindAction = CAS.BindAction | |
| 29 | ||
| 30 | --This function will trigger the events that have been :Connect()'ed | |
| 31 | local function te(self,ev,...) | |
| 32 | local t = m[ev] | |
| 33 | if t and t._fakeEvent and t.Function then | |
| 34 | t.Function(...) | |
| 35 | end | |
| 36 | end | |
| 37 | m.TrigEvent = te | |
| 38 | UIS.TrigEvent = te | |
| 39 | ||
| 40 | Event.OnServerEvent:Connect(function(plr,io) | |
| 41 | if plr~=Player then return end | |
| 42 | if io.isMouse then | |
| 43 | m.Target = io.Target | |
| 44 | m.Hit = io.Hit | |
| 45 | else | |
| 46 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 47 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 48 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
| 49 | end | |
| 50 | for _,t in pairs(CAS.Actions) do | |
| 51 | for _,k in pairs(t.Keys) do | |
| 52 | if k==io.KeyCode then | |
| 53 | t.Function(t.Name,io.UserInputState,io) | |
| 54 | end | |
| 55 | end | |
| 56 | end | |
| 57 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 58 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 59 | end | |
| 60 | end) | |
| 61 | Event.Parent = NLS([==[ | |
| 62 | local Player = game:GetService("Players").LocalPlayer
| |
| 63 | local Event = script:WaitForChild("UserInput_Event")
| |
| 64 | ||
| 65 | local UIS = game:GetService("UserInputService")
| |
| 66 | local input = function(io,a) | |
| 67 | if a then return end | |
| 68 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 69 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
| |
| 70 | end | |
| 71 | UIS.InputBegan:Connect(input) | |
| 72 | UIS.InputEnded:Connect(input) | |
| 73 | ||
| 74 | local Mouse = Player:GetMouse() | |
| 75 | local h,t | |
| 76 | --Give the server mouse data 30 times every second, but only if the values changed | |
| 77 | --If player is not moving their mouse, client won't fire events | |
| 78 | while wait(1/30) do | |
| 79 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 80 | h,t=Mouse.Hit,Mouse.Target | |
| 81 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 82 | end | |
| 83 | end]==],Player.Character) | |
| 84 | Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS | |
| 85 | end | |
| 86 | --Soviet Shooter script by edited by jericoalejo Credits to DMS ok bai (if your using exploit press f4 to see it is loaded | |
| 87 | o1 = Instance.new("Model")
| |
| 88 | o1.Name = "Vest" | |
| 89 | o2 = Instance.new("Part")
| |
| 90 | o2.Name = "Middle" | |
| 91 | o2.Parent = o1 | |
| 92 | o2.BrickColor = BrickColor.new("Brick yellow")
| |
| 93 | o2.Transparency = 1 | |
| 94 | o2.Position = Vector3.new(0.139906004, 1.05800402, -11.1099901) | |
| 95 | o2.Anchored = true | |
| 96 | o2.CFrame = CFrame.new(0.139906004, 1.05800402, -11.1099901, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 97 | o2.CanCollide = false | |
| 98 | o2.FormFactor = Enum.FormFactor.Symmetric | |
| 99 | o2.Size = Vector3.new(2, 2, 1) | |
| 100 | o2.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 101 | o2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 102 | o2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 103 | o2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 104 | o2.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 105 | o2.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 106 | o2.Color = Color3.new(0.843137, 0.772549, 0.603922) | |
| 107 | o3 = Instance.new("Part")
| |
| 108 | o3.Name = "Pack" | |
| 109 | o3.Parent = o1 | |
| 110 | o3.BrickColor = BrickColor.new("Dark stone grey")
| |
| 111 | o3.Position = Vector3.new(0.139907002, 1.07000601, -10.3049936) | |
| 112 | o3.Rotation = Vector3.new(-180, 0, -180) | |
| 113 | o3.Anchored = true | |
| 114 | o3.CFrame = CFrame.new(0.139907002, 1.07000601, -10.3049936, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 115 | o3.CanCollide = false | |
| 116 | o3.FormFactor = Enum.FormFactor.Custom | |
| 117 | o3.Size = Vector3.new(1.65999985, 1.80000019, 0.630000472) | |
| 118 | o3.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 119 | o3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 120 | o3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 121 | o3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 122 | o3.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 123 | o3.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 124 | o3.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
| 125 | o4 = Instance.new("Part")
| |
| 126 | o4.Name = "Strap" | |
| 127 | o4.Parent = o1 | |
| 128 | o4.BrickColor = BrickColor.new("Black")
| |
| 129 | o4.Position = Vector3.new(0.66991502, 1.05500698, -11.1149797) | |
| 130 | o4.Anchored = true | |
| 131 | o4.CFrame = CFrame.new(0.66991502, 1.05500698, -11.1149797, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 132 | o4.CanCollide = false | |
| 133 | o4.FormFactor = Enum.FormFactor.Custom | |
| 134 | o4.Size = Vector3.new(0.259999752, 2.11000037, 1.15000045) | |
| 135 | o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 136 | o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 137 | o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 138 | o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 139 | o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 140 | o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 141 | o4.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 142 | o5 = Instance.new("Part")
| |
| 143 | o5.Name = "Flap" | |
| 144 | o5.Parent = o1 | |
| 145 | o5.BrickColor = BrickColor.new("Black")
| |
| 146 | o5.Position = Vector3.new(0.139905006, 1.85000098, -10.2900219) | |
| 147 | o5.Anchored = true | |
| 148 | o5.CFrame = CFrame.new(0.139905006, 1.85000098, -10.2900219, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 149 | o5.CanCollide = false | |
| 150 | o5.FormFactor = Enum.FormFactor.Custom | |
| 151 | o5.Size = Vector3.new(1.71999979, 0.400000006, 0.639999866) | |
| 152 | o5.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 153 | o5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 154 | o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 155 | o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 156 | o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 157 | o5.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 158 | o5.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 159 | o6 = Instance.new("Part")
| |
| 160 | o6.Name = "Pocket" | |
| 161 | o6.Parent = o1 | |
| 162 | o6.BrickColor = BrickColor.new("Black")
| |
| 163 | o6.Position = Vector3.new(0.149883002, 0.860005975, -10.0399857) | |
| 164 | o6.Rotation = Vector3.new(-0, 0, -90) | |
| 165 | o6.Anchored = true | |
| 166 | o6.CFrame = CFrame.new(0.149883002, 0.860005975, -10.0399857, 0, 1, 0, -1, 0, 0, 0, 0, 1) | |
| 167 | o6.CanCollide = false | |
| 168 | o6.FormFactor = Enum.FormFactor.Custom | |
| 169 | o6.Size = Vector3.new(0.600000024, 0.800000131, 0.200000003) | |
| 170 | o6.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 171 | o6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 172 | o6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 173 | o6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 174 | o6.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 175 | o6.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 176 | o6.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 177 | o7 = Instance.new("Part")
| |
| 178 | o7.Name = "Pocket" | |
| 179 | o7.Parent = o1 | |
| 180 | o7.BrickColor = BrickColor.new("Black")
| |
| 181 | o7.Position = Vector3.new(0.139600992, 1.10000801, -10.3099718) | |
| 182 | o7.Rotation = Vector3.new(-90, 90, 0) | |
| 183 | o7.Anchored = true | |
| 184 | o7.CFrame = CFrame.new(0.139600992, 1.10000801, -10.3099718, 0, 0, 1, -1, 0, 0, 0, -1, 0) | |
| 185 | o7.CanCollide = false | |
| 186 | o7.FormFactor = Enum.FormFactor.Custom | |
| 187 | o7.Size = Vector3.new(0.600000024, 0.400000155, 1.70000005) | |
| 188 | o7.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 189 | o7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 190 | o7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 191 | o7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 192 | o7.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 193 | o7.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 194 | o7.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 195 | o8 = Instance.new("Part")
| |
| 196 | o8.Name = "Strap" | |
| 197 | o8.Parent = o1 | |
| 198 | o8.BrickColor = BrickColor.new("Black")
| |
| 199 | o8.Position = Vector3.new(-0.37014699, 1.05500698, -11.1149921) | |
| 200 | o8.Anchored = true | |
| 201 | o8.CFrame = CFrame.new(-0.37014699, 1.05500698, -11.1149921, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 202 | o8.CanCollide = false | |
| 203 | o8.FormFactor = Enum.FormFactor.Custom | |
| 204 | o8.Size = Vector3.new(0.259999752, 2.11000037, 1.15000045) | |
| 205 | o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 206 | o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 207 | o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 208 | o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 209 | o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 210 | o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 211 | o8.Color = Color3.new(0.105882, 0.164706, 0.207843) | |
| 212 | - | myears.Parent = game.Players.LocalPlayer.Character.Head |
| 212 | + | |
| 213 | o9.Parent = o1 | |
| 214 | o9.BrickColor = BrickColor.new("Really black")
| |
| 215 | o9.Reflectance = 0.10000000149012 | |
| 216 | o9.Position = Vector3.new(0.173590899, 4.00173569, -9.98207664) | |
| 217 | o9.Rotation = Vector3.new(2.9181666e-009, -3.48279983e-008, -8.55249798e-019) | |
| 218 | o9.Anchored = true | |
| 219 | 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) | |
| 220 | - | g.Parent = game.Players.LocalPlayer.Character |
| 220 | + | |
| 221 | o9.Size = Vector3.new(2, 4.80000019, 2) | |
| 222 | o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 223 | o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 224 | o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 225 | o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 226 | o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 227 | o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 228 | o9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 229 | o10 = Instance.new("SpecialMesh")
| |
| 230 | o10.Parent = o9 | |
| 231 | o10.Scale = Vector3.new(0.600000024, 1, 0.600000024) | |
| 232 | o10.MeshType = Enum.MeshType.Brick | |
| 233 | o11 = Instance.new("Part")
| |
| 234 | o11.Parent = o1 | |
| 235 | - | Y.Part0 = game.Players.LocalPlayer.Character.Torso |
| 235 | + | |
| 236 | o11.Reflectance = 0.20000000298023 | |
| 237 | o11.Position = Vector3.new(0.173592806, 4.10173273, -11.1821489) | |
| 238 | o11.Rotation = Vector3.new(-180, 89.8953247, -90) | |
| 239 | o11.Anchored = true | |
| 240 | 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) | |
| 241 | o11.FormFactor = Enum.FormFactor.Plate | |
| 242 | o11.Size = Vector3.new(1, 0.400000006, 2) | |
| 243 | o11.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 244 | o11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 245 | o11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 246 | o11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 247 | o11.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 248 | o11.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 249 | - | local player = game.Players.LocalPlayer |
| 249 | + | |
| 250 | o12 = Instance.new("CylinderMesh")
| |
| 251 | o12.Parent = o11 | |
| 252 | o12.Offset = Vector3.new(0, -0.600000024, 0) | |
| 253 | - | --game.Players.LocalPlayer.Character.Shirt.ShirtTemplate='rbxassetid://473465498' |
| 253 | + | |
| 254 | o13 = Instance.new("Part")
| |
| 255 | o13.Parent = o1 | |
| 256 | - | local player=game.Players.LocalPlayer; |
| 256 | + | |
| 257 | - | local char=game.Players.LocalPlayer.Character; |
| 257 | + | |
| 258 | o13.Position = Vector3.new(0.173592806, 5.60169125, -11.1821489) | |
| 259 | - | Tool=Instance.new('Tool', game.Players.LocalPlayer.Backpack);
|
| 259 | + | |
| 260 | o13.Anchored = true | |
| 261 | 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) | |
| 262 | o13.FormFactor = Enum.FormFactor.Plate | |
| 263 | o13.Size = Vector3.new(2, 0.400000006, 2) | |
| 264 | o13.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 265 | o13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 266 | o13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 267 | o13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 268 | o13.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 269 | o13.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 270 | o13.Color = Color3.new(0.803922, 0.803922, 0.803922) | |
| 271 | o14 = Instance.new("CylinderMesh")
| |
| 272 | o14.Parent = o13 | |
| 273 | o14.Offset = Vector3.new(0, -0.600000024, 0) | |
| 274 | o14.Scale = Vector3.new(0.5, 0.100000001, 0.5) | |
| 275 | o15 = Instance.new("Part")
| |
| 276 | o15.Parent = o1 | |
| 277 | o15.BrickColor = BrickColor.new("Mid gray")
| |
| 278 | o15.Reflectance = 0.20000000298023 | |
| 279 | o15.Position = Vector3.new(0.173592806, 2.60173273, -11.1821489) | |
| 280 | o15.Rotation = Vector3.new(-180, 89.8953247, -90) | |
| 281 | o15.Anchored = true | |
| 282 | 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) | |
| 283 | o15.FormFactor = Enum.FormFactor.Plate | |
| 284 | o15.Size = Vector3.new(2, 0.400000006, 2) | |
| 285 | o15.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 286 | o15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 287 | o15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 288 | o15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 289 | o15.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 290 | o15.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 291 | o15.Color = Color3.new(0.803922, 0.803922, 0.803922) | |
| 292 | o16 = Instance.new("CylinderMesh")
| |
| 293 | o16.Parent = o15 | |
| 294 | o16.Offset = Vector3.new(0, -0.600000024, 0) | |
| 295 | o16.Scale = Vector3.new(0.5, 0.100000001, 0.5) | |
| 296 | myears = Instance.new('Sound')
| |
| 297 | myears.Parent = game.Players.jericoalejo2.Character.Head | |
| 298 | myears.Looped = true | |
| 299 | myears.Name = "Ruski" | |
| 300 | myears.Playing = true | |
| 301 | myears.SoundId = "rbxassetid://233173953" | |
| 302 | myears.Volume = .5 | |
| 303 | myears.TimePosition = 0 | |
| 304 | local g = o1:clone() | |
| 305 | g.Parent = game.Players.jericalejo2.Character | |
| 306 | local C = g:GetChildren() | |
| 307 | for i=1, #C do | |
| 308 | if C[i].className == "Part" then | |
| 309 | local W = Instance.new("Weld")
| |
| 310 | W.Part0 = g.Middle | |
| 311 | W.Part1 = C[i] | |
| 312 | local CJ = CFrame.new(g.Middle.Position) | |
| 313 | local C0 = g.Middle.CFrame:inverse()*CJ | |
| 314 | local C1 = C[i].CFrame:inverse()*CJ | |
| 315 | W.C0 = C0 | |
| 316 | W.C1 = C1 | |
| 317 | W.Parent = g.Middle | |
| 318 | end | |
| 319 | local Y = Instance.new("Weld")
| |
| 320 | Y.Part0 = game.Players.jericoalejo2.Character.Torso | |
| 321 | Y.Part1 = g.Middle | |
| 322 | Y.C0 = CFrame.new(0, 0, 0) | |
| 323 | Y.Parent = Y.Part0 | |
| 324 | end | |
| 325 | ||
| 326 | local h = g:GetChildren() | |
| 327 | for i = 1, # h do | |
| 328 | h[i].Anchored = false | |
| 329 | h[i].CanCollide = false | |
| 330 | end | |
| 331 | ||
| 332 | debounce = 0; | |
| 333 | ||
| 334 | local player = game.Players.jericoalejo2 | |
| 335 | repeat wait() until player.Character.Humanoid | |
| 336 | local humanoid = player.Character.Humanoid | |
| 337 | local mouse = player:GetMouse() | |
| 338 | --game.Players.jericoalejo2.Character.Shirt.ShirtTemplate='rbxassetid://473465498' | |
| 339 | ||
| 340 | ||
| 341 | local player=game.Players.jericoalejo; | |
| 342 | local char=game.Players.jericoalejo.Character; | |
| 343 | local humanoid = player.Character.Humanoid; | |
| 344 | Tool=Instance.new('Tool', game.Players.jericoalejo.Backpack);
| |
| 345 | Tool.GripRight=Vector3.new(0.865, 0.105, -0.49); | |
| 346 | Tool.GripUp=Vector3.new(-0.023, 0.985, 0.171); | |
| 347 | Tool.GripPos=Vector3.new(0.064, -0.3, 0.9); | |
| 348 | Tool.GripForward=Vector3.new(0.485, 0.14, -0.863); --0.485, 0.14, -0.863 | |
| 349 | Tool.Name='M1Grand Rifle'; | |
| 350 | Handle=Instance.new('Part', Tool);
| |
| 351 | Handle.Name = 'Handle'; | |
| 352 | Handle.BrickColor=BrickColor.new('Really black')
| |
| 353 | Handle.Size=Vector3.new(0.26, 1.11, 4.85); | |
| 354 | Handle.Position=Vector3.new(-5.112, 1.837, -3.734) | |
| 355 | gunfire=Instance.new('Part', Tool)
| |
| 356 | gunfire.Name='GunFire' | |
| 357 | gunfire.Size=Vector3.new(0.2, 0.2, 0.2) | |
| 358 | gunfire.Transparency=1 | |
| 359 | gunfire.Position=Vector3.new(-5.142, 2.582, -5.059) | |
| 360 | gunfirefx=Instance.new('BillboardGui', gunfire)
| |
| 361 | gunfirefx.Enabled=false | |
| 362 | gunfirefx.Adornee = gunfire | |
| 363 | gunfirefx.Size=UDim2.new(1.1, 0, 1.1, 0) | |
| 364 | gunfirefx2=Instance.new('ImageLabel', gunfirefx)
| |
| 365 | gunfirefx2.Image='http://www.roblox.com/asset/?id=117472237' | |
| 366 | gunfirefx2.BackgroundTransparency=1 | |
| 367 | gunfirefx2.Size=UDim2.new(1.2, 0, 1.2, 0) | |
| 368 | ||
| 369 | ||
| 370 | c4mesh=Instance.new('SpecialMesh', Handle);
| |
| 371 | c4mesh.MeshType = 'FileMesh'; | |
| 372 | c4mesh.MeshId='http://www.roblox.com/asset/?id=94287666'; | |
| 373 | c4mesh.TextureId='http://www.roblox.com/asset/?id=94287792'; | |
| 374 | c4mesh.Scale=Vector3.new(1.175, 1.175, 1.175); | |
| 375 | light=Instance.new('PointLight', Handle);
| |
| 376 | light.Color = Color3.new(255, 255, 0) | |
| 377 | light.Range=10; | |
| 378 | light.Enabled=false; | |
| 379 | ||
| 380 | --Weld Connector | |
| 381 | local prev | |
| 382 | local parts = Tool:GetChildren() | |
| 383 | for i = 1,#parts do | |
| 384 | if (parts[i].className == "Part") then | |
| 385 | if (prev ~= nil)then | |
| 386 | local weld = Instance.new("Weld")
| |
| 387 | weld.Part0 = prev | |
| 388 | weld.Part1 = parts[i] | |
| 389 | weld.C0 = prev.CFrame:inverse() | |
| 390 | weld.C1 = parts[i].CFrame:inverse() | |
| 391 | weld.Parent = prev | |
| 392 | end | |
| 393 | prev = parts[i] | |
| 394 | end | |
| 395 | end | |
| 396 | --end | |
| 397 | local Prepare=Instance.new("Animation", player.Character);
| |
| 398 | Prepare.AnimationId="http://www.roblox.com/asset?id=168086975"; | |
| 399 | local playAnim = humanoid:LoadAnimation(Prepare) | |
| 400 | ||
| 401 | local Prepare3=Instance.new("Animation", player.Character);
| |
| 402 | Prepare3.AnimationId="http://www.roblox.com/asset?id=95383474"; | |
| 403 | local Prepare2Play = humanoid:LoadAnimation(Prepare3) | |
| 404 | ||
| 405 | local Prepare2=Instance.new("Animation", player.Character);
| |
| 406 | Prepare2.AnimationId="http://www.roblox.com/asset?id=95383474"; | |
| 407 | local playAnim6 = humanoid:LoadAnimation(Prepare) | |
| 408 | standed=true | |
| 409 | local shoot=Instance.new("Animation", player.Character);
| |
| 410 | shoot.AnimationId="http://www.roblox.com/Asset?ID=94332152"; | |
| 411 | local playAnim2 = humanoid:LoadAnimation(shoot) | |
| 412 | local reload=Instance.new("Animation", player.Character);
| |
| 413 | reload.AnimationId="http://www.roblox.com/Asset?ID=95390631"; | |
| 414 | local playAnim3 = humanoid:LoadAnimation(reload) | |
| 415 | reloadsound=Instance.new('Sound', char.Torso)
| |
| 416 | reloadsound.Volume=4 | |
| 417 | reloadsound.SoundId='rbxassetid://266147528' | |
| 418 | ||
| 419 | equip=Instance.new('Sound', char.Torso)
| |
| 420 | equip.Volume=4 | |
| 421 | equip.SoundId='rbxassetid://131045401' | |
| 422 | ||
| 423 | equip2=Instance.new('Sound', char.Torso)
| |
| 424 | equip2.Volume=4 | |
| 425 | equip2.SoundId='rbxassetid://131045429' | |
| 426 | function equipped(mouse) | |
| 427 | function Shoot() | |
| 428 | if standed==false then | |
| 429 | if debounce == 0 then | |
| 430 | debounce = 1 | |
| 431 | if mouse.Target ~= nil then | |
| 432 | if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil and mouse.Target.Name ~= "Head" then
| |
| 433 | mouse.Target.Parent.Humanoid:TakeDamage(75) | |
| 434 | hit=Instance.new('Sound', mouse.Target.Parent.Torso)
| |
| 435 | ||
| 436 | hit.Volume=7 | |
| 437 | hit.SoundId='rbxassetid://159970596' | |
| 438 | hit:Play() | |
| 439 | elseif mouse.Target.Parent.Parent:findFirstChild("Humanoid") ~= nil then
| |
| 440 | mouse.Target.Parent.Parent.Humanoid:TakeDamage(45) | |
| 441 | ||
| 442 | hit=Instance.new('Sound', mouse.Target.Parent.Parent.Torso)
| |
| 443 | hit.Volume=7 | |
| 444 | hit.SoundId='rbxassetid://159970596' | |
| 445 | hit:Play() | |
| 446 | elseif mouse.Target.Name == "Part" then | |
| 447 | Hit = mouse.hit | |
| 448 | if Hit==nil then return end | |
| 449 | I = Instance.new("Part")
| |
| 450 | I.Parent = game.Workspace | |
| 451 | I.CFrame = Hit | |
| 452 | I.Anchored=true | |
| 453 | I.Transparency=1 | |
| 454 | I.Anchored=true | |
| 455 | I.CanCollide=false | |
| 456 | - | local player = game.Players.LocalPlayer |
| 456 | + | |
| 457 | Pa.Size = NumberSequence.new(0.2) | |
| 458 | Pa.Speed = NumberRange.new(40) | |
| 459 | Pa.Lifetime=NumberRange.new(0.4) | |
| 460 | Pa.RotSpeed = NumberRange.new(-255, 250) | |
| 461 | Pa.Texture = 'rbxassetid://316915922' | |
| 462 | Pa.LightEmission = 0 | |
| 463 | Pa.EmissionDirection='Back' | |
| 464 | Pa.VelocitySpread = 250 | |
| 465 | Pa.Rate = 500 | |
| 466 | -- | |
| 467 | Pa2=Instance.new('ParticleEmitter', I)
| |
| 468 | Pa2.Size = NumberSequence.new(0.2) | |
| 469 | Pa2.Speed = NumberRange.new(40) | |
| 470 | Pa2.Lifetime=NumberRange.new(0.4) | |
| 471 | Pa2.RotSpeed = NumberRange.new(-255, 250) | |
| 472 | Pa2.Texture = 'rbxassetid://316915922' | |
| 473 | Pa2.LightEmission = 0 | |
| 474 | Pa2.EmissionDirection='Back' | |
| 475 | Pa2.VelocitySpread = 250 | |
| 476 | Pa2.Rate = 1000 | |
| 477 | -- | |
| 478 | Pa3=Instance.new('ParticleEmitter', I)
| |
| 479 | Pa3.Size = NumberSequence.new(0.2) | |
| 480 | Pa3.Speed = NumberRange.new(40) | |
| 481 | Pa3.Lifetime=NumberRange.new(0.4) | |
| 482 | Pa3.RotSpeed = NumberRange.new(-255, 250) | |
| 483 | Pa3.Texture = 'rbxassetid://316915922' | |
| 484 | Pa3.LightEmission = 0 | |
| 485 | Pa3.EmissionDirection='Back' | |
| 486 | Pa3.VelocitySpread = 250 | |
| 487 | Pa3.Rate = 1000 | |
| 488 | ||
| 489 | -- | |
| 490 | Pa4=Instance.new('ParticleEmitter', I)
| |
| 491 | Pa4.Size = NumberSequence.new(0.4) | |
| 492 | Pa4.Speed = NumberRange.new(40) | |
| 493 | Pa4.Lifetime=NumberRange.new(0.4) | |
| 494 | Pa4.RotSpeed = NumberRange.new(-255, 250) | |
| 495 | Pa4.Texture = 'rbxassetid://316915922' | |
| 496 | Pa4.LightEmission = 0 | |
| 497 | Pa4.EmissionDirection='Back' | |
| 498 | Pa4.VelocitySpread = 250 | |
| 499 | Pa4.Rate = 1000 | |
| 500 | ||
| 501 | wait(0.1) | |
| 502 | Pa.Enabled=false | |
| 503 | Pa2.Enabled=false | |
| 504 | Pa3.Enabled=false | |
| 505 | Pa4.Enabled=false | |
| 506 | ||
| 507 | hit=Instance.new('Sound', I)
| |
| 508 | hit.Volume=5 | |
| 509 | hit.SoundId='rbxassetid://159970596' | |
| 510 | hit:Play() | |
| 511 | ||
| 512 | hit2=Instance.new('Sound', I)
| |
| 513 | hit2.Volume=14 | |
| 514 | hit2.SoundId='rbxassetid://516789356' | |
| 515 | hit2:Play() | |
| 516 | end | |
| 517 | end | |
| 518 | ||
| 519 | playAnim2:Play() | |
| 520 | Prepare2Play:Stop() | |
| 521 | light.Enabled=true; | |
| 522 | gunfirefx.Enabled=true | |
| 523 | shootsound=Instance.new('Sound', char.Torso)
| |
| 524 | shootsound.Volume=3 | |
| 525 | shootsound.SoundId='rbxassetid://94125590' | |
| 526 | shootsound:Play() | |
| 527 | wait(0.01) | |
| 528 | light.Enabled=false; | |
| 529 | gunfirefx.Enabled=false | |
| 530 | ||
| 531 | wait(0.001) | |
| 532 | Prepare2Play:Play() | |
| 533 | - | local player = game.Players.LocalPlayer |
| 533 | + | |
| 534 | end | |
| 535 | end end | |
| 536 | mouse.Button1Down:connect(Shoot) | |
| 537 | end | |
| 538 | ||
| 539 | Tool.Equipped:connect(equipped) | |
| 540 | ||
| 541 | local player = game.Players.jericoalejo2 | |
| 542 | repeat wait() until player.Character.Humanoid | |
| 543 | local humanoid = player.Character.Humanoid | |
| 544 | local mouse = player:GetMouse() | |
| 545 | ||
| 546 | local reload=Instance.new("Animation", player.Character);
| |
| 547 | reload.AnimationId="http://www.roblox.com/Asset?ID=95384819"; | |
| 548 | local playAnim3 = humanoid:LoadAnimation(reload) | |
| 549 | reloading=false | |
| 550 | mouse.KeyDown:connect(function(key) | |
| 551 | if key == "r" then | |
| 552 | if reloading==true then | |
| 553 | playAnim3:Play() | |
| 554 | reloadsound:Play() | |
| 555 | wait(2) | |
| 556 | playAnim3:Stop() | |
| 557 | end end | |
| 558 | end) | |
| 559 | mouse.KeyDown:connect(function(key) | |
| 560 | if key == "q" then | |
| 561 | if reloading==true then | |
| 562 | if standed==false then | |
| 563 | standed=true | |
| 564 | Prepare2Play:Stop() | |
| 565 | equip2:Play() | |
| 566 | wait() | |
| 567 | playAnim:Play() | |
| 568 | Tool.GripForward=Vector3.new(0.485, 0.14, -0.863); --0.485, 0.14, -0.863 | |
| 569 | elseif standed==true then | |
| 570 | standed=false | |
| 571 | playAnim:Stop() | |
| 572 | wait() | |
| 573 | Prepare2Play:Play() | |
| 574 | equip:Play() | |
| 575 | Tool.GripForward=Vector3.new(-0.501, 0.137, -0.855); | |
| 576 | end end end | |
| 577 | end) | |
| 578 | stfu=false | |
| 579 | function equipped() | |
| 580 | wait() | |
| 581 | stfu=true | |
| 582 | wait() | |
| 583 | playAnim:Play() | |
| 584 | equip:Play() | |
| 585 | reloading=true | |
| 586 | end | |
| 587 | ||
| 588 | function unequipped() | |
| 589 | wait() | |
| 590 | playAnim:Stop() | |
| 591 | reloading=false | |
| 592 | Prepare2Play:Stop() | |
| 593 | stfu=false | |
| 594 | end | |
| 595 | ||
| 596 | Tool.Equipped:connect(equipped) | |
| 597 | Tool.Unequipped:connect(unequipped) | |
| 598 | ||
| 599 | ||
| 600 | --STFU | |
| 601 | stfuu=Instance.new('Sound', char.Torso)
| |
| 602 | stfuu.Volume=3 | |
| 603 | stfuu.Pitch=6.8 | |
| 604 | stfuu.SoundId='rbxassetid://261303790' | |
| 605 | mouse.KeyDown:connect(function(key) | |
| 606 | if key == "z" then | |
| 607 | if stfu==true then | |
| 608 | stfuu:Play() | |
| 609 | game:GetService("Chat"):Chat(char.Head, "чертов 1993 мировая война германская война:Fucking 1993 World war germany war", Enum.ChatColor.Red)
| |
| 610 | wait(2) | |
| 611 | end end | |
| 612 | end) | |
| 613 | ||
| 614 | ||
| 615 | --- | |
| 616 | ||
| 617 | --Masked | |
| 618 | local player = game.Players.jericoalejo2 | |
| 619 | repeat wait() until player.Character.Humanoid | |
| 620 | local humanoid = player.Character.Humanoid | |
| 621 | local mouse = player:GetMouse() | |
| 622 | equipsound = Instance.new('Sound', player.Character.Torso)
| |
| 623 | equipsound.Volume=3 | |
| 624 | equipsound.SoundId='rbxassetid://153647514' | |
| 625 | ||
| 626 | local anim5 = Instance.new("Animation", player.Character)
| |
| 627 | anim5.AnimationId = "http://www.roblox.com/asset/?id=28492456" | |
| 628 | local playAnim10 = humanoid:LoadAnimation(anim5) | |
| 629 | plyr = player | |
| 630 | --p = game:GetService("InsertService"):LoadAsset(304085055)
| |
| 631 | --p.Name='IsMasked' | |
| 632 | --p.Parent = game.Workspace | |
| 633 | ismasked=false | |
| 634 | maskhat=Instance.new('Hat', game.Workspace)
| |
| 635 | maskhat.Name='IsMasked' | |
| 636 | maskhat.AttachmentForward=Vector3.new(0, 0, -1); | |
| 637 | maskhat.AttachmentPos=Vector3.new(0, 0.34, 0); | |
| 638 | maskhat.AttachmentRight=Vector3.new(1, 0, 0); | |
| 639 | maskhat.AttachmentUp=Vector3.new(0, 1, 0); | |
| 640 | maskhandle=Instance.new('Part', maskhat)
| |
| 641 | maskhandle.Name='Handle'; | |
| 642 | maskhandle.Anchored=false | |
| 643 | maskhandle.Size=Vector3.new(1.33, 1, 1.7) | |
| 644 | maskmeshh=Instance.new('SpecialMesh', maskhandle)
| |
| 645 | maskmeshh.MeshType='FileMesh' | |
| 646 | maskmeshh.MeshId='http://www.roblox.com/asset/?id=10686243' | |
| 647 | maskmeshh.TextureId='http://www.roblox.com/asset/?id=46348581' | |
| 648 | wait(0.001) | |
| 649 | game.Workspace.IsMasked.Parent = plyr.Character | |
| 650 | ||
| 651 | maskhandle.Transparency=1 | |
| 652 | mouse.KeyDown:connect(function(key) | |
| 653 | if key == "f" then | |
| 654 | if ismasked==false then | |
| 655 | ismasked=true | |
| 656 | Handle.Transparency=1 | |
| 657 | playAnim10:Play() | |
| 658 | wait(0.5) | |
| 659 | playAnim10:Stop() | |
| 660 | equipsound:Play() | |
| 661 | Handle.Transparency=0 | |
| 662 | player.Character.Humanoid.DisplayDistanceType='None' | |
| 663 | maskhandle.Transparency=0 | |
| 664 | ||
| 665 | elseif ismasked==true then | |
| 666 | ismasked=false | |
| 667 | Handle.Transparency=1 | |
| 668 | playAnim10:Play() | |
| 669 | wait(0.5) | |
| 670 | playAnim10:Stop() | |
| 671 | equipsound:Play() | |
| 672 | player.Character.Humanoid.DisplayDistanceType='Viewer' | |
| 673 | maskhandle.Transparency=1 | |
| 674 | Handle.Transparency=0 | |
| 675 | end | |
| 676 | end | |
| 677 | ||
| 678 | end) | |
| 679 | print('Soviet Shooter Loaded')
| |
| 680 | print('Welcome Script User')
| |
| 681 | print('Press "Q" to shoot')
| |
| 682 | print('Press "F" to wear Soviet Ushanka')
| |
| 683 | print('Credits to Dms and edited by JA') |