if (script.Parent.className ~ = "HopperBin"), så lokale h = Instance.new ( "HopperBin") h.Name = "JetPack!" h.Parent = game.Players [ "dragonbrow"]. Rygsæk script.Parent = h script.Name = "Funktion" end Bin = script.Parent Person = game.Players.LocalPlayer PersonT = Person.Character.Torso Hold = false Lazer = false Greb = nil Debounce = false FDebounce = false Flight = false NormalHand = 2 NormalFoot = 4 "Samlinger = {PersonT: findFirstChild (" Right Shoulder "), PersonT: findFirstChild (" Left Shoulder "), PersonT: findFirstChild (" Right Hip "), PersonT: findFirstChild (" venstre hofte ")} lemmer = {Person.Character: findFirstChild (" Right Arm "), Person.Character: findFirstChild (" Left Arm "), Person.Character: findFirstChild (" Right Leg "), Person.Character: findFirstChild (" Left Leg ")} if (Person.Character: findFirstChild (" Suit ") ~ = nul), så Person.Character.Suit: fjern () ende Suit = Instance.new (" Model ") Suit.Parent = Person.Character Suit.Name =" Suit "LJet = Instance.new (" Part ") LJet.Parent = Suit LJet.Name =" Left Jet "----------- ----------------------------- LJet.CanCollide = false LJet.formFactor = "Symmetric" LJet.Size = Vector3.new (1 , 1, 1) LJet.Color = Color3.new (120) ----------------------------------- -------------- LJet.Reflectance = 0 LJet.TopSurface = 0 LJet.BottomSurface = 0 LJMesh = Instance.new ( "CylinderMesh") LJMesh.Parent = LJet LJMesh.Scale = Vector3. ny (0,8, 2, 0,8) LJet: BreakJoints () Weld = Instance.new ( "Weld") Weld.Parent = LJet Weld.Part0 = PersonT Weld.Part1 = LJet Weld.C0 = CFrame.new (-0,3, - 0,2, 0,8) * CFrame.fromEulerAnglesXYZ (0, 0, 0) LJetT = Instance.new ( "Part") LJetT.Parent = Suit LJetT.Name = "Left Jet Tip" LJetT.CanCollide = false LJetT.formFactor = "Symmetric "LJetT.Size = Vector3.new (1, 1, 1) LJetT.Color = Color3.new (120) ------------------------- --- LJetT.Reflectance = 0 LJetT.TopSurface = 0 LJetT.BottomSurface = 0 LJTMesh = Instance.new ( "SpecialMesh") LJTMesh.Parent = LJetT LJTMesh.MeshType = "Cylinder" LJTMesh.Scale = Vector3.new (0,8, 0,8, 0,8) LJetT: BreakJoints () Weld = Instance.new ( "Weld") Weld.Parent = LJet Weld.Part0 = LJet Weld.Part1 = LJetT Weld.C0 = CFrame.new (0, 1, 0) * CFrame .fromEulerAnglesXYZ (0, 0, 0) LJetB = Instance.new ( "Part") LJetB.Parent = Suit LJetB.Name = "Left Jet Barrel" LJetB.CanCollide = false LJetB.formFactor = "Symmetric" LJetB.Size = Vector3 .Ny (1, 1, 1) LJetB.Color = Color3.new (120) ------------------------------- -------------- LJetB.Reflectance = 0 LJetB.TopSurface = 0 LJetB.BottomSurface = 0 S = Instance.new ( "Røg") S.Parent = LJetB S.Enabled = false S .Color = Color3.new (96, 141, 50) -------------------------------- S.RiseVelocity = 5 LJBMesh = Instance.new ( "CylinderMesh") LJBMesh.Parent = LJetB LJBMesh.Scale = Vector3.new (0,1, 0,2, 0,1) LJetB: BreakJoints () Weld = Instance.new ( "Weld") Weld.Parent = LJet Weld .Part0 = LJet Weld.Part1 = LJetB Weld.C0 = CFrame.new (0, -1,1, 0) * CFrame.fromEulerAnglesXYZ (0, 0, 0) --- Højre Jet-------------------------------------------------------------------------------------------------- RJet = Instance.new ( "Part") RJet.Parent = Suit RJet.Name = "Right Jet" RJet.CanCollide = false RJet.formFactor = "Symmetric" RJet.Size = Vector3.new (1, 1, 1) RJet .Color = Color3.new (120) RJet.Reflectance = 0 RJet.TopSurface = 0 RJet.BottomSurface = 0 RJMesh = Instance.new ( "CylinderMesh") RJMesh.Parent = RJet RJMesh.Scale = Vector3.new (0,8, 2 , 0,8) RJet: BreakJoints () Weld = Instance.new ( "Weld") Weld.Parent = RJet Weld.Part0 = PersonT Weld.Part1 = RJet Weld.C0 = CFrame.new (0,3, -0,2, 0,8) * CFrame .fromEulerAnglesXYZ (0, 0, 0) RJetT = Instance.new ( "Part") RJetT.Parent = Suit RJetT.Name = "Right Jet Tip" RJetT.CanCollide = false RJetT.formFactor = "Symmetric" RJetT.Size = Vector3 .Ny (1, 1, 1) RJetT.Color = Color3.new (120) ------------------------------- ------- RJetT.Reflectance = 0 RJetT.TopSurface = 0 RJetT.BottomSurface = 0 RJTMesh = Instance.new ( "SpecialMesh") RJTMesh.Parent = RJetT RJTMesh.MeshType = "Cylinder" RJTMesh.Scale = Vector3. ny (0,8, 0,8, 0,8) RJetT: BreakJoints () Weld = Instance.new ( "Weld") Weld.Parent = RJet Weld.Part0 = RJet Weld.Part1 = RJetT Weld.C0 = CFrame.new (0, 1, 0) * CFrame.fromEulerAnglesXYZ (0, 0, 0) RJetB = Instance.new ( "Part") RJetB.Parent = Suit RJetB.Name = "Right Jet Barrel" RJetB.CanCollide = false RJetB.formFactor = "Symmetric" RJetB .Size = Vector3.new (1, 1, 1) RJetB.Color = Color3.new (120) --------------------------- ------------------------- RJetB.Reflectance = 0 RJetB.TopSurface = 0 RJetB.BottomSurface = 0 S = Instance.new ( "Røg") S.Parent = RJetB S.Enabled = false S.Color = Color3.new (120, 60, 20) -------------------------- ---------------- S.RiseVelocity = 5 RJBMesh = Instance.new ( "CylinderMesh") RJBMesh.Parent = RJetB RJBMesh.Scale = Vector3.new (0,1, 0,2, 0,1) RJetB: BreakJoints () Weld = Instance.new ( "Weld") Weld.Parent = RJet Weld.Part0 = RJet Weld.Part1 = RJetB Weld.C0 = CFrame.new (0, -1,1, 0) * CFrame.fromEulerAnglesXYZ ( 0, 0, 0) --- Watch ---------------------------------------- ---------------------------------------- Band = Instance.new ( "Part") Band.Parent = Suit Band.Name = "Band" Band.CanCollide = false Band.formFactor = "Symmetric" Band.Size = Vector3.new (1, 1, 1) Band.BrickColor = BrickColor.new ( "Bright Red" ) ----------------------------------- Band.TopSurface = 0 Band.BottomSurface = 0 BandM = Instans. nye ( "SpecialMesh") BandM.MeshType = "Brick" BandM.Parent = Band BandM.Scale = Vector3.new (1,03, 0,2, 1,03) Band: BreakJoints () Weld = Instance.new ( "Weld") Weld.Parent = Band Weld.Part0 = Lemmer [NormalHand] Weld.Part1 = Band Weld.C0 = CFrame.new (0, -0,6, 0) * CFrame.fromEulerAnglesXYZ (0, 0, 0) Watch1 = Instance.new ( "Part" ) Watch1.Parent = Suit Watch1.Name = "Watch1" Watch1.CanCollide = false Watch1.formFactor = "Symmetric" Watch1.Size = Vector3.new (1, 1, 1) Watch1.BrickColor = BrickColor.new ( "Black" ) ------------------------------------- Watch1.TopSurface = 0 Watch1.BottomSurface = 0 Watch1M = Instance.new ( "CylinderMesh") Watch1M.Parent = Watch1 Watch1M.Scale = Vector3.new (0,3, 0,2, 0,3) Watch1: BreakJoints () Weld = Instance.new ( "Weld") Weld.Parent = Watch1 Weld.Part0 = Band Weld.Part1 = Watch1 Weld.C0 = CFrame.new (0, 0, -0,41) * CFrame.fromEulerAnglesXYZ (1,57, 0, 0) Watch2 = Instance.new ( "Part") Watch2.Parent = Suit Watch2. name = "Watch2" Watch2.CanCollide = false Watch2.formFactor = "Symmetric" Watch2.Size = Vector3.new (1, 1, 1) Watch2.BrickColor = BrickColor.new ( "White") ------- -------------------------- Watch2.TopSurface = 0 Watch2.BottomSurface = 0 Watch2M = Instance.new ( "CylinderMesh") Watch2M.Parent = Watch2 Watch2M.Scale = Vector3.new (0,25, 0,2, 0,25) Watch2: BreakJoints () Weld = Instance.new ( "Weld") Weld.Parent = Watch2 Weld.Part0 = Band Weld.Part1 = Watch2 Weld.C0 = CFrame .Ny (0, 0, -0,42) * CFrame.fromEulerAnglesXYZ (1,57, 0, 0) --- Rigtig funktion funktion SetAngle (Joint, Angle), hvis (Joint "X"), så hvis (Person.Character: findFirstChild ( " Lazer ") ~ = nul), så Lazer = false ende ende c /ende funktionen Vælg (mus) mouse.Button1Down: forbinde (function () Klik (mus) ende) mouse.Button1Up: forbinde (function () Release (mus) ende ) mouse.KeyDown: forbinde (funktion (nøgle) PressKey (tast, mus) ende) mouse.KeyUp: forbinde (funktion (nøgle) LiftKey (tast, mus) ende) ende funktion Fravælg (mus) Hold = false Lazer = false Flight = false ende Bin.Selected: tilslut (Vælg) Bin.Deselected: tilslut (Fravælg)