SHOW:
|
|
- or go back to the newest paste.
| 1 | if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
| |
| 2 | print("FE Compatibility: by WaverlyCole & Mokiros")
| |
| 3 | InternalData = {}
| |
| 4 | do | |
| 5 | script.Parent = owner.Character | |
| 6 | local Event = Instance.new("RemoteEvent")
| |
| 7 | Event.Name = "UserInput" | |
| 8 | local function NewFakeEvent() | |
| 9 | local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
| |
| 10 | return Fake | |
| 11 | end | |
| 12 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
| |
| 13 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
| |
| 14 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
| |
| 15 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
| |
| 16 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
| 17 | local function TriggerEvent(self,Event,...) | |
| 18 | local Trigger = Mouse[Event] | |
| 19 | if Trigger and Trigger.fakeEvent and Trigger.Function then | |
| 20 | Trigger.Function(...) | |
| 21 | end | |
| 22 | end | |
| 23 | Mouse.TrigEvent = TriggerEvent | |
| 24 | UserInputService.TrigEvent = TriggerEvent | |
| 25 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
| 26 | if FiredBy.Name ~= owner.Name then end | |
| 27 | if Input.MouseEvent then | |
| 28 | Mouse.Target = Input.Target | |
| 29 | Mouse.Hit = Input.Hit | |
| 30 | else | |
| 31 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
| 32 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then | |
| 33 | return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") | |
| 34 | end | |
| 35 | for _,Action in pairs(ContextActionService.Actions) do | |
| 36 | for _,Key in pairs(Action.Keys) do | |
| 37 | if Key==Input.KeyCode then | |
| 38 | Action.Function(Action.Name,Input.UserInputState,Input) | |
| 39 | end | |
| 40 | end | |
| 41 | end | |
| 42 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
| 43 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
| 44 | end | |
| 45 | end) | |
| 46 | InternalData["Mouse"] = Mouse | |
| 47 | InternalData["ContextActionService"] = ContextActionService | |
| 48 | InternalData["UserInputService"] = UserInputService | |
| 49 | Event.Parent = NLS([[ | |
| 50 | local Player = owner | |
| 51 | local Event = script:WaitForChild("UserInput")
| |
| 52 | local UserInputService = game:GetService("UserInputService")
| |
| 53 | local Mouse = Player:GetMouse() | |
| 54 | local Input = function(Input,gameProcessedEvent) | |
| 55 | if gameProcessedEvent then return end | |
| 56 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
| |
| 57 | end | |
| 58 | UserInputService.InputBegan:Connect(Input) | |
| 59 | UserInputService.InputEnded:Connect(Input) | |
| 60 | local Hit,Target | |
| 61 | while wait(1/30) do | |
| 62 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
| 63 | Hit,Target = Mouse.Hit,Mouse.Target | |
| 64 | Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
| |
| 65 | end | |
| 66 | end | |
| 67 | ]],owner.Character) | |
| 68 | end | |
| 69 | RealGame = game;game = setmetatable({},{
| |
| 70 | __index = function (self,Index) | |
| 71 | local Sandbox = function (Thing) | |
| 72 | if Thing:IsA("Player") then
| |
| 73 | local RealPlayer = Thing | |
| 74 | return setmetatable({},{
| |
| 75 | __index = function (self,Index) | |
| 76 | local Type = type(RealPlayer[Index]) | |
| 77 | if Type == "function" then | |
| 78 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
| 79 | return function (self) | |
| 80 | return InternalData["Mouse"] | |
| 81 | end | |
| 82 | end | |
| 83 | return function (self,...) | |
| 84 | return RealPlayer[Index](RealPlayer,...) | |
| 85 | end | |
| 86 | else | |
| 87 | return RealPlayer[Index] | |
| 88 | end | |
| 89 | end; | |
| 90 | __tostring = function(self) | |
| 91 | return RealPlayer.Name | |
| 92 | end | |
| 93 | }) | |
| 94 | end | |
| 95 | end | |
| 96 | if RealGame[Index] then | |
| 97 | local Type = type(RealGame[Index]) | |
| 98 | if Type == "function" then | |
| 99 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
| 100 | return function (self,Service) | |
| 101 | if Service:lower() == "players" then | |
| 102 | return setmetatable({},{
| |
| 103 | __index = function (self2,Index2) | |
| 104 | local RealService = RealGame:GetService(Service) | |
| 105 | local Type2 = type(Index2) | |
| 106 | if Type2 == "function" then | |
| 107 | return function (self,...) | |
| 108 | return RealService[Index2](RealService,...) | |
| 109 | end | |
| 110 | else | |
| 111 | if Index2:lower() == "localplayer" then | |
| 112 | return Sandbox(owner) | |
| 113 | end | |
| 114 | return RealService[Index2] | |
| 115 | end | |
| 116 | end; | |
| 117 | __tostring = function(self) | |
| 118 | return RealGame:GetService(Service).Name | |
| 119 | end | |
| 120 | }) | |
| 121 | elseif Service:lower() == "contextactionservice" then | |
| 122 | return InternalData["ContextActionService"] | |
| 123 | elseif Service:lower() == "contextactionservice" then | |
| 124 | return InternalData["UserInputService"] | |
| 125 | elseif Service:lower() == "runservice" then | |
| 126 | return setmetatable({},{
| |
| 127 | __index = function(self2,Index2) | |
| 128 | local RealService = RealGame:GetService(Service) | |
| 129 | local Type2 = type(Index2) | |
| 130 | if Type2 == "function" then | |
| 131 | return function (self,...) | |
| 132 | return RealService[Index2](RealService,...) | |
| 133 | end | |
| 134 | else | |
| 135 | if Index2:lower() == "bindtorenderstep" then | |
| 136 | return function (self,Name,Priority,Function) | |
| 137 | return RealGame:GetService("RunService").Stepped:Connect(Function)
| |
| 138 | end | |
| 139 | end | |
| 140 | if Index2:lower() == "renderstepped" then | |
| 141 | return RealService["Stepped"] | |
| 142 | end | |
| 143 | return RealService[Index2] | |
| 144 | end | |
| 145 | end | |
| 146 | }) | |
| 147 | else | |
| 148 | return RealGame:GetService(Service) | |
| 149 | end | |
| 150 | end | |
| 151 | end | |
| 152 | return function (self,...) | |
| 153 | return RealGame[Index](RealGame,...) | |
| 154 | end | |
| 155 | else | |
| 156 | if game:GetService(Index) then | |
| 157 | return game:GetService(Index) | |
| 158 | end | |
| 159 | return RealGame[Index] | |
| 160 | end | |
| 161 | else | |
| 162 | return nil | |
| 163 | end | |
| 164 | end | |
| 165 | });Game = game;owner = game:GetService("Players").LocalPlayer
| |
| 166 | print("Complete! Running... Created by AntiBoomz0r ")
| |
| 167 | ||
| 168 | ||
| 169 | ||
| 170 | do --CFrame lerp (stravant, clerp by AntiBoomz0r) | |
| 171 | local function QuaternionFromCFrame(cf) -- y u no axis angle interpolation? | |
| 172 | local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() | |
| 173 | local trace = m00 + m11 + m22 | |
| 174 | if trace > 0 then | |
| 175 | local s = math.sqrt(1 + trace) | |
| 176 | local recip = 0.5/s | |
| 177 | return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 | |
| 178 | else | |
| 179 | local i = 0 | |
| 180 | if m11 > m00 then | |
| 181 | i = 1 | |
| 182 | end | |
| 183 | if m22 > (i == 0 and m00 or m11) then | |
| 184 | i = 2 | |
| 185 | end | |
| 186 | if i == 0 then | |
| 187 | local s = math.sqrt(m00-m11-m22+1) | |
| 188 | local recip = 0.5/s | |
| 189 | return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip | |
| 190 | elseif i == 1 then | |
| 191 | local s = math.sqrt(m11-m22-m00+1) | |
| 192 | local recip = 0.5/s | |
| 193 | return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip | |
| 194 | elseif i == 2 then | |
| 195 | local s = math.sqrt(m22-m00-m11+1) | |
| 196 | local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip | |
| 197 | end | |
| 198 | end | |
| 199 | end | |
| 200 | local function QuaternionToCFrame(px, py, pz, x, y, z, w) | |
| 201 | local xs, ys, zs = x + x, y + y, z + z | |
| 202 | local wx, wy, wz = w*xs, w*ys, w*zs | |
| 203 | local xx = x*xs | |
| 204 | local xy = x*ys | |
| 205 | local xz = x*zs | |
| 206 | local yy = y*ys | |
| 207 | local yz = y*zs | |
| 208 | local zz = z*zs | |
| 209 | return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) | |
| 210 | end | |
| 211 | function QuaternionSlerp(a, b, t) | |
| 212 | local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] | |
| 213 | local startInterp, finishInterp; | |
| 214 | if cosTheta >= 0.0001 then | |
| 215 | if (1 - cosTheta) > 0.0001 then | |
| 216 | local theta = math.acos(cosTheta) | |
| 217 | local invSinTheta = 1/math.sin(theta) | |
| 218 | startInterp = math.sin((1-t)*theta)*invSinTheta | |
| 219 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 220 | else | |
| 221 | startInterp = 1-t | |
| 222 | finishInterp = t | |
| 223 | end | |
| 224 | else | |
| 225 | if (1+cosTheta) > 0.0001 then | |
| 226 | local theta = math.acos(-cosTheta) | |
| 227 | local invSinTheta = 1/math.sin(theta) | |
| 228 | startInterp = math.sin((t-1)*theta)*invSinTheta | |
| 229 | finishInterp = math.sin(t*theta)*invSinTheta | |
| 230 | else | |
| 231 | startInterp = t-1 | |
| 232 | finishInterp = t | |
| 233 | end | |
| 234 | end | |
| 235 | return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp | |
| 236 | end | |
| 237 | function clerp(a,b,t) | |
| 238 | local qa = {QuaternionFromCFrame(a)}
| |
| 239 | local qb = {QuaternionFromCFrame(b)}
| |
| 240 | local ax, ay, az = a.x, a.y, a.z | |
| 241 | local bx, by, bz = b.x, b.y, b.z | |
| 242 | local _t = 1-t | |
| 243 | return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) | |
| 244 | end | |
| 245 | end | |
| 246 | ||
| 247 | local plr = game:service'Players'.LocalPlayer | |
| 248 | local char = plr.Character | |
| 249 | local mouse = plr:GetMouse() | |
| 250 | local humanoid = char:findFirstChild("Humanoid")
| |
| 251 | local torso = char:findFirstChild("Torso")
| |
| 252 | local head = char.Head | |
| 253 | local ra = char:findFirstChild("Right Arm")
| |
| 254 | local la = char:findFirstChild("Left Arm")
| |
| 255 | local rl = char:findFirstChild("Right Leg")
| |
| 256 | local ll = char:findFirstChild("Left Leg")
| |
| 257 | local rs = torso:findFirstChild("Right Shoulder")
| |
| 258 | local ls = torso:findFirstChild("Left Shoulder")
| |
| 259 | local rh = torso:findFirstChild("Right Hip")
| |
| 260 | local lh = torso:findFirstChild("Left Hip")
| |
| 261 | local neck = torso:findFirstChild("Neck")
| |
| 262 | local rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
| |
| 263 | local rootpart = char:findFirstChild("HumanoidRootPart")
| |
| 264 | local camera = workspace.CurrentCamera | |
| 265 | local anim = char:findFirstChild("Animate")
| |
| 266 | ||
| 267 | if humanoid.Animator then | |
| 268 | humanoid.Animator:Destroy() | |
| 269 | end | |
| 270 | ||
| 271 | local ABS = math.abs; | |
| 272 | local SIN = math.sin; | |
| 273 | local ASIN = math.asin; | |
| 274 | local COS = math.cos; | |
| 275 | ||
| 276 | local new = Instance.new; | |
| 277 | ||
| 278 | local rm = new('Weld', torso)
| |
| 279 | rm.C0 = CFrame.new(1.5, 0.5, 0) | |
| 280 | rm.C1 = CFrame.new(0, 0.5, 0) | |
| 281 | rm.Part0 = torso | |
| 282 | rm.Part1 = ra | |
| 283 | rm.Name = 'Right Shoulder' | |
| 284 | ||
| 285 | local lm = new("Weld", torso)
| |
| 286 | lm.C0 = CFrame.new(-1.5, 0.5, 0) | |
| 287 | lm.C1 = CFrame.new(0, 0.5, 0) | |
| 288 | lm.Part0 = torso | |
| 289 | lm.Part1 = la | |
| 290 | lm.Name = 'Left Shoulder' | |
| 291 | ||
| 292 | local rlegm = new("Weld", torso)
| |
| 293 | rlegm.C0 = CFrame.new(0.5, -1, 0) | |
| 294 | rlegm.C1 = CFrame.new(0, 1, 0) | |
| 295 | rlegm.Part0 = torso | |
| 296 | rlegm.Part1 = rl | |
| 297 | ||
| 298 | local llegm = new("Weld", torso)
| |
| 299 | llegm.C0 = CFrame.new(-0.5, -1, 0) | |
| 300 | llegm.C1 = CFrame.new(0, 1, 0) | |
| 301 | llegm.Part0 = torso | |
| 302 | llegm.Part1 = ll | |
| 303 | ||
| 304 | rj.C0 = CFrame.new() | |
| 305 | rj.C1 = CFrame.new() | |
| 306 | ||
| 307 | neck.C0 = CFrame.new(0, 1, 0) | |
| 308 | neck.C1 = CFrame.new(0, -0.5, 0) | |
| 309 | ||
| 310 | ||
| 311 | local speed = 0.3 | |
| 312 | local angle = 0 | |
| 313 | local anglespeed = 1 | |
| 314 | rsc0 = rm.C0 | |
| 315 | lsc0 = lm.C0 | |
| 316 | llc0 = llegm.C0 | |
| 317 | rlc0 = rlegm.C0 | |
| 318 | rootc0 = rj.C0 | |
| 319 | neckc0 = neck.C0 | |
| 320 | ||
| 321 | function math_pos(float) | |
| 322 | if float < 0 then float = 0 end | |
| 323 | return float | |
| 324 | end | |
| 325 | function math_neg(float) | |
| 326 | if float > 0 then float = 0 end | |
| 327 | return float | |
| 328 | end | |
| 329 | function math_max(float, max) | |
| 330 | if float > max then float = max end | |
| 331 | return float | |
| 332 | end | |
| 333 | function math_min(float, min) | |
| 334 | if float < min then float = min end | |
| 335 | return float | |
| 336 | end | |
| 337 | ||
| 338 | function SharpSin(double_p1) | |
| 339 | return ASIN(SIN(double_p1)); | |
| 340 | end | |
| 341 | ||
| 342 | ||
| 343 | ||
| 344 | function WeldP(part0, part1, C0, C1) | |
| 345 | local W = new("Weld", char);
| |
| 346 | W.Part0 = part0; | |
| 347 | W.Part1 = part1; | |
| 348 | W.C0 = C0 or CFrame.new(); | |
| 349 | W.C1 = C1 or CFrame.new(); | |
| 350 | return W; | |
| 351 | end | |
| 352 | ||
| 353 | function Bevel(part, sizeV3) | |
| 354 | local BvlMesh = new("SpecialMesh", part)
| |
| 355 | BvlMesh.MeshId = "rbxasset://fonts/torso.mesh"; | |
| 356 | if (sizeV3 ~= nil) then | |
| 357 | BvlMesh.Scale = Vector3.new(sizeV3.x/2, sizeV3.y/2, sizeV3.z); | |
| 358 | else | |
| 359 | BvlMesh.Scale = Vector3.new(part.Size.x/2, part.Size.y/2, part.Size.z); | |
| 360 | end | |
| 361 | end | |
| 362 | ||
| 363 | do | |
| 364 | local Possible_Colors = {"Lavender", "Bright blue", "White", "Really black", "Dusty Rose"};
| |
| 365 | local parts,last = {};
| |
| 366 | local ColorToPaint = Possible_Colors[math.random(#Possible_Colors)]; | |
| 367 | function WeldChildren(parent) | |
| 368 | for _,v in pairs(parent:GetChildren()) do | |
| 369 | if (v:IsA("BasePart")) then
| |
| 370 | v.Anchored = true | |
| 371 | if (v.BrickColor == BrickColor.new("Medium stone grey")) then
| |
| 372 | v.BrickColor = BrickColor.new(ColorToPaint); | |
| 373 | end | |
| 374 | if (last) then | |
| 375 | local w = new("Weld")
| |
| 376 | w.Name = ("%s_Weld"):format(v.Name)
| |
| 377 | w.Part0,w.Part1 = last,v | |
| 378 | w.C0 = last.CFrame:inverse() | |
| 379 | w.C1 = v.CFrame:inverse() | |
| 380 | w.Parent = last | |
| 381 | end | |
| 382 | last = v | |
| 383 | table.insert(parts,v) | |
| 384 | end | |
| 385 | WeldChildren(v) | |
| 386 | end | |
| 387 | for _,v in pairs(parts) do | |
| 388 | v.Anchored = false | |
| 389 | v.Locked = true | |
| 390 | end | |
| 391 | end | |
| 392 | end | |
| 393 | ||
| 394 | ||
| 395 | local Particles = {
| |
| 396 | ||
| 397 | AirRing = function(CF, Distance, Color, Opac, Size, Velocity) | |
| 398 | local StoredParticles = {};
| |
| 399 | ||
| 400 | for Angle = 0, 360, 20 do | |
| 401 | local EffectDirection = new("Part", char);
| |
| 402 | EffectDirection.Anchored = true; | |
| 403 | EffectDirection.CanCollide = false; | |
| 404 | EffectDirection.CFrame = CF | |
| 405 | * CFrame.Angles(math.pi/2, 0, 0) | |
| 406 | * CFrame.Angles(0, 0, math.rad(Angle)) | |
| 407 | * CFrame.new(0, Distance, 0); | |
| 408 | EffectDirection.Transparency = 1; | |
| 409 | local Smoke = new("Smoke", EffectDirection);
| |
| 410 | Smoke.Color = Color3.new(Color.r/255, Color.g/255, Color.b/255) or Color3.new(1,1,1); | |
| 411 | Smoke.Opacity = Opac or 0.05; | |
| 412 | Smoke.Size = Size or 0; | |
| 413 | Smoke.RiseVelocity = Velocity or 2; | |
| 414 | table.insert(StoredParticles, Smoke); | |
| 415 | game:service'Debris':AddItem(EffectDirection, 10); | |
| 416 | end | |
| 417 | ||
| 418 | wait(.2); | |
| 419 | ||
| 420 | for Index,Value in next,StoredParticles do | |
| 421 | if Value:IsA'Smoke' then | |
| 422 | Value.Enabled = false; | |
| 423 | end | |
| 424 | end | |
| 425 | end; | |
| 426 | ||
| 427 | BulletholeParticles = function(Part, hitPart) | |
| 428 | do --material splash | |
| 429 | local Particle = new("ParticleEmitter", Part);
| |
| 430 | Particle.VelocitySpread = 30; | |
| 431 | Particle.LightEmission = 200; | |
| 432 | ||
| 433 | ||
| 434 | Particle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.1, 0), NumberSequenceKeypoint.new(1, 0.25, 0)})
| |
| 435 | Particle.Color = ColorSequence.new(Color3.new(hitPart.BrickColor.r, hitPart.BrickColor.g, hitPart.BrickColor.b)); | |
| 436 | Particle.Texture = "rbxassetid://272031379"; | |
| 437 | Particle.Rotation = NumberRange.new(0,90); | |
| 438 | Particle.Rate = 25; | |
| 439 | Particle.Acceleration = Vector3.new(0, -100, 0) | |
| 440 | Particle.Speed = NumberRange.new(35); | |
| 441 | Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 0)});
| |
| 442 | Particle.Lifetime = NumberRange.new(2); | |
| 443 | coroutine.wrap(function() | |
| 444 | wait(.2) | |
| 445 | Particle.Enabled = false; | |
| 446 | Particle.Rate = 0; | |
| 447 | wait(2) | |
| 448 | Particle:Destroy() | |
| 449 | end)() | |
| 450 | end | |
| 451 | ||
| 452 | do --smoke effect | |
| 453 | local Particle = new("ParticleEmitter", Part);
| |
| 454 | Particle.VelocitySpread = 10; | |
| 455 | ||
| 456 | ||
| 457 | Particle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0), NumberSequenceKeypoint.new(1, 0.9, 0)})
| |
| 458 | ||
| 459 | Particle.Color = ColorSequence.new(Color3.new(hitPart.BrickColor.r, hitPart.BrickColor.g, hitPart.BrickColor.b)); | |
| 460 | Particle.Texture = "rbxassetid://272031958"; -- replace id | |
| 461 | Particle.Rotation = NumberRange.new(0,90); | |
| 462 | Particle.Rate = 10; | |
| 463 | Particle.Acceleration = Vector3.new(0, -1, 0) | |
| 464 | Particle.Speed = NumberRange.new(5); | |
| 465 | Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 0)});
| |
| 466 | Particle.Lifetime = NumberRange.new(1); | |
| 467 | coroutine.wrap(function() | |
| 468 | wait(.2) | |
| 469 | Particle.Enabled = false; | |
| 470 | Particle.Rate = 0; | |
| 471 | wait(1) | |
| 472 | Particle:Destroy() | |
| 473 | end)() | |
| 474 | end | |
| 475 | end; | |
| 476 | }; | |
| 477 | ||
| 478 | ||
| 479 | local Storage = new("Model", char);
| |
| 480 | ||
| 481 | local BasePart = new("Part");
| |
| 482 | BasePart.FormFactor = "Custom"; | |
| 483 | BasePart.TopSurface = 10; | |
| 484 | BasePart.BottomSurface = 10; | |
| 485 | BasePart.LeftSurface = 10; | |
| 486 | BasePart.RightSurface = 10; | |
| 487 | BasePart.FrontSurface = 10; | |
| 488 | BasePart.BackSurface = 10; | |
| 489 | ||
| 490 | local CylPart = new("Part");
| |
| 491 | CylPart.FormFactor = "Custom"; | |
| 492 | CylPart.TopSurface = 10; | |
| 493 | CylPart.BottomSurface = 10; | |
| 494 | CylPart.LeftSurface = 10; | |
| 495 | CylPart.RightSurface = 10; | |
| 496 | CylPart.FrontSurface = 10; | |
| 497 | CylPart.BackSurface = 10; | |
| 498 | new("CylinderMesh", CylPart);
| |
| 499 | ||
| 500 | local m = new("Model")
| |
| 501 | m.Name = "HOVERBIKE" | |
| 502 | Instance.new("Humanoid", m);
| |
| 503 | m1 = new("Model")
| |
| 504 | m1.Name = "Front" | |
| 505 | m1.Parent = m | |
| 506 | m2 = new("Model")
| |
| 507 | m2.Name = "Middle" | |
| 508 | m2.Parent = m | |
| 509 | m3 = new("Model")
| |
| 510 | m3.Name = "Pedals" | |
| 511 | m3.Parent = m2 | |
| 512 | m4 = new("Model")
| |
| 513 | m4.Name = "Back" | |
| 514 | m4.Parent = m | |
| 515 | p1 = new("Part", m1)
| |
| 516 | p1.BrickColor = BrickColor.new("Institutional white")
| |
| 517 | p1.Material = "SmoothPlastic" | |
| 518 | p1.FormFactor = 3 | |
| 519 | p1.Size = Vector3.new(2.5999999, 2.4000001, 0.800000131) | |
| 520 | p1.CFrame = CFrame.new(-70.3000031, 1.79999804, -5.20002365, 0.999993324, 3.57207313e-008, 6.01311001e-008, 3.29292398e-008, -4.47034836e-007, -0.999996185, 5.16903889e-008, 0.999995708, -5.66244125e-007) | |
| 521 | p1.BackSurface = 10 | |
| 522 | p1.BottomSurface = 10 | |
| 523 | p1.FrontSurface = 10 | |
| 524 | p1.LeftSurface = 10 | |
| 525 | p1.RightSurface = 10 | |
| 526 | p1.TopSurface = 10 | |
| 527 | b1 = new("CylinderMesh", p1)
| |
| 528 | b1.Name = "Mesh" | |
| 529 | p2 = new("Part", m1)
| |
| 530 | p2.BrickColor = BrickColor.new("Institutional white")
| |
| 531 | p2.Material = "SmoothPlastic" | |
| 532 | p2.FormFactor = 3 | |
| 533 | p2.Size = Vector3.new(0.800000012, 1.00000012, 0.800000012) | |
| 534 | p2.CFrame = CFrame.new(-71, 1.60000002, -4.69999981, 0.707106769, 0.707106769, 0, -0.49999997, 0.49999997, -0.707106769, -0.49999997, 0.49999997, 0.707106769) | |
| 535 | p2.BackSurface = 10 | |
| 536 | p2.BottomSurface = 10 | |
| 537 | p2.FrontSurface = 10 | |
| 538 | p2.LeftSurface = 10 | |
| 539 | p2.RightSurface = 10 | |
| 540 | p2.TopSurface = 10 | |
| 541 | b2 = new("CylinderMesh", p2)
| |
| 542 | b2.Name = "Mesh" | |
| 543 | p3 = new("Part", m1)
| |
| 544 | p3.BrickColor = BrickColor.new("Medium stone grey")
| |
| 545 | p3.Material = "SmoothPlastic" | |
| 546 | p3.FormFactor = 3 | |
| 547 | p3.Size = Vector3.new(0.200000033, 1.80000007, 2.26000023) | |
| 548 | p3.CFrame = CFrame.new(-69.32798, 2.85687518, -5.29115105, -0.933012664, -0.249999866, -0.258819103, -0.166480377, 0.937541068, -0.305452108, 0.319016516, -0.241902426, -0.916357815) | |
| 549 | p3.BackSurface = 10 | |
| 550 | p3.BottomSurface = 10 | |
| 551 | p3.FrontSurface = 10 | |
| 552 | p3.LeftSurface = 10 | |
| 553 | p3.RightSurface = 10 | |
| 554 | p3.TopSurface = 10 | |
| 555 | p4 = new("Part", m1)
| |
| 556 | p4.BrickColor = BrickColor.new("Medium stone grey")
| |
| 557 | p4.Material = "SmoothPlastic" | |
| 558 | p4.FormFactor = 3 | |
| 559 | p4.Size = Vector3.new(1.80000007, 0.200000003, 2.31000018) | |
| 560 | p4.CFrame = CFrame.new(-71.2271042, 2.84331346, -5.26954222, 0.25000003, 0.933012784, 0.258818537, 0.937540889, -0.166480452, -0.305452794, -0.241903126, 0.319016159, -0.916357756) | |
| 561 | p4.BackSurface = 10 | |
| 562 | p4.BottomSurface = 10 | |
| 563 | p4.FrontSurface = 10 | |
| 564 | p4.LeftSurface = 10 | |
| 565 | p4.RightSurface = 10 | |
| 566 | p4.TopSurface = 10 | |
| 567 | p5 = new("Part", m1)
| |
| 568 | p5.BrickColor = BrickColor.new("Medium stone grey")
| |
| 569 | p5.Material = "SmoothPlastic" | |
| 570 | p5.FormFactor = 3 | |
| 571 | p5.Size = Vector3.new(0.200000033, 0.570000052, 2.31000018) | |
| 572 | p5.CFrame = CFrame.new(-70.7262497, 3.63176894, -5.52089834, 9.7468944e-010, 0.965925813, 0.258819014, 0.948683262, 0.08184582, -0.305452794, -0.316228002, 0.245537266, -0.916357636) | |
| 573 | p5.BackSurface = 10 | |
| 574 | p5.BottomSurface = 10 | |
| 575 | p5.FrontSurface = 10 | |
| 576 | p5.LeftSurface = 10 | |
| 577 | p5.RightSurface = 10 | |
| 578 | p5.TopSurface = 10 | |
| 579 | p6 = new("WedgePart", m1)
| |
| 580 | p6.BrickColor = BrickColor.new("Dark stone grey")
| |
| 581 | p6.Material = "SmoothPlastic" | |
| 582 | p6.Name = "Wedge" | |
| 583 | p6.FormFactor = 3 | |
| 584 | p6.Size = Vector3.new(0.600000024, 1, 1.19999981) | |
| 585 | p6.CFrame = CFrame.new(-70.3000031, 3.39999628, -4.99999666, 0.999990463, 4.89541385e-008, 1.56179951e-007, -3.44916629e-008, 0.999993563, -1.0771722e-007, -1.27013777e-007, 1.82223147e-007, 0.999994636) | |
| 586 | p6.BackSurface = 10 | |
| 587 | p6.BottomSurface = 10 | |
| 588 | p6.FrontSurface = 10 | |
| 589 | p6.LeftSurface = 10 | |
| 590 | p6.RightSurface = 10 | |
| 591 | p6.TopSurface = 10 | |
| 592 | p7 = new("WedgePart", m1)
| |
| 593 | p7.BrickColor = BrickColor.new("Dark stone grey")
| |
| 594 | p7.Material = "SmoothPlastic" | |
| 595 | p7.Name = "Wedge" | |
| 596 | p7.FormFactor = 3 | |
| 597 | p7.Size = Vector3.new(0.600000024, 1.9000001, 1.60000014) | |
| 598 | p7.CFrame = CFrame.new(-70.3000031, 1.94999981, -4.79999971, -0.999999285, -4.22459312e-009, -4.42287984e-009, -8.71322658e-009, -0.999999583, -4.27401368e-008, -3.42251809e-008, -5.01331741e-008, 0.999999523) | |
| 599 | p7.BackSurface = 10 | |
| 600 | p7.BottomSurface = 10 | |
| 601 | p7.FrontSurface = 10 | |
| 602 | p7.LeftSurface = 10 | |
| 603 | p7.RightSurface = 10 | |
| 604 | p7.TopSurface = 10 | |
| 605 | p8 = new("Part", m1)
| |
| 606 | p8.BrickColor = BrickColor.new("Institutional white")
| |
| 607 | p8.Material = "SmoothPlastic" | |
| 608 | p8.FormFactor = 3 | |
| 609 | p8.Size = Vector3.new(0.200000003, 1.00000012, 2.46000028) | |
| 610 | p8.CFrame = CFrame.new(-70.6999893, 2.70000029, -5.36999369, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 611 | p8.BackSurface = 10 | |
| 612 | p8.BottomSurface = 10 | |
| 613 | p8.FrontSurface = 10 | |
| 614 | p8.LeftSurface = 10 | |
| 615 | p8.RightSurface = 10 | |
| 616 | p8.TopSurface = 10 | |
| 617 | p9 = new("Part", m1)
| |
| 618 | p9.BrickColor = BrickColor.new("Medium stone grey")
| |
| 619 | p9.Material = "SmoothPlastic" | |
| 620 | p9.FormFactor = 3 | |
| 621 | p9.Size = Vector3.new(0.200000033, 1, 2.24000001) | |
| 622 | p9.CFrame = CFrame.new(-70.3000031, 3.65261483, -5.4583602, -2.94648261e-009, 1, -2.40095073e-008, 0.948683262, -4.79719953e-009, -0.316227973, -0.316227973, -2.37091786e-008, -0.948683262) | |
| 623 | p9.BackSurface = 10 | |
| 624 | p9.BottomSurface = 10 | |
| 625 | p9.FrontSurface = 10 | |
| 626 | p9.LeftSurface = 10 | |
| 627 | p9.RightSurface = 10 | |
| 628 | p9.TopSurface = 10 | |
| 629 | p10 = new("Part", m1)
| |
| 630 | p10.BrickColor = BrickColor.new("Institutional white")
| |
| 631 | p10.Material = "SmoothPlastic" | |
| 632 | p10.FormFactor = 3 | |
| 633 | p10.Size = Vector3.new(2.5999999, 2.20000005, 0.800000131) | |
| 634 | p10.CFrame = CFrame.new(-70.3000031, 1.75333345, -4.62936497, 0.999993324, 6.73471092e-008, 9.66288383e-008, 9.03622777e-008, -0.620700181, -0.784043133, 9.45857366e-008, 0.784042716, -0.620700002) | |
| 635 | p10.BackSurface = 10 | |
| 636 | p10.BottomSurface = 10 | |
| 637 | p10.FrontSurface = 10 | |
| 638 | p10.LeftSurface = 10 | |
| 639 | p10.RightSurface = 10 | |
| 640 | p10.TopSurface = 10 | |
| 641 | b3 = new("CylinderMesh", p10)
| |
| 642 | b3.Name = "Mesh" | |
| 643 | p11 = new("Part", m1)
| |
| 644 | p11.BrickColor = BrickColor.new("Medium stone grey")
| |
| 645 | p11.Material = "SmoothPlastic" | |
| 646 | p11.FormFactor = 3 | |
| 647 | p11.Size = Vector3.new(2.5999999, 1.60000002, 1.40000021) | |
| 648 | p11.CFrame = CFrame.new(-70.3000031, 2.79999661, -5.20002317, 0.999993324, 3.57207313e-008, 6.01311001e-008, 3.29292398e-008, -4.47034836e-007, -0.999996185, 5.16903889e-008, 0.999995708, -5.66244125e-007) | |
| 649 | p11.BackSurface = 10 | |
| 650 | p11.BottomSurface = 10 | |
| 651 | p11.FrontSurface = 10 | |
| 652 | p11.LeftSurface = 10 | |
| 653 | p11.RightSurface = 10 | |
| 654 | p11.TopSurface = 10 | |
| 655 | b4 = new("CylinderMesh", p11)
| |
| 656 | b4.Name = "Mesh" | |
| 657 | p12 = new("Part", m1)
| |
| 658 | p12.BrickColor = BrickColor.new("Institutional white")
| |
| 659 | p12.Material = "SmoothPlastic" | |
| 660 | p12.FormFactor = 3 | |
| 661 | p12.Size = Vector3.new(0.200000003, 1.00000012, 2.46000028) | |
| 662 | p12.CFrame = CFrame.new(-69.9000015, 2.70000029, -5.37000704, -0.99999994, 6.17772677e-009, 2.98023224e-008, 8.16360668e-009, 1, -1.0658141e-014, -5.96046448e-008, -2.73676903e-008, -1) | |
| 663 | p12.BackSurface = 10 | |
| 664 | p12.BottomSurface = 10 | |
| 665 | p12.FrontSurface = 10 | |
| 666 | p12.LeftSurface = 10 | |
| 667 | p12.RightSurface = 10 | |
| 668 | p12.TopSurface = 10 | |
| 669 | p13 = new("Part", m1)
| |
| 670 | p13.BrickColor = BrickColor.new("Institutional white")
| |
| 671 | p13.Material = "SmoothPlastic" | |
| 672 | p13.FormFactor = 3 | |
| 673 | p13.Size = Vector3.new(0.800000012, 1.00000012, 0.800000012) | |
| 674 | p13.CFrame = CFrame.new(-69.8000031, 1.59999776, -4.70001411, 0.70710206, -0.70710212, 4.05156406e-008, 0.499997437, 0.499997407, -0.707104921, 0.49999854, 0.499998391, 0.707102716) | |
| 675 | p13.BackSurface = 10 | |
| 676 | p13.BottomSurface = 10 | |
| 677 | p13.FrontSurface = 10 | |
| 678 | p13.LeftSurface = 10 | |
| 679 | p13.RightSurface = 10 | |
| 680 | p13.TopSurface = 10 | |
| 681 | b5 = new("CylinderMesh", p13)
| |
| 682 | b5.Name = "Mesh" | |
| 683 | p14 = new("Part", m1)
| |
| 684 | p14.BrickColor = BrickColor.new("Institutional white")
| |
| 685 | p14.Material = "SmoothPlastic" | |
| 686 | p14.FormFactor = 3 | |
| 687 | p14.Size = Vector3.new(1, 0.200000003, 2.66000032) | |
| 688 | p14.CFrame = CFrame.new(-70.3000031, 2.10000038, -5.27000713, -0.99999994, 6.17772677e-009, 2.98023224e-008, 8.16360668e-009, 1, -1.0658141e-014, -5.96046448e-008, -2.73676903e-008, -1) | |
| 689 | p14.BackSurface = 10 | |
| 690 | p14.BottomSurface = 10 | |
| 691 | p14.FrontSurface = 10 | |
| 692 | p14.LeftSurface = 10 | |
| 693 | p14.RightSurface = 10 | |
| 694 | p14.TopSurface = 10 | |
| 695 | p15 = new("Part", m1)
| |
| 696 | p15.BrickColor = BrickColor.new("Medium stone grey")
| |
| 697 | p15.Material = "SmoothPlastic" | |
| 698 | p15.FormFactor = 3 | |
| 699 | p15.Size = Vector3.new(0.200000033, 0.600000024, 2.27000022) | |
| 700 | p15.CFrame = CFrame.new(-69.8331375, 3.6373589, -5.50412893, 1.58114908e-008, 0.965925813, -0.258819073, 0.948683321, -0.081845805, -0.305452615, -0.316227823, -0.245537326, -0.916357696) | |
| 701 | p15.BackSurface = 10 | |
| 702 | p15.BottomSurface = 10 | |
| 703 | p15.FrontSurface = 10 | |
| 704 | p15.LeftSurface = 10 | |
| 705 | p15.RightSurface = 10 | |
| 706 | p15.TopSurface = 10 | |
| 707 | p16 = new("Part", m1)
| |
| 708 | p16.BrickColor = BrickColor.new("Black")
| |
| 709 | p16.Material = "SmoothPlastic" | |
| 710 | p16.FormFactor = 3 | |
| 711 | p16.Size = Vector3.new(0.200000033, 1, 0.200000003) | |
| 712 | p16.CFrame = CFrame.new(-71.1000061, 3.86704206, -3.96570897, -2.07027329e-009, 0.965925753, -0.258819044, 0.928476572, -0.0961230621, -0.358736128, -0.371390998, -0.240307435, -0.896839499) | |
| 713 | p16.BackSurface = 10 | |
| 714 | p16.BottomSurface = 10 | |
| 715 | p16.FrontSurface = 10 | |
| 716 | p16.LeftSurface = 10 | |
| 717 | p16.RightSurface = 10 | |
| 718 | p16.TopSurface = 10 | |
| 719 | b6 = new("CylinderMesh", p16)
| |
| 720 | b6.Name = "Mesh" | |
| 721 | p17 = new("WedgePart", m1)
| |
| 722 | p17.BrickColor = BrickColor.new("Medium stone grey")
| |
| 723 | p17.Material = "SmoothPlastic" | |
| 724 | p17.Name = "Wedge" | |
| 725 | p17.FormFactor = 3 | |
| 726 | p17.Size = Vector3.new(0.600000024, 0.900000095, 0.200000033) | |
| 727 | p17.CFrame = CFrame.new(-70.9000015, 2.54999876, -4.0999999, -0.999994278, -1.74263892e-008, 6.84501131e-008, -1.74263928e-008, 0.999997139, 1.84370062e-015, -6.84501131e-008, 6.50858793e-016, -0.999997139) | |
| 728 | p17.BackSurface = 10 | |
| 729 | p17.BottomSurface = 10 | |
| 730 | p17.FrontSurface = 10 | |
| 731 | p17.LeftSurface = 10 | |
| 732 | p17.RightSurface = 10 | |
| 733 | p17.TopSurface = 10 | |
| 734 | p18 = new("Part", m1)
| |
| 735 | p18.BrickColor = BrickColor.new("Institutional white")
| |
| 736 | p18.Material = "SmoothPlastic" | |
| 737 | p18.FormFactor = 3 | |
| 738 | p18.Size = Vector3.new(1.80000007, 1, 0.200000003) | |
| 739 | p18.CFrame = CFrame.new(-70.3000107, 3.40137672, -4.09284878, -1, -4.58120741e-009, -2.37882976e-008, 4.58120741e-009, 0.928476691, -0.371390671, 2.37882976e-008, -0.371390671, -0.928476691) | |
| 740 | p18.BackSurface = 10 | |
| 741 | p18.BottomSurface = 10 | |
| 742 | p18.FrontSurface = 10 | |
| 743 | p18.LeftSurface = 10 | |
| 744 | p18.RightSurface = 10 | |
| 745 | p18.TopSurface = 10 | |
| 746 | b7 = new("BlockMesh", p18)
| |
| 747 | b7.Name = "Mesh" | |
| 748 | b7.Offset = Vector3.new(0, 0, 0.100000001) | |
| 749 | b7.Scale = Vector3.new(0.899999976, 0.899999976, 0.200000003) | |
| 750 | p19 = new("Part", m1)
| |
| 751 | p19.BrickColor = BrickColor.new("Dark stone grey")
| |
| 752 | p19.Material = "SmoothPlastic" | |
| 753 | p19.FormFactor = 3 | |
| 754 | p19.Size = Vector3.new(0.200000003, 0.399999976, 0.200000003) | |
| 755 | p19.CFrame = CFrame.new(-70.3000259, 2.59999895, -3.9000001, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 756 | p19.BackSurface = 10 | |
| 757 | p19.BottomSurface = 10 | |
| 758 | p19.FrontSurface = 10 | |
| 759 | p19.LeftSurface = 10 | |
| 760 | p19.RightSurface = 10 | |
| 761 | p19.TopSurface = 10 | |
| 762 | p20 = new("WedgePart", m1)
| |
| 763 | p20.BrickColor = BrickColor.new("Institutional white")
| |
| 764 | p20.Material = "SmoothPlastic" | |
| 765 | p20.Name = "Wedge" | |
| 766 | p20.FormFactor = 3 | |
| 767 | p20.Size = Vector3.new(1.79999995, 0.699999988, 0.400000066) | |
| 768 | p20.CFrame = CFrame.new(-70.2999954, 1.75000012, -3.80001855, -1, 0, 0, 0, 1, 0, 0, 0, -1) | |
| 769 | p20.BackSurface = 10 | |
| 770 | p20.BottomSurface = 10 | |
| 771 | p20.FrontSurface = 10 | |
| 772 | p20.LeftSurface = 10 | |
| 773 | p20.RightSurface = 10 | |
| 774 | p20.TopSurface = 10 | |
| 775 | p21 = new("WedgePart", m1)
| |
| 776 | p21.BrickColor = BrickColor.new("Dark stone grey")
| |
| 777 | p21.Material = "SmoothPlastic" | |
| 778 | p21.Name = "Wedge" | |
| 779 | p21.FormFactor = 3 | |
| 780 | p21.Size = Vector3.new(0.600000024, 0.700000107, 0.600000024) | |
| 781 | p21.CFrame = CFrame.new(-69.7000046, 2.55000138, -4.50000286, -0.999991119, 2.1650715e-008, 1.73532499e-007, -8.25170332e-008, -0.999993801, -6.07012907e-007, 1.13927797e-007, -6.07009156e-007, 0.999990523) | |
| 782 | p21.BackSurface = 10 | |
| 783 | p21.BottomSurface = 10 | |
| 784 | p21.FrontSurface = 10 | |
| 785 | p21.LeftSurface = 10 | |
| 786 | p21.RightSurface = 10 | |
| 787 | p21.TopSurface = 10 | |
| 788 | p22 = new("Part", m1)
| |
| 789 | p22.BrickColor = BrickColor.new("Black")
| |
| 790 | p22.Material = "SmoothPlastic" | |
| 791 | p22.FormFactor = 3 | |
| 792 | p22.Size = Vector3.new(0.200000033, 1, 0.200000003) | |
| 793 | p22.CFrame = CFrame.new(-69.5000076, 3.86704469, -3.96570921, 1.70448082e-008, 0.965925813, 0.258819014, 0.928476632, 0.096122995, -0.358735979, -0.37139082, 0.24030742, -0.896839559) | |
| 794 | p22.BackSurface = 10 | |
| 795 | p22.BottomSurface = 10 | |
| 796 | p22.FrontSurface = 10 | |
| 797 | p22.LeftSurface = 10 | |
| 798 | p22.RightSurface = 10 | |
| 799 | p22.TopSurface = 10 | |
| 800 | b8 = new("CylinderMesh", p22)
| |
| 801 | b8.Name = "Mesh" | |
| 802 | p23 = new("WedgePart", m1)
| |
| 803 | p23.BrickColor = BrickColor.new("Medium stone grey")
| |
| 804 | p23.Material = "SmoothPlastic" | |
| 805 | p23.Name = "Wedge" | |
| 806 | p23.FormFactor = 3 | |
| 807 | p23.Size = Vector3.new(1.79999995, 1, 0.400000006) | |
| 808 | p23.CFrame = CFrame.new(-70.3000031, 3.3999989, -4.20000076, -0.999997854, -1.84590085e-008, -3.30043548e-008, -3.13968336e-008, 0.999998927, 2.98023224e-008, 3.20212834e-009, 8.94069672e-008, -0.999998868) | |
| 809 | p23.BackSurface = 10 | |
| 810 | p23.BottomSurface = 10 | |
| 811 | p23.FrontSurface = 10 | |
| 812 | p23.LeftSurface = 10 | |
| 813 | p23.RightSurface = 10 | |
| 814 | p23.TopSurface = 10 | |
| 815 | p24 = new("WedgePart", m1)
| |
| 816 | p24.BrickColor = BrickColor.new("Dark stone grey")
| |
| 817 | p24.Material = "SmoothPlastic" | |
| 818 | p24.Name = "Wedge" | |
| 819 | p24.FormFactor = 3 | |
| 820 | p24.Size = Vector3.new(0.600000024, 0.700000107, 0.600000024) | |
| 821 | p24.CFrame = CFrame.new(-70.9000015, 2.55000186, -4.49999714, -0.999991119, 2.1650715e-008, 1.73532499e-007, -8.25170332e-008, -0.999993801, -6.07012907e-007, 1.13927797e-007, -6.07009156e-007, 0.999990523) | |
| 822 | p24.BackSurface = 10 | |
| 823 | p24.BottomSurface = 10 | |
| 824 | p24.FrontSurface = 10 | |
| 825 | p24.LeftSurface = 10 | |
| 826 | p24.RightSurface = 10 | |
| 827 | p24.TopSurface = 10 | |
| 828 | p25 = new("Part", m1)
| |
| 829 | p25.BrickColor = BrickColor.new("Medium blue")
| |
| 830 | p25.Material = "SmoothPlastic" | |
| 831 | p25.Transparency = 0.5 | |
| 832 | p25.FormFactor = 3 | |
| 833 | p25.Size = Vector3.new(0.600000024, 1.79999995, 0.400000006) | |
| 834 | p25.CFrame = CFrame.new(-70.3000031, 4.25511837, -4.3927331, 3.93155108e-009, 1, -2.34442759e-008, 0.979697764, 8.48380366e-010, 0.200480163, 0.200480163, -2.37565061e-008, -0.979697764) | |
| 835 | p25.BackSurface = 10 | |
| 836 | p25.BottomSurface = 10 | |
| 837 | p25.FrontSurface = 10 | |
| 838 | p25.LeftSurface = 10 | |
| 839 | p25.RightSurface = 10 | |
| 840 | p25.TopSurface = 10 | |
| 841 | b9 = new("BlockMesh", p25)
| |
| 842 | b9.Name = "Mesh" | |
| 843 | b9.Scale = Vector3.new(1, 0.850000024, 0.0500000007) | |
| 844 | p26 = new("Part", m1)
| |
| 845 | p26.BrickColor = BrickColor.new("Black")
| |
| 846 | p26.Material = "SmoothPlastic" | |
| 847 | p26.FormFactor = 3 | |
| 848 | p26.Size = Vector3.new(0.400000006, 0.200000003, 0.600000024) | |
| 849 | p26.CFrame = CFrame.new(-69.8000107, 3.40137601, -4.0928483, -1, 2.37882976e-008, -4.58120741e-009, 4.58120741e-009, 0.371390671, 0.928476691, 2.37882976e-008, 0.928476691, -0.371390671) | |
| 850 | p26.BackSurface = 10 | |
| 851 | p26.BottomSurface = 10 | |
| 852 | p26.FrontSurface = 10 | |
| 853 | p26.LeftSurface = 10 | |
| 854 | p26.RightSurface = 10 | |
| 855 | p26.TopSurface = 10 | |
| 856 | b10 = new("CylinderMesh", p26)
| |
| 857 | b10.Name = "Mesh" | |
| 858 | b10.Offset = Vector3.new(0, -0.150000006, 0) | |
| 859 | p27 = new("Part", m1)
| |
| 860 | p27.BrickColor = BrickColor.new("Black")
| |
| 861 | p27.Material = "SmoothPlastic" | |
| 862 | p27.FormFactor = 3 | |
| 863 | p27.Size = Vector3.new(0.200000033, 1, 0.200000003) | |
| 864 | p27.CFrame = CFrame.new(-70.3000107, 3.84704471, -4.05570936, -4.58120741e-009, 1, -2.37882976e-008, 0.928476691, -4.58120741e-009, -0.371390671, -0.371390671, -2.37882976e-008, -0.928476691) | |
| 865 | p27.BackSurface = 10 | |
| 866 | p27.BottomSurface = 10 | |
| 867 | p27.FrontSurface = 10 | |
| 868 | p27.LeftSurface = 10 | |
| 869 | p27.RightSurface = 10 | |
| 870 | p27.TopSurface = 10 | |
| 871 | b11 = new("CylinderMesh", p27)
| |
| 872 | b11.Name = "Mesh" | |
| 873 | b11.Scale = Vector3.new(1.39999998, 1, 1.39999998) | |
| 874 | p28 = new("WedgePart", m1)
| |
| 875 | p28.BrickColor = BrickColor.new("Medium stone grey")
| |
| 876 | p28.Material = "SmoothPlastic" | |
| 877 | p28.Name = "Wedge" | |
| 878 | p28.FormFactor = 3 | |
| 879 | p28.Size = Vector3.new(0.600000024, 0.900000095, 0.200000033) | |
| 880 | p28.CFrame = CFrame.new(-69.7000046, 2.54999852, -4.0999999, -0.999994278, -1.74263892e-008, 6.84501131e-008, -1.74263928e-008, 0.999997139, 1.84370062e-015, -6.84501131e-008, 6.50858793e-016, -0.999997139) | |
| 881 | p28.BackSurface = 10 | |
| 882 | p28.BottomSurface = 10 | |
| 883 | p28.FrontSurface = 10 | |
| 884 | p28.LeftSurface = 10 | |
| 885 | p28.RightSurface = 10 | |
| 886 | p28.TopSurface = 10 | |
| 887 | p29 = new("Part", m1)
| |
| 888 | p29.BrickColor = BrickColor.new("Black")
| |
| 889 | p29.Material = "SmoothPlastic" | |
| 890 | p29.FormFactor = 3 | |
| 891 | p29.Size = Vector3.new(0.600000024, 0.200000003, 0.600000024) | |
| 892 | p29.CFrame = CFrame.new(-70.7000122, 3.40137601, -4.0928483, -1, 2.37882976e-008, -4.58120741e-009, 4.58120741e-009, 0.371390671, 0.928476691, 2.37882976e-008, 0.928476691, -0.371390671) | |
| 893 | p29.BackSurface = 10 | |
| 894 | p29.BottomSurface = 10 | |
| 895 | p29.FrontSurface = 10 | |
| 896 | p29.LeftSurface = 10 | |
| 897 | p29.RightSurface = 10 | |
| 898 | p29.TopSurface = 10 | |
| 899 | b12 = new("CylinderMesh", p29)
| |
| 900 | b12.Name = "Mesh" | |
| 901 | b12.Offset = Vector3.new(0, -0.150000006, 0) | |
| 902 | p30 = new("Part", m1)
| |
| 903 | p30.BrickColor = BrickColor.new("Black")
| |
| 904 | p30.Material = "SmoothPlastic" | |
| 905 | p30.FormFactor = 3 | |
| 906 | p30.Size = Vector3.new(0.600000024, 0.200000003, 0.200000003) | |
| 907 | p30.CFrame = CFrame.new(-70.3000107, 3.77276635, -4.24140453, -1, 2.37882976e-008, -4.58120741e-009, 4.58120741e-009, 0.371390671, 0.928476691, 2.37882976e-008, 0.928476691, -0.371390671) | |
| 908 | p30.BackSurface = 10 | |
| 909 | p30.BottomSurface = 10 | |
| 910 | p30.FrontSurface = 10 | |
| 911 | p30.LeftSurface = 10 | |
| 912 | p30.RightSurface = 10 | |
| 913 | p30.TopSurface = 10 | |
| 914 | b13 = new("CylinderMesh", p30)
| |
| 915 | b13.Name = "Mesh" | |
| 916 | ||
| 917 | Barrel = new("Part", m1)
| |
| 918 | Barrel.BrickColor = BrickColor.new("Black")
| |
| 919 | Barrel.FormFactor = Enum.FormFactor.Custom | |
| 920 | Barrel.Size = Vector3.new(0.200000003, 0.400000006, 0.200000003) | |
| 921 | Barrel.CFrame = CFrame.new(-70.3000031, 2.70000052, -7.40000629, -1.20340502e-007, -1.59888529e-008, 1, 1, -3.57627869e-007, 1.20340502e-007, 3.57627869e-007, 1, 1.5988892e-008) * CFrame.Angles(math.pi, 0, 0) | |
| 922 | Mb1 = new("CylinderMesh", Barrel)
| |
| 923 | Mb1.Name = "Mesh" | |
| 924 | Mb1.Scale = Vector3.new(0.5, 1, 0.5) | |
| 925 | MainBarrel = new("Part", m1)
| |
| 926 | MainBarrel.BrickColor = BrickColor.new("Black")
| |
| 927 | MainBarrel.FormFactor = Enum.FormFactor.Custom | |
| 928 | MainBarrel.Size = Vector3.new(0.200000003, 2, 0.200000003) | |
| 929 | MainBarrel.CFrame = CFrame.new(-70.3000031, 2.70000005, -6.20000648, -1.20340502e-007, -1.59888529e-008, 1, 1, -3.57627869e-007, 1.20340502e-007, 3.57627869e-007, 1, 1.5988892e-008) | |
| 930 | Bb2 = new("CylinderMesh", MainBarrel)
| |
| 931 | Bb2.Name = "Mesh" | |
| 932 | ||
| 933 | p31 = new("Part", m2)
| |
| 934 | p31.BrickColor = BrickColor.new("Dark stone grey")
| |
| 935 | p31.Material = "SmoothPlastic" | |
| 936 | p31.FormFactor = 3 | |
| 937 | p31.Size = Vector3.new(0.200000003, 0.689999938, 0.200000003) | |
| 938 | p31.CFrame = CFrame.new(-70.3000259, 2.56110811, -3.46110916, 1, 0, 0, 0, 0.70710659, 0.70710665, 0, -0.70710665, 0.70710659) | |
| 939 | p31.BackSurface = 10 | |
| 940 | p31.BottomSurface = 10 | |
| 941 | p31.FrontSurface = 10 | |
| 942 | p31.LeftSurface = 10 | |
| 943 | p31.RightSurface = 10 | |
| 944 | p31.TopSurface = 10 | |
| 945 | p32 = new("Part", m2)
| |
| 946 | p32.BrickColor = BrickColor.new("White")
| |
| 947 | p32.Material = "SmoothPlastic" | |
| 948 | p32.FormFactor = 3 | |
| 949 | p32.Size = Vector3.new(0.600000024, 0.399999976, 0.50000006) | |
| 950 | p32.CFrame = CFrame.new(-69.8499985, 1.546, -3.71199989, 0, 0, 1, -0.707106769, 0.707106709, 0, -0.707106709, -0.707106769, 0) | |
| 951 | p32.BackSurface = 10 | |
| 952 | p32.BottomSurface = 10 | |
| 953 | p32.FrontSurface = 10 | |
| 954 | p32.LeftSurface = 10 | |
| 955 | p32.RightSurface = 10 | |
| 956 | p32.TopSurface = 10 | |
| 957 | p33 = new("Part", m2)
| |
| 958 | p33.BrickColor = BrickColor.new("Dark stone grey")
| |
| 959 | p33.Material = "SmoothPlastic" | |
| 960 | p33.FormFactor = 3 | |
| 961 | p33.Size = Vector3.new(0.200000003, 0.399999976, 0.200000003) | |
| 962 | p33.CFrame = CFrame.new(-70.3000259, 2.59999871, -3.0999999, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 963 | p33.BackSurface = 10 | |
| 964 | p33.BottomSurface = 10 | |
| 965 | p33.FrontSurface = 10 | |
| 966 | p33.LeftSurface = 10 | |
| 967 | p33.RightSurface = 10 | |
| 968 | p33.TopSurface = 10 | |
| 969 | ||
| 970 | Seat = new("Part", m2)
| |
| 971 | Seat.BrickColor = BrickColor.new("Black")
| |
| 972 | Seat.Material = "SmoothPlastic" | |
| 973 | Seat.FormFactor = 3 | |
| 974 | Seat.Size = Vector3.new(0.600000024, 0.200000003, 2.20000005) | |
| 975 | Seat.CFrame = CFrame.new(-70.3000259, 2.83298802, -2.92815232, 1, 0, 0, 0, 0.999999762, 1.49011612e-008, 0, -1.49011612e-008, 0.999999762) | |
| 976 | Seat.BackSurface = 10 | |
| 977 | Seat.BottomSurface = 10 | |
| 978 | Seat.FrontSurface = 10 | |
| 979 | Seat.LeftSurface = 10 | |
| 980 | Seat.RightSurface = 10 | |
| 981 | Seat.TopSurface = 10 | |
| 982 | ||
| 983 | p35 = new("Part", m2)
| |
| 984 | p35.BrickColor = BrickColor.new("Dark stone grey")
| |
| 985 | p35.Material = "SmoothPlastic" | |
| 986 | p35.FormFactor = 3 | |
| 987 | p35.Size = Vector3.new(0.200000003, 1, 3.20000005) | |
| 988 | p35.CFrame = CFrame.new(-70.3000259, 1.89999962, -2.4000001, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 989 | p35.BackSurface = 10 | |
| 990 | p35.BottomSurface = 10 | |
| 991 | p35.FrontSurface = 10 | |
| 992 | p35.LeftSurface = 10 | |
| 993 | p35.RightSurface = 10 | |
| 994 | p35.TopSurface = 10 | |
| 995 | p36 = new("Part", m2)
| |
| 996 | p36.BrickColor = BrickColor.new("Dark stone grey")
| |
| 997 | p36.Material = "SmoothPlastic" | |
| 998 | p36.FormFactor = 3 | |
| 999 | p36.Size = Vector3.new(0.200000003, 1.39999998, 2.80000019) | |
| 1000 | p36.CFrame = CFrame.new(-70.3000259, 2.08612967, -2.02450442, 1, 0, 0, 0, 0.965925813, 0.258819044, 0, -0.258819044, 0.965925813) | |
| 1001 | p36.BackSurface = 10 | |
| 1002 | p36.BottomSurface = 10 | |
| 1003 | p36.FrontSurface = 10 | |
| 1004 | p36.LeftSurface = 10 | |
| 1005 | p36.RightSurface = 10 | |
| 1006 | p36.TopSurface = 10 | |
| 1007 | p37 = new("Part", m2)
| |
| 1008 | p37.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1009 | p37.Material = "SmoothPlastic" | |
| 1010 | p37.FormFactor = 3 | |
| 1011 | p37.Size = Vector3.new(1.79999995, 0.400000006, 4) | |
| 1012 | p37.CFrame = CFrame.new(-70.3000259, 1.19999993, -2, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1013 | p37.BackSurface = 10 | |
| 1014 | p37.BottomSurface = 10 | |
| 1015 | p37.FrontSurface = 10 | |
| 1016 | p37.LeftSurface = 10 | |
| 1017 | p37.RightSurface = 10 | |
| 1018 | p37.TopSurface = 10 | |
| 1019 | p38 = new("Part", m2)
| |
| 1020 | p38.BrickColor = BrickColor.new("White")
| |
| 1021 | p38.Material = "SmoothPlastic" | |
| 1022 | p38.Reflectance = 0.5 | |
| 1023 | p38.FormFactor = 3 | |
| 1024 | p38.Size = Vector3.new(1.79999995, 0.210000003, 4) | |
| 1025 | p38.CFrame = CFrame.new(-70.3000259, 1.0999999, -2, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1026 | p38.BackSurface = 10 | |
| 1027 | p38.BottomSurface = 10 | |
| 1028 | p38.FrontSurface = 10 | |
| 1029 | p38.LeftSurface = 10 | |
| 1030 | p38.RightSurface = 10 | |
| 1031 | p38.TopSurface = 10 | |
| 1032 | b14 = new("BlockMesh", p38)
| |
| 1033 | b14.Name = "Mesh" | |
| 1034 | b14.Scale = Vector3.new(1.10000002, 1, 0.899999976) | |
| 1035 | p39 = new("WedgePart", m2)
| |
| 1036 | p39.BrickColor = BrickColor.new("Institutional white")
| |
| 1037 | p39.Material = "SmoothPlastic" | |
| 1038 | p39.Name = "Wedge" | |
| 1039 | p39.FormFactor = 3 | |
| 1040 | p39.Size = Vector3.new(1.79999995, 1.5, 1.20000005) | |
| 1041 | p39.CFrame = CFrame.new(-70.3000259, 1.99999988, -1.75, -1, 8.98468642e-008, 4.68792827e-008, -4.68792862e-008, -2.98022584e-008, -1, -8.98468571e-008, -1, 2.98022638e-008) | |
| 1042 | p39.BackSurface = 10 | |
| 1043 | p39.BottomSurface = 10 | |
| 1044 | p39.FrontSurface = 10 | |
| 1045 | p39.LeftSurface = 10 | |
| 1046 | p39.RightSurface = 10 | |
| 1047 | p39.TopSurface = 10 | |
| 1048 | p40 = new("WedgePart", m2)
| |
| 1049 | p40.BrickColor = BrickColor.new("Institutional white")
| |
| 1050 | p40.Material = "SmoothPlastic" | |
| 1051 | p40.Name = "Wedge" | |
| 1052 | p40.FormFactor = 3 | |
| 1053 | p40.Size = Vector3.new(1.79999995, 1.79999995, 1.00000012) | |
| 1054 | p40.CFrame = CFrame.new(-70.3000183, 2.29999948, -1.49999976, 0.999998927, 3.44938211e-009, -2.31517916e-010, 4.31985789e-008, 0.999999344, -2.98023117e-008, 2.31518388e-010, 5.96046235e-008, 0.999999344) | |
| 1055 | p40.BackSurface = 10 | |
| 1056 | p40.BottomSurface = 10 | |
| 1057 | p40.FrontSurface = 10 | |
| 1058 | p40.LeftSurface = 10 | |
| 1059 | p40.RightSurface = 10 | |
| 1060 | p40.TopSurface = 10 | |
| 1061 | p41 = new("Part", m2)
| |
| 1062 | p41.BrickColor = BrickColor.new("Black")
| |
| 1063 | p41.Material = "SmoothPlastic" | |
| 1064 | p41.FormFactor = 3 | |
| 1065 | p41.Size = Vector3.new(0.600000024, 0.200000003, 0.850000083) | |
| 1066 | p41.CFrame = CFrame.new(-70.3000259, 2.94887185, -1.44207752, 1, 0, 0, 0, 0.965925574, 0.258818984, 0, -0.258818984, 0.965925574) | |
| 1067 | p41.BackSurface = 10 | |
| 1068 | p41.BottomSurface = 10 | |
| 1069 | p41.FrontSurface = 10 | |
| 1070 | p41.LeftSurface = 10 | |
| 1071 | p41.RightSurface = 10 | |
| 1072 | p41.TopSurface = 10 | |
| 1073 | p42 = new("WedgePart", m2)
| |
| 1074 | p42.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1075 | p42.Material = "SmoothPlastic" | |
| 1076 | p42.Name = "Wedge" | |
| 1077 | p42.FormFactor = 3 | |
| 1078 | p42.Size = Vector3.new(0.200000003, 0.399999976, 0.799999952) | |
| 1079 | p42.CFrame = CFrame.new(-71.4000244, 1.29999983, -0.799999714, 3.41726647e-013, -1, 4.76835822e-007, 1, 3.41060513e-013, -1.30897582e-009, 1.30897582e-009, 4.76835822e-007, 1) | |
| 1080 | p42.BackSurface = 10 | |
| 1081 | p42.BottomSurface = 10 | |
| 1082 | p42.FrontSurface = 10 | |
| 1083 | p42.LeftSurface = 10 | |
| 1084 | p42.RightSurface = 10 | |
| 1085 | p42.TopSurface = 10 | |
| 1086 | p43 = new("Part", m2)
| |
| 1087 | p43.BrickColor = BrickColor.new("Institutional white")
| |
| 1088 | p43.Material = "SmoothPlastic" | |
| 1089 | p43.FormFactor = 3 | |
| 1090 | p43.Size = Vector3.new(1.79999995, 2, 0.600000083) | |
| 1091 | p43.CFrame = CFrame.new(-70.3000259, 2.29946756, -1.05553186, 1, 0, 0, 0, 0.965925813, -0.258819044, 0, 0.258819044, 0.965925813) | |
| 1092 | p43.BackSurface = 10 | |
| 1093 | p43.BottomSurface = 10 | |
| 1094 | p43.FrontSurface = 10 | |
| 1095 | p43.LeftSurface = 10 | |
| 1096 | p43.RightSurface = 10 | |
| 1097 | p43.TopSurface = 10 | |
| 1098 | p44 = new("WedgePart", m2)
| |
| 1099 | p44.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1100 | p44.Material = "SmoothPlastic" | |
| 1101 | p44.Name = "Wedge" | |
| 1102 | p44.FormFactor = 3 | |
| 1103 | p44.Size = Vector3.new(0.200000003, 0.399999976, 0.799999952) | |
| 1104 | p44.CFrame = CFrame.new(-69.1999817, 1.29999602, -0.800000191, -3.41060513e-013, 1, -4.76835822e-007, -1, -3.41060513e-013, 1.30920319e-009, 1.30920319e-009, 4.76835822e-007, 1) | |
| 1105 | p44.BackSurface = 10 | |
| 1106 | p44.BottomSurface = 10 | |
| 1107 | p44.FrontSurface = 10 | |
| 1108 | p44.LeftSurface = 10 | |
| 1109 | p44.RightSurface = 10 | |
| 1110 | p44.TopSurface = 10 | |
| 1111 | p45 = new("Part", m2)
| |
| 1112 | p45.BrickColor = BrickColor.new("White")
| |
| 1113 | p45.Material = "SmoothPlastic" | |
| 1114 | p45.FormFactor = 3 | |
| 1115 | p45.Size = Vector3.new(0.600000024, 0.399999976, 0.50000006) | |
| 1116 | p45.CFrame = CFrame.new(-70.7500229, 1.54644656, -3.71213222, 0, 0, 1, -0.707106769, 0.707106709, 0, -0.707106709, -0.707106769, 0) | |
| 1117 | p45.BackSurface = 10 | |
| 1118 | p45.BottomSurface = 10 | |
| 1119 | p45.FrontSurface = 10 | |
| 1120 | p45.LeftSurface = 10 | |
| 1121 | p45.RightSurface = 10 | |
| 1122 | p45.TopSurface = 10 | |
| 1123 | p46 = new("Part", m3)
| |
| 1124 | p46.BrickColor = BrickColor.new("White")
| |
| 1125 | p46.Material = "SmoothPlastic" | |
| 1126 | p46.FormFactor = 3 | |
| 1127 | p46.Size = Vector3.new(0.200000003, 0.200000003, 0.50000006) | |
| 1128 | p46.CFrame = CFrame.new(-70.7500229, 1.89999998, -3.21715736, 0, 0, 1, -0.707106769, 0.707106709, 0, -0.707106709, -0.707106769, 0) | |
| 1129 | p46.BackSurface = 10 | |
| 1130 | p46.BottomSurface = 10 | |
| 1131 | p46.FrontSurface = 10 | |
| 1132 | p46.LeftSurface = 10 | |
| 1133 | p46.RightSurface = 10 | |
| 1134 | p46.TopSurface = 10 | |
| 1135 | b15 = new("BlockMesh", p46)
| |
| 1136 | b15.Name = "Mesh" | |
| 1137 | b15.Offset = Vector3.new(0.150000006, 0, 0) | |
| 1138 | p47 = new("Part", m3)
| |
| 1139 | p47.BrickColor = BrickColor.new("White")
| |
| 1140 | p47.Material = "SmoothPlastic" | |
| 1141 | p47.FormFactor = 3 | |
| 1142 | p47.Size = Vector3.new(0.200000003, 0.200000003, 0.50000006) | |
| 1143 | p47.CFrame = CFrame.new(-69.8499985, 2.18284273, -3.5, 0, 0, 1, -0.707106769, 0.707106709, 0, -0.707106709, -0.707106769, 0) | |
| 1144 | p47.BackSurface = 10 | |
| 1145 | p47.BottomSurface = 10 | |
| 1146 | p47.FrontSurface = 10 | |
| 1147 | p47.LeftSurface = 10 | |
| 1148 | p47.RightSurface = 10 | |
| 1149 | p47.TopSurface = 10 | |
| 1150 | b16 = new("BlockMesh", p47)
| |
| 1151 | b16.Name = "Mesh" | |
| 1152 | b16.Offset = Vector3.new(0.150000006, 0, 0) | |
| 1153 | p48 = new("Part", m3)
| |
| 1154 | p48.BrickColor = BrickColor.new("White")
| |
| 1155 | p48.Material = "SmoothPlastic" | |
| 1156 | p48.FormFactor = 3 | |
| 1157 | p48.Size = Vector3.new(0.200000003, 0.200000003, 0.50000006) | |
| 1158 | p48.CFrame = CFrame.new(-70.7500229, 2.18284273, -3.5, 0, 0, 1, -0.707106769, 0.707106709, 0, -0.707106709, -0.707106769, 0) | |
| 1159 | p48.BackSurface = 10 | |
| 1160 | p48.BottomSurface = 10 | |
| 1161 | p48.FrontSurface = 10 | |
| 1162 | p48.LeftSurface = 10 | |
| 1163 | p48.RightSurface = 10 | |
| 1164 | p48.TopSurface = 10 | |
| 1165 | b17 = new("BlockMesh", p48)
| |
| 1166 | b17.Name = "Mesh" | |
| 1167 | b17.Offset = Vector3.new(0.150000006, 0, 0) | |
| 1168 | p49 = new("Part", m3)
| |
| 1169 | p49.BrickColor = BrickColor.new("White")
| |
| 1170 | p49.Material = "SmoothPlastic" | |
| 1171 | p49.FormFactor = 3 | |
| 1172 | p49.Size = Vector3.new(0.200000003, 0.200000003, 0.50000006) | |
| 1173 | p49.CFrame = CFrame.new(-69.8499985, 1.89999986, -3.21715689, 0, 0, 1, -0.707106769, 0.707106709, 0, -0.707106709, -0.707106769, 0) | |
| 1174 | p49.BackSurface = 10 | |
| 1175 | p49.BottomSurface = 10 | |
| 1176 | p49.FrontSurface = 10 | |
| 1177 | p49.LeftSurface = 10 | |
| 1178 | p49.RightSurface = 10 | |
| 1179 | p49.TopSurface = 10 | |
| 1180 | b18 = new("BlockMesh", p49)
| |
| 1181 | b18.Name = "Mesh" | |
| 1182 | b18.Offset = Vector3.new(0.150000006, 0, 0) | |
| 1183 | p50 = new("Part", m3)
| |
| 1184 | p50.BrickColor = BrickColor.new("White")
| |
| 1185 | p50.Material = "SmoothPlastic" | |
| 1186 | p50.FormFactor = 3 | |
| 1187 | p50.Size = Vector3.new(0.200000003, 1, 0.700000048) | |
| 1188 | p50.CFrame = CFrame.new(-70.7500229, 1.89999998, -3.50000024, 0, 0, 1, -0.707106769, 0.707106709, 0, -0.707106709, -0.707106769, 0) | |
| 1189 | p50.BackSurface = 10 | |
| 1190 | p50.BottomSurface = 10 | |
| 1191 | p50.FrontSurface = 10 | |
| 1192 | p50.LeftSurface = 10 | |
| 1193 | p50.RightSurface = 10 | |
| 1194 | p50.TopSurface = 10 | |
| 1195 | p51 = new("Part", m3)
| |
| 1196 | p51.BrickColor = BrickColor.new("White")
| |
| 1197 | p51.Material = "SmoothPlastic" | |
| 1198 | p51.FormFactor = 3 | |
| 1199 | p51.Size = Vector3.new(0.200000003, 1, 0.700000048) | |
| 1200 | p51.CFrame = CFrame.new(-69.8499985, 1.89999998, -3.5, 0, 0, 1, -0.707106769, 0.707106709, 0, -0.707106709, -0.707106769, 0) | |
| 1201 | p51.BackSurface = 10 | |
| 1202 | p51.BottomSurface = 10 | |
| 1203 | p51.FrontSurface = 10 | |
| 1204 | p51.LeftSurface = 10 | |
| 1205 | p51.RightSurface = 10 | |
| 1206 | p51.TopSurface = 10 | |
| 1207 | p52 = new("WedgePart", m4)
| |
| 1208 | p52.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1209 | p52.Material = "SmoothPlastic" | |
| 1210 | p52.Name = "Wedge" | |
| 1211 | p52.FormFactor = 3 | |
| 1212 | p52.Size = Vector3.new(0.200000003, 0.800000012, 0.200000003) | |
| 1213 | p52.CFrame = CFrame.new(-69.8000259, 3.49999952, 1.70000005, 7.61512897e-009, 0.999998808, -3.24887246e-008, 5.96045027e-008, -2.88746271e-008, -0.999997318, -0.99999851, 7.61512275e-009, -5.96045737e-008) | |
| 1214 | p52.BackSurface = 10 | |
| 1215 | p52.BottomSurface = 10 | |
| 1216 | p52.FrontSurface = 10 | |
| 1217 | p52.LeftSurface = 10 | |
| 1218 | p52.RightSurface = 10 | |
| 1219 | p52.TopSurface = 10 | |
| 1220 | p53 = new("WedgePart", m4)
| |
| 1221 | p53.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1222 | p53.Material = "SmoothPlastic" | |
| 1223 | p53.Name = "Wedge" | |
| 1224 | p53.FormFactor = 3 | |
| 1225 | p53.Size = Vector3.new(0.200000003, 0.400000006, 1.19999993) | |
| 1226 | p53.CFrame = CFrame.new(-69.2000275, 2.79999828, 1.69999981, 7.61512897e-009, 0.999998808, -3.24887246e-008, 5.96045027e-008, -2.88746271e-008, -0.999997318, -0.99999851, 7.61512275e-009, -5.96045737e-008) | |
| 1227 | p53.BackSurface = 10 | |
| 1228 | p53.BottomSurface = 10 | |
| 1229 | p53.FrontSurface = 10 | |
| 1230 | p53.LeftSurface = 10 | |
| 1231 | p53.RightSurface = 10 | |
| 1232 | p53.TopSurface = 10 | |
| 1233 | p54 = new("Part", m4)
| |
| 1234 | p54.BrickColor = BrickColor.new("Really black")
| |
| 1235 | p54.Material = "SmoothPlastic" | |
| 1236 | p54.FormFactor = 3 | |
| 1237 | p54.Size = Vector3.new(1, 0.200000003, 1) | |
| 1238 | p54.CFrame = CFrame.new(-70.3000031, 2.24118161, 2.26592588, 0.999998331, -6.15425222e-009, -8.94069672e-008, 8.94069672e-008, 0.258818626, 0.965924501, 1.04308128e-007, -0.965924084, 0.258818716) | |
| 1239 | p54.BackSurface = 10 | |
| 1240 | p54.BottomSurface = 10 | |
| 1241 | p54.FrontSurface = 10 | |
| 1242 | p54.LeftSurface = 10 | |
| 1243 | p54.RightSurface = 10 | |
| 1244 | p54.TopSurface = 10 | |
| 1245 | b19 = new("CylinderMesh", p54)
| |
| 1246 | b19.Name = "Mesh" | |
| 1247 | b19.Offset = Vector3.new(0, 0.189999998, 0) | |
| 1248 | b19.Scale = Vector3.new(0.800000012, 1, 0.800000012) | |
| 1249 | p55 = new("Part", m4)
| |
| 1250 | p55.BrickColor = BrickColor.new("Black")
| |
| 1251 | p55.Material = "SmoothPlastic" | |
| 1252 | p55.Name = "SmokeDispenser" | |
| 1253 | p55.FormFactor = 3 | |
| 1254 | p55.Size = Vector3.new(0.400000036, 0.200000018, 0.400000036) | |
| 1255 | p55.CFrame = CFrame.new(-70.3000107, 1.85493112, 1.80191004, 0.999998331, -9.46739078e-008, 6.28408685e-008, 3.76498406e-008, -0.258818597, -0.965924382, 1.94824821e-007, 0.965924025, -0.258818746) | |
| 1256 | p55.BackSurface = 10 | |
| 1257 | p55.BottomSurface = 10 | |
| 1258 | p55.FrontSurface = 10 | |
| 1259 | p55.LeftSurface = 10 | |
| 1260 | p55.RightSurface = 10 | |
| 1261 | p55.TopSurface = 10 | |
| 1262 | Smoke = new("Smoke", p55)
| |
| 1263 | Smoke.RiseVelocity = 5 | |
| 1264 | p56 = new("WedgePart", m4)
| |
| 1265 | p56.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1266 | p56.Material = "SmoothPlastic" | |
| 1267 | p56.Name = "Wedge" | |
| 1268 | p56.FormFactor = 3 | |
| 1269 | p56.Size = Vector3.new(0.200000003, 1, 0.600000024) | |
| 1270 | p56.CFrame = CFrame.new(-69.6999969, 2.49999714, 1.69999969, -3.74175002e-008, -8.34472871e-007, 1, -1.0425353e-007, -1, -8.34472928e-007, 1, -1.04253559e-007, 3.74174114e-008) | |
| 1271 | p56.BackSurface = 10 | |
| 1272 | p56.BottomSurface = 10 | |
| 1273 | p56.FrontSurface = 10 | |
| 1274 | p56.LeftSurface = 10 | |
| 1275 | p56.RightSurface = 10 | |
| 1276 | p56.TopSurface = 10 | |
| 1277 | p57 = new("WedgePart", m4)
| |
| 1278 | p57.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1279 | p57.Material = "SmoothPlastic" | |
| 1280 | p57.Name = "Wedge" | |
| 1281 | p57.FormFactor = 3 | |
| 1282 | p57.Size = Vector3.new(0.200000003, 0.800000012, 0.200000003) | |
| 1283 | p57.CFrame = CFrame.new(-70.8000259, 3.49999976, 1.69999981, -7.61514318e-009, -1, 2.52606362e-008, 5.96046448e-008, -2.88746982e-008, -0.999999702, 0.999999702, -7.61513697e-009, 5.96046448e-008) | |
| 1284 | p57.BackSurface = 10 | |
| 1285 | p57.BottomSurface = 10 | |
| 1286 | p57.FrontSurface = 10 | |
| 1287 | p57.LeftSurface = 10 | |
| 1288 | p57.RightSurface = 10 | |
| 1289 | p57.TopSurface = 10 | |
| 1290 | p58 = new("WedgePart", m4)
| |
| 1291 | p58.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1292 | p58.Material = "SmoothPlastic" | |
| 1293 | p58.Name = "Wedge" | |
| 1294 | p58.FormFactor = 3 | |
| 1295 | p58.Size = Vector3.new(0.200000003, 0.600000024, 1) | |
| 1296 | p58.CFrame = CFrame.new(-70.900032, 2.50000024, 1.69999969, 1.01942945e-007, 0.999999702, 3.88858332e-008, -8.42491517e-008, -3.88858332e-008, 0.999999702, 0.999999404, -1.01942902e-007, 8.42490948e-008) | |
| 1297 | p58.BackSurface = 10 | |
| 1298 | p58.BottomSurface = 10 | |
| 1299 | p58.FrontSurface = 10 | |
| 1300 | p58.LeftSurface = 10 | |
| 1301 | p58.RightSurface = 10 | |
| 1302 | p58.TopSurface = 10 | |
| 1303 | p59 = new("Part", m4)
| |
| 1304 | p59.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1305 | p59.Material = "SmoothPlastic" | |
| 1306 | p59.FormFactor = 3 | |
| 1307 | p59.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
| 1308 | p59.CFrame = CFrame.new(-70.3000259, 3.49999976, 1.69999993, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
| 1309 | p59.BackSurface = 10 | |
| 1310 | p59.BottomSurface = 10 | |
| 1311 | p59.FrontSurface = 10 | |
| 1312 | p59.LeftSurface = 10 | |
| 1313 | p59.RightSurface = 10 | |
| 1314 | p59.TopSurface = 10 | |
| 1315 | p60 = new("Seat", m4)
| |
| 1316 | p60.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1317 | p60.Material = "SmoothPlastic" | |
| 1318 | p60.FormFactor = 3 | |
| 1319 | p60.Size = Vector3.new(1.79999995, 0.400000006, 0.200000003) | |
| 1320 | p60.CFrame = CFrame.new(-70.3000259, 3.20000005, 1.69999993, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1321 | p60.BackSurface = 10 | |
| 1322 | p60.BottomSurface = 10 | |
| 1323 | p60.FrontSurface = 10 | |
| 1324 | p60.LeftSurface = 10 | |
| 1325 | p60.RightSurface = 10 | |
| 1326 | p60.TopSurface = 10 | |
| 1327 | p61 = new("WedgePart", m4)
| |
| 1328 | p61.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1329 | p61.Material = "SmoothPlastic" | |
| 1330 | p61.Name = "Wedge" | |
| 1331 | p61.FormFactor = 3 | |
| 1332 | p61.Size = Vector3.new(0.200000003, 0.400000006, 1.19999993) | |
| 1333 | p61.CFrame = CFrame.new(-71.4000244, 2.79999995, 1.69999981, -7.61514318e-009, -1, 2.52606362e-008, 5.96046448e-008, -2.88746982e-008, -0.999999702, 0.999999702, -7.61513697e-009, 5.96046448e-008) | |
| 1334 | p61.BackSurface = 10 | |
| 1335 | p61.BottomSurface = 10 | |
| 1336 | p61.FrontSurface = 10 | |
| 1337 | p61.LeftSurface = 10 | |
| 1338 | p61.RightSurface = 10 | |
| 1339 | p61.TopSurface = 10 | |
| 1340 | p62 = new("Part", m4)
| |
| 1341 | p62.BrickColor = BrickColor.new("Light stone grey")
| |
| 1342 | p62.Material = "SmoothPlastic" | |
| 1343 | p62.FormFactor = 3 | |
| 1344 | p62.Size = Vector3.new(0.600000024, 1.19999993, 0.600000024) | |
| 1345 | p62.CFrame = CFrame.new(-69.6999969, 1.99999833, 1.29999781, 0.70710516, -0.499998629, -0.500000179, 0.707106233, 0.50000006, 0.499998003, 2.01977264e-006, -0.70710516, 0.707105756) | |
| 1346 | p62.BackSurface = 10 | |
| 1347 | p62.BottomSurface = 10 | |
| 1348 | p62.FrontSurface = 10 | |
| 1349 | p62.LeftSurface = 10 | |
| 1350 | p62.RightSurface = 10 | |
| 1351 | p62.TopSurface = 10 | |
| 1352 | b20 = new("CylinderMesh", p62)
| |
| 1353 | b20.Name = "Mesh" | |
| 1354 | p63 = new("Part", m4)
| |
| 1355 | p63.BrickColor = BrickColor.new("Really black")
| |
| 1356 | p63.Material = "SmoothPlastic" | |
| 1357 | p63.FormFactor = 3 | |
| 1358 | p63.Size = Vector3.new(0.600000024, 0.200000003, 0.600000024) | |
| 1359 | p63.CFrame = CFrame.new(-71.1500015, 1.64999378, 1.79497123, 0.499998689, 0.499993622, -0.70710665, 0.499993473, 0.500007987, 0.707100332, 0.707108021, -0.707100868, 9.87303247e-006) | |
| 1360 | p63.BackSurface = 10 | |
| 1361 | p63.BottomSurface = 10 | |
| 1362 | p63.FrontSurface = 10 | |
| 1363 | p63.LeftSurface = 10 | |
| 1364 | p63.RightSurface = 10 | |
| 1365 | p63.TopSurface = 10 | |
| 1366 | b21 = new("CylinderMesh", p63)
| |
| 1367 | b21.Name = "Mesh" | |
| 1368 | b21.Offset = Vector3.new(0, 0.189999998, 0) | |
| 1369 | b21.Scale = Vector3.new(0.800000012, 1, 0.800000012) | |
| 1370 | p64 = new("Part", m4)
| |
| 1371 | p64.BrickColor = BrickColor.new("Light stone grey")
| |
| 1372 | p64.Material = "SmoothPlastic" | |
| 1373 | p64.FormFactor = 3 | |
| 1374 | p64.Size = Vector3.new(0.600000024, 1.19999993, 0.600000024) | |
| 1375 | p64.CFrame = CFrame.new(-70.8000031, 2, 1.29999995, 0.707110167, 0.499995172, 0.5, -0.707103372, 0.500009596, 0.499995172, -9.62615013e-006, -0.707103372, 0.707110167) | |
| 1376 | p64.BackSurface = 10 | |
| 1377 | p64.BottomSurface = 10 | |
| 1378 | p64.FrontSurface = 10 | |
| 1379 | p64.LeftSurface = 10 | |
| 1380 | p64.RightSurface = 10 | |
| 1381 | p64.TopSurface = 10 | |
| 1382 | b22 = new("CylinderMesh", p64)
| |
| 1383 | b22.Name = "Mesh" | |
| 1384 | p65 = new("Part", m4)
| |
| 1385 | p65.BrickColor = BrickColor.new("Really black")
| |
| 1386 | p65.Material = "SmoothPlastic" | |
| 1387 | p65.FormFactor = 3 | |
| 1388 | p65.Size = Vector3.new(0.600000024, 0.200000003, 0.600000024) | |
| 1389 | p65.CFrame = CFrame.new(-69.3499985, 1.64999819, 1.79497147, 0.707105339, -0.499998659, -0.50000006, 0.707105994, 0.50000006, 0.499998122, 1.90734863e-006, -0.707105279, 0.707105756) | |
| 1390 | p65.BackSurface = 10 | |
| 1391 | p65.BottomSurface = 10 | |
| 1392 | p65.FrontSurface = 10 | |
| 1393 | p65.LeftSurface = 10 | |
| 1394 | p65.RightSurface = 10 | |
| 1395 | p65.TopSurface = 10 | |
| 1396 | b23 = new("CylinderMesh", p65)
| |
| 1397 | b23.Name = "Mesh" | |
| 1398 | b23.Offset = Vector3.new(0, 0.189999998, 0) | |
| 1399 | b23.Scale = Vector3.new(0.800000012, 1, 0.800000012) | |
| 1400 | p66 = new("Part", m4)
| |
| 1401 | p66.BrickColor = BrickColor.new("Light stone grey")
| |
| 1402 | p66.Material = "SmoothPlastic" | |
| 1403 | p66.FormFactor = 3 | |
| 1404 | p66.Size = Vector3.new(1, 1.79999995, 1) | |
| 1405 | p66.CFrame = CFrame.new(-70.3000031, 2.5, 1.29999995, 1, 0, 0, 0, -0.258819014, -0.965925694, 0, 0.965925694, -0.258819014) | |
| 1406 | p66.BackSurface = 10 | |
| 1407 | p66.BottomSurface = 10 | |
| 1408 | p66.FrontSurface = 10 | |
| 1409 | p66.LeftSurface = 10 | |
| 1410 | p66.RightSurface = 10 | |
| 1411 | p66.TopSurface = 10 | |
| 1412 | b24 = new("CylinderMesh", p66)
| |
| 1413 | b24.Name = "Mesh" | |
| 1414 | p67 = new("WedgePart", m4)
| |
| 1415 | p67.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1416 | p67.Material = "SmoothPlastic" | |
| 1417 | p67.Name = "Wedge" | |
| 1418 | p67.FormFactor = 3 | |
| 1419 | p67.Size = Vector3.new(1.79999995, 0.200000003, 0.799999893) | |
| 1420 | p67.CFrame = CFrame.new(-69.8000259, 3.29999948, 0.700003684, -1.3927598e-009, 1.37461228e-007, -0.999995351, 4.02327558e-008, 0.999992132, 9.08137707e-008, 0.999995768, -1.04312008e-008, -1.39276302e-009) | |
| 1421 | p67.BackSurface = 10 | |
| 1422 | p67.BottomSurface = 10 | |
| 1423 | p67.FrontSurface = 10 | |
| 1424 | p67.LeftSurface = 10 | |
| 1425 | p67.RightSurface = 10 | |
| 1426 | p67.TopSurface = 10 | |
| 1427 | p68 = new("Part", m4)
| |
| 1428 | p68.BrickColor = BrickColor.new("Light stone grey")
| |
| 1429 | p68.Material = "SmoothPlastic" | |
| 1430 | p68.FormFactor = 3 | |
| 1431 | p68.Size = Vector3.new(0.400000036, 1.39999986, 0.200000003) | |
| 1432 | p68.CFrame = CFrame.new(-70.3000031, 1.66868114, 1.3378948, 0.999998331, -6.15425222e-009, -8.94069672e-008, 8.94069672e-008, 0.258818626, 0.965924501, 1.04308128e-007, -0.965924084, 0.258818716) | |
| 1433 | p68.BackSurface = 10 | |
| 1434 | p68.BottomSurface = 10 | |
| 1435 | p68.FrontSurface = 10 | |
| 1436 | p68.LeftSurface = 10 | |
| 1437 | p68.RightSurface = 10 | |
| 1438 | p68.TopSurface = 10 | |
| 1439 | p69 = new("Part", m4)
| |
| 1440 | p69.BrickColor = BrickColor.new("Light stone grey")
| |
| 1441 | p69.Material = "SmoothPlastic" | |
| 1442 | p69.FormFactor = 3 | |
| 1443 | p69.Size = Vector3.new(0.200000003, 1.39999986, 0.600000024) | |
| 1444 | p69.CFrame = CFrame.new(-70.0999985, 1.87199998, 1.33899999, 0.965924203, 3.48184663e-008, 0.258818537, -0.249999583, 0.258818626, 0.933011413, -0.0669870749, -0.965924084, 0.249999717) | |
| 1445 | p69.BackSurface = 10 | |
| 1446 | p69.BottomSurface = 10 | |
| 1447 | p69.FrontSurface = 10 | |
| 1448 | p69.LeftSurface = 10 | |
| 1449 | p69.RightSurface = 10 | |
| 1450 | p69.TopSurface = 10 | |
| 1451 | p70 = new("Part", m4)
| |
| 1452 | p70.BrickColor = BrickColor.new("Light stone grey")
| |
| 1453 | p70.Material = "SmoothPlastic" | |
| 1454 | p70.FormFactor = 3 | |
| 1455 | p70.Size = Vector3.new(0.200000003, 1.39999986, 0.600000024) | |
| 1456 | p70.CFrame = CFrame.new(-70.5, 1.87199998, 1.33899999, 0.965924144, -1.15425593e-007, -0.258818656, 0.249999747, 0.258818656, 0.933011293, 0.0669872239, -0.965924084, 0.249999702) | |
| 1457 | p70.BackSurface = 10 | |
| 1458 | p70.BottomSurface = 10 | |
| 1459 | p70.FrontSurface = 10 | |
| 1460 | p70.LeftSurface = 10 | |
| 1461 | p70.RightSurface = 10 | |
| 1462 | p70.TopSurface = 10 | |
| 1463 | p71 = new("WedgePart", m4)
| |
| 1464 | p71.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1465 | p71.Material = "SmoothPlastic" | |
| 1466 | p71.Name = "Wedge" | |
| 1467 | p71.FormFactor = 3 | |
| 1468 | p71.Size = Vector3.new(1.79999995, 0.200000003, 0.999999881) | |
| 1469 | p71.CFrame = CFrame.new(-69.2999954, 2.69999695, 0.699999988, 7.61514318e-009, 1, -2.52606362e-008, 5.96046448e-008, -2.88746982e-008, -0.999999702, -0.999999702, 7.61513697e-009, -5.96046448e-008) | |
| 1470 | p71.BackSurface = 10 | |
| 1471 | p71.BottomSurface = 10 | |
| 1472 | p71.FrontSurface = 10 | |
| 1473 | p71.LeftSurface = 10 | |
| 1474 | p71.RightSurface = 10 | |
| 1475 | p71.TopSurface = 10 | |
| 1476 | p72 = new("WedgePart", m4)
| |
| 1477 | p72.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1478 | p72.Material = "SmoothPlastic" | |
| 1479 | p72.Name = "Wedge" | |
| 1480 | p72.FormFactor = 3 | |
| 1481 | p72.Size = Vector3.new(1.79999995, 0.200000003, 0.799999893) | |
| 1482 | p72.CFrame = CFrame.new(-70.8000183, 3.29999995, 0.699998677, 1.39279588e-009, 7.78571234e-008, 0.999998033, 1.59443047e-007, 0.999997497, -3.1209364e-008, -0.99999845, 1.8924537e-007, 1.3927921e-009) | |
| 1483 | p72.BackSurface = 10 | |
| 1484 | p72.BottomSurface = 10 | |
| 1485 | p72.FrontSurface = 10 | |
| 1486 | p72.LeftSurface = 10 | |
| 1487 | p72.RightSurface = 10 | |
| 1488 | p72.TopSurface = 10 | |
| 1489 | p73 = new("Part", m4)
| |
| 1490 | p73.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1491 | p73.Material = "SmoothPlastic" | |
| 1492 | p73.FormFactor = 3 | |
| 1493 | p73.Size = Vector3.new(1.79999995, 0.200000003, 0.200000003) | |
| 1494 | p73.CFrame = CFrame.new(-70.3000259, 3.30000019, 0.699999928, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
| 1495 | p73.BackSurface = 10 | |
| 1496 | p73.BottomSurface = 10 | |
| 1497 | p73.FrontSurface = 10 | |
| 1498 | p73.LeftSurface = 10 | |
| 1499 | p73.RightSurface = 10 | |
| 1500 | p73.TopSurface = 10 | |
| 1501 | p74 = new("WedgePart", m4)
| |
| 1502 | p74.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1503 | p74.Material = "SmoothPlastic" | |
| 1504 | p74.Name = "Wedge" | |
| 1505 | p74.FormFactor = 3 | |
| 1506 | p74.Size = Vector3.new(0.400000006, 2.20000005, 0.799999952) | |
| 1507 | p74.CFrame = CFrame.new(-69.1999817, 1.59999597, 0.699998975, -0.999999285, -1.47023982e-009, 5.05212441e-008, 5.05212299e-008, 8.94068108e-008, 0.999998569, -1.4702447e-009, 0.999999285, -8.94069316e-008) | |
| 1508 | p74.BackSurface = 10 | |
| 1509 | p74.BottomSurface = 10 | |
| 1510 | p74.FrontSurface = 10 | |
| 1511 | p74.LeftSurface = 10 | |
| 1512 | p74.RightSurface = 10 | |
| 1513 | p74.TopSurface = 10 | |
| 1514 | p75 = new("Part", m4)
| |
| 1515 | p75.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1516 | p75.Material = "SmoothPlastic" | |
| 1517 | p75.FormFactor = 3 | |
| 1518 | p75.Size = Vector3.new(0.400000006, 2.20000005, 0.200000018) | |
| 1519 | p75.CFrame = CFrame.new(-69.1999893, 2.09999514, 0.69999969, 0.99999994, -1.04632987e-008, -2.52606451e-008, -2.52606469e-008, -2.98023224e-008, -0.999999881, 1.04632969e-008, 0.999999881, -2.98023224e-008) | |
| 1520 | p75.BackSurface = 10 | |
| 1521 | p75.BottomSurface = 10 | |
| 1522 | p75.FrontSurface = 10 | |
| 1523 | p75.LeftSurface = 10 | |
| 1524 | p75.RightSurface = 10 | |
| 1525 | p75.TopSurface = 10 | |
| 1526 | p76 = new("WedgePart", m4)
| |
| 1527 | p76.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1528 | p76.Material = "SmoothPlastic" | |
| 1529 | p76.Name = "Wedge" | |
| 1530 | p76.FormFactor = 3 | |
| 1531 | p76.Size = Vector3.new(0.400000006, 2.20000005, 0.799999952) | |
| 1532 | p76.CFrame = CFrame.new(-71.4000244, 1.60000086, 0.700000882, -0.999999285, -1.47023982e-009, 5.05212441e-008, 5.05212299e-008, 8.94068108e-008, 0.999998569, -1.4702447e-009, 0.999999285, -8.94069316e-008) | |
| 1533 | p76.BackSurface = 10 | |
| 1534 | p76.BottomSurface = 10 | |
| 1535 | p76.FrontSurface = 10 | |
| 1536 | p76.LeftSurface = 10 | |
| 1537 | p76.RightSurface = 10 | |
| 1538 | p76.TopSurface = 10 | |
| 1539 | p77 = new("Part", m4)
| |
| 1540 | p77.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1541 | p77.Material = "SmoothPlastic" | |
| 1542 | p77.FormFactor = 3 | |
| 1543 | p77.Size = Vector3.new(0.400000006, 2.20000005, 0.200000018) | |
| 1544 | p77.CFrame = CFrame.new(-71.4000244, 2.10000038, 0.700000405, 0.99999994, -1.04632987e-008, -2.52606451e-008, -2.52606469e-008, -2.98023224e-008, -0.999999881, 1.04632969e-008, 0.999999881, -2.98023224e-008) | |
| 1545 | p77.BackSurface = 10 | |
| 1546 | p77.BottomSurface = 10 | |
| 1547 | p77.FrontSurface = 10 | |
| 1548 | p77.LeftSurface = 10 | |
| 1549 | p77.RightSurface = 10 | |
| 1550 | p77.TopSurface = 10 | |
| 1551 | p78 = new("WedgePart", m4)
| |
| 1552 | p78.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1553 | p78.Material = "SmoothPlastic" | |
| 1554 | p78.Name = "Wedge" | |
| 1555 | p78.FormFactor = 3 | |
| 1556 | p78.Size = Vector3.new(1.79999995, 0.200000003, 0.999999881) | |
| 1557 | p78.CFrame = CFrame.new(-71.3000259, 2.70000005, 0.699999928, -7.61514318e-009, -1, 2.52606362e-008, 5.96046448e-008, -2.88746982e-008, -0.999999702, 0.999999702, -7.61513697e-009, 5.96046448e-008) | |
| 1558 | p78.BackSurface = 10 | |
| 1559 | p78.BottomSurface = 10 | |
| 1560 | p78.FrontSurface = 10 | |
| 1561 | p78.LeftSurface = 10 | |
| 1562 | p78.RightSurface = 10 | |
| 1563 | p78.TopSurface = 10 | |
| 1564 | p79 = new("Part", m4)
| |
| 1565 | p79.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1566 | p79.Material = "SmoothPlastic" | |
| 1567 | p79.FormFactor = 3 | |
| 1568 | p79.Size = Vector3.new(1.79999995, 2, 0.200000018) | |
| 1569 | p79.CFrame = CFrame.new(-70.3000259, 1.79999995, 0.500000179, 1, 0, 0, 0, 0.70710659, -0.707106948, 0, 0.707106948, 0.70710659) | |
| 1570 | p79.BackSurface = 10 | |
| 1571 | p79.BottomSurface = 10 | |
| 1572 | p79.FrontSurface = 10 | |
| 1573 | p79.LeftSurface = 10 | |
| 1574 | p79.RightSurface = 10 | |
| 1575 | p79.TopSurface = 10 | |
| 1576 | p80 = new("Part", m4)
| |
| 1577 | p80.BrickColor = BrickColor.new("Institutional white")
| |
| 1578 | p80.Material = "SmoothPlastic" | |
| 1579 | p80.FormFactor = 3 | |
| 1580 | p80.Size = Vector3.new(0.200000003, 1.79999995, 0.200000003) | |
| 1581 | p80.CFrame = CFrame.new(-69.4999847, 2.09999967, -0.100000001, 1, 0, 0, 0, 0, -1, 0, 1, 0) | |
| 1582 | p80.BackSurface = 10 | |
| 1583 | p80.BottomSurface = 10 | |
| 1584 | p80.FrontSurface = 10 | |
| 1585 | p80.LeftSurface = 10 | |
| 1586 | p80.RightSurface = 10 | |
| 1587 | p80.TopSurface = 10 | |
| 1588 | p81 = new("WedgePart", m4)
| |
| 1589 | p81.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1590 | p81.Material = "SmoothPlastic" | |
| 1591 | p81.Name = "Wedge" | |
| 1592 | p81.FormFactor = 3 | |
| 1593 | p81.Size = Vector3.new(0.200000003, 0.800000012, 0.200000003) | |
| 1594 | p81.CFrame = CFrame.new(-70.8000412, 3.5, -0.300000012, -7.61514318e-009, -1, 2.52606362e-008, 5.96046448e-008, -2.88746982e-008, -0.999999702, 0.999999702, -7.61513697e-009, 5.96046448e-008) | |
| 1595 | p81.BackSurface = 10 | |
| 1596 | p81.BottomSurface = 10 | |
| 1597 | p81.FrontSurface = 10 | |
| 1598 | p81.LeftSurface = 10 | |
| 1599 | p81.RightSurface = 10 | |
| 1600 | p81.TopSurface = 10 | |
| 1601 | p82 = new("Part", m4)
| |
| 1602 | p82.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1603 | p82.Material = "SmoothPlastic" | |
| 1604 | p82.FormFactor = 3 | |
| 1605 | p82.Size = Vector3.new(1.79999995, 0.200000003, 0.200000003) | |
| 1606 | p82.CFrame = CFrame.new(-70.3000412, 3.29999995, -0.300000012, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
| 1607 | p82.BackSurface = 10 | |
| 1608 | p82.BottomSurface = 10 | |
| 1609 | p82.FrontSurface = 10 | |
| 1610 | p82.LeftSurface = 10 | |
| 1611 | p82.RightSurface = 10 | |
| 1612 | p82.TopSurface = 10 | |
| 1613 | p83 = new("Part", m4)
| |
| 1614 | p83.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1615 | p83.Material = "SmoothPlastic" | |
| 1616 | p83.FormFactor = 3 | |
| 1617 | p83.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
| 1618 | p83.CFrame = CFrame.new(-70.3000412, 3.49999976, -0.300000042, 0, 0, 1, 0, 1, -0, -1, 0, 0) | |
| 1619 | p83.BackSurface = 10 | |
| 1620 | p83.BottomSurface = 10 | |
| 1621 | p83.FrontSurface = 10 | |
| 1622 | p83.LeftSurface = 10 | |
| 1623 | p83.RightSurface = 10 | |
| 1624 | p83.TopSurface = 10 | |
| 1625 | p84 = new("WedgePart", m4)
| |
| 1626 | p84.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1627 | p84.Material = "SmoothPlastic" | |
| 1628 | p84.Name = "Wedge" | |
| 1629 | p84.FormFactor = 3 | |
| 1630 | p84.Size = Vector3.new(0.200000003, 0.800000012, 0.200000003) | |
| 1631 | p84.CFrame = CFrame.new(-69.8000412, 3.49999905, -0.300000012, 7.61512897e-009, 0.999998808, -3.24887246e-008, 5.96045027e-008, -2.88746271e-008, -0.999997318, -0.99999851, 7.61512275e-009, -5.96045737e-008) | |
| 1632 | p84.BackSurface = 10 | |
| 1633 | p84.BottomSurface = 10 | |
| 1634 | p84.FrontSurface = 10 | |
| 1635 | p84.LeftSurface = 10 | |
| 1636 | p84.RightSurface = 10 | |
| 1637 | p84.TopSurface = 10 | |
| 1638 | p85 = new("Part", m4)
| |
| 1639 | p85.BrickColor = BrickColor.new("Institutional white")
| |
| 1640 | p85.Material = "SmoothPlastic" | |
| 1641 | p85.FormFactor = 3 | |
| 1642 | p85.Size = Vector3.new(1.80000007, 1.5999999, 0.400000006) | |
| 1643 | p85.CFrame = CFrame.new(-70.2999954, 2.99999976, -0.199999988, 1, 0, 0, 0, 0, -1, 0, 1, 0) | |
| 1644 | p85.BackSurface = 10 | |
| 1645 | p85.BottomSurface = 10 | |
| 1646 | p85.FrontSurface = 10 | |
| 1647 | p85.LeftSurface = 10 | |
| 1648 | p85.RightSurface = 10 | |
| 1649 | p85.TopSurface = 10 | |
| 1650 | p86 = new("Part", m4)
| |
| 1651 | p86.BrickColor = BrickColor.new("Institutional white")
| |
| 1652 | p86.Material = "SmoothPlastic" | |
| 1653 | p86.FormFactor = 3 | |
| 1654 | p86.Size = Vector3.new(0.200000003, 1.39999998, 0.200000003) | |
| 1655 | p86.CFrame = CFrame.new(-69.5000229, 2.5, -0.100000009, 1, 0, 0, 0, 0, -1, 0, 1, 0) | |
| 1656 | p86.BackSurface = 10 | |
| 1657 | p86.BottomSurface = 10 | |
| 1658 | p86.FrontSurface = 10 | |
| 1659 | p86.LeftSurface = 10 | |
| 1660 | p86.RightSurface = 10 | |
| 1661 | p86.TopSurface = 10 | |
| 1662 | p87 = new("WedgePart", m4)
| |
| 1663 | p87.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1664 | p87.Material = "SmoothPlastic" | |
| 1665 | p87.Name = "Wedge" | |
| 1666 | p87.FormFactor = 3 | |
| 1667 | p87.Size = Vector3.new(0.200000003, 0.400000006, 1.19999993) | |
| 1668 | p87.CFrame = CFrame.new(-69.1999893, 2.79999495, -0.300000072, 7.61514318e-009, 1, -2.52606362e-008, 5.96046448e-008, -2.88746982e-008, -0.999999702, -0.999999702, 7.61513697e-009, -5.96046448e-008) | |
| 1669 | p87.BackSurface = 10 | |
| 1670 | p87.BottomSurface = 10 | |
| 1671 | p87.FrontSurface = 10 | |
| 1672 | p87.LeftSurface = 10 | |
| 1673 | p87.RightSurface = 10 | |
| 1674 | p87.TopSurface = 10 | |
| 1675 | p88 = new("Part", m4)
| |
| 1676 | p88.BrickColor = BrickColor.new("Institutional white")
| |
| 1677 | p88.Material = "SmoothPlastic" | |
| 1678 | p88.FormFactor = 3 | |
| 1679 | p88.Size = Vector3.new(0.200000003, 1.79999995, 0.200000003) | |
| 1680 | p88.CFrame = CFrame.new(-71.0999985, 2.49999976, -0.300000012, 1, 0, 0, 0, 0, -1, 0, 1, 0) | |
| 1681 | p88.BackSurface = 10 | |
| 1682 | p88.BottomSurface = 10 | |
| 1683 | p88.FrontSurface = 10 | |
| 1684 | p88.LeftSurface = 10 | |
| 1685 | p88.RightSurface = 10 | |
| 1686 | p88.TopSurface = 10 | |
| 1687 | p89 = new("Part", m4)
| |
| 1688 | p89.BrickColor = BrickColor.new("Institutional white")
| |
| 1689 | p89.Material = "SmoothPlastic" | |
| 1690 | p89.FormFactor = 3 | |
| 1691 | p89.Size = Vector3.new(0.200000003, 1.79999995, 0.200000003) | |
| 1692 | p89.CFrame = CFrame.new(-71.0999985, 2.10000014, -0.100000024, 1, 0, 0, 0, 0, -1, 0, 1, 0) | |
| 1693 | p89.BackSurface = 10 | |
| 1694 | p89.BottomSurface = 10 | |
| 1695 | p89.FrontSurface = 10 | |
| 1696 | p89.LeftSurface = 10 | |
| 1697 | p89.RightSurface = 10 | |
| 1698 | p89.TopSurface = 10 | |
| 1699 | p90 = new("WedgePart", m4)
| |
| 1700 | p90.BrickColor = BrickColor.new("Medium stone grey")
| |
| 1701 | p90.Material = "SmoothPlastic" | |
| 1702 | p90.Name = "Wedge" | |
| 1703 | p90.FormFactor = 3 | |
| 1704 | p90.Size = Vector3.new(0.200000003, 0.400000006, 1.19999993) | |
| 1705 | p90.CFrame = CFrame.new(-71.4000244, 2.80000019, -0.299999833, -7.61514318e-009, -1, 2.52606362e-008, 5.96046448e-008, -2.88746982e-008, -0.999999702, 0.999999702, -7.61513697e-009, 5.96046448e-008) | |
| 1706 | p90.BackSurface = 10 | |
| 1707 | p90.BottomSurface = 10 | |
| 1708 | p90.FrontSurface = 10 | |
| 1709 | p90.LeftSurface = 10 | |
| 1710 | p90.RightSurface = 10 | |
| 1711 | p90.TopSurface = 10 | |
| 1712 | p91 = new("Part", m4)
| |
| 1713 | p91.BrickColor = BrickColor.new("Institutional white")
| |
| 1714 | p91.Material = "SmoothPlastic" | |
| 1715 | p91.FormFactor = 3 | |
| 1716 | p91.Size = Vector3.new(0.200000003, 1.39999998, 0.200000003) | |
| 1717 | p91.CFrame = CFrame.new(-71.0999985, 1.69999981, -0.299999982, 1, 0, 0, 0, 0, -1, 0, 1, 0) | |
| 1718 | p91.BackSurface = 10 | |
| 1719 | p91.BottomSurface = 10 | |
| 1720 | p91.FrontSurface = 10 | |
| 1721 | p91.LeftSurface = 10 | |
| 1722 | p91.RightSurface = 10 | |
| 1723 | p91.TopSurface = 10 | |
| 1724 | p92 = new("Part", m4)
| |
| 1725 | p92.BrickColor = BrickColor.new("Institutional white")
| |
| 1726 | p92.Material = "SmoothPlastic" | |
| 1727 | p92.FormFactor = 3 | |
| 1728 | p92.Size = Vector3.new(0.200000003, 1.39999998, 0.200000003) | |
| 1729 | p92.CFrame = CFrame.new(-69.5000229, 1.70000005, -0.300000012, 1, 0, 0, 0, 0, -1, 0, 1, 0) | |
| 1730 | p92.BackSurface = 10 | |
| 1731 | p92.BottomSurface = 10 | |
| 1732 | p92.FrontSurface = 10 | |
| 1733 | p92.LeftSurface = 10 | |
| 1734 | p92.RightSurface = 10 | |
| 1735 | p92.TopSurface = 10 | |
| 1736 | ||
| 1737 | p1 = Instance.new("Part", m1)
| |
| 1738 | p1.BrickColor = BrickColor.new("Institutional white")
| |
| 1739 | p1.Material = Enum.Material.Neon | |
| 1740 | p1.FormFactor = Enum.FormFactor.Custom | |
| 1741 | p1.Size = Vector3.new(0.800000012, 0.200000003, 0.600000024) | |
| 1742 | p1.CFrame = CFrame.new(-70.3000031, 1.80000007, -6.30000687, -2.40267752e-007, -2.98023224e-008, -0.999999642, 1, 6.37415951e-007, -2.40267809e-007, 6.37416065e-007, -0.999999642, 2.98023224e-008) | |
| 1743 | b1 = Instance.new("SpecialMesh", p1)
| |
| 1744 | b1.MeshType = Enum.MeshType.Sphere | |
| 1745 | b1.Name = "Mesh" | |
| 1746 | b1.Scale = Vector3.new(1, 2, 1.25) | |
| 1747 | x1 = Instance.new("SpotLight", p1)
| |
| 1748 | x1.Angle = 60 | |
| 1749 | x1.Range = 60 | |
| 1750 | x1.Face = "Top"; | |
| 1751 | x1.Enabled = false; | |
| 1752 | x2 = Instance.new("PointLight", p1)
| |
| 1753 | x2.Enabled = false; | |
| 1754 | ||
| 1755 | m.Parent = char | |
| 1756 | m:MakeJoints() | |
| 1757 | ||
| 1758 | WeldChildren(m); | |
| 1759 | ||
| 1760 | Smoke.Enabled = false; | |
| 1761 | Seat.CFrame = torso.CFrame * CFrame.new(0, -1, 0) | |
| 1762 | ||
| 1763 | WeldP(rootpart, Seat, CFrame.new(0, -1, -.75)); | |
| 1764 | ||
| 1765 | torso.CFrame = torso.CFrame * CFrame.new(0, 1, 0); | |
| 1766 | humanoid.Changed:connect(function() | |
| 1767 | if (humanoid.Jump) then | |
| 1768 | humanoid.Jump = false; | |
| 1769 | end | |
| 1770 | end) | |
| 1771 | ||
| 1772 | ||
| 1773 | local BodyPos = new("BodyPosition", rootpart);
| |
| 1774 | BodyPos.position = Vector3.new(0, 5, 0); | |
| 1775 | BodyPos.maxForce = Vector3.new(0, 7e5, 0) | |
| 1776 | BodyPos.D = 120; | |
| 1777 | ||
| 1778 | local BodyGyro = new("BodyGyro", rootpart)
| |
| 1779 | BodyGyro.cframe = rootpart.CFrame; | |
| 1780 | BodyGyro.maxTorque = Vector3.new(7e5, 7e5, 7e5); | |
| 1781 | ||
| 1782 | local BodyVelo = new("BodyVelocity", rootpart);
| |
| 1783 | BodyVelo.maxForce = Vector3.new(7e5, 0, 7e5); | |
| 1784 | BodyVelo.velocity = Vector3.new(); | |
| 1785 | ||
| 1786 | local TORQUE, SPEED, ROTSPEED, CHARGE = 0, 0, 0, 0; | |
| 1787 | local MAXTORQUE = 1; | |
| 1788 | local MAXSPEED = 120; | |
| 1789 | ||
| 1790 | local REPAIRMODE = false; | |
| 1791 | ||
| 1792 | ||
| 1793 | ||
| 1794 | ||
| 1795 | KEY_HOLD = {}
| |
| 1796 | ||
| 1797 | local MOUSE_DOWN; | |
| 1798 | local MOUSE_UP = true; | |
| 1799 | ||
| 1800 | mouse.KeyDown:connect(function(k) | |
| 1801 | KEY_HOLD[tostring(k):lower()] = true; | |
| 1802 | ||
| 1803 | if (k == "f") then | |
| 1804 | x1.Enabled = not x1.Enabled | |
| 1805 | x2.Enabled = not x2.Enabled | |
| 1806 | end | |
| 1807 | if (k == "h") then | |
| 1808 | REPAIRMODE = not REPAIRMODE | |
| 1809 | end | |
| 1810 | end) | |
| 1811 | mouse.KeyUp:connect(function(k) | |
| 1812 | KEY_HOLD[tostring(k):lower()] = false; | |
| 1813 | end) | |
| 1814 | ||
| 1815 | mouse.Button1Down:connect(function() | |
| 1816 | MOUSE_DOWN = true; | |
| 1817 | MOUSE_UP = false; | |
| 1818 | end) | |
| 1819 | mouse.Button1Up:connect(function() | |
| 1820 | MOUSE_DOWN = false; | |
| 1821 | MOUSE_UP = true; | |
| 1822 | end) | |
| 1823 | ||
| 1824 | ||
| 1825 | ||
| 1826 | ||
| 1827 | local OnFire = new("Sound", Barrel);
| |
| 1828 | OnFire.SoundId = "rbxassetid://10209257" | |
| 1829 | OnFire.Volume = .5 | |
| 1830 | ||
| 1831 | local OnMove = new("Sound", Seat);
| |
| 1832 | OnMove.SoundId = "rbxassetid://148008221"; | |
| 1833 | OnMove.Volume = 1 | |
| 1834 | ||
| 1835 | ||
| 1836 | ||
| 1837 | ||
| 1838 | local Particlus = {}
| |
| 1839 | for i = 1, 3 do | |
| 1840 | local Colors = {Color3.new(1,0,0), Color3.new(1,.5,0), Color3.new(1,.9,0);}
| |
| 1841 | ||
| 1842 | local Particle = new("ParticleEmitter", Smoke.Parent);
| |
| 1843 | Particle.VelocitySpread = 30; | |
| 1844 | Particle.LightEmission = 200; | |
| 1845 | Particle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.3, 0), NumberSequenceKeypoint.new(1, 0.9, 0)})
| |
| 1846 | --Particle.Color = ColorSequence.new(Colors[i]); | |
| 1847 | Particle.Texture = "rbxassetid://262622448"; | |
| 1848 | Particle.Rate = 100; | |
| 1849 | Particle.Speed = NumberRange.new(15); | |
| 1850 | Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 0)});
| |
| 1851 | Particle.Lifetime = NumberRange.new(2); | |
| 1852 | Particle.Acceleration = Vector3.new(0, 10 + i*5, 0) | |
| 1853 | --Particle.Rotation = NumberRange.new(0,90); | |
| 1854 | table.insert(Particlus, Particle); | |
| 1855 | end | |
| 1856 | ||
| 1857 | ||
| 1858 | ||
| 1859 | function RayC(Part, speed, target) | |
| 1860 | coroutine.wrap(function() | |
| 1861 | local Visual = BasePart:clone(); | |
| 1862 | Visual.FormFactor = "Custom"; | |
| 1863 | Visual.BrickColor = BrickColor.Yellow(); | |
| 1864 | Visual.Size = Vector3.new(.2, 6, .2); | |
| 1865 | Visual.CFrame = Part.CFrame * CFrame.new(0, -1, 0); | |
| 1866 | Visual.Anchored = true; | |
| 1867 | Visual.CanCollide = false; | |
| 1868 | Visual.Locked = true | |
| 1869 | Visual.Material = "Neon"; | |
| 1870 | ||
| 1871 | local shell = BasePart:clone() | |
| 1872 | shell.Transparency = 0 | |
| 1873 | shell:ClearAllChildren() | |
| 1874 | shell.Anchored = false | |
| 1875 | shell.CFrame = Part.CFrame * CFrame.new(.2,0,0) | |
| 1876 | shell.Size = Vector3.new(.2,.5,.2) | |
| 1877 | shell.Parent = Storage | |
| 1878 | shell.BrickColor = BrickColor.new('Bright yellow')
| |
| 1879 | shell.CanCollide = true | |
| 1880 | Instance.new('BlockMesh', shell).Scale = Vector3.new(.2,.4,.2)
| |
| 1881 | game:service'Debris':AddItem(shell,5) | |
| 1882 | shell.Velocity = (Part.CFrame * CFrame.Angles(math.rad(math.random(-10,10)*8), -math.rad(40), math.rad(20))).lookVector * 15 | |
| 1883 | ||
| 1884 | ||
| 1885 | --FIRE ANIMATION | |
| 1886 | -- | |
| 1887 | local Particle = new("ParticleEmitter", Part);
| |
| 1888 | Particle.VelocitySpread = 30; | |
| 1889 | Particle.LightEmission = 200; | |
| 1890 | ||
| 1891 | local Colors = {Color3.new(1,0,0), Color3.new(1,.5,0), Color3.new(1,.9,0);}
| |
| 1892 | ||
| 1893 | Particle.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.1, 0), NumberSequenceKeypoint.new(1, 0.25, 0)})
| |
| 1894 | ||
| 1895 | Particle.Color = ColorSequence.new(Colors[math.random(#Colors)]); | |
| 1896 | Particle.Texture = "rbxassetid://252350680"; | |
| 1897 | Particle.Rotation = NumberRange.new(0,90); | |
| 1898 | Particle.Rate = 100; | |
| 1899 | Particle.Speed = NumberRange.new(15); | |
| 1900 | Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 0)});
| |
| 1901 | Particle.Lifetime = NumberRange.new(.1); | |
| 1902 | coroutine.wrap(function() | |
| 1903 | wait(.2) | |
| 1904 | Particle.Enabled = false; | |
| 1905 | wait(.4) | |
| 1906 | Particle:Destroy() | |
| 1907 | end)() | |
| 1908 | ||
| 1909 | ||
| 1910 | ||
| 1911 | new("SpecialMesh", Visual).MeshType = "Sphere";
| |
| 1912 | Visual.Mesh.Scale = Vector3.new(.5, 1, .5); | |
| 1913 | ||
| 1914 | local bulletpos = Visual.Position | |
| 1915 | local bulletvelocity = (target - bulletpos).unit*speed | |
| 1916 | local lastbulletpos = Visual.Position | |
| 1917 | while game:service'RunService'.Stepped:wait() do | |
| 1918 | lastbulletpos = bulletpos | |
| 1919 | bulletpos = bulletpos + bulletvelocity | |
| 1920 | Visual.Parent = Storage; | |
| 1921 | local RayCast = Ray.new(lastbulletpos, (bulletpos - lastbulletpos)) | |
| 1922 | local hit, hitpos, normal = workspace:FindPartOnRay(RayCast, char, false, true) | |
| 1923 | if (torso.Position - Visual.Position).magnitude > 2000 or Visual.Parent == nil then | |
| 1924 | Visual:Destroy(); | |
| 1925 | break | |
| 1926 | end | |
| 1927 | Visual.Anchored = true | |
| 1928 | Visual.CFrame = CFrame.new(bulletpos, bulletpos+bulletvelocity) * CFrame.Angles(math.pi/2, 0, 0); | |
| 1929 | if hit then | |
| 1930 | if hit.Parent then | |
| 1931 | if hit.Parent.Parent:IsA'Model' then | |
| 1932 | for x,z in next, hit.Parent.Parent:children() do | |
| 1933 | if z:IsA'Humanoid' then | |
| 1934 | if (z.MaxHealth == math.huge) then | |
| 1935 | z.Parent:breakJoints(); | |
| 1936 | end | |
| 1937 | z:TakeDamage(math.random(8,12)); | |
| 1938 | Visual:Destroy(); | |
| 1939 | break; | |
| 1940 | end | |
| 1941 | end | |
| 1942 | end | |
| 1943 | end | |
| 1944 | if hit.Parent:IsA'Model' then | |
| 1945 | for x,z in next, hit.Parent:children() do | |
| 1946 | if z:IsA'Humanoid' then | |
| 1947 | if (z.MaxHealth == math.huge) then | |
| 1948 | z.Parent:breakJoints(); | |
| 1949 | end | |
| 1950 | z.Health = z.Health - (math.random(8,12)); | |
| 1951 | Visual:Destroy(); | |
| 1952 | break; | |
| 1953 | end | |
| 1954 | end | |
| 1955 | end | |
| 1956 | local BulletHole | |
| 1957 | local Dec | |
| 1958 | BulletHole = BasePart:clone() | |
| 1959 | BulletHole.Anchored = true | |
| 1960 | BulletHole.Transparency = 1 | |
| 1961 | BulletHole.Size = Vector3.new(.8,.2,.8) | |
| 1962 | BulletHole.CFrame = CFrame.new(hitpos, hitpos+normal) * CFrame.Angles(-math.pi/2,math.rad(math.random(-90,90)*4), 0) | |
| 1963 | BulletHole.Parent = Storage | |
| 1964 | Dec = Instance.new("Decal",BulletHole)
| |
| 1965 | Dec.Face = "Top" | |
| 1966 | Dec.Texture = "rbxassetid://64291977" | |
| 1967 | Particles.BulletholeParticles(BulletHole, hit) | |
| 1968 | if not hit.Anchored then | |
| 1969 | BulletHole.Anchored = false | |
| 1970 | local Bweld = Instance.new('Weld', BulletHole)
| |
| 1971 | Bweld.Part0 = hit | |
| 1972 | Bweld.Part1 = BulletHole | |
| 1973 | Bweld.C0 = hit.CFrame:toObjectSpace(CFrame.new(hitpos, hitpos+normal)) * CFrame.Angles(-math.pi/2,math.rad(math.random(-90,90)*4),0) | |
| 1974 | end | |
| 1975 | game:service'Debris':AddItem(BulletHole, 25) | |
| 1976 | local sound = Instance.new('Sound', Visual)
| |
| 1977 | if hit:IsA'BasePart' and hit.Transparency >= .1 then | |
| 1978 | local id = {176678459,176678487,176678351}
| |
| 1979 | if Dec then | |
| 1980 | Dec.Texture = "rbxassetid://"..id[math.random(1,#id)] | |
| 1981 | end | |
| 1982 | if BulletHole then | |
| 1983 | Particles.BulletholeParticles(BulletHole, hit) | |
| 1984 | BulletHole.Size = Vector3.new(1.5,.2,1.5) | |
| 1985 | BulletHole.CFrame = CFrame.new(hitpos,hitpos+normal)*CFrame.new(0,0,.1)*CFrame.Angles(-math.pi/2,math.rad(math.random(-90,90)*4),0) | |
| 1986 | if not hit.Anchored then | |
| 1987 | BulletHole.Anchored = false | |
| 1988 | local Bweld = Instance.new('Weld', BulletHole)
| |
| 1989 | Bweld.Part0 = hit | |
| 1990 | Bweld.Part1 = BulletHole | |
| 1991 | Bweld.C0 = hit.CFrame:toObjectSpace(CFrame.new(hitpos, hitpos+normal)) * CFrame.Angles(-math.pi/2,math.rad(math.random(-90,90)*4),0) | |
| 1992 | end | |
| 1993 | end | |
| 1994 | sound.SoundId = "rbxassetid://142082167" | |
| 1995 | else | |
| 1996 | sound.SoundId = "rbxassetid://170538363" | |
| 1997 | end | |
| 1998 | sound.Pitch = 1.2+math.random()/3 | |
| 1999 | sound.Volume = .4 | |
| 2000 | sound:play() | |
| 2001 | game:service'Debris':AddItem(sound,4) | |
| 2002 | Visual:Destroy(); | |
| 2003 | break | |
| 2004 | end | |
| 2005 | end | |
| 2006 | end)() | |
| 2007 | end | |
| 2008 | ||
| 2009 | ||
| 2010 | local db | |
| 2011 | local DB2; | |
| 2012 | ||
| 2013 | ||
| 2014 | game:service'RunService'.RenderStepped:connect(function() | |
| 2015 | ||
| 2016 | --// | |
| 2017 | --// BASE VALUES | |
| 2018 | --// | |
| 2019 | local rscf = rsc0 | |
| 2020 | local lscf = lsc0 | |
| 2021 | local rlcf = rlc0 | |
| 2022 | local llcf = llc0 | |
| 2023 | local rjcf = rootc0 | |
| 2024 | local ncf = neckc0 | |
| 2025 | local ray = Ray.new(rootpart.Position, Vector3.new(0, -9.5 - math.sin(tick()*2)*.15, 0)) | |
| 2026 | local hitz, enz, norm = workspace:FindPartOnRay(ray, char) | |
| 2027 | ||
| 2028 | --// | |
| 2029 | --// BODY OBJECTS | |
| 2030 | --// | |
| 2031 | BodyPos.D = 120; | |
| 2032 | BodyPos.maxForce = Vector3.new(0, 7e5, 0) | |
| 2033 | BodyGyro.maxTorque = Vector3.new(7e5, 7e5, 7e5); | |
| 2034 | BodyVelo.maxForce = Vector3.new(7e5, 0, 7e5); | |
| 2035 | ||
| 2036 | ||
| 2037 | if (hitz) then | |
| 2038 | BodyPos.position = Vector3.new(0, enz.y + 9.5 + math.sin(tick()*2)*.15 - CHARGE*6 , 0); | |
| 2039 | BodyPos.maxForce = Vector3.new(0, 9999e999, 0) | |
| 2040 | else | |
| 2041 | BodyPos.maxForce = Vector3.new(); | |
| 2042 | end | |
| 2043 | if (norm ~= Vector3.new(0,0,0) and enz) then | |
| 2044 | --[[ | |
| 2045 | THANK YOU ANTI FOR PROPER HACKY MATH WITH THE QUOTE OF... | |
| 2046 | "dis r propr vector maths you know!11" | |
| 2047 | --]] | |
| 2048 | local dir = (camera.CoordinateFrame.lookVector*Vector3.new(1,1,1)).unit | |
| 2049 | BodyGyro.cframe = CFrame.new(enz,enz+dir)*CFrame.Angles(-math.asin(dir:Dot(norm)),0,0)*CFrame.Angles(math.abs(TORQUE)*.35, 0, ROTSPEED*.005 + torso.RotVelocity.Y*.15) | |
| 2050 | end | |
| 2051 | ||
| 2052 | --// | |
| 2053 | --// HOVERBIKE JUMPING | |
| 2054 | --// | |
| 2055 | if (KEY_HOLD[" "] and hitz) then | |
| 2056 | CHARGE = math_max(CHARGE + 0.015, 1); | |
| 2057 | else | |
| 2058 | if (CHARGE) > 0 then | |
| 2059 | local LASTCHARGE = CHARGE; | |
| 2060 | CHARGE = -0.15 - (LASTCHARGE*0.15); | |
| 2061 | Particles.AirRing(CFrame.new(enz.x, enz.y, enz.z)*CFrame.new(0,1,0), 5, Color3.new(255,255,255), 0.15, 0, 3) | |
| 2062 | wait() | |
| 2063 | CHARGE = 0; | |
| 2064 | end | |
| 2065 | end | |
| 2066 | ||
| 2067 | --// | |
| 2068 | --// LOOP THIS TO PREVENT CHARACTERS FROM GETTING OFF. | |
| 2069 | --// | |
| 2070 | humanoid.Sit = true; | |
| 2071 | ||
| 2072 | --// | |
| 2073 | --// ANIMATION | |
| 2074 | --// | |
| 2075 | rjcf = rootc0 * CFrame.Angles(-math.rad(25), 0, 0); | |
| 2076 | rscf = rsc0 * CFrame.new(-.1, 0, 0) * CFrame.Angles(math.pi/1.8, .05, -.1); | |
| 2077 | lscf = lsc0 * CFrame.new(.1, 0, 0) * CFrame.Angles(math.pi/1.8, -.05, .1); | |
| 2078 | rlcf = rlc0 * CFrame.new(0, .6, -.3) * CFrame.Angles(math.pi/3, 0, 0); | |
| 2079 | llcf = llc0 * CFrame.new(0, .6, -.3) * CFrame.Angles(math.pi/3, 0, 0); | |
| 2080 | ||
| 2081 | ||
| 2082 | ||
| 2083 | --// | |
| 2084 | --// MOVEMENT | |
| 2085 | --// | |
| 2086 | if (KEY_HOLD["w"] == true and hitz) then | |
| 2087 | TORQUE = math_max(TORQUE + 1/25, MAXTORQUE); | |
| 2088 | SPEED = math_max(SPEED + 1, MAXSPEED); | |
| 2089 | end | |
| 2090 | if (KEY_HOLD["s"] == true and hitz) then | |
| 2091 | TORQUE = math_min(TORQUE - 1/50, -MAXTORQUE/2); | |
| 2092 | SPEED = math_max(SPEED + 1, MAXSPEED/2) | |
| 2093 | end | |
| 2094 | if (KEY_HOLD["a"] == true and hitz) then | |
| 2095 | ROTSPEED = math_max(ROTSPEED + 1, MAXSPEED/1.5); | |
| 2096 | end | |
| 2097 | if (KEY_HOLD["d"] == true and hitz) then | |
| 2098 | ROTSPEED = math_min(ROTSPEED - 1, -MAXSPEED/1.5); | |
| 2099 | end | |
| 2100 | ||
| 2101 | if (SPEED > 0 or ROTSPEED ~= 0 or TORQUE > 0) then | |
| 2102 | if not OnMove.IsPlaying then | |
| 2103 | OnMove:play(); | |
| 2104 | end | |
| 2105 | --Smoke.Enabled = true; | |
| 2106 | --Smoke.RiseVelocity = SPEED; | |
| 2107 | for _,v in next,Particlus do | |
| 2108 | v.Enabled = true; | |
| 2109 | end | |
| 2110 | else | |
| 2111 | OnMove:stop(); | |
| 2112 | --Smoke.Enabled = false; | |
| 2113 | --Smoke.RiseVelocity = 0; | |
| 2114 | for _,v in next,Particlus do | |
| 2115 | v.Enabled = false; | |
| 2116 | end | |
| 2117 | end | |
| 2118 | BodyVelo.velocity = (Seat.CFrame).lookVector*(SPEED*TORQUE) + (Seat.CFrame*CFrame.Angles(0, math.pi/2, 0)).lookVector*ROTSPEED | |
| 2119 | ||
| 2120 | if (not KEY_HOLD["w"] and not KEY_HOLD["s"] and hitz) then | |
| 2121 | if (TORQUE < 0) then | |
| 2122 | TORQUE = math_max(TORQUE + 1/25, 0) | |
| 2123 | end | |
| 2124 | if (TORQUE > 0) then | |
| 2125 | TORQUE = math_min(TORQUE - 1/25, 0) | |
| 2126 | end | |
| 2127 | if (SPEED < 0) then | |
| 2128 | SPEED = math_max(SPEED + 5, 0) | |
| 2129 | end | |
| 2130 | if (SPEED > 0) then | |
| 2131 | SPEED = math_min(SPEED - 5, 0) | |
| 2132 | end | |
| 2133 | end | |
| 2134 | if (not KEY_HOLD["a"] and not KEY_HOLD["d"] and hitz) then | |
| 2135 | if (ROTSPEED < 0) then | |
| 2136 | ROTSPEED = math_max(ROTSPEED + 1, 0) | |
| 2137 | end | |
| 2138 | if (ROTSPEED > 0) then | |
| 2139 | ROTSPEED = math_min(ROTSPEED - 1, 0) | |
| 2140 | end | |
| 2141 | end | |
| 2142 | ||
| 2143 | --// | |
| 2144 | --// REPAIR MODE | |
| 2145 | --// | |
| 2146 | if (REPAIRMODE) then | |
| 2147 | DB2 = false; | |
| 2148 | BodyPos.D = 5000; | |
| 2149 | BodyGyro.maxTorque = Vector3.new(); | |
| 2150 | BodyVelo.maxForce = Vector3.new(); | |
| 2151 | if (hitz) then | |
| 2152 | BodyPos.position = Vector3.new(0, enz.y + 1 , 0); | |
| 2153 | BodyPos.maxForce = Vector3.new(0, 9999e999, 0) | |
| 2154 | else | |
| 2155 | BodyPos.maxForce = Vector3.new(); | |
| 2156 | end | |
| 2157 | else | |
| 2158 | if (not REPAIRMODE and not DB2) then | |
| 2159 | DB2 = true; | |
| 2160 | Particles.AirRing(CFrame.new(enz.x, enz.y, enz.z)*CFrame.new(0,1,0), 5, Color3.new(255,255,255), 0.15, 0, 3) | |
| 2161 | end | |
| 2162 | end | |
| 2163 | ||
| 2164 | ||
| 2165 | ||
| 2166 | --// | |
| 2167 | --// SHOOTING | |
| 2168 | --// | |
| 2169 | if (MOUSE_DOWN) then | |
| 2170 | if db then return end | |
| 2171 | db = true | |
| 2172 | wait(.1); | |
| 2173 | db = false | |
| 2174 | OnFire:play(); | |
| 2175 | ||
| 2176 | local PointLight = Instance.new("PointLight", Barrel);
| |
| 2177 | PointLight.Color = Color3.new(1,.5,0) | |
| 2178 | PointLight.Brightness = 6; | |
| 2179 | game:service'Debris':AddItem(PointLight, .05); | |
| 2180 | ||
| 2181 | ||
| 2182 | ||
| 2183 | RayC(Barrel, 25, mouse.Hit.p) | |
| 2184 | end | |
| 2185 | --// | |
| 2186 | --// SMOOTHLY SET TARGET CFRAME | |
| 2187 | --// | |
| 2188 | rm.C0 = clerp(rm.C0,rscf,speed) | |
| 2189 | lm.C0 = clerp(lm.C0,lscf,speed) | |
| 2190 | rj.C0 = clerp(rj.C0,rjcf,speed) | |
| 2191 | neck.C0 = clerp(neck.C0,ncf,speed) | |
| 2192 | rlegm.C0 = clerp(rlegm.C0,rlcf,speed) | |
| 2193 | llegm.C0 = clerp(llegm.C0,llcf,speed) | |
| 2194 | ||
| 2195 | end); |