SHOW:
|
|
- or go back to the newest paste.
| 1 | --https://github.com/Mokiros/roblox-FE-compatibility | |
| 2 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
| |
| 3 | local Player,game,owner = owner,game | |
| 4 | local RealPlayer = Player | |
| 5 | do | |
| 6 | print("FE Compatibility code V2 by Mokiros")
| |
| 7 | local RealPlayer = RealPlayer | |
| 8 | script.Parent = RealPlayer.Character | |
| 9 | ||
| 10 | --Fake event to make stuff like Mouse.KeyDown work | |
| 11 | local Disconnect_Function = function(this) | |
| 12 | this[1].Functions[this[2]] = nil | |
| 13 | end | |
| 14 | local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
| |
| 15 | local FakeEvent_Metatable = {__index={
| |
| 16 | Connect = function(this,f) | |
| 17 | local i = tostring(math.random(0,10000)) | |
| 18 | while this.Functions[i] do | |
| 19 | i = tostring(math.random(0,10000)) | |
| 20 | end | |
| 21 | this.Functions[i] = f | |
| 22 | return setmetatable({this,i},Disconnect_Metatable)
| |
| 23 | end | |
| 24 | }} | |
| 25 | FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect | |
| 26 | local function fakeEvent() | |
| 27 | return setmetatable({Functions={}},FakeEvent_Metatable)
| |
| 28 | end | |
| 29 | ||
| 30 | --Creating fake input objects with fake variables | |
| 31 | local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
| |
| 32 | FakeMouse.keyUp = FakeMouse.KeyUp | |
| 33 | FakeMouse.keyDown = FakeMouse.KeyDown | |
| 34 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
| |
| 35 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
| |
| 36 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
| |
| 37 | end} | |
| 38 | --Merged 2 functions into one by checking amount of arguments | |
| 39 | CAS.UnbindAction = CAS.BindAction | |
| 40 | ||
| 41 | --This function will trigger the events that have been :Connect()'ed | |
| 42 | local function TriggerEvent(self,ev,...) | |
| 43 | for _,f in pairs(self[ev].Functions) do | |
| 44 | f(...) | |
| 45 | end | |
| 46 | end | |
| 47 | FakeMouse.TriggerEvent = TriggerEvent | |
| 48 | UIS.TriggerEvent = TriggerEvent | |
| 49 | ||
| 50 | --Client communication | |
| 51 | local Event = Instance.new("RemoteEvent")
| |
| 52 | Event.Name = "UserInput_Event" | |
| 53 | Event.OnServerEvent:Connect(function(plr,io) | |
| 54 | if plr~=RealPlayer then return end | |
| 55 | FakeMouse.Target = io.Target | |
| 56 | FakeMouse.Hit = io.Hit | |
| 57 | if not io.isMouse then | |
| 58 | local b = io.UserInputState == Enum.UserInputState.Begin | |
| 59 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 60 | return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up") | |
| 61 | end | |
| 62 | if io.UserInputType == Enum.UserInputType.MouseButton2 then | |
| 63 | return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up") | |
| 64 | end | |
| 65 | for _,t in pairs(CAS.Actions) do | |
| 66 | for _,k in pairs(t.Keys) do | |
| 67 | if k==io.KeyCode then | |
| 68 | t.Function(t.Name,io.UserInputState,io) | |
| 69 | end | |
| 70 | end | |
| 71 | end | |
| 72 | FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
| 73 | UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false) | |
| 74 | end | |
| 75 | end) | |
| 76 | Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
| |
| 77 | local Mouse = owner:GetMouse() | |
| 78 | local UIS = game:GetService("UserInputService")
| |
| 79 | local input = function(io,RobloxHandled) | |
| 80 | if RobloxHandled then return end | |
| 81 | --Since InputObject is a client-side instance, we create and pass table instead | |
| 82 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
| |
| 83 | end | |
| 84 | UIS.InputBegan:Connect(input) | |
| 85 | UIS.InputEnded:Connect(input) | |
| 86 | local h,t | |
| 87 | --Give the server mouse data every second frame, but only if the values changed | |
| 88 | --If player is not moving their mouse, client won't fire events | |
| 89 | local HB = game:GetService("RunService").Heartbeat
| |
| 90 | while true do | |
| 91 | if h~=Mouse.Hit or t~=Mouse.Target then | |
| 92 | h,t=Mouse.Hit,Mouse.Target | |
| 93 | Event:FireServer({isMouse=true,Target=t,Hit=h})
| |
| 94 | end | |
| 95 | --Wait 2 frames | |
| 96 | for i=1,2 do | |
| 97 | HB:Wait() | |
| 98 | end | |
| 99 | end]==],script) | |
| 100 | ||
| 101 | ----Sandboxed game object that allows the usage of client-side methods and services | |
| 102 | --Real game object | |
| 103 | local RealGame = game | |
| 104 | ||
| 105 | --Metatable for fake service | |
| 106 | local FakeService_Metatable = {
| |
| 107 | __index = function(self,k) | |
| 108 | local s = rawget(self,"_RealService") | |
| 109 | if s then | |
| 110 | return typeof(s[k])=="function" | |
| 111 | and function(_,...)return s[k](s,...)end or s[k] | |
| 112 | end | |
| 113 | end, | |
| 114 | __newindex = function(self,k,v) | |
| 115 | local s = rawget(self,"_RealService") | |
| 116 | if s then s[k]=v end | |
| 117 | end | |
| 118 | } | |
| 119 | local function FakeService(t,RealService) | |
| 120 | t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService | |
| 121 | return setmetatable(t,FakeService_Metatable) | |
| 122 | end | |
| 123 | ||
| 124 | --Fake game object | |
| 125 | local FakeGame = {
| |
| 126 | GetService = function(self,s) | |
| 127 | return rawget(self,s) or RealGame:GetService(s) | |
| 128 | end, | |
| 129 | Players = FakeService({
| |
| 130 | LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
| |
| 131 | },"Players"), | |
| 132 | UserInputService = FakeService(UIS,"UserInputService"), | |
| 133 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
| 134 | RunService = FakeService({
| |
| 135 | _btrs = {},
| |
| 136 | RenderStepped = RealGame:GetService("RunService").Heartbeat,
| |
| 137 | BindToRenderStep = function(self,name,_,fun) | |
| 138 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
| 139 | end, | |
| 140 | UnbindFromRenderStep = function(self,name) | |
| 141 | self._btrs[name]:Disconnect() | |
| 142 | end, | |
| 143 | },"RunService") | |
| 144 | } | |
| 145 | rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer) | |
| 146 | FakeGame.service = FakeGame.GetService | |
| 147 | FakeService(FakeGame,game) | |
| 148 | --Changing owner to fake player object to support owner:GetMouse() | |
| 149 | game,owner = FakeGame,FakeGame.Players.LocalPlayer | |
| 150 | end | |
| 151 | local Player = game.Players.localPlayer | |
| 152 | local Character = Player.Character | |
| 153 | local Torso = Character.Torso | |
| 154 | ||
| 155 | local Music = Instance.new("Sound")
| |
| 156 | ||
| 157 | Music.Name = "Sound" | |
| 158 | Music.SoundId = "http://roblox.com/asset/?id=714974960" | |
| 159 | Music.Volume = 4 | |
| 160 | Music.Looped = false | |
| 161 | Music.Parent = Character | |
| 162 | Music:play() | |
| 163 | ||
| 164 | GasMask = true | |
| 165 | ||
| 166 | if GasMask == true then | |
| 167 | o1 = Instance.new("Model")
| |
| 168 | o2 = Instance.new("Part")
| |
| 169 | o3 = Instance.new("SpecialMesh")
| |
| 170 | o4 = Instance.new("Part")
| |
| 171 | o5 = Instance.new("Part")
| |
| 172 | o6 = Instance.new("Part")
| |
| 173 | o7 = Instance.new("SpecialMesh")
| |
| 174 | o8 = Instance.new("Part")
| |
| 175 | o9 = Instance.new("Part")
| |
| 176 | o10 = Instance.new("SpecialMesh")
| |
| 177 | o11 = Instance.new("Part")
| |
| 178 | o12 = Instance.new("Part")
| |
| 179 | o13 = Instance.new("SpecialMesh")
| |
| 180 | o14 = Instance.new("Part")
| |
| 181 | o15 = Instance.new("Part")
| |
| 182 | o16 = Instance.new("Part")
| |
| 183 | o17 = Instance.new("Part")
| |
| 184 | o1.Name = "MODEL" | |
| 185 | o2.Name = "Middle" | |
| 186 | o2.Parent = o1 | |
| 187 | o2.BrickColor = BrickColor.new("Pastel brown")
| |
| 188 | o2.Transparency = 1 | |
| 189 | o2.Position = Vector3.new(-13.5356159, 3.71991396, 50.2649117) | |
| 190 | o2.Rotation = Vector3.new(-5.66336393, -89.7626114, -5.66246414) | |
| 191 | o2.Anchored = true | |
| 192 | o2.FormFactor = Enum.FormFactor.Custom | |
| 193 | o2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
| 194 | o2.CFrame = CFrame.new(-13.5356159, 3.71991396, 50.2649117, 1.75646369e-006, 1.74156298e-007, -0.999991417, -1.04150445e-007, 1, 1.60883403e-007, 0.999999762, 9.62157287e-008, 1.6223396e-006) | |
| 195 | o2.BottomSurface = Enum.SurfaceType.Smooth | |
| 196 | o2.TopSurface = Enum.SurfaceType.Smooth | |
| 197 | o2.Color = Color3.new(1, 0.8, 0.6) | |
| 198 | o3.Parent = o2 | |
| 199 | o3.Scale = Vector3.new(6.25, 6.25, 6.25) | |
| 200 | o3.MeshType = Enum.MeshType.FileMesh | |
| 201 | o4.Name = "Lense 1" | |
| 202 | o4.Parent = o1 | |
| 203 | o4.Material = Enum.Material.Metal | |
| 204 | o4.Transparency = 0.050000011920929 | |
| 205 | o4.Position = Vector3.new(-12.900528, 3.77991295, 50.5080605) | |
| 206 | o4.Rotation = Vector3.new(-180, 20.6807137, -179.999985) | |
| 207 | o4.Anchored = true | |
| 208 | o4.CanCollide = false | |
| 209 | o4.FormFactor = Enum.FormFactor.Custom | |
| 210 | o4.Shape = Enum.PartType.Cylinder | |
| 211 | o4.Size = Vector3.new(0.200000003, 0.320000023, 0.939999998) | |
| 212 | o4.CFrame = CFrame.new(-12.900528, 3.77991295, 50.5080605, -0.935553849, 3.06141374e-007, 0.353159934, 3.19927466e-007, 1, 2.01617603e-008, -0.353163034, 1.1997561e-007, -0.935561478) | |
| 213 | o4.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 214 | o4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 215 | o4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 216 | o4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 217 | o4.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 218 | o4.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 219 | o5.Name = "Lense2" | |
| 220 | o5.Parent = o1 | |
| 221 | o5.Material = Enum.Material.Metal | |
| 222 | o5.Transparency = 0.050000011920929 | |
| 223 | o5.Position = Vector3.new(-12.8961124, 3.77492094, 50.0302277) | |
| 224 | o5.Rotation = Vector3.new(-180, -23.8323021, -179.999985) | |
| 225 | o5.Anchored = true | |
| 226 | o5.CanCollide = false | |
| 227 | o5.FormFactor = Enum.FormFactor.Custom | |
| 228 | o5.Shape = Enum.PartType.Cylinder | |
| 229 | o5.Size = Vector3.new(0.200000003, 0.330000043, 0.99000001) | |
| 230 | o5.CFrame = CFrame.new(-12.8961124, 3.77492094, 50.0302277, -0.914722979, 2.85652249e-007, -0.404061079, 2.36339361e-007, 1, 1.37493373e-007, 0.404064298, 2.15865228e-008, -0.914730668) | |
| 231 | o5.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 232 | o5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 233 | o5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 234 | o5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 235 | o5.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 236 | o5.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 237 | o6.Name = "Handle" | |
| 238 | o6.Parent = o1 | |
| 239 | o6.Material = Enum.Material.Metal | |
| 240 | o6.BrickColor = BrickColor.new("Really black")
| |
| 241 | o6.Position = Vector3.new(-12.8799381, 3.69992495, 50.2599869) | |
| 242 | o6.Rotation = Vector3.new(-90, 9.97842108e-006, -89.9999008) | |
| 243 | o6.Anchored = true | |
| 244 | o6.CanCollide = false | |
| 245 | o6.FormFactor = Enum.FormFactor.Plate | |
| 246 | o6.Size = Vector3.new(1, 0.400000006, 1) | |
| 247 | o6.CFrame = CFrame.new(-12.8799381, 3.69992495, 50.2599869, 1.75646369e-006, 0.999991417, 1.74156298e-007, -1.04150445e-007, -1.60883403e-007, 1, 0.999999762, -1.6223396e-006, 9.62157287e-008) | |
| 248 | o6.BottomSurface = Enum.SurfaceType.Weld | |
| 249 | o6.TopSurface = Enum.SurfaceType.Smooth | |
| 250 | o6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 251 | o7.Parent = o6 | |
| 252 | o7.MeshId = "http://www.roblox.com/asset/?id=5158270" | |
| 253 | o7.Scale = Vector3.new(0.140000001, 0.170000002, 0.100000001) | |
| 254 | o7.MeshType = Enum.MeshType.FileMesh | |
| 255 | o8.Name = "Straps" | |
| 256 | o8.Parent = o1 | |
| 257 | o8.Material = Enum.Material.Fabric | |
| 258 | o8.BrickColor = BrickColor.new("Really black")
| |
| 259 | o8.Position = Vector3.new(-13.5199518, 3.48991394, 50.2599869) | |
| 260 | o8.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924) | |
| 261 | o8.Anchored = true | |
| 262 | o8.CanCollide = false | |
| 263 | o8.FormFactor = Enum.FormFactor.Custom | |
| 264 | o8.Shape = Enum.PartType.Cylinder | |
| 265 | o8.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999) | |
| 266 | o8.CFrame = CFrame.new(-13.5199518, 3.48991394, 50.2599869, 1.44325043e-007, -0.999991238, 1.75646369e-006, 0.999999881, 1.31081052e-007, -1.04150445e-007, 9.48765404e-008, 1.6242019e-006, 0.999999762) | |
| 267 | o8.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 268 | o8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 269 | o8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 270 | o8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 271 | o8.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 272 | o8.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 273 | o8.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 274 | o9.Name = "Ring2" | |
| 275 | o9.Parent = o1 | |
| 276 | o9.BrickColor = BrickColor.new("Dark stone grey")
| |
| 277 | o9.Position = Vector3.new(-12.8061161, 3.77991295, 49.9993477) | |
| 278 | o9.Rotation = Vector3.new(-1.48261315e-005, -66.1664276, -2.4695395e-005) | |
| 279 | o9.Anchored = true | |
| 280 | o9.CanCollide = false | |
| 281 | o9.FormFactor = Enum.FormFactor.Custom | |
| 282 | o9.Size = Vector3.new(0.600000024, 0.200000003, 1) | |
| 283 | o9.CFrame = CFrame.new(-12.8061161, 3.77991295, 49.9993477, 0.404059976, 1.74156298e-007, -0.914723039, -1.6136562e-007, 1, 1.0455733e-007, 0.914730787, 9.62157287e-008, 0.404063195) | |
| 284 | o9.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 285 | o9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 286 | o9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 287 | o9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 288 | o9.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 289 | o9.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 290 | o9.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
| 291 | o10.Parent = o9 | |
| 292 | o10.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 293 | o10.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012) | |
| 294 | o10.MeshType = Enum.MeshType.FileMesh | |
| 295 | o11.Name = "Straps" | |
| 296 | o11.Parent = o1 | |
| 297 | o11.Material = Enum.Material.Fabric | |
| 298 | o11.BrickColor = BrickColor.new("Really black")
| |
| 299 | o11.Position = Vector3.new(-13.5199518, 4.00991392, 50.2599869) | |
| 300 | o11.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, 89.9999924) | |
| 301 | o11.Anchored = true | |
| 302 | o11.CanCollide = false | |
| 303 | o11.FormFactor = Enum.FormFactor.Custom | |
| 304 | o11.Shape = Enum.PartType.Cylinder | |
| 305 | o11.Size = Vector3.new(0.200000003, 1.49000013, 1.25999999) | |
| 306 | o11.CFrame = CFrame.new(-13.5199518, 4.00991392, 50.2599869, 1.44325043e-007, -0.999991238, 1.75646369e-006, 0.999999881, 1.31081052e-007, -1.04150445e-007, 9.48765404e-008, 1.6242019e-006, 0.999999762) | |
| 307 | o11.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 308 | o11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 309 | o11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 310 | o11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 311 | o11.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 312 | o11.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 313 | o11.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 314 | o12.Name = "Ring1" | |
| 315 | o12.Parent = o1 | |
| 316 | o12.BrickColor = BrickColor.new("Dark stone grey")
| |
| 317 | o12.Position = Vector3.new(-12.7999144, 3.76992106, 50.5299988) | |
| 318 | o12.Rotation = Vector3.new(-179.999969, -69.3177338, -179.999985) | |
| 319 | o12.Anchored = true | |
| 320 | o12.CanCollide = false | |
| 321 | o12.FormFactor = Enum.FormFactor.Custom | |
| 322 | o12.Size = Vector3.new(0.600000024, 0.200000003, 1) | |
| 323 | o12.CFrame = CFrame.new(-12.7999144, 3.76992106, 50.5299988, -0.353160918, 1.74156298e-007, -0.935553372, -4.22077129e-008, 1, 1.87534141e-007, 0.935561061, 9.62157287e-008, -0.353164017) | |
| 324 | o12.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 325 | o12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 326 | o12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 327 | o12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 328 | o12.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 329 | o12.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 330 | o12.Color = Color3.new(0.388235, 0.372549, 0.384314) | |
| 331 | o13.Parent = o12 | |
| 332 | o13.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
| 333 | o13.Scale = Vector3.new(0.340000004, 0.300000012, 0.300000012) | |
| 334 | o13.MeshType = Enum.MeshType.FileMesh | |
| 335 | o14.Name = "Breather" | |
| 336 | o14.Parent = o1 | |
| 337 | o14.Material = Enum.Material.Metal | |
| 338 | o14.BrickColor = BrickColor.new("Really black")
| |
| 339 | o14.Position = Vector3.new(-12.7419596, 3.69627094, 50.2550011) | |
| 340 | o14.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521) | |
| 341 | o14.Anchored = true | |
| 342 | o14.CanCollide = false | |
| 343 | o14.FormFactor = Enum.FormFactor.Custom | |
| 344 | o14.Shape = Enum.PartType.Cylinder | |
| 345 | o14.Size = Vector3.new(0.600000024, 0.340000093, 0.25000003) | |
| 346 | o14.CFrame = CFrame.new(-12.7419596, 3.69627094, 50.2550011, 0.771050453, 0.636759639, 1.75646369e-006, -0.636765182, 0.771057129, -1.04150445e-007, -1.31184265e-006, -9.5997575e-007, 0.999999762) | |
| 347 | o14.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 348 | o14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 349 | o14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 350 | o14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 351 | o14.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 352 | o14.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 353 | o14.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 354 | o15.Name = "Breather" | |
| 355 | o15.Parent = o1 | |
| 356 | o15.Material = Enum.Material.Metal | |
| 357 | o15.BrickColor = BrickColor.new("Really black")
| |
| 358 | o15.Position = Vector3.new(-12.5337915, 3.51434994, 50.2550011) | |
| 359 | o15.Rotation = Vector3.new(5.96738209e-006, 0.000100637961, -39.5510521) | |
| 360 | o15.Anchored = true | |
| 361 | o15.CanCollide = false | |
| 362 | o15.FormFactor = Enum.FormFactor.Custom | |
| 363 | o15.Shape = Enum.PartType.Cylinder | |
| 364 | o15.Size = Vector3.new(0.200000003, 0.340000093, 0.350000024) | |
| 365 | o15.CFrame = CFrame.new(-12.5337915, 3.51434994, 50.2550011, 0.771050453, 0.636759639, 1.75646369e-006, -0.636765182, 0.771057129, -1.04150445e-007, -1.31184265e-006, -9.5997575e-007, 0.999999762) | |
| 366 | o15.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 367 | o15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 368 | o15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 369 | o15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 370 | o15.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 371 | o15.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 372 | o15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 373 | o16.Name = "Breather" | |
| 374 | o16.Parent = o1 | |
| 375 | o16.Material = Enum.Material.Metal | |
| 376 | o16.BrickColor = BrickColor.new("Really black")
| |
| 377 | o16.Position = Vector3.new(-12.7920103, 3.39220095, 49.784256) | |
| 378 | o16.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548) | |
| 379 | o16.Anchored = true | |
| 380 | o16.CanCollide = false | |
| 381 | o16.FormFactor = Enum.FormFactor.Custom | |
| 382 | o16.Shape = Enum.PartType.Cylinder | |
| 383 | o16.Size = Vector3.new(0.230000019, 0.540000081, 0.75) | |
| 384 | o16.CFrame = CFrame.new(-12.7920103, 3.39220095, 49.784256, 0.618847609, 0.24515225, 0.746263206, -0.230788618, 0.96486491, -0.125580132, -0.75083673, -0.0945150182, 0.653688967) | |
| 385 | o16.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 386 | o16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 387 | o16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 388 | o16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 389 | o16.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 390 | o16.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 391 | o16.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 392 | o17.Name = "Breather" | |
| 393 | o17.Parent = o1 | |
| 394 | o17.Material = Enum.Material.Metal | |
| 395 | o17.BrickColor = BrickColor.new("Really black")
| |
| 396 | o17.Position = Vector3.new(-12.8723783, 3.42192006, 49.8816109) | |
| 397 | o17.Rotation = Vector3.new(10.8745985, 48.2677155, -21.6106548) | |
| 398 | o17.Anchored = true | |
| 399 | o17.CanCollide = false | |
| 400 | o17.FormFactor = Enum.FormFactor.Custom | |
| 401 | o17.Shape = Enum.PartType.Cylinder | |
| 402 | o17.Size = Vector3.new(0.370000005, 0.540000081, 0.310000002) | |
| 403 | o17.CFrame = CFrame.new(-12.8723783, 3.42192006, 49.8816109, 0.618847609, 0.24515225, 0.746263206, -0.230788618, 0.96486491, -0.125580132, -0.75083673, -0.0945150182, 0.653688967) | |
| 404 | o17.BackSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 405 | o17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 406 | o17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 407 | o17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 408 | o17.RightSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 409 | o17.TopSurface = Enum.SurfaceType.SmoothNoOutlines | |
| 410 | o17.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) | |
| 411 | function onTouched(hit) | |
| 412 | local d = hit.Parent:GetChildren() | |
| 413 | for i=1, #d do | |
| 414 | if (d[i].className == "Hat") then | |
| 415 | d[i]:remove() | |
| 416 | end | |
| 417 | end | |
| 418 | if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Face") == nil then
| |
| 419 | local g = o1:clone() | |
| 420 | g.Parent = hit.Parent | |
| 421 | local C = g:GetChildren() | |
| 422 | for i=1, #C do | |
| 423 | if C[i].className == "Part" then | |
| 424 | local W = Instance.new("Weld")
| |
| 425 | W.Part0 = g.Middle | |
| 426 | W.Part1 = C[i] | |
| 427 | local CJ = CFrame.new(g.Middle.Position) | |
| 428 | local C0 = g.Middle.CFrame:inverse()*CJ | |
| 429 | local C1 = C[i].CFrame:inverse()*CJ | |
| 430 | W.C0 = C0 | |
| 431 | W.C1 = C1 | |
| 432 | W.Parent = g.Middle | |
| 433 | g.Middle.Transparency = 1 | |
| 434 | end | |
| 435 | local Y = Instance.new("Weld")
| |
| 436 | Y.Part0 = hit.Parent.Head | |
| 437 | Y.Part1 = g.Middle | |
| 438 | Y.C0 = CFrame.new(0, 0, 0) | |
| 439 | Y.Parent = Y.Part0 | |
| 440 | end | |
| 441 | ||
| 442 | local h = g:GetChildren() | |
| 443 | for i = 1, # h do | |
| 444 | h[i].Anchored = false | |
| 445 | h[i].CanCollide = false | |
| 446 | end | |
| 447 | ||
| 448 | end | |
| 449 | end | |
| 450 | ||
| 451 | onTouched(game.Players.LocalPlayer.Character.Head) | |
| 452 | end | |
| 453 | local Player = game:service'Players'.localPlayer | |
| 454 | local chara = Player.Character | |
| 455 | ||
| 456 | shirt= Instance.new("Shirt", Character)
| |
| 457 | shirt.Name = "Shirt" | |
| 458 | pants = Instance.new("Pants", Character)
| |
| 459 | pants.Name = "Pants" | |
| 460 | chara.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=245656735" | |
| 461 | chara.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=245656766" | |
| 462 | ||
| 463 | ||
| 464 | ||
| 465 | -------------------------- | |
| 466 | --Zenith Battle Rifle-70-- | |
| 467 | ---------------------------------------------------------------- | |
| 468 | --By CKbackup (Sugarie Saffron) -- | |
| 469 | --YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw-- | |
| 470 | --Discord: Sugarie Saffron#4705 -- | |
| 471 | ---------------------------------------------------------------- | |
| 472 | ||
| 473 | print([[ | |
| 474 | -------------------------------- | |
| 475 | By CKbackup (Sugarie Saffron) | |
| 476 | YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw | |
| 477 | Discord: Sugarie Saffron#4705 | |
| 478 | -------------------------------- | |
| 479 | The Zenith Battle Rifle 70 (ZBR-70) | |
| 480 | The ZBR-70 was a rifle designed by | |
| 481 | Engineer Alexander Zenith in 1970, for a | |
| 482 | cheap yet reliable option to be used | |
| 483 | as a standard issue rifle. | |
| 484 | It fires 5.56 calibre rounds and | |
| 485 | is still used today in several armies | |
| 486 | and police forces. | |
| 487 | -------------------------------- | |
| 488 | (Keys) | |
| 489 | Click (Hold) - Fire | |
| 490 | R - Reload | |
| 491 | Q/E - Quick Strafe | |
| 492 | Z - Dive | |
| 493 | X - Knife Stab | |
| 494 | F - Heal | |
| 495 | H - Flashlight | |
| 496 | ||
| 497 | Reloading while there's still ammo will | |
| 498 | add an extra bullet. | |
| 499 | Rifle only has an effective range of | |
| 500 | 200 studs. | |
| 501 | Healing will add a health point for 200 | |
| 502 | frames before wearing out, and has a | |
| 503 | cooldown of 30 seconds. | |
| 504 | ]]) | |
| 505 | ||
| 506 | wait(1/60) | |
| 507 | Effects = { }
| |
| 508 | local Player = game:service'Players'.localPlayer | |
| 509 | local chara = Player.Character | |
| 510 | local Humanoid = chara:FindFirstChildOfClass("Humanoid")
| |
| 511 | local Mouse = Player:GetMouse() | |
| 512 | local LeftArm = chara["Left Arm"] | |
| 513 | local RightArm = chara["Right Arm"] | |
| 514 | local LeftLeg = chara["Left Leg"] | |
| 515 | local RightLeg = chara["Right Leg"] | |
| 516 | local Head = chara.Head | |
| 517 | local Torso = chara.Torso | |
| 518 | local Camera = workspace.CurrentCamera | |
| 519 | local RootPart = chara.HumanoidRootPart | |
| 520 | local RootJoint = RootPart.RootJoint | |
| 521 | local attack = false | |
| 522 | local Anim = 'Idle' | |
| 523 | local attacktype = 1 | |
| 524 | local delays = false | |
| 525 | local play = true | |
| 526 | local targetted = nil | |
| 527 | local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 528 | local velocity = RootPart.Velocity.y | |
| 529 | local sine = 0 | |
| 530 | local change = 1 | |
| 531 | local doe = 0 | |
| 532 | local Create = LoadLibrary("RbxUtility").Create
| |
| 533 | local debby = game:GetService("Debris")
| |
| 534 | Humanoid.WalkSpeed = 16 | |
| 535 | ||
| 536 | local shots = 30 | |
| 537 | ||
| 538 | local healing = false | |
| 539 | ||
| 540 | Humanoid.Animator.Parent = nil | |
| 541 | chara.Animate.Parent = nil | |
| 542 | ||
| 543 | local newMotor = function(part0, part1, c0, c1) | |
| 544 | local w = Create('Motor'){
| |
| 545 | Parent = part0, | |
| 546 | Part0 = part0, | |
| 547 | Part1 = part1, | |
| 548 | C0 = c0, | |
| 549 | C1 = c1, | |
| 550 | } | |
| 551 | return w | |
| 552 | end | |
| 553 | ||
| 554 | function clerp(a, b, t) | |
| 555 | return a:lerp(b, t) | |
| 556 | end | |
| 557 | ||
| 558 | RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14) | |
| 559 | NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
| 560 | ||
| 561 | local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 562 | local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0)) | |
| 563 | local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 564 | local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0)) | |
| 565 | RootJoint.C1 = CFrame.new(0, 0, 0) | |
| 566 | RootJoint.C0 = CFrame.new(0, 0, 0) | |
| 567 | Torso.Neck.C1 = CFrame.new(0, 0, 0) | |
| 568 | Torso.Neck.C0 = CFrame.new(0, 1.5, 0) | |
| 569 | ||
| 570 | local rarmc1 = RW.C1 | |
| 571 | local larmc1 = LW.C1 | |
| 572 | local rlegc1 = RH.C1 | |
| 573 | local llegc1 = LH.C1 | |
| 574 | ||
| 575 | local resetc1 = false | |
| 576 | ||
| 577 | function PlayAnimationFromTable(table, speed, bool) | |
| 578 | RootJoint.C0 = clerp(RootJoint.C0, table[1], speed) | |
| 579 | Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed) | |
| 580 | RW.C0 = clerp(RW.C0, table[3], speed) | |
| 581 | LW.C0 = clerp(LW.C0, table[4], speed) | |
| 582 | RH.C0 = clerp(RH.C0, table[5], speed) | |
| 583 | LH.C0 = clerp(LH.C0, table[6], speed) | |
| 584 | if bool == true then | |
| 585 | if resetc1 == false then | |
| 586 | resetc1 = true | |
| 587 | RootJoint.C1 = RootJoint.C1 | |
| 588 | Torso.Neck.C1 = Torso.Neck.C1 | |
| 589 | RW.C1 = rarmc1 | |
| 590 | LW.C1 = larmc1 | |
| 591 | RH.C1 = rlegc1 | |
| 592 | LH.C1 = llegc1 | |
| 593 | end | |
| 594 | end | |
| 595 | end | |
| 596 | ||
| 597 | ArtificialHB = Instance.new("BindableEvent", script)
| |
| 598 | ArtificialHB.Name = "Heartbeat" | |
| 599 | script:WaitForChild("Heartbeat")
| |
| 600 | frame = 0.03333333333333 | |
| 601 | tf = 0 | |
| 602 | allowframeloss = false | |
| 603 | tossremainder = false | |
| 604 | lastframe = tick() | |
| 605 | script.Heartbeat:Fire() | |
| 606 | game:GetService("RunService").Heartbeat:connect(function(s, p)
| |
| 607 | tf = tf + s | |
| 608 | if tf >= frame then | |
| 609 | if allowframeloss then | |
| 610 | script.Heartbeat:Fire() | |
| 611 | lastframe = tick() | |
| 612 | else | |
| 613 | for i = 1, math.floor(tf / frame) do | |
| 614 | script.Heartbeat:Fire() | |
| 615 | end | |
| 616 | lastframe = tick() | |
| 617 | end | |
| 618 | if tossremainder then | |
| 619 | tf = 0 | |
| 620 | else | |
| 621 | tf = tf - frame * math.floor(tf / frame) | |
| 622 | end | |
| 623 | end | |
| 624 | end) | |
| 625 | function swait(num) | |
| 626 | if num == 0 or num == nil then | |
| 627 | ArtificialHB.Event:wait() | |
| 628 | else | |
| 629 | for i = 0, num do | |
| 630 | ArtificialHB.Event:wait() | |
| 631 | end | |
| 632 | end | |
| 633 | end | |
| 634 | ||
| 635 | function RemoveOutlines(part) | |
| 636 | part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10 | |
| 637 | end | |
| 638 | ||
| 639 | function so(id,par,pit,vol) | |
| 640 | local sou = Instance.new("Sound", par or workspace)
| |
| 641 | if par == chara then | |
| 642 | sou.Parent = chara.Torso | |
| 643 | end | |
| 644 | sou.Volume = vol | |
| 645 | sou.Pitch = pit or 1 | |
| 646 | sou.SoundId = "rbxassetid://" .. id | |
| 647 | sou.PlayOnRemove = true | |
| 648 | sou:Destroy() | |
| 649 | end | |
| 650 | ||
| 651 | --This is just for builds-- | |
| 652 | New = function(Object, Parent, Name, Data) | |
| 653 | local Object = Instance.new(Object) | |
| 654 | for Index, Value in pairs(Data or {}) do
| |
| 655 | Object[Index] = Value | |
| 656 | end | |
| 657 | Object.Parent = Parent | |
| 658 | Object.Name = Name | |
| 659 | return Object | |
| 660 | end | |
| 661 | ||
| 662 | Rifle = New("Model",chara,"Rifle",{})
| |
| 663 | Handaru = New("Part",Rifle,"Handaru",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.299999684, 0.899999976, 0.200000003),CFrame = CFrame.new(4.86797953, 9.56716633, -139.033096, 5.38420863e-10, 1.44063961e-09, 1, 0.939692974, -0.342020035, 4.30411262e-12, 0.342022955, 0.93970108, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 664 | Mesh = New("BlockMesh",Handaru,"Mesh",{Scale = Vector3.new(0.699999988, 0.800000012, 0.899999976),})
| |
| 665 | Weld = New("ManualWeld",Handaru,"Weld",{Part0 = Handaru,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, 0, 0.939692974, 0.342020005, 0, -0.342020005, 0.939692974, 1, 0, 0),C1 = CFrame.new(-0.17155385, -1.13280964, 0.0381164551, -1, -0.000112917653, 0.000207058736, -0.000112889931, 1, 0.000133873371, -0.000207074263, 0.000133850204, -1.00000167),})
| |
| 666 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.300000191, 0.200000003),CFrame = CFrame.new(4.86804056, 9.70005512, -138.636124, 1.32227007e-11, 1.53790924e-09, 1, 1.00000036, 0, 4.30411262e-12, 0, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 667 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 668 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(0.260647774, 0.327582359, 6.10351563e-05, -0.939698994, 0.34202221, 0, 0.34202221, 0.939698994, 0, 0, 0, -1),})
| |
| 669 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.299999744, 0.200000003, 0.200000003),CFrame = CFrame.new(4.86801004, 6.5500145, -138.486115, 1.32227007e-11, 1.53790924e-09, 1, 1.00000036, 0, 4.30411262e-12, 0, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 670 | Mesh = New("BlockMesh",Part,"Mesh",{})
| |
| 671 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-2.64811707, 1.54591751, 3.05175781e-05, -0.939698994, 0.34202221, 0, 0.34202221, 0.939698994, 0, 0, 0, -1),})
| |
| 672 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.19999969, 0.300000012, 0.200000003),CFrame = CFrame.new(4.86801004, 9.10005951, -138.636124, 1.32227007e-11, 1.53790924e-09, 1, 1.00000036, 0, 4.30411262e-12, 0, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 673 | Mesh = New("BlockMesh",Part,"Mesh",{})
| |
| 674 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.303163528, 0.532794952, 3.05175781e-05, -0.939698994, 0.34202221, 0, 0.34202221, 0.939698994, 0, 0, 0, -1),})
| |
| 675 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.0999999195, 0.200000003),CFrame = CFrame.new(4.86804056, 6.35001183, -138.486099, 1.53790924e-09, 1.32226452e-11, -1, 2.98023224e-08, 1.00000036, -4.30411262e-12, 1.00000894, -2.98023224e-08, -2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 676 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 677 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, 0, 1.00000668, 0, -1.00000668, 0, 0, 0, 0, 1),C1 = CFrame.new(-2.8360548, 1.6143322, 6.10351563e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 678 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.9180131, 8.10003662, -138.486099, 1.32226452e-11, -1.53790924e-09, -1, 1.00000036, -2.98023224e-08, -4.30411262e-12, -2.98023224e-08, -1.00000894, -2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 679 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 680 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, -1.00000668, 0, 0, 0, 1),C1 = CFrame.new(-1.19156933, 1.01578903, 0.0500335693, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 681 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.81800699, 8.10003662, -138.486099, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 682 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 683 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-1.19156933, 1.01578903, -0.0499725342, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 684 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.86797953, 8.10003662, -138.436142, 1.32226452e-11, 1, -1.53790924e-09, 1.00000036, 4.30411262e-12, -2.98023224e-08, -2.98023224e-08, 2.29920261e-09, -1.00000894),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 685 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 686 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 0, -1, 0, -1.00000668, 0),C1 = CFrame.new(-1.17448044, 1.06274033, 0, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 687 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.86805582, 8.10003662, -138.536102, 1.32226452e-11, -1, 1.53790924e-09, 1.00000036, -4.30411262e-12, 2.98023224e-08, -2.98023224e-08, -2.29920261e-09, 1.00000894),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 688 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 689 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 0, 1, 0, 1.00000668, 0),C1 = CFrame.new(-1.20866871, 0.968809128, 7.62939453e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 690 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999997631, 0.100000001, 0.100000001),CFrame = CFrame.new(4.9180131, 9.25004292, -138.33609, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 691 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0250000004, 0),Scale = Vector3.new(0.200000003, 0.5, 0.800000012),})
| |
| 692 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.0596132278, 0.763422012, 0.0500335693, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 693 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.399999678, 0.400000006, 0.200000003),CFrame = CFrame.new(4.86801004, 8.84343719, -138.889923, -2.54032906e-10, 1.51684099e-09, 1, 0.984808087, 0.17364797, 4.30411262e-12, -0.17364952, 0.984816551, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 694 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.899999976),})
| |
| 695 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -0.984814465, -0.173649132, 0, -0.173649132, 0.984814465, 0, 0, 0, -1),C1 = CFrame.new(-0.631113052, 0.382074356, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 696 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.86805582, 6.90001345, -138.536102, 1.32226452e-11, -1, 1.53790924e-09, 1.00000036, -4.30411262e-12, 2.98023224e-08, -2.98023224e-08, -2.29920261e-09, 1.00000894),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 697 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 698 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 0, 1, 0, 1.00000668, 0),C1 = CFrame.new(-2.33632183, 1.37924004, 7.62939453e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 699 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.9180131, 7.5000248, -138.486099, 1.32226452e-11, -1.53790924e-09, -1, 1.00000036, -2.98023224e-08, -4.30411262e-12, -2.98023224e-08, -1.00000894, -2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 700 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 701 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, -1.00000668, 0, 0, 0, 1),C1 = CFrame.new(-1.75539589, 1.22100544, 0.0500335693, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 702 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.81800699, 7.5000248, -138.486099, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 703 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 704 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-1.75539589, 1.22100544, -0.0499725342, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 705 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.49999988, 0.100000001, 0.100000001),CFrame = CFrame.new(4.9180131, 7.45002079, -138.536102, -1.32226452e-11, 1.53790924e-09, -1, -1.00000036, 2.98023224e-08, -4.30411262e-12, 2.98023224e-08, 1.00000894, -2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 706 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0250000004, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 707 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, 1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, 1),C1 = CFrame.new(-1.81948566, 1.19112206, 0.0500335693, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 708 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.199999765, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 6.50001335, -138.336105, -1.32226452e-11, 1.53790924e-09, -1, -1.00000036, 2.98023224e-08, -4.30411262e-12, 2.98023224e-08, 1.00000894, -2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 709 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0250000004, 0),Scale = Vector3.new(0.400000006, 0.600000024, 0.0500000007),})
| |
| 710 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, 1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, 1),C1 = CFrame.new(-2.64379501, 1.70398521, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 711 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999975, 0.100000001, 0.100000001),CFrame = CFrame.new(4.86801004, 8.05001831, -138.636108, 1, -1.53790924e-09, 1.32226452e-11, 4.30411262e-12, -2.98023224e-08, 1.00000036, 2.29920261e-09, -1.00000894, -2.98023224e-08),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 712 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
| |
| 713 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, -1.00000668, 0, -1.00000668, 0, 0),C1 = CFrame.new(-1.28987503, 0.891940117, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 714 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.399999559, 0.200000018, 0.200000003),CFrame = CFrame.new(4.86801004, 8.30002022, -138.586105, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 715 | Mesh = New("BlockMesh",Part,"Mesh",{})
| |
| 716 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-1.03784847, 0.853420258, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 717 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0999997631, 0.100000001, 0.100000001),CFrame = CFrame.new(4.9180131, 9.25004292, -138.33609, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 718 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0250000004, 0),Scale = Vector3.new(0.100000001, 0.600000024, 0.699999988),})
| |
| 719 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.0596132278, 0.763422012, 0.0500335693, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 720 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999997631, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 9.1500349, -138.336105, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 721 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0399999991, 0),Scale = Vector3.new(0.200000003, 0.200000003, 0.800000012),})
| |
| 722 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.153590202, 0.797625542, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 723 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.86797953, 7.5000248, -138.436142, 1.32226452e-11, 1, -1.53790924e-09, 1.00000036, 4.30411262e-12, -2.98023224e-08, -2.98023224e-08, 2.29920261e-09, -1.00000894),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 724 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 725 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 0, -1, 0, -1.00000668, 0),C1 = CFrame.new(-1.738307, 1.26795673, 0, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 726 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.81800699, 7.20001698, -138.486099, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 727 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 728 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-2.0373106, 1.32361412, -0.0499725342, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 729 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999997631, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 8.25003147, -138.33609, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 730 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0399999991, 0),Scale = Vector3.new(0.200000003, 0.200000003, 0.800000012),})
| |
| 731 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.999316216, 1.10544491, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 732 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.9180131, 6.90001297, -138.486099, 1.32226452e-11, -1.53790924e-09, -1, 1.00000036, -2.98023224e-08, -4.30411262e-12, -2.98023224e-08, -1.00000894, -2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 733 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 734 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, -1.00000668, 0, 0, 0, 1),C1 = CFrame.new(-2.31922245, 1.42622185, 0.0500335693, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 735 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.81800699, 6.90001297, -138.486099, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 736 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 737 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-2.31922245, 1.42622185, -0.0499725342, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 738 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999997631, 0.100000001, 0.100000001),CFrame = CFrame.new(4.81800699, 9.25004292, -138.33609, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 739 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0250000004, 0),Scale = Vector3.new(0.200000003, 0.5, 0.800000012),})
| |
| 740 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.0596132278, 0.763422012, -0.0499725342, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 741 | Bolt1 = New("Part",Rifle,"Bolt1",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.499999553, 0.200000003, 0.100000001),CFrame = CFrame.new(4.81800699, 8.85004425, -138.486099, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 742 | Mesh = New("BlockMesh",Bolt1,"Mesh",{Scale = Vector3.new(1, 0.400000006, 1.04999995),})
| |
| 743 | Weld = New("ManualWeld",Bolt1,"Weld",{Part0 = Bolt1,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.486792564, 0.759271622, -0.0499725342, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 744 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.86797953, 7.20001793, -138.436142, 1.32226452e-11, 1, -1.53790924e-09, 1.00000036, 4.30411262e-12, -2.98023224e-08, -2.98023224e-08, 2.29920261e-09, -1.00000894),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 745 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 746 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 0, -1, 0, -1.00000668, 0),C1 = CFrame.new(-2.02022171, 1.37056446, 0, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 747 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.9180131, 7.20001698, -138.486099, 1.32226452e-11, -1.53790924e-09, -1, 1.00000036, -2.98023224e-08, -4.30411262e-12, -2.98023224e-08, -1.00000894, -2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 748 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 749 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, -1.00000668, 0, 0, 0, 1),C1 = CFrame.new(-2.0373106, 1.32361412, 0.0500335693, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 750 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999997631, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 8.35003948, -138.33609, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 751 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0399999991, 0),Scale = Vector3.new(0.200000003, 0.200000003, 0.800000012),})
| |
| 752 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.905339241, 1.07124043, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 753 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.86805582, 7.5000248, -138.536102, 1.32226452e-11, -1, 1.53790924e-09, 1.00000036, -4.30411262e-12, 2.98023224e-08, -2.98023224e-08, -2.29920261e-09, 1.00000894),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 754 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 755 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 0, 1, 0, 1.00000668, 0),C1 = CFrame.new(-1.77249527, 1.17402458, 7.62939453e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 756 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.86797953, 6.90001297, -138.436142, 1.32226452e-11, 1, -1.53790924e-09, 1.00000036, 4.30411262e-12, -2.98023224e-08, -2.98023224e-08, 2.29920261e-09, -1.00000894),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 757 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 758 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 0, -1, 0, -1.00000668, 0),C1 = CFrame.new(-2.30213356, 1.47317219, 0, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 759 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.49999988, 0.100000001, 0.100000001),CFrame = CFrame.new(4.81800699, 7.45002079, -138.436096, -1.32226452e-11, -1.53790924e-09, 1, -1.00000036, -2.98023224e-08, 4.30411262e-12, 2.98023224e-08, -1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 760 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0250000004, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 761 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, 1.00000668, 0, 0, 0, -1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-1.78528309, 1.28509235, -0.0499725342, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 762 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.86805582, 7.20001793, -138.536102, 1.32226452e-11, -1, 1.53790924e-09, 1.00000036, -4.30411262e-12, 2.98023224e-08, -2.98023224e-08, -2.29920261e-09, 1.00000894),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 763 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 764 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 0, 1, 0, 1.00000668, 0),C1 = CFrame.new(-2.05440998, 1.27663231, 7.62939453e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 765 | BoltP2 = New("Part",Rifle,"BoltP2",{Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(0.0999995545, 0.200000003, 0.100000001),CFrame = CFrame.new(4.71800089, 9.05003452, -138.486099, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 766 | Mesh = New("BlockMesh",BoltP2,"Mesh",{Offset = Vector3.new(-0.0399999991, 0, 0),Scale = Vector3.new(0.200000003, 0.200000003, 1.20000005),})
| |
| 767 | Weld = New("ManualWeld",BoltP2,"Weld",{Part0 = BoltP2,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.298863411, 0.690872192, -0.149978638, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 768 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999997631, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 9.05004311, -138.33609, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 769 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0399999991, 0),Scale = Vector3.new(0.200000003, 0.200000003, 0.800000012),})
| |
| 770 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.247550964, 0.831825256, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 771 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.49999988, 0.100000001, 0.100000001),CFrame = CFrame.new(4.9180131, 7.45002079, -138.436096, 1.32226452e-11, -1.53790924e-09, -1, 1.00000036, -2.98023224e-08, -4.30411262e-12, -2.98023224e-08, -1.00000894, -2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 772 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0250000004, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 773 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, -1.00000668, 0, 0, 0, 1),C1 = CFrame.new(-1.78528309, 1.28509235, 0.0500335693, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 774 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.330000043, 0.100000001, 0.200000018),CFrame = CFrame.new(4.86801004, 10.4435368, -138.676941, 1.44968448e-09, 5.13570408e-10, 1, 0.342020035, -0.939692914, 4.30411262e-12, 0.93970108, 0.342023075, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 775 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 776 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -0.34202221, 0.939699054, 0, 0.939699054, 0.342022151, 0, 0, 0, -1),C1 = CFrame.new(0.945329666, 0.0349359512, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 777 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.49999964, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 10.475091, -138.861252, -5.13568965e-10, 1.44968504e-09, 1, 0.939693391, 0.342019081, 4.30411262e-12, -0.342022091, 0.939701438, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 778 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 779 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -0.939699411, -0.342021286, 0, -0.342021257, 0.939699411, 0, 0, 0, -1),C1 = CFrame.new(0.911945343, -0.149044991, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 780 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999997631, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 8.95003605, -138.33609, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 781 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0399999991, 0),Scale = Vector3.new(0.200000003, 0.200000003, 0.800000012),})
| |
| 782 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.341526985, 0.866029739, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 783 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999997631, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 8.75003719, -138.33609, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 784 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0399999991, 0),Scale = Vector3.new(0.200000003, 0.200000003, 0.800000012),})
| |
| 785 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.529464722, 0.934432983, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 786 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.200000003),CFrame = CFrame.new(4.86804056, 9.70004368, -138.486099, 1.53790924e-09, 1.32226452e-11, -1, 2.98023224e-08, 1.00000036, -4.30411262e-12, 1.00000894, -2.98023224e-08, -2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 787 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Sphere,})
| |
| 788 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, 0, 1.00000668, 0, -1.00000668, 0, 0, 0, 0, 1),C1 = CFrame.new(0.311944008, 0.468552589, 6.10351563e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 789 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.09999979, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 8.75003815, -138.436096, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 790 | Mesh = New("BlockMesh",Part,"Mesh",{})
| |
| 791 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.563667297, 0.840460777, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 792 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.0999999866, 0.200000003),CFrame = CFrame.new(4.86797953, 9.75094795, -139.391876, 5.38420808e-10, 1.44063961e-09, 1, 0.939692974, -0.342020005, 4.30411262e-12, 0.342022926, 0.93970108, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 793 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.800000012),})
| |
| 794 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -0.939698994, 0.34202221, 0, 0.34202221, 0.939698994, 0, 0, 0, -1),C1 = CFrame.new(0.049990654, -0.399991989, 0, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 795 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.399999917, 0.200000003),CFrame = CFrame.new(4.86804056, 9.50004482, -138.486099, 1.53790924e-09, 1.32226452e-11, -1, 2.98023224e-08, 1.00000036, -4.30411262e-12, 1.00000894, -2.98023224e-08, -2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 796 | Mesh = New("CylinderMesh",Part,"Mesh",{})
| |
| 797 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, 0, 1.00000668, 0, -1.00000668, 0, 0, 0, 0, 1),C1 = CFrame.new(0.124007225, 0.536956787, 6.10351563e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 798 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.630000234, 0.100000001, 0.200000018),CFrame = CFrame.new(4.86801004, 11.1861582, -138.831116, 1.53790924e-09, -1.32226452e-11, 1, 2.98023224e-08, -1.00000036, 4.30411262e-12, 1.00000894, 2.98023224e-08, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 799 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 800 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, 0, 1.00000668, 0, 1.00000668, 0, 0, 0, 0, -1),C1 = CFrame.new(1.59043694, -0.36392498, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 801 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Institutional white"),Material = Enum.Material.Neon,Size = Vector3.new(0.0999997631, 0.100000001, 0.100000001),CFrame = CFrame.new(4.81800699, 9.25004292, -138.33609, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
| |
| 802 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0250000004, 0),Scale = Vector3.new(0.100000001, 0.600000024, 0.699999988),})
| |
| 803 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.0596132278, 0.763422012, -0.0499725342, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 804 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999997631, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 8.65003014, -138.33609, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 805 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0399999991, 0),Scale = Vector3.new(0.200000003, 0.200000003, 0.800000012),})
| |
| 806 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.623440742, 0.968637466, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 807 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999975, 0.100000016, 0.400000006),CFrame = CFrame.new(4.86801004, 8.30003548, -138.736115, 1, -1.53790924e-09, 1.32226452e-11, 4.30411262e-12, -2.98023224e-08, 1.00000036, 2.29920261e-09, -1.00000894, -2.98023224e-08),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 808 | Mesh = New("SpecialMesh",Part,"Mesh",{MeshType = Enum.MeshType.Wedge,})
| |
| 809 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, 0, 0, -1, 0, -1.00000668, 0, -1.00000668, 0, 0),C1 = CFrame.new(-1.08913803, 0.712458611, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 810 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.81800699, 7.80001593, -138.486099, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 811 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 812 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-1.47349644, 1.11840248, -0.0499725342, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 813 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.199999765, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 6.50001335, -138.336105, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 814 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0250000004, 0),Scale = Vector3.new(0.5, 0.5, 0.100000001),})
| |
| 815 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-2.64379501, 1.70398521, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 816 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999997631, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 8.45003128, -138.336105, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 817 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0399999991, 0),Scale = Vector3.new(0.200000003, 0.200000003, 0.800000012),})
| |
| 818 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.811378479, 1.03704071, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 819 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999975, 0.300000012, 0.300000012),CFrame = CFrame.new(4.86801004, 9.23582172, -138.853729, 1, -5.13568965e-10, 1.44968504e-09, 4.30411262e-12, 0.939693391, 0.342019081, 2.29920261e-09, -0.342022091, 0.939701438),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 820 | Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.300000012, 0.200000003, 0.600000024),MeshType = Enum.MeshType.Wedge,})
| |
| 821 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, 0, 0, -1, -0.939699411, -0.342021286, 0, -0.342021257, 0.939699411, 0),C1 = CFrame.new(-0.250016212, 0.281872749, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 822 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.86797953, 7.80001593, -138.436142, 1.32226452e-11, 1, -1.53790924e-09, 1.00000036, 4.30411262e-12, -2.98023224e-08, -2.98023224e-08, 2.29920261e-09, -1.00000894),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 823 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 824 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 0, -1, 0, -1.00000668, 0),C1 = CFrame.new(-1.45640755, 1.16535378, 0, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 825 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.9180131, 7.80001593, -138.486099, 1.32226452e-11, -1.53790924e-09, -1, 1.00000036, -2.98023224e-08, -4.30411262e-12, -2.98023224e-08, -1.00000894, -2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 826 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 827 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, -1.00000668, 0, 0, 0, 1),C1 = CFrame.new(-1.47349644, 1.11840248, 0.0500335693, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 828 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.199999988, 0.200000003),CFrame = CFrame.new(4.86797953, 9.63987923, -139.379089, 1.44063961e-09, 1, 5.38420808e-10, -0.342020005, 4.30411262e-12, 0.939692974, 0.93970108, 2.29920261e-09, 0.342022926),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 829 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.800000012, 1),})
| |
| 830 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, 0.34202221, 0.939698994, 0, 0, 0, -1, -0.939698994, 0.34202221, 0),C1 = CFrame.new(-0.0500078201, -0.349992752, 0, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 831 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999997631, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 8.55003834, -138.336105, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 832 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0399999991, 0),Scale = Vector3.new(0.200000003, 0.200000003, 0.800000012),})
| |
| 833 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.717402458, 1.00283623, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 834 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.399999678, 0.200000003, 0.200000003),CFrame = CFrame.new(4.86801004, 9.20003986, -138.986115, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 835 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.200000003, 0.899999976),})
| |
| 836 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.328917503, 0.169712067, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 837 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.49999988, 0.100000001, 0.100000001),CFrame = CFrame.new(4.81800699, 7.45002079, -138.536102, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 838 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0250000004, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 839 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-1.81948566, 1.19112206, -0.0499725342, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 840 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.299999684, 0.800000012, 0.200000003),CFrame = CFrame.new(4.86797953, 9.55004978, -138.986099, 5.38420808e-10, 1.44063961e-09, 1, 0.939692974, -0.342020005, 4.30411262e-12, 0.342022926, 0.93970108, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 841 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 1, 0.800000012),})
| |
| 842 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -0.939698994, 0.34202221, 0, 0.34202221, 0.939698994, 0, 0, 0, -1),C1 = CFrame.new(-1.14440918e-05, 0.0500144958, 0, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 843 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999997631, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 8.85004425, -138.33609, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 844 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0.0399999991, 0),Scale = Vector3.new(0.200000003, 0.200000003, 0.800000012),})
| |
| 845 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.435488701, 0.9002285, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 846 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.49999964, 0.100000001, 0.200000003),CFrame = CFrame.new(4.86801004, 10.4500523, -138.536102, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 847 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 848 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(0.999621391, 0.165052414, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 849 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.0999999195, 0.200000003),CFrame = CFrame.new(4.86804056, 6.35001183, -138.486099, 1.53790924e-09, 1.32226452e-11, -1, 2.98023224e-08, 1.00000036, -4.30411262e-12, 1.00000894, -2.98023224e-08, -2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 850 | Mesh = New("CylinderMesh",Part,"Mesh",{Scale = Vector3.new(0.800000012, 1.04999995, 0.800000012),})
| |
| 851 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, 0, 1.00000668, 0, -1.00000668, 0, 0, 0, 0, 1),C1 = CFrame.new(-2.8360548, 1.6143322, 6.10351563e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 852 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.19999969, 0.200000003, 0.100000001),CFrame = CFrame.new(4.86805582, 7.80001593, -138.536102, 1.32226452e-11, -1, 1.53790924e-09, 1.00000036, -4.30411262e-12, 2.98023224e-08, -2.98023224e-08, -2.29920261e-09, 1.00000894),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.105882, 0.164706, 0.207843),})
| |
| 853 | Mesh = New("BlockMesh",Part,"Mesh",{Offset = Vector3.new(0, -0, -0.0250000004),Scale = Vector3.new(1, 0.5, 0.5),})
| |
| 854 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 0, 1, 0, 1.00000668, 0),C1 = CFrame.new(-1.49059582, 1.07142258, 7.62939453e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 855 | Mag = New("Model",Rifle,"Mag",{})
| |
| 856 | MagPart = New("Part",Mag,"MagPart",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.399999678, 1.00000012, 0.200000003),CFrame = CFrame.new(4.86801004, 8.80870724, -139.086884, -2.54032906e-10, 1.51684099e-09, 1, 0.984808087, 0.17364797, 4.30411262e-12, -0.17364952, 0.984816551, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 857 | Mesh = New("BlockMesh",MagPart,"Mesh",{Scale = Vector3.new(0.899999976, 1, 0.699999988),})
| |
| 858 | Weld = New("ManualWeld",MagPart,"Weld",{Part0 = MagPart,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -0.984814465, -0.173649132, 0, -0.173649132, 0.984814465, 0, 0, 0, -1),C1 = CFrame.new(-0.731114388, 0.208864212, 3.05175781e-05, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 859 | Part = New("Part",Mag,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999996886, 1.00000012, 0.200000003),CFrame = CFrame.new(4.86801004, 8.95642948, -139.11293, -2.54032906e-10, 1.51684099e-09, 1, 0.984808087, 0.17364797, 4.30411262e-12, -0.17364952, 0.984816551, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 860 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.899999976, 0.800000012),})
| |
| 861 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = MagPart,C0 = CFrame.new(0, 0, 0, -0.984814465, -0.173649132, 0, -0.173649132, 0.984814465, 0, 0, 0, -1),C1 = CFrame.new(0.150000572, 1.43051147e-06, 0, -0.984814465, -0.173649132, 0, -0.173649132, 0.984814465, 0, 0, 0, -1),})
| |
| 862 | Part = New("Part",Mag,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999996886, 1.00000012, 0.200000003),CFrame = CFrame.new(4.86801004, 8.85794735, -139.095566, -2.54032906e-10, 1.51684099e-09, 1, 0.984808087, 0.17364797, 4.30411262e-12, -0.17364952, 0.984816551, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 863 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.899999976, 0.800000012),})
| |
| 864 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = MagPart,C0 = CFrame.new(0, 0, 0, -0.984814465, -0.173649132, 0, -0.173649132, 0.984814465, 0, 0, 0, -1),C1 = CFrame.new(0.0499992371, 1.43051147e-06, 0, -0.984814465, -0.173649132, 0, -0.173649132, 0.984814465, 0, 0, 0, -1),})
| |
| 865 | Part = New("Part",Mag,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999996886, 1.00000012, 0.200000003),CFrame = CFrame.new(4.86801004, 8.75946617, -139.078201, -2.54032906e-10, 1.51684099e-09, 1, 0.984808087, 0.17364797, 4.30411262e-12, -0.17364952, 0.984816551, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 866 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.899999976, 0.800000012),})
| |
| 867 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = MagPart,C0 = CFrame.new(0, 0, 0, -0.984814465, -0.173649132, 0, -0.173649132, 0.984814465, 0, 0, 0, -1),C1 = CFrame.new(-0.0500011444, 1.43051147e-06, 0, -0.984814465, -0.173649132, 0, -0.173649132, 0.984814465, 0, 0, 0, -1),})
| |
| 868 | Part = New("Part",Mag,"Part",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999996886, 1.00000012, 0.200000003),CFrame = CFrame.new(4.86801004, 8.66098499, -139.060837, -2.54032906e-10, 1.51684099e-09, 1, 0.984808087, 0.17364797, 4.30411262e-12, -0.17364952, 0.984816551, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 869 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.200000003, 0.899999976, 0.800000012),})
| |
| 870 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = MagPart,C0 = CFrame.new(0, 0, 0, -0.984814465, -0.173649132, 0, -0.173649132, 0.984814465, 0, 0, 0, -1),C1 = CFrame.new(-0.150001526, 9.53674316e-07, 0, -0.984814465, -0.173649132, 0, -0.173649132, 0.984814465, 0, 0, 0, -1),})
| |
| 871 | Part = New("Part",Rifle,"Part",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.499999553, 0.200000003, 0.100000001),CFrame = CFrame.new(4.81800699, 8.85004425, -138.486099, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 872 | Mesh = New("BlockMesh",Part,"Mesh",{Scale = Vector3.new(0.949999988, 0.349999994, 1.02499998),})
| |
| 873 | Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.486792564, 0.759271622, -0.0499725342, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 874 | MuzzleFlash = New("Part",Rifle,"MuzzleFlash",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.100000001, 0.100000001, 0.100000001),CFrame = CFrame.new(4.86804056, 6.25002193, -138.486115, 1.53790924e-09, 1.32227007e-11, -1, 0, 1.00000036, -4.30411262e-12, 1.00000894, 0, -2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 875 | Weld = New("ManualWeld",MuzzleFlash,"Weld",{Part0 = MuzzleFlash,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, 0, 1.00000668, 0, -1.00000668, 0, 0, 0, 0, 1),C1 = CFrame.new(-2.93001747, 1.64852142, 6.10351563e-05, -0.939698994, 0.34202221, 0, 0.34202221, 0.939698994, 0, 0, 0, -1),})
| |
| 876 | BoltP1 = New("Part",Rifle,"BoltP1",{Material = Enum.Material.SmoothPlastic,Size = Vector3.new(0.0999995545, 0.200000003, 0.100000001),CFrame = CFrame.new(4.71800089, 8.65003014, -138.486099, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 877 | Mesh = New("BlockMesh",BoltP1,"Mesh",{Offset = Vector3.new(-0.0399999991, 0, 0),Scale = Vector3.new(0.200000003, 0.200000003, 1.20000005),})
| |
| 878 | Weld = New("ManualWeld",BoltP1,"Weld",{Part0 = BoltP1,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.674744606, 0.827680588, -0.149978638, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 879 | Bolt2 = New("Part",Rifle,"Bolt2",{Material = Enum.Material.SmoothPlastic,Transparency = 1,Transparency = 1,Size = Vector3.new(0.0999995619, 0.200000003, 0.100000001),CFrame = CFrame.new(4.81800699, 9.05004692, -138.486099, 1.32226452e-11, 1.53790924e-09, 1, 1.00000036, 2.98023224e-08, 4.30411262e-12, -2.98023224e-08, 1.00000894, 2.29920261e-09),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 880 | Mesh = New("BlockMesh",Bolt2,"Mesh",{Scale = Vector3.new(1, 0.400000006, 1.04999995),})
| |
| 881 | Weld = New("ManualWeld",Bolt2,"Weld",{Part0 = Bolt2,Part1 = Handaru,C0 = CFrame.new(0, 0, 0, -1.00000668, 0, 0, 0, 1.00000668, 0, 0, 0, -1),C1 = CFrame.new(-0.298851967, 0.690867424, -0.0499725342, -0.939698994, 0.34202224, 0, 0.34202224, 0.939698994, 0, 0, 0, -1),})
| |
| 882 | ||
| 883 | Knife2 = New("Part",chara,"Knife2",{BrickColor = BrickColor.new("Really black"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000018, 3, 0.600000024),CFrame = CFrame.new(20.800066, 8.20085621, -102.600151, 0.999997199, -7.43909914e-05, -0.000123201287, 0.000132681176, 7.43816781e-05, 1.00000858, -8.01031129e-05, -0.999997139, 8.01140704e-05),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 884 | Mesh = New("SpecialMesh",Knife2,"Mesh",{MeshId = "rbxassetid://121944778",TextureId = "rbxassetid://121944805",MeshType = Enum.MeshType.FileMesh,})
| |
| 885 | Weld = New("ManualWeld",Knife2,"Weld",{Part0 = Knife2,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, 1, -1.83178334e-11, -9.29553131e-20, -8.93234474e-20, 1.9826904e-10, -1, 1.83178334e-11, 1, 1.9826904e-10),C1 = CFrame.new(0.0998783112, -1.00001431, 0.900054932, -0.999999046, -0.00013233356, 7.98649926e-05, -0.000129168649, 1.00000286, 7.99051195e-05, -7.79679685e-05, 7.79874026e-05, -0.999999046),})
| |
| 886 | ||
| 887 | SheathPart = New("Part",chara,"SheathPart",{BrickColor = BrickColor.new("Really black"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-4.70037603, 7.11581182, -105.941528, 0.000411997637, 0.000128002648, 1, 0.765914023, -0.642943084, -0.00023325636, 0.642943025, 0.765914023, -0.000362930034),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 888 | Mesh = New("SpecialMesh",SheathPart,"Mesh",{Scale = Vector3.new(0.419999987, 2.5, 5),MeshId = "rbxassetid://504776834",MeshType = Enum.MeshType.FileMesh,})
| |
| 889 | Weld = New("ManualWeld",SheathPart,"Weld",{Part0 = SheathPart,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 0.000411997637, 0.765914023, 0.642943025, 0.000128002648, -0.642943084, 0.765914023, 1, -0.00023325636, -0.000362930034),C1 = CFrame.new(-0.399157524, -0.0849089622, 0.44103241, -1, -0.000285560207, 0.000172345346, -0.000285530492, 1, 0.000172423926, -0.000172394575, 0.000172374697, -1),})
| |
| 890 | KnifeH = New("Part",chara,"KnifeH",{BrickColor = BrickColor.new("Really black"),FormFactor = Enum.FormFactor.Custom,Size = Vector3.new(0.200000003, 0.200000003, 0.200000003),CFrame = CFrame.new(-4.70015621, 7.43445921, -105.543449, 1, -0.000408680877, -0.00014000498, -0.000222999661, -0.765914917, 0.642942011, -0.000369990012, -0.642941952, -0.765914917),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
| |
| 891 | Mesh = New("SpecialMesh",KnifeH,"Mesh",{MeshId = "rbxassetid://121944778",TextureId = "rbxassetid://121944805",MeshType = Enum.MeshType.FileMesh,})
| |
| 892 | Weld = New("ManualWeld",KnifeH,"Weld",{Part0 = KnifeH,Part1 = LeftLeg,C0 = CFrame.new(0, 0, 0, 1, -0.000222999661, -0.000369990012, -0.000408680877, -0.765914917, -0.642941952, -0.00014000498, 0.642942011, -0.765914917),C1 = CFrame.new(-0.399399757, 0.23380661, 0.043006897, -1, -0.000285560207, 0.000172345346, -0.000285530492, 1, 0.000172423926, -0.000172394575, 0.000172374697, -1),})
| |
| 893 | ||
| 894 | Knife2.Transparency = 1 | |
| 895 | KnifeH.Transparency = 0 | |
| 896 | ||
| 897 | function CreateTrailObj(parent,color1,color2,ofsx,ofsz) | |
| 898 | local Att1 = New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)})
| |
| 899 | local Att2 = New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)})
| |
| 900 | local TEff = New("Trail",parent,"TrailEff",{Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new(color1).Color),ColorSequenceKeypoint.new(1,BrickColor.new(color2).Color)}),Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,1)}),Attachment0 = Att1,Attachment1 = Att2,Enabled = false,Lifetime = .5,MinLength = .001})
| |
| 901 | return TEff | |
| 902 | end | |
| 903 | ||
| 904 | LLTr = CreateTrailObj(LeftLeg,"White","White",0,0) | |
| 905 | RLTr = CreateTrailObj(RightLeg,"White","White",0,0) | |
| 906 | LATr = CreateTrailObj(LeftArm,"White","White",0,0) | |
| 907 | RATr = CreateTrailObj(RightArm,"White","White",0,0) | |
| 908 | ||
| 909 | local p1mit = Instance.new("ParticleEmitter",Knife2)
| |
| 910 | p1mit.Texture = "rbxasset://textures/particles/fire_main.dds" | |
| 911 | p1mit.Color = ColorSequence.new(Color3.new(.6,0,0)) | |
| 912 | p1mit.Size = NumberSequence.new(1,0) | |
| 913 | p1mit.Lifetime = NumberRange.new(2) | |
| 914 | p1mit.Rate = 100 | |
| 915 | p1mit.Enabled = false | |
| 916 | p1mit.Acceleration = Vector3.new(0,-10,0) | |
| 917 | p1mit.Rotation = NumberRange.new(0,359) | |
| 918 | p1mit.Speed = NumberRange.new(0) | |
| 919 | p1mit.Enabled = false | |
| 920 | ||
| 921 | local tr2 | |
| 922 | spawn(function() | |
| 923 | local Att1 = New("Attachment",Knife2,"Att1",{Position = Vector3.new(0,1.3,.2)})
| |
| 924 | local Att2 = New("Attachment",Knife2,"Att2",{Position = Vector3.new(0,-.5,.2)})
| |
| 925 | tr2 = New("Trail",Knife2,"TrailEff",{Color = ColorSequence.new(Color3.new(.8,.8,.8)),Transparency = NumberSequence.new(0,1),Attachment0 = Att1,Attachment1 = Att2,Enabled = false,Lifetime = .5,MinLength = .001})
| |
| 926 | end) | |
| 927 | ||
| 928 | local scr = Instance.new("ScreenGui",Player:FindFirstChildOfClass("PlayerGui"))
| |
| 929 | local fr1 = Instance.new("Frame",scr)
| |
| 930 | fr1.AnchorPoint = Vector2.new(1,.5) | |
| 931 | fr1.BackgroundTransparency = 1 | |
| 932 | fr1.BorderSizePixel = 0 | |
| 933 | fr1.Position = UDim2.new(1,0,.6,0) | |
| 934 | fr1.Size = UDim2.new(0,150,0,200) | |
| 935 | ||
| 936 | local imgbase = Instance.new("ImageLabel")
| |
| 937 | imgbase.BackgroundTransparency = 1 | |
| 938 | imgbase.BorderSizePixel = 0 | |
| 939 | imgbase.Size = UDim2.new(0,50,0,50) | |
| 940 | imgbase.ImageColor3 = Color3.new(.3,.3,.3) | |
| 941 | ||
| 942 | local img1 = imgbase:Clone() | |
| 943 | img1.Parent = fr1 | |
| 944 | img1.Image = "rbxassetid://50231593" | |
| 945 | img1.ImageColor3 = Color3.new(1,1,1) | |
| 946 | ||
| 947 | imgbase:Destroy() | |
| 948 | ||
| 949 | local txtbase = Instance.new("TextLabel")
| |
| 950 | txtbase.BackgroundTransparency = 1 | |
| 951 | txtbase.BorderSizePixel = 0 | |
| 952 | txtbase.Size = UDim2.new(0,100,0,50) | |
| 953 | txtbase.Font = "Highway" | |
| 954 | txtbase.TextSize = 30 | |
| 955 | txtbase.TextColor3 = Color3.new(.3,.3,.3) | |
| 956 | txtbase.TextStrokeColor3 = Color3.new(0,0,0) | |
| 957 | txtbase.TextStrokeTransparency = 0 | |
| 958 | ||
| 959 | local txt1 = txtbase:Clone() | |
| 960 | txt1.Parent = fr1 | |
| 961 | txt1.Text = "30/30" | |
| 962 | txt1.TextColor3 = Color3.new(1,1,1) | |
| 963 | txt1.Position = UDim2.new(0,50,0,0) | |
| 964 | ||
| 965 | txtbase:Destroy() | |
| 966 | ||
| 967 | local fr2 = Instance.new("Frame",scr)
| |
| 968 | fr2.AnchorPoint = Vector2.new(.5,.5) | |
| 969 | fr2.BackgroundColor3 = Color3.new(0,0,0) | |
| 970 | fr2.BorderColor3 = Color3.new(0,0,0) | |
| 971 | fr2.BorderSizePixel = 5 | |
| 972 | fr2.Position = UDim2.new(.5,0,.8,0) | |
| 973 | fr2.Size = UDim2.new(0,300,0,30) | |
| 974 | ||
| 975 | local hpbar = Instance.new("Frame",fr2)
| |
| 976 | hpbar.BackgroundColor3 = Color3.new(0,1,0) | |
| 977 | hpbar.BorderSizePixel = 0 | |
| 978 | hpbar.Size = UDim2.new(1,0,1,0) | |
| 979 | local hptext = Instance.new("TextLabel",fr2)
| |
| 980 | hptext.BackgroundTransparency = 1 | |
| 981 | hptext.BorderSizePixel = 0 | |
| 982 | hptext.LayoutOrder = -1 | |
| 983 | hptext.Size = UDim2.new(0,100,1,0) | |
| 984 | hptext.Font = "Highway" | |
| 985 | hptext.Text = " + 100" | |
| 986 | hptext.TextColor3 = Color3.new(1,1,1) | |
| 987 | hptext.TextSize = 30 | |
| 988 | hptext.TextXAlignment = "Left" | |
| 989 | ||
| 990 | coroutine.wrap(function() | |
| 991 | while true do | |
| 992 | swait() | |
| 993 | txt1.Text = shots.."/30" | |
| 994 | end | |
| 995 | end)() | |
| 996 | ||
| 997 | coroutine.wrap(function() | |
| 998 | while true do | |
| 999 | swait() | |
| 1000 | local hp = Humanoid.Health | |
| 1001 | local mhp = Humanoid.MaxHealth | |
| 1002 | hpbar.Size = UDim2.new(hp/mhp,0,1,0) | |
| 1003 | if healing == false then | |
| 1004 | hpbar.BackgroundColor3 = Color3.new(1-(hp/mhp),hp/mhp,0) | |
| 1005 | else | |
| 1006 | hpbar.BackgroundColor3 = Color3.new(1,1,0) | |
| 1007 | end | |
| 1008 | hptext.Text = " + "..(math.floor(hp)) | |
| 1009 | end | |
| 1010 | end)() | |
| 1011 | ||
| 1012 | local li = Instance.new("SpotLight",Head)
| |
| 1013 | li.Angle = 90 | |
| 1014 | li.Brightness = 50 | |
| 1015 | li.Shadows = true | |
| 1016 | li.Range = 30 | |
| 1017 | li.Enabled = false | |
| 1018 | ||
| 1019 | function rayCast(Position, Direction, Range, Ignore) | |
| 1020 | return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
| |
| 1021 | end | |
| 1022 | ||
| 1023 | function FindNearestTorso(Position, Distance, SinglePlayer) | |
| 1024 | if SinglePlayer then | |
| 1025 | return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance | |
| 1026 | end | |
| 1027 | local List = {}
| |
| 1028 | for i, v in pairs(workspace:GetDescendants()) do | |
| 1029 | if v:IsA("Model") then
| |
| 1030 | if v:findFirstChild("Head") then
| |
| 1031 | if v ~= chara then | |
| 1032 | if (v.Head.Position - Position).magnitude <= Distance then | |
| 1033 | table.insert(List, v) | |
| 1034 | end | |
| 1035 | end | |
| 1036 | end | |
| 1037 | end | |
| 1038 | end | |
| 1039 | return List | |
| 1040 | end | |
| 1041 | ||
| 1042 | EffectModel = Create("Model"){
| |
| 1043 | Parent = chara, | |
| 1044 | Name = "Effects", | |
| 1045 | } | |
| 1046 | ||
| 1047 | --Effect Functions-- | |
| 1048 | Effects = {
| |
| 1049 | ||
| 1050 | Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor) | |
| 1051 | local p = Instance.new("Part",EffectModel)
| |
| 1052 | p.BrickColor = BrickColor.new(colour) | |
| 1053 | p.Size = partsize | |
| 1054 | p.Anchored = true | |
| 1055 | p.CanCollide = false | |
| 1056 | p.Material = matr | |
| 1057 | p.CFrame = cf | |
| 1058 | if inverse == true then | |
| 1059 | p.Transparency = 1 | |
| 1060 | else | |
| 1061 | p.Transparency = 0 | |
| 1062 | end | |
| 1063 | local m = Instance.new("BlockMesh",p)
| |
| 1064 | m.Scale = meshstart | |
| 1065 | coroutine.wrap(function() | |
| 1066 | for i=0,1,factor do | |
| 1067 | swait() | |
| 1068 | if inverse == true then | |
| 1069 | p.Transparency = 1-i | |
| 1070 | else | |
| 1071 | p.Transparency = i | |
| 1072 | end | |
| 1073 | m.Scale = m.Scale + meshadd | |
| 1074 | if spin == true then | |
| 1075 | p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1076 | end | |
| 1077 | end | |
| 1078 | p:Destroy() | |
| 1079 | end)() | |
| 1080 | return p | |
| 1081 | end, | |
| 1082 | ||
| 1083 | Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor) | |
| 1084 | local p = Instance.new("Part",EffectModel)
| |
| 1085 | p.BrickColor = BrickColor.new(colour) | |
| 1086 | p.Size = partsize | |
| 1087 | p.Anchored = true | |
| 1088 | p.CanCollide = false | |
| 1089 | p.Material = matr | |
| 1090 | p.CFrame = cf | |
| 1091 | if inverse == true then | |
| 1092 | p.Transparency = 1 | |
| 1093 | else | |
| 1094 | p.Transparency = 0 | |
| 1095 | end | |
| 1096 | local m = Instance.new("SpecialMesh",p)
| |
| 1097 | m.MeshType = "Sphere" | |
| 1098 | m.Scale = meshstart | |
| 1099 | coroutine.wrap(function() | |
| 1100 | for i=0,1,factor do | |
| 1101 | swait() | |
| 1102 | if inverse == true then | |
| 1103 | p.Transparency = 1-i | |
| 1104 | else | |
| 1105 | p.Transparency = i | |
| 1106 | end | |
| 1107 | m.Scale = m.Scale + meshadd | |
| 1108 | end | |
| 1109 | p:Destroy() | |
| 1110 | end)() | |
| 1111 | return p | |
| 1112 | end, | |
| 1113 | ||
| 1114 | Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor) | |
| 1115 | local p = Instance.new("Part",EffectModel)
| |
| 1116 | p.BrickColor = BrickColor.new(colour) | |
| 1117 | p.Size = partsize | |
| 1118 | p.Anchored = true | |
| 1119 | p.CanCollide = false | |
| 1120 | p.Material = matr | |
| 1121 | p.CFrame = cf | |
| 1122 | if inverse == true then | |
| 1123 | p.Transparency = 1 | |
| 1124 | else | |
| 1125 | p.Transparency = 0 | |
| 1126 | end | |
| 1127 | local m = Instance.new("CylinderMesh",p)
| |
| 1128 | m.Scale = meshstart | |
| 1129 | coroutine.wrap(function() | |
| 1130 | for i=0,1,factor do | |
| 1131 | swait() | |
| 1132 | if inverse == true then | |
| 1133 | p.Transparency = 1-i | |
| 1134 | else | |
| 1135 | p.Transparency = i | |
| 1136 | end | |
| 1137 | m.Scale = m.Scale + meshadd | |
| 1138 | end | |
| 1139 | p:Destroy() | |
| 1140 | end)() | |
| 1141 | return p | |
| 1142 | end, | |
| 1143 | ||
| 1144 | Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor) | |
| 1145 | local p = Instance.new("Part",EffectModel)
| |
| 1146 | p.BrickColor = BrickColor.new(colour) | |
| 1147 | p.Size = Vector3.new() | |
| 1148 | p.Anchored = true | |
| 1149 | p.CanCollide = false | |
| 1150 | p.CFrame = cf | |
| 1151 | if inverse == true then | |
| 1152 | p.Transparency = 1 | |
| 1153 | else | |
| 1154 | p.Transparency = 0 | |
| 1155 | end | |
| 1156 | local m = Instance.new("SpecialMesh",p)
| |
| 1157 | m.MeshId = "rbxassetid://20329976" | |
| 1158 | m.Scale = meshstart | |
| 1159 | coroutine.wrap(function() | |
| 1160 | for i=0,1,factor do | |
| 1161 | swait() | |
| 1162 | if inverse == true then | |
| 1163 | p.Transparency = 1-i | |
| 1164 | else | |
| 1165 | p.Transparency = i | |
| 1166 | end | |
| 1167 | m.Scale = m.Scale + meshadd | |
| 1168 | p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0) | |
| 1169 | end | |
| 1170 | p:Destroy() | |
| 1171 | end)() | |
| 1172 | return p | |
| 1173 | end, | |
| 1174 | ||
| 1175 | Ring = function(cf,meshstart,meshadd,colour,inverse,factor) | |
| 1176 | local p = Instance.new("Part",EffectModel)
| |
| 1177 | p.BrickColor = BrickColor.new(colour) | |
| 1178 | p.Size = Vector3.new() | |
| 1179 | p.Anchored = true | |
| 1180 | p.CanCollide = false | |
| 1181 | p.CFrame = cf | |
| 1182 | if inverse == true then | |
| 1183 | p.Transparency = 1 | |
| 1184 | else | |
| 1185 | p.Transparency = 0 | |
| 1186 | end | |
| 1187 | local m = Instance.new("SpecialMesh",p)
| |
| 1188 | m.MeshId = "rbxassetid://3270017" | |
| 1189 | m.Scale = meshstart | |
| 1190 | coroutine.wrap(function() | |
| 1191 | for i=0,1,factor do | |
| 1192 | swait() | |
| 1193 | if inverse == true then | |
| 1194 | p.Transparency = 1-i | |
| 1195 | else | |
| 1196 | p.Transparency = i | |
| 1197 | end | |
| 1198 | m.Scale = m.Scale + meshadd | |
| 1199 | end | |
| 1200 | p:Destroy() | |
| 1201 | end)() | |
| 1202 | return p | |
| 1203 | end, | |
| 1204 | ||
| 1205 | Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor) | |
| 1206 | local p = Instance.new("Part",EffectModel)
| |
| 1207 | p.BrickColor = BrickColor.new(colour) | |
| 1208 | p.Size = Vector3.new() | |
| 1209 | p.Anchored = true | |
| 1210 | p.CanCollide = false | |
| 1211 | p.CFrame = cf | |
| 1212 | if inverse == true then | |
| 1213 | p.Transparency = 1 | |
| 1214 | else | |
| 1215 | p.Transparency = 0 | |
| 1216 | end | |
| 1217 | local m = Instance.new("SpecialMesh",p)
| |
| 1218 | m.MeshId = meshid | |
| 1219 | m.TextureId = textid | |
| 1220 | m.Scale = meshstart | |
| 1221 | coroutine.wrap(function() | |
| 1222 | for i=0,1,factor do | |
| 1223 | swait() | |
| 1224 | if inverse == true then | |
| 1225 | p.Transparency = 1-i | |
| 1226 | else | |
| 1227 | p.Transparency = i | |
| 1228 | end | |
| 1229 | m.Scale = m.Scale + meshadd | |
| 1230 | p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0) | |
| 1231 | end | |
| 1232 | p:Destroy() | |
| 1233 | end)() | |
| 1234 | return p | |
| 1235 | end, | |
| 1236 | ||
| 1237 | Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor) | |
| 1238 | local p = Instance.new("Part",EffectModel)
| |
| 1239 | p.BrickColor = BrickColor.new(colour) | |
| 1240 | p.Size = partsize | |
| 1241 | p.Anchored = true | |
| 1242 | p.CanCollide = false | |
| 1243 | p.Material = matr | |
| 1244 | p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))) | |
| 1245 | if inverse == true then | |
| 1246 | p.Transparency = 1 | |
| 1247 | else | |
| 1248 | p.Transparency = 0 | |
| 1249 | end | |
| 1250 | local m = Instance.new("SpecialMesh",p)
| |
| 1251 | m.MeshType = "Sphere" | |
| 1252 | m.Scale = meshstart | |
| 1253 | coroutine.wrap(function() | |
| 1254 | for i=0,1,factor do | |
| 1255 | swait() | |
| 1256 | if inverse == true then | |
| 1257 | p.Transparency = 1-i | |
| 1258 | else | |
| 1259 | p.Transparency = i | |
| 1260 | end | |
| 1261 | m.Scale = m.Scale + meshadd | |
| 1262 | p.CFrame = p.CFrame * CFrame.new(0,move,0) | |
| 1263 | end | |
| 1264 | p:Destroy() | |
| 1265 | end)() | |
| 1266 | return p | |
| 1267 | end, | |
| 1268 | ||
| 1269 | } | |
| 1270 | ||
| 1271 | function GetDudesTorso(c) | |
| 1272 | local torsy = (c:findFirstChild("Torso") or c:findFirstChild("UpperTorso"))
| |
| 1273 | if torsy ~= nil then | |
| 1274 | return torsy | |
| 1275 | end | |
| 1276 | end | |
| 1277 | ||
| 1278 | function BodyVel(part,faws) | |
| 1279 | local bodyvel = Instance.new("BodyVelocity",part)
| |
| 1280 | local pep = 10000000 | |
| 1281 | bodyvel.P = pep | |
| 1282 | bodyvel.MaxForce = Vector3.new(pep,pep,pep) | |
| 1283 | bodyvel.Velocity = faws | |
| 1284 | debby:AddItem(bodyvel,.2) | |
| 1285 | end | |
| 1286 | ||
| 1287 | function Dmg(dude,dmg,env,faws,trip,efftyp,toim) | |
| 1288 | if dude and dude ~= chara then | |
| 1289 | if dude:FindFirstChild("HITO") then return end
| |
| 1290 | if toim ~= 0 then | |
| 1291 | local debounce = Instance.new("BoolValue",dude)
| |
| 1292 | debounce.Name = "HITO" | |
| 1293 | debby:AddItem(debounce,toim) | |
| 1294 | end | |
| 1295 | local hum = dude:FindFirstChildOfClass("Humanoid")
| |
| 1296 | local dam = dmg+math.random(-env,env) | |
| 1297 | local teksu = "-"..dam | |
| 1298 | if hum then | |
| 1299 | local finhel = hum.Health - dam | |
| 1300 | if (finhel <= 0 and dude:FindFirstChild("DEATHED")==nil) or dmg == math.huge then
| |
| 1301 | teksu = "DEATH" | |
| 1302 | dude:BreakJoints() | |
| 1303 | Instance.new("BoolValue",dude).Name = "DEATHED"
| |
| 1304 | --local soaa = Instance.new("Sound",dude.Head)
| |
| 1305 | --local cho = math.random(1,5) | |
| 1306 | --if cho == 1 then | |
| 1307 | --soaa.SoundId = "rbxassetid://111896685" | |
| 1308 | --elseif cho == 2 then | |
| 1309 | --soaa.SoundId = "rbxassetid://535528169" | |
| 1310 | --elseif cho == 3 then | |
| 1311 | --soaa.SoundId = "rbxassetid://1080363252" | |
| 1312 | --elseif cho == 4 then | |
| 1313 | --soaa.SoundId = "rbxassetid://147758746" | |
| 1314 | --elseif cho == 5 then | |
| 1315 | --soaa.SoundId = "rbxassetid://626777433" | |
| 1316 | --soaa.Volume = .2 | |
| 1317 | --soaa.TimePosition = 1 | |
| 1318 | --end | |
| 1319 | --game:service'Debris':AddItem(soaa,6) | |
| 1320 | --soaa:Play() | |
| 1321 | end | |
| 1322 | if dmg ~= math.huge then | |
| 1323 | hum.Health = hum.Health - dam | |
| 1324 | end | |
| 1325 | end | |
| 1326 | coroutine.wrap(function() | |
| 1327 | local naeeym2 = Instance.new("BillboardGui",dude)
| |
| 1328 | naeeym2.Size = UDim2.new(0,100,0,40) | |
| 1329 | naeeym2.StudsOffset = Vector3.new(0,3,0) | |
| 1330 | naeeym2.Adornee = dude:FindFirstChild("Head")
| |
| 1331 | naeeym2.Name = "TalkingBillBoard" | |
| 1332 | local tecks2 = Instance.new("TextLabel",naeeym2)
| |
| 1333 | tecks2.BackgroundTransparency = 1 | |
| 1334 | tecks2.BorderSizePixel = 0 | |
| 1335 | tecks2.Text = teksu | |
| 1336 | tecks2.Font = "Fantasy" | |
| 1337 | tecks2.TextSize = 24 | |
| 1338 | tecks2.TextStrokeTransparency = 0 | |
| 1339 | tecks2.TextColor3 = Color3.new(1,1,1) | |
| 1340 | tecks2.TextStrokeColor3 = Color3.new(0,0,0) | |
| 1341 | tecks2.Size = UDim2.new(1,0,0.5,0) | |
| 1342 | swait(10) | |
| 1343 | for i = 0,1,.05 do | |
| 1344 | swait() | |
| 1345 | tecks2.Position = tecks2.Position - UDim2.new(0,0,.005,0) | |
| 1346 | tecks2.TextStrokeTransparency = i | |
| 1347 | tecks2.TextTransparency = i | |
| 1348 | end | |
| 1349 | naeeym2:Destroy() | |
| 1350 | end)() | |
| 1351 | local torsy = GetDudesTorso(dude) | |
| 1352 | if torsy then | |
| 1353 | local amtt = dam/5 | |
| 1354 | if amtt > 30 then | |
| 1355 | amtt = 30 | |
| 1356 | end | |
| 1357 | for i=1,amtt do | |
| 1358 | local blp = Instance.new("Part",EffectModel)
| |
| 1359 | blp.Size = Vector3.new(.3,.3,.3) | |
| 1360 | blp.BrickColor = BrickColor.new("Crimson")
| |
| 1361 | blp.CFrame = torsy.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1362 | blp.Velocity = torsy.CFrame.lookVector*math.random(-8,-8) + torsy.CFrame.rightVector*math.random(-8,8) + Vector3.new(0,math.random(0,5),0) | |
| 1363 | blp.RotVelocity = Vector3.new(math.random(-15,15),math.random(-15,15),math.random(-15,15)) | |
| 1364 | --local blm = Instance.new("SpecialMesh",blp)
| |
| 1365 | --blm.MeshType = "Sphere" | |
| 1366 | coroutine.wrap(function() | |
| 1367 | swait(10) | |
| 1368 | blp.Orientation = Vector3.new(0,blp.Orientation.y,0) | |
| 1369 | for i=0,1,.1 do | |
| 1370 | swait() | |
| 1371 | blp.Transparency = i | |
| 1372 | blp.Size = blp.Size + Vector3.new(.05,-.05,.05) | |
| 1373 | end | |
| 1374 | blp:Destroy() | |
| 1375 | end)() | |
| 1376 | end | |
| 1377 | if efftyp == "Blunt" then | |
| 1378 | puncheff(torsy) | |
| 1379 | elseif efftyp == "Sharp" then | |
| 1380 | slasheff(torsy) | |
| 1381 | coroutine.wrap(function() | |
| 1382 | if Knife2.Transparency == 0 then | |
| 1383 | p1mit.Enabled = true | |
| 1384 | swait(10) | |
| 1385 | p1mit.Enabled = false | |
| 1386 | end | |
| 1387 | end)() | |
| 1388 | elseif efftyp == "Shot" then | |
| 1389 | so(144884872,torsy,.9,1) | |
| 1390 | end | |
| 1391 | if faws ~= 0 then | |
| 1392 | BodyVel(torsy,faws) | |
| 1393 | end | |
| 1394 | if trip == true then | |
| 1395 | torsy.CFrame = torsy.CFrame * CFrame.Angles(math.rad(-90),0,0) | |
| 1396 | torsy.RotVelocity = Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50)) | |
| 1397 | end | |
| 1398 | end | |
| 1399 | end | |
| 1400 | end | |
| 1401 | ||
| 1402 | function MagnitudeDmg(par,magni,dmg,env,faws,trip,efftyp,toim) | |
| 1403 | for _, c in pairs(workspace:GetDescendants()) do | |
| 1404 | local hum = c:FindFirstChildOfClass("Humanoid")
| |
| 1405 | if hum ~= nil and c:FindFirstChild("IsTeamMateOfCK")==nil then
| |
| 1406 | local head = GetDudesTorso(c) | |
| 1407 | if head ~= nil then | |
| 1408 | local targ = head.Position - par.Position | |
| 1409 | local mag = targ.magnitude | |
| 1410 | if magni >= mag and c ~= chara then | |
| 1411 | Dmg(c,dmg,env,faws,trip,efftyp,toim) | |
| 1412 | end | |
| 1413 | end | |
| 1414 | end | |
| 1415 | end | |
| 1416 | end | |
| 1417 | ||
| 1418 | function CamShake(par,magni,env,dur) | |
| 1419 | coroutine.wrap(function() | |
| 1420 | for i=0,dur*60 do | |
| 1421 | swait() | |
| 1422 | Humanoid.CameraOffset = Vector3.new(math.random(-(env*10),(env*10))/10,math.random(-(env*10),(env*10))/10,math.random(-(env*10),(env*10))/10) | |
| 1423 | end | |
| 1424 | Humanoid.CameraOffset = Vector3.new() | |
| 1425 | end)() | |
| 1426 | end | |
| 1427 | ||
| 1428 | function puncheff(par) | |
| 1429 | if par.Parent:FindFirstChild("DebounceHit")==nil then
| |
| 1430 | so(386946017,par,math.random(80,120)/100,1) | |
| 1431 | Effects.Sphere(par.CFrame,Vector3.new(1,1,1),Vector3.new(1,1,1),Vector3.new(.1,.1,.1),"Neon","White",false,.1) | |
| 1432 | end | |
| 1433 | end | |
| 1434 | ||
| 1435 | function slasheff(par) | |
| 1436 | if par.Parent:FindFirstChild("DebounceHit")==nil then
| |
| 1437 | local cho = math.random(1,3) | |
| 1438 | so(444667859,par,1,1) | |
| 1439 | Effects.Sphere(par.CFrame*CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360)),Vector3.new(.5,.5,.5),Vector3.new(1,0,1),Vector3.new(-.1,5,-.1),"Neon","White",false,.1) | |
| 1440 | CamShake(par,3,.3,.5) | |
| 1441 | end | |
| 1442 | end | |
| 1443 | ||
| 1444 | function gunreload() | |
| 1445 | local bolting = false | |
| 1446 | if shots < 1 then | |
| 1447 | bolting = true | |
| 1448 | end | |
| 1449 | for i=0,1,.2 do | |
| 1450 | swait() | |
| 1451 | PlayAnimationFromTable({
| |
| 1452 | CFrame.new(7.16576396e-05, -8.09862577e-09, 5.8991347e-05, 0.866025805, 5.21622605e-05, -0.499999523, -8.21355061e-05, 1, -3.79384437e-05, 0.500003934, 7.39239331e-05, 0.866033435), | |
| 1453 | CFrame.new(-0.000200522729, 1.49998856, -2.10760772e-05, 0.866025805, -8.21355061e-05, 0.500003934, 5.21622605e-05, 1, 7.39239331e-05, -0.499999523, -3.79384437e-05, 0.866033435), | |
| 1454 | CFrame.new(1.19112039, 0.509645581, -0.936723173, 0.866108775, 0.469844252, -0.170603499, 0.000398069969, -0.34195143, -0.939717591, -0.499855638, 0.813835204, -0.296356052), | |
| 1455 | CFrame.new(-1.01784408, -0.307534277, 0.587668538, 0.813770115, -0.296275973, 0.499998927, 0.342069209, 0.939674795, 7.47573649e-05, -0.469858527, 0.170973375, 0.866026163), | |
| 1456 | CFrame.new(0.500045836, -2.00001574, 6.10351854e-05, 1.00000012, 0, 0, 0, 1, -1.09139364e-11, 0, -1.09139364e-11, 1.00000012), | |
| 1457 | CFrame.new(-0.499982297, -2.00001812, -1.68383121e-06, 0.866025805, 7.7745608e-07, 0.499999464, -9.20089349e-07, 1, 3.87553882e-08, -0.499999464, -4.93619154e-07, 0.866025805), | |
| 1458 | }, .4, false) | |
| 1459 | end | |
| 1460 | so(1550642637,RightArm,1,1) | |
| 1461 | local magh = Mag:Clone() | |
| 1462 | local magd = Mag:Clone() | |
| 1463 | magd.Parent = chara | |
| 1464 | magd:MoveTo(MagPart.Position) | |
| 1465 | magd.MagPart.CFrame = MagPart.CFrame | |
| 1466 | for i,v in pairs(Mag:children'') do | |
| 1467 | v.Transparency = 1 | |
| 1468 | end | |
| 1469 | for i,v in pairs(magd:children'') do | |
| 1470 | v.CanCollide = true | |
| 1471 | end | |
| 1472 | coroutine.wrap(function() | |
| 1473 | swait(120) | |
| 1474 | for ab=0,1,.1 do | |
| 1475 | swait() | |
| 1476 | for i,v in pairs(magd:children'') do | |
| 1477 | v.Transparency = ab | |
| 1478 | end | |
| 1479 | end | |
| 1480 | magd:Destroy() | |
| 1481 | end)() | |
| 1482 | swait(10) | |
| 1483 | magh.MagPart.Weld.Part1 = LeftArm | |
| 1484 | magh.MagPart.Weld.C1 = CFrame.new() | |
| 1485 | magh.MagPart.Weld.C0 = CFrame.new(-1,0,-.1) * CFrame.Angles(math.rad(90),0,math.rad(90)) | |
| 1486 | magh.Parent = chara | |
| 1487 | for i=0,1,.1 do | |
| 1488 | swait() | |
| 1489 | PlayAnimationFromTable({
| |
| 1490 | CFrame.new(6.78431461e-05, -8.38813463e-09, 6.55982731e-05, 0.866028309, 5.21623115e-05, -0.500000954, -8.2135979e-05, 1, -3.7939295e-05, 0.500000954, 7.39235766e-05, 0.866028368), | |
| 1491 | CFrame.new(-0.000197320973, 1.4999876, -1.30886638e-05, 0.98481077, -8.24863091e-05, 0.173648238, 7.46281003e-05, 1, 5.17808985e-05, -0.173648268, -3.80359343e-05, 0.98481077), | |
| 1492 | CFrame.new(1.1081171, 0.229849994, -0.552296758, 0.32167092, 0.529445052, -0.784998, -0.865821123, -0.171100825, -0.47018975, -0.383253366, 0.83091414, 0.403366506), | |
| 1493 | CFrame.new(-0.717486799, 0.926528692, -1.03411949, 0.0336538404, -0.23535648, -0.971329331, -0.966074884, 0.241339579, -0.0919491872, 0.256061047, 0.941471338, -0.219250023), | |
| 1494 | CFrame.new(0.500048757, -2.00001621, 5.34072533e-05, 1.00000596, -8.18545232e-11, 0, -8.18545232e-11, 1, -5.85714588e-10, 0, -5.85714588e-10, 1.00000596), | |
| 1495 | CFrame.new(-0.499987721, -2.00001812, -2.68220901e-07, 0.866030872, 7.77390596e-07, 0.500002384, -9.19890795e-07, 1, 3.82206053e-08, -0.500002325, -4.94204869e-07, 0.866030872), | |
| 1496 | }, .4, false) | |
| 1497 | end | |
| 1498 | magh:Destroy() | |
| 1499 | so(1550643261,RightArm,1,1) | |
| 1500 | for i,v in pairs(Mag:children'') do | |
| 1501 | v.Transparency = 0 | |
| 1502 | end | |
| 1503 | shots=1 | |
| 1504 | if bolting then | |
| 1505 | shots=0 | |
| 1506 | swait(10) | |
| 1507 | for i=0,1,.1 do | |
| 1508 | swait() | |
| 1509 | PlayAnimationFromTable({
| |
| 1510 | CFrame.new(7.16576469e-05, -8.0986311e-09, 5.89913543e-05, 0.866025865, 5.21622605e-05, -0.499999553, -8.2135557e-05, 1, -3.79385383e-05, 0.500003994, 7.39240495e-05, 0.866033494), | |
| 1511 | CFrame.new(-0.0471813381, 1.46578491, -0.0813962817, 0.866025865, -0.171088517, 0.4698219, 5.20799076e-05, 0.939667284, 0.342089593, -0.499999523, -0.296236575, 0.813792229), | |
| 1512 | CFrame.new(0.903510451, 0.733465374, -0.540370524, 0.0522459783, 0.845055699, 0.532124102, 0.996226788, -0.00712709641, -0.0864949599, -0.0693004429, 0.534644127, -0.842239022), | |
| 1513 | CFrame.new(-1.3147887, 0.362699449, -0.10727562, 0.924801946, -0.332139075, 0.18555221, 0.0397336259, -0.400726348, -0.915335894, 0.37838313, 0.853878319, -0.35739553), | |
| 1514 | CFrame.new(0.500048101, -2.00001764, 6.48489149e-05, 1.00000465, 6.20275387e-10, 7.62939453e-06, 6.20275387e-10, 1, 1.05501385e-09, 7.62939453e-06, 1.05501385e-09, 1.00001347), | |
| 1515 | CFrame.new(-0.499982387, -2.0000186, 2.08616257e-06, 0.866025865, 7.78074536e-07, 0.500008345, -9.20103844e-07, 1, 3.99777491e-08, -0.499999523, -4.92556865e-07, 0.866041124), | |
| 1516 | }, .4, false) | |
| 1517 | end | |
| 1518 | so(437204112,RightArm,1,1) | |
| 1519 | swait(5) | |
| 1520 | end | |
| 1521 | shots = shots+30 | |
| 1522 | end | |
| 1523 | ||
| 1524 | function wepknifestab() | |
| 1525 | attack = true | |
| 1526 | Humanoid.WalkSpeed = 2 | |
| 1527 | for i=0,1,.2 do | |
| 1528 | swait() | |
| 1529 | PlayAnimationFromTable({
| |
| 1530 | CFrame.new(0.000179143899, 4.94844912e-08, -0.000147477331, 0.500000775, 1.22923609e-06, -0.86602509, -0.000292493496, 1.00000012, -0.000167452119, 0.866025031, 0.000337032834, 0.500000775), | |
| 1531 | CFrame.new(-0.000420931523, 1.50010991, -7.43984856e-06, 0.500000775, -0.000292493496, 0.866025031, 1.22923609e-06, 1.00000012, 0.000337032834, -0.86602509, -0.000167452119, 0.500000775), | |
| 1532 | CFrame.new(0.839951992, 0.256004274, -0.958486319, 0.499996692, 0.813799739, 0.2961981, 4.75931301e-06, 0.342016816, -0.939693928, -0.866027415, 0.469845295, 0.171003401), | |
| 1533 | CFrame.new(-1.22089827, -0.164978445, -0.0866824239, 0.983905554, -0.138054684, 0.113450736, 0.176127508, 0.856396437, -0.485349834, -0.0301539302, 0.497520208, 0.866928339), | |
| 1534 | CFrame.new(0.500076354, -2.00016046, 1.52737084e-05, 1.00000012, -1.45519152e-11, 2.98023224e-08, -1.45519152e-11, 1.00000012, -7.27595761e-12, 2.98023224e-08, -7.27595761e-12, 1.00000012), | |
| 1535 | CFrame.new(-0.499987543, -2.00015903, -5.56111336e-05, 0.499999285, 9.37507139e-07, 0.866025865, -1.2402096e-06, 1.00000012, -3.66519089e-07, -0.866025925, -8.90795491e-07, 0.499999374), | |
| 1536 | }, .5, false) | |
| 1537 | end | |
| 1538 | so(211059653,Knife2,1,1) | |
| 1539 | Knife2.Transparency = 0 | |
| 1540 | KnifeH.Transparency = 1 | |
| 1541 | for i=0,1,.1 do | |
| 1542 | swait() | |
| 1543 | PlayAnimationFromTable({
| |
| 1544 | CFrame.new(0.000175330031, 1.00539501e-06, -0.000154084992, 0.500003099, 1.22933841e-06, -0.866029263, -0.000292495621, 1.00000453, -0.000167453458, 0.866029143, 0.000337033416, 0.500003219), | |
| 1545 | CFrame.new(-0.00041242165, 1.50012219, -6.93052425e-06, 0.500003099, -0.000292495621, 0.866029143, 1.22933841e-06, 1.00000453, 0.000337033416, -0.866029263, -0.000167453458, 0.500003219), | |
| 1546 | CFrame.new(1.09288597, 0.364121079, -0.802504063, 0.748180747, 0.593714058, 0.296199232, 0.116981708, 0.321389914, -0.939695835, -0.653104663, 0.737710655, 0.171003729), | |
| 1547 | CFrame.new(-0.688675284, 1.32965851, -0.712965548, 0.334458649, -0.800666928, -0.49706617, -0.926752567, -0.375185549, -0.0192363095, -0.171089798, 0.46709004, -0.867502213), | |
| 1548 | CFrame.new(0.500086367, -2.00017858, 1.52748289e-05, 1.00000489, -7.13043846e-10, 2.98023224e-08, -7.13043846e-10, 1.00000441, -5.31144906e-10, 2.98023224e-08, -5.31144906e-10, 1.00000489), | |
| 1549 | CFrame.new(-0.499991834, -2.00017858, -5.22881746e-05, 0.500001609, 9.36794095e-07, 0.866030037, -1.24011513e-06, 1.00000441, -3.673631e-07, -0.866030157, -8.91312084e-07, 0.500001788), | |
| 1550 | }, .5, false) | |
| 1551 | end | |
| 1552 | tr2.Enabled = true | |
| 1553 | so(200632136,Knife2,math.random(9,11)/10,1) | |
| 1554 | for i=0,1,.1 do | |
| 1555 | swait() | |
| 1556 | PlayAnimationFromTable({
| |
| 1557 | CFrame.new(-2.50339508e-06, -0.116524018, -2.23838973, 0.342018872, -5.0964772e-08, -0.939693093, 0.321393877, 0.939692676, 0.11697726, 0.883022726, -0.342020035, 0.321392655), | |
| 1558 | CFrame.new(-6.99047723e-06, 1.49998283, -2.62057279e-06, 0.342018872, 1.1920929e-07, 0.939693093, -5.0964772e-08, 1, -1.49011612e-07, -0.939693093, -7.4505806e-09, 0.342018902), | |
| 1559 | CFrame.new(1.22636616, 0.263386577, -0.809811354, 0.939690471, 0.342026293, 1.16229057e-06, -0.0593909174, 0.163175166, -0.984808028, -0.336830378, 0.925414443, 0.173647419), | |
| 1560 | CFrame.new(-1.32934356, 1.10000336, -0.700607181, -1.1920929e-07, 0.342020571, -0.939692616, -1, -4.47034836e-08, 1.49011612e-07, 7.4505806e-09, 0.939692497, 0.342020541), | |
| 1561 | CFrame.new(0.977364421, -1.93956006, -0.0584065914, 0.854759812, -0.518661916, -0.0193820298, 0.5132581, 0.850225329, -0.116975099, 0.0771495849, 0.0900376588, 0.99294579), | |
| 1562 | CFrame.new(-0.972516656, -1.19701695, -0.393972486, 0.183487743, 0.321393877, 0.92899859, 0.0593910404, 0.939692676, -0.336824, -0.981226325, 0.11697726, 0.153334215), | |
| 1563 | }, .4, false) | |
| 1564 | MagnitudeDmg(Knife2,1.5,100,0,RootPart.CFrame.lookVector*5,false,"Sharp",.5) | |
| 1565 | end | |
| 1566 | for i=0,1,.2 do | |
| 1567 | swait() | |
| 1568 | PlayAnimationFromTable({
| |
| 1569 | CFrame.new(0.000175330031, 1.00539501e-06, -0.000154084992, 0.500003099, 1.22933841e-06, -0.866029263, -0.000292495621, 1.00000453, -0.000167453458, 0.866029143, 0.000337033416, 0.500003219), | |
| 1570 | CFrame.new(-0.00041242165, 1.50012219, -6.93052425e-06, 0.500003099, -0.000292495621, 0.866029143, 1.22933841e-06, 1.00000453, 0.000337033416, -0.866029263, -0.000167453458, 0.500003219), | |
| 1571 | CFrame.new(1.09288597, 0.364121079, -0.802504063, 0.748180747, 0.593714058, 0.296199232, 0.116981708, 0.321389914, -0.939695835, -0.653104663, 0.737710655, 0.171003729), | |
| 1572 | CFrame.new(-0.688675284, 1.32965851, -0.712965548, 0.334458649, -0.800666928, -0.49706617, -0.926752567, -0.375185549, -0.0192363095, -0.171089798, 0.46709004, -0.867502213), | |
| 1573 | CFrame.new(0.500086367, -2.00017858, 1.52748289e-05, 1.00000489, -7.13043846e-10, 2.98023224e-08, -7.13043846e-10, 1.00000441, -5.31144906e-10, 2.98023224e-08, -5.31144906e-10, 1.00000489), | |
| 1574 | CFrame.new(-0.499991834, -2.00017858, -5.22881746e-05, 0.500001609, 9.36794095e-07, 0.866030037, -1.24011513e-06, 1.00000441, -3.673631e-07, -0.866030157, -8.91312084e-07, 0.500001788), | |
| 1575 | }, .5, false) | |
| 1576 | end | |
| 1577 | for i=0,1,.2 do | |
| 1578 | swait() | |
| 1579 | PlayAnimationFromTable({
| |
| 1580 | CFrame.new(0.000179143899, 4.94844912e-08, -0.000147477331, 0.500000775, 1.22923609e-06, -0.86602509, -0.000292493496, 1.00000012, -0.000167452119, 0.866025031, 0.000337032834, 0.500000775), | |
| 1581 | CFrame.new(-0.000420931523, 1.50010991, -7.43984856e-06, 0.500000775, -0.000292493496, 0.866025031, 1.22923609e-06, 1.00000012, 0.000337032834, -0.86602509, -0.000167452119, 0.500000775), | |
| 1582 | CFrame.new(0.839951992, 0.256004274, -0.958486319, 0.499996692, 0.813799739, 0.2961981, 4.75931301e-06, 0.342016816, -0.939693928, -0.866027415, 0.469845295, 0.171003401), | |
| 1583 | CFrame.new(-1.22089827, -0.164978445, -0.0866824239, 0.983905554, -0.138054684, 0.113450736, 0.176127508, 0.856396437, -0.485349834, -0.0301539302, 0.497520208, 0.866928339), | |
| 1584 | CFrame.new(0.500076354, -2.00016046, 1.52737084e-05, 1.00000012, -1.45519152e-11, 2.98023224e-08, -1.45519152e-11, 1.00000012, -7.27595761e-12, 2.98023224e-08, -7.27595761e-12, 1.00000012), | |
| 1585 | CFrame.new(-0.499987543, -2.00015903, -5.56111336e-05, 0.499999285, 9.37507139e-07, 0.866025865, -1.2402096e-06, 1.00000012, -3.66519089e-07, -0.866025925, -8.90795491e-07, 0.499999374), | |
| 1586 | }, .5, false) | |
| 1587 | end | |
| 1588 | so(211134014,Knife2,1,1) | |
| 1589 | Knife2.Transparency = 1 | |
| 1590 | KnifeH.Transparency = 0 | |
| 1591 | Humanoid.WalkSpeed = 16 | |
| 1592 | tr2.Enabled = false | |
| 1593 | attack = false | |
| 1594 | end | |
| 1595 | ||
| 1596 | function gunshoot() | |
| 1597 | attack = true | |
| 1598 | Humanoid.WalkSpeed = 2 | |
| 1599 | repeat | |
| 1600 | for i=0,1 do | |
| 1601 | swait() | |
| 1602 | PlayAnimationFromTable({
| |
| 1603 | CFrame.new(9.81599442e-05, -3.13463495e-08, 0.000154759327, 0.499999762, 5.98886472e-05, -0.866025686, -0.000172460219, 1, -3.0416435e-05, 0.866025627, 0.000164563156, 0.499999762), | |
| 1604 | CFrame.new(0.110661574, 1.52556551, -0.192373157, 0.469904929, 0.170847476, 0.866025805, -0.341963649, 0.93971324, 0.000164846599, -0.813787699, -0.296226799, 0.499999464), | |
| 1605 | CFrame.new(0.900587499, 0.405391365, -0.749934435, 0.50007689, 0.865988314, 0.000331558258, 0.000377809047, 0.000164698489, -0.99999994, -0.865981102, 0.500081062, -0.000244814204), | |
| 1606 | CFrame.new(-1.05577028, 0.00611187518, -0.929771721, 0.258709729, 0.208402574, 0.94320631, 0.878974199, -0.455733538, -0.140396863, 0.400591552, 0.865375996, -0.301083267), | |
| 1607 | CFrame.new(0.500045836, -2.00001764, 6.86496642e-05, 1.00000012, 0, -2.98023224e-08, 0, 1, -3.63797881e-12, -2.98023224e-08, -3.63797881e-12, 1.00000012), | |
| 1608 | CFrame.new(-0.499984354, -2.00001764, 3.27825546e-06, 0.500000656, -9.88464308e-07, 0.86602515, 8.06332537e-07, 1, 6.75843694e-07, -0.86602515, 3.60366357e-07, 0.500000656), | |
| 1609 | }, .5, false) | |
| 1610 | end | |
| 1611 | CamShake(RightArm,3,.1,.05) | |
| 1612 | Bolt1.Transparency = 1 | |
| 1613 | BoltP1.Transparency = 1 | |
| 1614 | Bolt2.Transparency = 0 | |
| 1615 | BoltP2.Transparency = 0 | |
| 1616 | local part, pos = rayCast(MuzzleFlash.Position,((Mouse.Hit.p+Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)) - MuzzleFlash.Position),200,chara) | |
| 1617 | local aimo = Instance.new("Part",Camera)
| |
| 1618 | aimo.Anchored = true | |
| 1619 | aimo.Size = Vector3.new() | |
| 1620 | aimo.Transparency = 1 | |
| 1621 | aimo.CanCollide = false | |
| 1622 | aimo.CFrame = CFrame.new(pos) | |
| 1623 | Effects.Meshed(MuzzleFlash.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),Vector3.new(),Vector3.new(.0025,.0001,.0025),"","rbxassetid://662585058","",0,false,.1) | |
| 1624 | Effects.Block(MuzzleFlash.CFrame,Vector3.new(.4,.4,.4),Vector3.new(),Vector3.new(.3,.3,.3),"Neon","Bright yellow",true,false,.1) | |
| 1625 | Effects.Block(MuzzleFlash.CFrame,Vector3.new(.4,.4,.4),Vector3.new(),Vector3.new(.6,.6,.6),"Neon","Bright yellow",true,false,.1) | |
| 1626 | Effects.Block(CFrame.new(pos),Vector3.new(.4,.4,.4),Vector3.new(),Vector3.new(.1,.1,.1),"Neon","Bright yellow",true,false,.1) | |
| 1627 | Effects.Block(CFrame.new((MuzzleFlash.Position + pos)/2,pos),Vector3.new(.2,.2,(MuzzleFlash.Position - pos).magnitude),Vector3.new(0,0,1),Vector3.new(.1,.1,0),"Neon","Bright yellow",false,false,.1) | |
| 1628 | MagnitudeDmg(aimo,3,18,2,RootPart.CFrame.lookVector*2,false,"Shot",.1) | |
| 1629 | so(1583819337,Bolt1,math.random(90,110)/100,2) | |
| 1630 | local hitpt = Instance.new("Part",EffectModel)
| |
| 1631 | hitpt.Size = Vector3.new(0,0,.3) | |
| 1632 | hitpt.CFrame = Bolt1.CFrame * CFrame.Angles(0,math.rad(90),0) | |
| 1633 | hitpt.Velocity = RootPart.CFrame.rightVector*10+Vector3.new(0,5,0) | |
| 1634 | local hitm = Instance.new("SpecialMesh",hitpt)
| |
| 1635 | hitm.MeshId = "rbxassetid://94295100" | |
| 1636 | hitm.TextureId = "rbxassetid://94287792" | |
| 1637 | hitm.Scale = Vector3.new(2,2,4) | |
| 1638 | coroutine.wrap(function() | |
| 1639 | swait(120) | |
| 1640 | for i = 0,1,.1 do | |
| 1641 | swait() | |
| 1642 | hitpt.Transparency = i | |
| 1643 | end | |
| 1644 | hitpt:Destroy() | |
| 1645 | end)() | |
| 1646 | for i=0,1 do | |
| 1647 | swait() | |
| 1648 | PlayAnimationFromTable({
| |
| 1649 | CFrame.new(7.78138638e-05, -1.36256676e-05, 0.100157872, 0.499999881, 5.98886909e-05, -0.866025805, -0.000172460306, 1.00000012, -3.04165078e-05, 0.866040111, 0.000164565776, 0.500008047), | |
| 1650 | CFrame.new(0.110661842, 1.52556539, -0.192373574, 0.469904989, 0.170847505, 0.866040289, -0.341963649, 0.93971324, 0.000164849247, -0.813787758, -0.296226829, 0.500007749), | |
| 1651 | CFrame.new(1.073771, 0.405395687, -0.649899781, 0.50007695, 0.865988374, 0.000331558171, 0.000377809076, 0.000164698373, -0.99999994, -0.865981162, 0.500081062, -0.000244814291), | |
| 1652 | CFrame.new(-0.882619739, 0.00611773878, -0.829759479, 0.258715928, 0.208411366, 0.943215907, 0.878974259, -0.455733567, -0.140396863, 0.400595129, 0.865381122, -0.301077813), | |
| 1653 | CFrame.new(0.413464695, -2.00001669, -0.049946934, 1.00001276, 2.30284058e-09, 7.09295273e-06, 2.30284058e-09, 1, 1.3042154e-09, 7.09295273e-06, 1.3042154e-09, 1.00000441), | |
| 1654 | CFrame.new(-0.586589575, -2.00001693, -0.0500222594, 0.500000775, -9.86188752e-07, 0.866039634, 8.06332537e-07, 1, 6.78477591e-07, -0.866025209, 3.61660568e-07, 0.500009), | |
| 1655 | }, .5, false) | |
| 1656 | end | |
| 1657 | shots = shots - 1 | |
| 1658 | aimo:Destroy() | |
| 1659 | if shots <= 0 then | |
| 1660 | gunreload() | |
| 1661 | end | |
| 1662 | Bolt1.Transparency = 0 | |
| 1663 | BoltP1.Transparency = 0 | |
| 1664 | Bolt2.Transparency = 1 | |
| 1665 | BoltP2.Transparency = 1 | |
| 1666 | until zhold == false | |
| 1667 | Humanoid.WalkSpeed = 16 | |
| 1668 | attack = false | |
| 1669 | end | |
| 1670 | ||
| 1671 | function heal() | |
| 1672 | attack = true | |
| 1673 | Humanoid.WalkSpeed = 2 | |
| 1674 | local val = Instance.new("BoolValue",chara)
| |
| 1675 | val.Name = "healcool" | |
| 1676 | debby:AddItem(val,30) | |
| 1677 | for i=0,1,.1 do | |
| 1678 | swait() | |
| 1679 | PlayAnimationFromTable({
| |
| 1680 | CFrame.new(0, 0, 0, 1.00000131, 5.536549e-11, 0, 5.536549e-11, 1, 5.82076609e-11, 0, 5.82076609e-11, 1.00000131), | |
| 1681 | CFrame.new(-0.0470143259, 1.46578526, -0.0813575089, 0.866027415, -0.171009213, 0.46984449, 1.88792183e-06, 0.939693928, 0.342016727, -0.499997973, -0.296194941, 0.813800871), | |
| 1682 | CFrame.new(1.50003648, 0.699995697, 3.59429396e-05, 1.00000131, -2.06271608e-07, -6.67154382e-06, -2.06196262e-07, -1, 2.48575816e-07, -6.67157292e-06, -2.48721335e-07, -1.00000131), | |
| 1683 | CFrame.new(-1.2535826, -0.14593178, 0.0679161474, 0.941512227, -0.331708014, -0.0593915284, 0.331707656, 0.88120383, 0.336823434, -0.059390977, -0.33682391, 0.939694226), | |
| 1684 | CFrame.new(0.500059426, -2.00001574, 4.5761466e-05, 0.939693809, -1.38383513e-07, -0.342020601, -2.80560926e-08, 1, -4.82134055e-07, 0.342020571, 4.627218e-07, 0.939694047), | |
| 1685 | CFrame.new(-0.499963611, -2.0000174, 2.33203173e-05, 0.939694047, -1.69952145e-07, 0.342020452, 2.99973181e-07, 1, -3.27068847e-07, -0.342020482, 4.10043867e-07, 0.939694047), | |
| 1686 | }, .4, false) | |
| 1687 | end | |
| 1688 | local inj = New("Part",chara,"inj",{Size = Vector3.new(2.10000014, 0.299999982, 0.300000012),CFrame = CFrame.new(-37.1041107, 9.26048374, -70.1689682, -0.100794047, 0.957379222, 0.270676494, -0.129940063, 0.257064044, -0.957618713, -0.986385465, -0.131693989, 0.0984913707),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
| |
| 1689 | local iMesh = New("SpecialMesh",inj,"Mesh",{Scale = Vector3.new(0.00200000009, 0.00200000009, 0.00200000009),MeshId = "rbxassetid://504973881",MeshType = Enum.MeshType.FileMesh,})
| |
| 1690 | local iWeld = New("ManualWeld",inj,"Weld",{Part0 = inj,Part1 = LeftArm,C0 = CFrame.new(0, 0, 0, -0.100794047, -0.129940063, -0.986385465, 0.957379222, 0.257064044, -0.131693989, 0.270676494, -0.957618713, 0.0984913707),C1 = CFrame.new(0.250003815, -1.05000305, -0.249992371, -0.270675898, 0.957618654, -0.0984939635, 0.957379043, 0.257062733, -0.131696969, -0.100796357, -0.129943267, -0.986384809),})
| |
| 1691 | for i=0,1,.1 do | |
| 1692 | swait() | |
| 1693 | PlayAnimationFromTable({
| |
| 1694 | CFrame.new(0, 0, 0, 1.00000441, 2.30059527e-10, -1.45519152e-11, 2.30059527e-10, 1, 2.32830644e-10, -1.45519152e-11, 2.32830644e-10, 1.00000441), | |
| 1695 | CFrame.new(-0.0342181027, 1.48367238, -0.0925136507, 0.939694226, 1.76227331e-07, 0.342022419, -0.0593916923, 0.984807789, 0.163176015, -0.336826295, -0.173648849, 0.925418019), | |
| 1696 | CFrame.new(1.50004876, 0.69999665, 2.83136833e-05, 1.00000441, -2.06446316e-07, -6.67157292e-06, -2.06021568e-07, -1, 2.48401193e-07, -6.67160202e-06, -2.48895958e-07, -1.00000441), | |
| 1697 | CFrame.new(-1.32655382, 0.16053623, -0.618192732, 0.82254082, 0.00194577302, 0.568706632, 0.568639874, 0.0127443047, -0.82248795, -0.00884814467, 0.999919116, 0.00937626697), | |
| 1698 | CFrame.new(0.500066876, -2.00001621, 5.19603491e-05, 0.939696729, -1.38208819e-07, -0.342021674, -2.78232619e-08, 1, -4.81959432e-07, 0.342021644, 4.62896423e-07, 0.939696968), | |
| 1699 | CFrame.new(-0.499963373, -2.00001645, 2.26646662e-05, 0.939696968, -1.69777451e-07, 0.342021525, 3.00089596e-07, 1, -3.26806912e-07, -0.342021555, 4.1021849e-07, 0.939696968), | |
| 1700 | }, .4, false) | |
| 1701 | end | |
| 1702 | for i=0,1,.2 do | |
| 1703 | swait() | |
| 1704 | PlayAnimationFromTable({
| |
| 1705 | CFrame.new(0, 0, 0, 1.00000012, -3.48876483e-12, 0, -3.48876483e-12, 1, 0, 0, 0, 1.00000012), | |
| 1706 | CFrame.new(-2.27339151e-05, 1.46578801, -0.0939310491, 1.00000012, -3.72103386e-07, 1.64323137e-06, -2.12327393e-07, 0.939692557, 0.342020363, -1.67140388e-06, -0.342020422, 0.939692676), | |
| 1707 | CFrame.new(1.50005758, 0.699994743, 3.59426958e-05, 1.00000012, -2.06212761e-07, -6.67157292e-06, -2.06226048e-07, -1, 2.48663127e-07, -6.67157292e-06, -2.48663127e-07, -1.00000012), | |
| 1708 | CFrame.new(-0.943567514, 0.0578621849, -0.670854151, 0.270323098, -0.957491815, 0.100672945, 0.957676411, 0.256677359, -0.130279034, 0.0989006162, 0.131629527, 0.986353219), | |
| 1709 | CFrame.new(0.500069618, -2.00001717, 4.97102737e-05, 0.939692676, -1.38762402e-07, -0.342020184, -2.76195351e-08, 1, -4.81668394e-07, 0.342020184, 4.62023309e-07, 0.939692795), | |
| 1710 | CFrame.new(-0.499966532, -2.00001884, 2.46018171e-05, 0.939692795, -1.69370765e-07, 0.342019975, 2.99449312e-07, 1, -3.27592716e-07, -0.342020005, 4.10247594e-07, 0.939692795), | |
| 1711 | }, .5, false) | |
| 1712 | end | |
| 1713 | so(566593606,Torso,1,1) | |
| 1714 | coroutine.wrap(function() | |
| 1715 | healing = true | |
| 1716 | for i=1,200 do | |
| 1717 | swait() | |
| 1718 | Humanoid.Health = Humanoid.Health + 1 | |
| 1719 | end | |
| 1720 | healing = false | |
| 1721 | end)() | |
| 1722 | swait(60) | |
| 1723 | inj:BreakJoints() | |
| 1724 | inj.CanCollide = true | |
| 1725 | inj.Velocity = RootPart.CFrame.rightVector*-30 | |
| 1726 | coroutine.wrap(function() | |
| 1727 | swait(60) | |
| 1728 | for i=0,1,.1 do | |
| 1729 | swait() | |
| 1730 | inj.Transparency = i | |
| 1731 | end | |
| 1732 | inj:Destroy() | |
| 1733 | end)() | |
| 1734 | for i=0,1,.1 do | |
| 1735 | swait() | |
| 1736 | PlayAnimationFromTable({
| |
| 1737 | CFrame.new(0, 0, 0, 1.00000012, -7.41096073e-12, 0, -7.41096073e-12, 1, 2.91038305e-11, 0, 2.91038305e-11, 0.99999994), | |
| 1738 | CFrame.new(-3.04159403e-05, 1.46578789, -0.0939521194, 1.00000012, -4.05150786e-07, 1.62865035e-06, -1.76347669e-07, 0.939691484, 0.342023492, -1.66901737e-06, -0.342023432, 0.939691424), | |
| 1739 | CFrame.new(1.50005376, 0.699994802, 3.59716505e-05, 1.00000012, -1.58599477e-07, -6.6684006e-06, -1.58597771e-07, -1, 2.8318027e-07, -6.6684006e-06, -2.83209374e-07, -0.99999994), | |
| 1740 | CFrame.new(-1.64437401, 0.697701395, 0.19487834, 0.408384711, 0.907241344, 0.100674063, -0.898611128, 0.418956876, -0.130281046, -0.160374403, -0.0372620374, 0.986352742), | |
| 1741 | CFrame.new(0.500071704, -2.00001526, 2.73138285e-05, 0.939691603, 9.13247675e-07, -0.342023104, -1.21287303e-06, 1, -6.62083039e-07, 0.342023045, 1.03705679e-06, 0.939691603), | |
| 1742 | CFrame.new(-0.499963105, -2.00001931, 1.77323818e-05, 0.939691305, -1.36975643e-06, 0.342023998, 1.52508437e-06, 1, -1.85216777e-07, -0.342024028, 6.95697963e-07, 0.939691186), | |
| 1743 | }, .5, false) | |
| 1744 | end | |
| 1745 | attack = false | |
| 1746 | Humanoid.WalkSpeed = 16 | |
| 1747 | end | |
| 1748 | ||
| 1749 | function doge() | |
| 1750 | attack = true | |
| 1751 | Humanoid.WalkSpeed = 0 | |
| 1752 | so(536642316,Torso,1,1) | |
| 1753 | local bodyvel = Instance.new("BodyVelocity",RootPart)
| |
| 1754 | local pep = 10000000 | |
| 1755 | bodyvel.P = pep | |
| 1756 | bodyvel.MaxForce = Vector3.new(pep,pep,pep) | |
| 1757 | bodyvel.Velocity = RootPart.CFrame.lookVector*50 | |
| 1758 | for i=0,1,.2 do | |
| 1759 | swait() | |
| 1760 | PlayAnimationFromTable({
| |
| 1761 | CFrame.new(0, -0.413182259, -0.492409885, 1, 0, 0, 0, 0.173647001, 0.984807968, 0, -0.984807968, 0.173647001), | |
| 1762 | CFrame.new(0, 1.39017391, 0.409808099, 1, 0, 0, 0, 0.499998748, -0.866026163, 0, 0.866026163, 0.499998748), | |
| 1763 | CFrame.new(0.997828066, 1.40889716, 0.360830426, 0, 0.173647001, 0.984807968, 0.173647001, -0.969846725, 0.171008945, 0.984807968, 0.171008945, -0.030153282), | |
| 1764 | CFrame.new(-1.00000775, 1.48291457, 0.347779244, 0, -0.173647001, -0.984807968, -0.173647001, -0.969846725, 0.171008945, -0.984807968, 0.171008945, -0.030153282), | |
| 1765 | CFrame.new(0.5, -2, -2.86102295e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1766 | CFrame.new(-0.5, -2, -2.86102295e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1), | |
| 1767 | }, .4, false) | |
| 1768 | bodyvel.Velocity = RootPart.CFrame.lookVector*50 | |
| 1769 | end | |
| 1770 | for i=0,1,.2 do | |
| 1771 | swait() | |
| 1772 | PlayAnimationFromTable({
| |
| 1773 | CFrame.new(0.000384914892, -2.50002575, -0.500230014, 1, 0.000325046538, 9.11258903e-05, -9.11258612e-05, -1.13315764e-07, 1, 0.000325047644, -1.00000298, -8.37171683e-08), | |
| 1774 | CFrame.new(-2.67028663e-05, 1.3837955, 0.294111609, 1, 7.27595761e-12, -7.27595761e-12, 0, 0.766044259, -0.642787933, -5.78026516e-12, 0.642787993, 0.766044199), | |
| 1775 | CFrame.new(1.49976707, 1.00041652, 0.300775796, -0.00040801923, -0.765891016, 0.642970264, 2.89759337e-05, -0.642970324, -0.765891075, 0.99999994, -0.000293867604, 0.000284536654), | |
| 1776 | CFrame.new(-1.42841077, 1.06972277, 0.174795836, 0.220292583, 0.604053974, -0.765891671, -0.261924088, -0.719712377, -0.642969549, -0.939610124, 0.34224686, -0.000331013813), | |
| 1777 | CFrame.new(0.500055313, -2, 3.8146969e-05, 1, 0, -5.78026516e-12, 0, 1, 0, -5.78026516e-12, 0, 1), | |
| 1778 | CFrame.new(-0.49997139, -2, -1.62124597e-05, 1, 0, -5.78026516e-12, 0, 1, 0, -5.78026516e-12, 0, 1), | |
| 1779 | }, .4, false) | |
| 1780 | bodyvel.Velocity = RootPart.CFrame.lookVector*50 | |
| 1781 | end | |
| 1782 | for i=0,50,10 do | |
| 1783 | swait() | |
| 1784 | bodyvel.Velocity = RootPart.CFrame.lookVector*(50-i) | |
| 1785 | end | |
| 1786 | bodyvel:Destroy() | |
| 1787 | swait(10) | |
| 1788 | for i=0,1,.1 do | |
| 1789 | swait() | |
| 1790 | PlayAnimationFromTable({
| |
| 1791 | CFrame.new(0.00016165484, -1.36983359, -0.0292072296, 1, 7.76843081e-05, -2.60516535e-05, -6.40891813e-05, 0.939692557, 0.342020124, 5.10504469e-05, -0.342021197, 0.939695537), | |
| 1792 | CFrame.new(-1.71661304e-05, 1.55976009, -0.1281178, 1, 7.27595761e-12, -7.27595761e-12, -3.63797881e-12, 0.939692616, 0.342020214, 2.91038305e-11, -0.342020303, 0.939692557), | |
| 1793 | CFrame.new(1.50001144, 1.00809121, -0.154073462, 1, 1.45519152e-11, -7.27595761e-12, -3.63797881e-12, -0.939692974, -0.342018962, 2.91038305e-11, 0.342018992, -0.939693034), | |
| 1794 | CFrame.new(-1.30754018, 0.449972421, -0.64069438, 0.262003481, 0.219851375, -0.939691246, -0.642790556, 0.766041994, 2.16066837e-06, 0.719843447, 0.604024053, 0.342024028), | |
| 1795 | CFrame.new(0.49989906, -0.431120992, -0.657953143, 1, -6.40891813e-05, 5.10504469e-05, 7.76843081e-05, 0.939692557, -0.342021197, -2.60516535e-05, 0.342020124, 0.939695537), | |
| 1796 | CFrame.new(-0.600045562, -1.23124671, 0.200614065, 1, -3.91021022e-05, -7.18890005e-05, 7.7586832e-05, 0.173648059, 0.984807789, -2.60246452e-05, -0.984807789, 0.173648089), | |
| 1797 | }, .3, false) | |
| 1798 | end | |
| 1799 | Humanoid.WalkSpeed = 16 | |
| 1800 | attack = false | |
| 1801 | end | |
| 1802 | ||
| 1803 | function goright() | |
| 1804 | attack = true | |
| 1805 | Humanoid.WalkSpeed = 0 | |
| 1806 | so(536642316,Torso,1,1) | |
| 1807 | BodyVel(RootPart,RootPart.CFrame.rightVector*40) | |
| 1808 | for i=0,1,.2 do | |
| 1809 | swait() | |
| 1810 | PlayAnimationFromTable({
| |
| 1811 | CFrame.new(0, 0, 0, 0.866025686, 9.42248391e-07, 0.500011504, -8.48485797e-08, 1, 2.03145464e-06, -0.499997288, 1.801709e-06, 0.866039157), | |
| 1812 | CFrame.new(0.0133891273, 1.49998093, -0.223221898, 0.999244928, 0.0180275738, 0.0343858302, -0.0296961162, 0.925415933, 0.377787739, -0.0250054598, -0.378526747, 0.92527163), | |
| 1813 | CFrame.new(0.597281635, 0.899970174, -0.636579931, -0.2961981, 0.81379801, 0.499997288, 0.939692438, 0.34202075, -1.801709e-06, -0.171011984, 0.469857872, -0.866039157), | |
| 1814 | CFrame.new(-1.5597142, 0.600028992, -0.496432245, 0.556670129, 0.663414598, -0.499997288, -0.766044378, 0.642787695, 1.801709e-06, 0.321399361, 0.38303256, 0.866039157), | |
| 1815 | CFrame.new(0.0669843927, -1.80000138, -0.249991581, 0.750000238, 0.433012992, -0.499997288, -0.499999464, 0.866025865, 1.801709e-06, 0.433021635, 0.250007659, 0.866039157), | |
| 1816 | CFrame.new(-1.01960945, -1.79999983, -0.300026655, 0.663413942, 0.556670904, -0.499997288, -0.642787337, 0.766044736, 1.801709e-06, 0.38302961, 0.321402997, 0.866039157), | |
| 1817 | }, .4, false) | |
| 1818 | end | |
| 1819 | Humanoid.WalkSpeed = 16 | |
| 1820 | attack = false | |
| 1821 | end | |
| 1822 | ||
| 1823 | function goleft() | |
| 1824 | attack = true | |
| 1825 | Humanoid.WalkSpeed = 0 | |
| 1826 | so(536642316,Torso,1,1) | |
| 1827 | BodyVel(RootPart,RootPart.CFrame.rightVector*-40) | |
| 1828 | for i=0,1,.2 do | |
| 1829 | swait() | |
| 1830 | PlayAnimationFromTable({
| |
| 1831 | CFrame.new(0, 0, 0, 0.866035402, 9.42248391e-07, -0.499995083, 1.7168677e-06, 1, 1.08920722e-06, 0.500013709, 1.801709e-06, 0.866029859), | |
| 1832 | CFrame.new(-0.100005262, 1.49997783, -0.173194915, 0.984938622, -0.171012864, -0.0261079669, 0.171011686, 0.939692199, 0.296198815, -0.0261065066, -0.296198487, 0.954771042), | |
| 1833 | CFrame.new(1.55997992, 0.600023985, -0.496356547, 0.433018357, -0.750008225, 0.500013709, 0.866026461, 0.499998212, 1.801709e-06, -0.249996096, 0.433009237, 0.866029859), | |
| 1834 | CFrame.new(-0.510781586, 0.89997524, -0.686506629, -0.296202958, -0.813806593, -0.500013709, -0.939693034, 0.342019022, -1.801709e-06, 0.171007261, 0.469842136, -0.866029859), | |
| 1835 | CFrame.new(0.975441694, -1.79999304, -0.250189304, 0.750009537, -0.433016449, 0.500013709, 0.500001013, 0.866024911, 1.801709e-06, -0.433007956, 0.249998584, 0.866029859), | |
| 1836 | CFrame.new(-0.282589972, -1.79999781, -0.149757206, 0.813807786, -0.296199739, 0.500013709, 0.34202078, 0.939692438, 1.801709e-06, -0.469841361, 0.171009272, 0.866029859), | |
| 1837 | }, .4, false) | |
| 1838 | end | |
| 1839 | Humanoid.WalkSpeed = 16 | |
| 1840 | attack = false | |
| 1841 | end | |
| 1842 | ||
| 1843 | zhold = false | |
| 1844 | Mouse.Button1Down:connect(function() | |
| 1845 | zhold = true | |
| 1846 | if attack == false then | |
| 1847 | gunshoot() | |
| 1848 | end | |
| 1849 | end) | |
| 1850 | ||
| 1851 | Mouse.Button1Up:connect(function() | |
| 1852 | zhold = false | |
| 1853 | end) | |
| 1854 | ||
| 1855 | local sprintt = 0 | |
| 1856 | Mouse.KeyDown:connect(function(k) | |
| 1857 | k = k:lower() | |
| 1858 | if attack == false then | |
| 1859 | if k == 'z' then | |
| 1860 | if Anim ~= "Fall" and Anim ~= "Jump" then | |
| 1861 | doge() | |
| 1862 | end | |
| 1863 | elseif k == 'x' then | |
| 1864 | wepknifestab() | |
| 1865 | elseif k == 'h' then | |
| 1866 | so(115959318,Torso,1,1) | |
| 1867 | if li.Enabled == true then | |
| 1868 | li.Enabled = false | |
| 1869 | else | |
| 1870 | li.Enabled = true | |
| 1871 | end | |
| 1872 | elseif k == 'f' and chara:FindFirstChild("healcool")==nil then
| |
| 1873 | heal() | |
| 1874 | elseif k == 'q' then | |
| 1875 | goleft() | |
| 1876 | elseif k == 'e' then | |
| 1877 | goright() | |
| 1878 | elseif k == 'r' then | |
| 1879 | attack = true | |
| 1880 | Humanoid.WalkSpeed = 1 | |
| 1881 | gunreload() | |
| 1882 | Humanoid.WalkSpeed = 16 | |
| 1883 | attack = false | |
| 1884 | end | |
| 1885 | end | |
| 1886 | end) | |
| 1887 | ||
| 1888 | coroutine.wrap(function() | |
| 1889 | game:GetService("RunService").RenderStepped:connect(function()
| |
| 1890 | for i,v in pairs(chara:GetDescendants()) do | |
| 1891 | if v:IsA("BasePart") and v.Parent.Name ~= "FakeHeadM" and v.Name ~= "Head" and v.Parent:IsA("Accessory") == false then
| |
| 1892 | v.LocalTransparencyModifier = 0 | |
| 1893 | end | |
| 1894 | end | |
| 1895 | end) | |
| 1896 | end)() | |
| 1897 | ||
| 1898 | coroutine.wrap(function() | |
| 1899 | while 1 do | |
| 1900 | swait() | |
| 1901 | if doe <= 360 then | |
| 1902 | doe = doe + 2 | |
| 1903 | else | |
| 1904 | doe = 0 | |
| 1905 | end | |
| 1906 | end | |
| 1907 | end)() | |
| 1908 | while true do | |
| 1909 | swait() | |
| 1910 | while true do | |
| 1911 | swait() | |
| 1912 | Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude | |
| 1913 | velocity = RootPart.Velocity.y | |
| 1914 | sine = sine + change | |
| 1915 | local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, chara) | |
| 1916 | if RootPart.Velocity.y > 1 and hit == nil then | |
| 1917 | Anim = "Jump" | |
| 1918 | if attack == false then | |
| 1919 | PlayAnimationFromTable({
| |
| 1920 | CFrame.new(0, 0.0382082276, -0.0403150208, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849), | |
| 1921 | CFrame.new(0, 1.46579528, 0.0939689279, 1, 0, 0, 0, 0.939692855, -0.342019796, 0, 0.342019796, 0.939692855), | |
| 1922 | CFrame.new(0.734604299, 0.30659169, -0.856673121, 0.173673332, 0.92531991, 0.337076902, 0.00030374527, 0.342228055, -0.939616919, -0.984803319, 0.163288772, 0.0591548085), | |
| 1923 | CFrame.new(-1.22185647, -0.0727021843, -0.0971833766, 0.0593958423, 0.336820453, 0.93969363, 0.934461474, 0.312310249, -0.171008497, -0.351075143, 0.888264716, -0.296195835), | |
| 1924 | CFrame.new(0.5, -1.99739456, -0.0180913229, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
| 1925 | CFrame.new(-0.5, -1.30000103, -0.39999947, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676), | |
| 1926 | }, .3, false) | |
| 1927 | end | |
| 1928 | elseif RootPart.Velocity.y < -1 and hit == nil then | |
| 1929 | Anim = "Fall" | |
| 1930 | if attack == false then | |
| 1931 | PlayAnimationFromTable({
| |
| 1932 | CFrame.new(0, -0.0646628663, 0.0399149321, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849), | |
| 1933 | CFrame.new(0, 1.4913609, -0.128171027, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855), | |
| 1934 | CFrame.new(0.734604299, 0.30659169, -0.856673121, 0.173673332, 0.92531991, 0.337076902, 0.00030374527, 0.342228055, -0.939616919, -0.984803319, 0.163288772, 0.0591548085), | |
| 1935 | CFrame.new(-1.22185647, -0.0727021843, -0.0971833766, 0.0593958423, 0.336820453, 0.93969363, 0.934461474, 0.312310249, -0.171008497, -0.351075143, 0.888264716, -0.296195835), | |
| 1936 | CFrame.new(0.500000954, -1.9973948, -0.0180922765, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012), | |
| 1937 | CFrame.new(-0.499999046, -1.30000043, -0.400000483, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855), | |
| 1938 | }, .3, false) | |
| 1939 | end | |
| 1940 | elseif Torsovelocity < 1 and hit ~= nil then | |
| 1941 | Anim = "Idle" | |
| 1942 | if attack == false then | |
| 1943 | change = 1 | |
| 1944 | PlayAnimationFromTable({
| |
| 1945 | CFrame.new(0, 0, 0, 1, -1.92557081e-12, 2.61934474e-10, -1.92557081e-12, 1, -8.73114914e-11, 2.61934474e-10, -8.73114914e-11, 1.00001419) * CFrame.new(0,-.05 * math.cos((sine)/10), 0), | |
| 1946 | CFrame.new(-1.71661413e-05, 1.49998856, 6.10358911e-05, 1, -1.92557081e-12, 2.61934474e-10, -1.92557081e-12, 1, -8.73114914e-11, 2.61934474e-10, -8.73114914e-11, 1.00001419), | |
| 1947 | CFrame.new(0.734604299, 0.30659169, -0.856673121, 0.173673332, 0.92531991, 0.337076902, 0.00030374527, 0.342228055, -0.939616919, -0.984803319, 0.163288772, 0.0591548085), | |
| 1948 | CFrame.new(-1.22185647, -0.0727021843, -0.0971833766, 0.0593958423, 0.336820453, 0.93969363, 0.934461474, 0.312310249, -0.171008497, -0.351075143, 0.888264716, -0.296195835), | |
| 1949 | CFrame.new(0.500044346, -2.00001574, 4.57773203e-05, 1, -1.92557081e-12, 2.61934474e-10, -1.92557081e-12, 1, -8.73114914e-11, 2.61934474e-10, -8.73114914e-11, 1.00001419) * CFrame.new(0,.05 * math.cos((sine)/10), 0), | |
| 1950 | CFrame.new(-0.49998188, -2.00001717, -1.52589619e-05, 1, -1.92557081e-12, 2.61934474e-10, -1.92557081e-12, 1, -8.73114914e-11, 2.61934474e-10, -8.73114914e-11, 1.00001419) * CFrame.new(0,.05 * math.cos((sine)/10), 0), | |
| 1951 | }, .3, false) | |
| 1952 | end | |
| 1953 | elseif Torsovelocity > 2 and hit ~= nil then | |
| 1954 | Anim = "Walk" | |
| 1955 | if attack == false then | |
| 1956 | Humanoid.WalkSpeed = 24 | |
| 1957 | PlayAnimationFromTable({
| |
| 1958 | CFrame.new(-8.35164028e-05, -0.0110899508, 0.357279301, 1, 8.84765032e-05, -2.51957972e-05, -7.45232464e-05, 0.939692497, 0.342020363, 5.39370812e-05, -0.342020363, 0.939692557) * CFrame.new(0, 0- .08 * math.cos((sine) / 2.5), 0) * CFrame.Angles(0, math.rad(5*math.cos(sine/2.5)), 0), | |
| 1959 | CFrame.new(-6.53590978e-05, 1.54212451, 0.181138486, 1, -7.45232464e-05, 5.39370812e-05, 8.84765032e-05, 0.939692497, -0.342020363, -2.51957972e-05, 0.342020363, 0.939692557) * CFrame.Angles(0, math.rad(0 - 2.5 * math.cos((sine) / 2.5)), 0), | |
| 1960 | CFrame.new(0.734604299, 0.30659169, -0.856673121, 0.173673332, 0.92531991, 0.337076902, 0.00030374527, 0.342228055, -0.939616919, -0.984803319, 0.163288772, 0.0591548085), | |
| 1961 | CFrame.new(-1.22185647, -0.0727021843, -0.0971833766, 0.0593958423, 0.336820453, 0.93969363, 0.934461474, 0.312310249, -0.171008497, -0.351075143, 0.888264716, -0.296195835), | |
| 1962 | CFrame.new(0.500047803, -2.00001502, 3.05175763e-05, 1, -7.27595761e-12, 0, -7.27595761e-12, 0.999999881, 0, 0, 0, 0.99999994) * CFrame.new(0, 0, 0+ 1 * math.cos((sine) / 2.5)) * CFrame.Angles(math.rad(0 - 60 * math.cos((sine) / 2.5)), 0, 0), | |
| 1963 | CFrame.new(-0.499978185, -2.00001884, -1.52587882e-05, 1, -7.27595761e-12, 0, -7.27595761e-12, 0.999999881, 0, 0, 0, 0.99999994) * CFrame.new(0, 0, 0- 1 * math.cos((sine) / 2.5)) * CFrame.Angles(math.rad(0 + 60 * math.cos((sine) / 2.5)), 0, 0), | |
| 1964 | }, .3, false) | |
| 1965 | end | |
| 1966 | end | |
| 1967 | end | |
| 1968 | end | |
| 1969 | ||
| 1970 | ||
| 1971 | --[[ | |
| 1972 | local vel = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso)
| |
| 1973 | vel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * -5 | |
| 1974 | vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 1975 | --]] | |
| 1976 | --Credit To Rufus14 | |
| 1977 | --I just edit it a bit ^_^ | |
| 1978 | mouse = game.Players.LocalPlayer:GetMouse() | |
| 1979 | function ragdoll() | |
| 1980 | game.Players.LocalPlayer.Character.Archivable = true | |
| 1981 | clone = game.Players.LocalPlayer.Character:Clone() | |
| 1982 | clone.Parent = workspace | |
| 1983 | for i,v in pairs(clone:GetChildren()) do | |
| 1984 | if v.ClassName == "Script" or v.ClassName == "LocalScript" then | |
| 1985 | v:destroy() | |
| 1986 | end | |
| 1987 | for i,p in pairs(v:GetChildren()) do | |
| 1988 | if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then | |
| 1989 | p:destroy() | |
| 1990 | end | |
| 1991 | end | |
| 1992 | end | |
| 1993 | for i,t in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
| 1994 | if t.ClassName == "Accessory" or t.ClassName == "ForceField" then | |
| 1995 | t:destroy() | |
| 1996 | end | |
| 1997 | end | |
| 1998 | vel = Instance.new("BodyVelocity", clone.Torso)
| |
| 1999 | vel.Velocity = clone.Torso.CFrame.lookVector * -5 | |
| 2000 | vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
| 2001 | clone.Head.face.Texture = "http://www.roblox.com/asset/?id=161061608" | |
| 2002 | using = false | |
| 2003 | hit = Instance.new("Sound", clone.Torso)
| |
| 2004 | hit.SoundId = "rbxassetid://260430060" | |
| 2005 | hit.Volume = 5 | |
| 2006 | hit1 = Instance.new("Sound", clone.Torso)
| |
| 2007 | hit1.SoundId = "rbxassetid://138087186" | |
| 2008 | hit1.Volume = 5 | |
| 2009 | hit2 = Instance.new("Sound", clone.Torso)
| |
| 2010 | hit2.SoundId = "rbxassetid://131237241" | |
| 2011 | hit2.Volume = 5 | |
| 2012 | hit3 = Instance.new("Sound", clone.Torso)
| |
| 2013 | hit3.SoundId = "rbxassetid://278062209" | |
| 2014 | hit3.Volume = 5 | |
| 2015 | hit3.TimePosition = 0.33 | |
| 2016 | ded = Instance.new("Sound", clone.Torso)
| |
| 2017 | ded.SoundId = "rbxassetid://163154423" | |
| 2018 | ded.Volume = 5 | |
| 2019 | local leftarm = clone:findFirstChild("Left Arm")
| |
| 2020 | local rightrm = clone:findFirstChild("Right Arm")
| |
| 2021 | local leftleg = clone:findFirstChild("Left Leg")
| |
| 2022 | local rightleg = clone:findFirstChild("Right Leg")
| |
| 2023 | local head = clone:findFirstChild("Head")
| |
| 2024 | local welding = Instance.new("Weld", clone.Torso)
| |
| 2025 | welding.Part0 = clone.Torso | |
| 2026 | welding.Part1 = head | |
| 2027 | welding.C0 = welding.C0 * CFrame.new(0,1.5,0) | |
| 2028 | for i, g in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
| 2029 | if g.ClassName == "Part" then | |
| 2030 | g:destroy() | |
| 2031 | end | |
| 2032 | end | |
| 2033 | for i, h in pairs(game.Players.LocalPlayer.Character:GetChildren()) do | |
| 2034 | if h.ClassName == "Accesory" then | |
| 2035 | h:destroy() | |
| 2036 | end | |
| 2037 | end | |
| 2038 | game.Workspace.CurrentCamera.CameraSubject = head | |
| 2039 | if leftleg ~= nil then | |
| 2040 | local glue = Instance.new("Glue", clone.Torso)
| |
| 2041 | glue.Part0 = clone.Torso | |
| 2042 | glue.Part1 = leftleg | |
| 2043 | glue.Name = "Left leg" | |
| 2044 | local collider = Instance.new("Part", leftleg)
| |
| 2045 | collider.Position = Vector3.new(0,999,0) | |
| 2046 | collider.Size = Vector3.new(1.7, 1, 1) | |
| 2047 | collider.Shape = "Cylinder" | |
| 2048 | local weld = Instance.new("Weld", collider)
| |
| 2049 | weld.Part0 = leftleg | |
| 2050 | weld.Part1 = collider | |
| 2051 | weld.C0 = CFrame.Angles(0, 0, 80) | |
| 2052 | collider.TopSurface = "Smooth" | |
| 2053 | collider.BottomSurface = "Smooth" | |
| 2054 | collider.formFactor = "Symmetric" | |
| 2055 | glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 2056 | glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
| 2057 | collider.Transparency = 1 | |
| 2058 | end | |
| 2059 | ------------ | |
| 2060 | if rightleg ~= nil then | |
| 2061 | local glue1 = Instance.new("Glue", clone.Torso)
| |
| 2062 | glue1.Part0 = clone.Torso | |
| 2063 | glue1.Part1 = rightleg | |
| 2064 | glue1.Name = "Right leg" | |
| 2065 | local collider1 = Instance.new("Part", rightleg)
| |
| 2066 | collider1.Position = Vector3.new(0,999,0) | |
| 2067 | collider1.Size = Vector3.new(1.7, 1, 1) | |
| 2068 | collider1.Shape = "Cylinder" | |
| 2069 | local weld1 = Instance.new("Weld", collider1)
| |
| 2070 | weld1.Part0 = rightleg | |
| 2071 | weld1.Part1 = collider1 | |
| 2072 | weld1.C0 = CFrame.Angles(0, 0, 80) | |
| 2073 | collider1.TopSurface = "Smooth" | |
| 2074 | collider1.BottomSurface = "Smooth" | |
| 2075 | collider1.formFactor = "Symmetric" | |
| 2076 | glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 2077 | glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
| 2078 | collider1.Transparency = 1 | |
| 2079 | end | |
| 2080 | ------------ | |
| 2081 | if rightrm ~= nil then | |
| 2082 | local glue11 = Instance.new("Glue", clone.Torso)
| |
| 2083 | glue11.Part0 = clone.Torso | |
| 2084 | glue11.Part1 = rightrm | |
| 2085 | glue11.Name = "Right shoulder" | |
| 2086 | local collider11 = Instance.new("Part", rightrm)
| |
| 2087 | collider11.Position = Vector3.new(0,9999,0) | |
| 2088 | collider11.Size = Vector3.new(1.8,1,1) | |
| 2089 | collider11.Shape = "Cylinder" | |
| 2090 | local weld11 = Instance.new("Weld", collider11)
| |
| 2091 | weld11.Part0 = rightrm | |
| 2092 | weld11.Part1 = collider11 | |
| 2093 | weld11.C0 = CFrame.Angles(0, 0, 80) | |
| 2094 | collider11.TopSurface = "Smooth" | |
| 2095 | collider11.BottomSurface = "Smooth" | |
| 2096 | collider11.formFactor = "Symmetric" | |
| 2097 | glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2098 | glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 2099 | collider11.Transparency = 1 | |
| 2100 | end | |
| 2101 | ------------ | |
| 2102 | if leftarm ~= nil then | |
| 2103 | local glue111 = Instance.new("Glue", clone.Torso)
| |
| 2104 | glue111.Part0 = clone.Torso | |
| 2105 | glue111.Part1 = leftarm | |
| 2106 | glue111.Name = "Left shoulder" | |
| 2107 | local collider111 = Instance.new("Part", leftarm)
| |
| 2108 | collider111.Position = Vector3.new(0,9999,0) | |
| 2109 | collider111.Size = Vector3.new(1.8,1,1) | |
| 2110 | collider111.Shape = "Cylinder" | |
| 2111 | local weld111 = Instance.new("Weld", collider111)
| |
| 2112 | weld111.Part0 = leftarm | |
| 2113 | weld111.Part1 = collider111 | |
| 2114 | weld111.C0 = CFrame.Angles(0, 0, 80) | |
| 2115 | collider111.TopSurface = "Smooth" | |
| 2116 | collider111.BottomSurface = "Smooth" | |
| 2117 | collider111.formFactor = "Symmetric" | |
| 2118 | glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2119 | glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0) | |
| 2120 | collider111.Transparency = 1 | |
| 2121 | ---------------- | |
| 2122 | sensoring = Instance.new("Part", clone.Torso)
| |
| 2123 | sensoring.Size = Vector3.new(1.2,1.1,0.8) | |
| 2124 | sensoring.CanCollide = false | |
| 2125 | sensoring.Position = clone.Torso.Position | |
| 2126 | local welder = Instance.new("Weld", sensoring)
| |
| 2127 | welder.Part0 = clone.Torso | |
| 2128 | welder.Part1 = sensoring | |
| 2129 | welder.C0 = welder.C0 * CFrame.new(0,0,1.05) | |
| 2130 | sensoring.Transparency = 1 | |
| 2131 | ----------------- | |
| 2132 | sensoring1 = Instance.new("Part", clone.Torso)
| |
| 2133 | sensoring1.Size = Vector3.new(1.2,1.1,0.8) | |
| 2134 | sensoring1.CanCollide = false | |
| 2135 | sensoring1.Position = clone.Torso.Position | |
| 2136 | local welder1 = Instance.new("Weld", sensoring)
| |
| 2137 | welder1.Part0 = clone.Torso | |
| 2138 | welder1.Part1 = sensoring1 | |
| 2139 | welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05) | |
| 2140 | sensoring1.Transparency = 1 | |
| 2141 | end | |
| 2142 | clone.Name = game.Players.LocalPlayer.Character.Name.." (DEAD)" | |
| 2143 | ded:Play() | |
| 2144 | vel:destroy() | |
| 2145 | wait(0.5) | |
| 2146 | local function touch() | |
| 2147 | if not using then | |
| 2148 | using = true | |
| 2149 | local Math = math.random(1,4) | |
| 2150 | if Math == 1 then | |
| 2151 | hit:Play() | |
| 2152 | end | |
| 2153 | if Math == 2 then | |
| 2154 | hit1:Play() | |
| 2155 | end | |
| 2156 | if Math == 3 then | |
| 2157 | hit2:Play() | |
| 2158 | end | |
| 2159 | if Math == 4 then | |
| 2160 | hit3:Play() | |
| 2161 | end | |
| 2162 | wait(0.1) | |
| 2163 | using = false | |
| 2164 | end | |
| 2165 | end | |
| 2166 | sensoring.Touched:connect(touch) | |
| 2167 | sensoring1.Touched:connect(touch) | |
| 2168 | wait(4.47) | |
| 2169 | hit1.Volume = 0 | |
| 2170 | hit2.Volume = 0 | |
| 2171 | hit3.Volume = 0 | |
| 2172 | hit.Volume = 0 | |
| 2173 | end | |
| 2174 | ||
| 2175 | game.Players.LocalPlayer.Character.Humanoid.Died:connect(ragdoll) | |
| 2176 | ||
| 2177 | --di ent |