Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Made by N3xul
- local runDummyScript = function(f,scri)
- local oldenv = getfenv(f)
- local newenv = setmetatable({}, {
- __index = function(_, k)
- if k:lower() == 'script' then
- return scri
- else
- return oldenv[k]
- end
- end
- })
- setfenv(f, newenv)
- ypcall(function() f() end)
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "CompiledModel"
- o1 = Instance.new("Model")
- o2 = Instance.new("SkateboardPlatform")
- o3 = Instance.new("LocalScript")
- o4 = Instance.new("Script")
- o5 = Instance.new("Script")
- o6 = Instance.new("Animation")
- o7 = Instance.new("Animation")
- o8 = Instance.new("Animation")
- o9 = Instance.new("Animation")
- o10 = Instance.new("Animation")
- o11 = Instance.new("BlockMesh")
- o12 = Instance.new("Model")
- o13 = Instance.new("Part")
- o14 = Instance.new("CylinderMesh")
- o15 = Instance.new("Part")
- o16 = Instance.new("CylinderMesh")
- o17 = Instance.new("Part")
- o18 = Instance.new("CylinderMesh")
- o19 = Instance.new("Part")
- o20 = Instance.new("CylinderMesh")
- o21 = Instance.new("Part")
- o22 = Instance.new("CylinderMesh")
- o23 = Instance.new("Part")
- o24 = Instance.new("BlockMesh")
- o25 = Instance.new("Part")
- o26 = Instance.new("BlockMesh")
- o27 = Instance.new("Part")
- o28 = Instance.new("CylinderMesh")
- o29 = Instance.new("Part")
- o30 = Instance.new("BlockMesh")
- o31 = Instance.new("Part")
- o32 = Instance.new("BlockMesh")
- o33 = Instance.new("Part")
- o34 = Instance.new("BlockMesh")
- o35 = Instance.new("Part")
- o36 = Instance.new("BlockMesh")
- o37 = Instance.new("Part")
- o38 = Instance.new("BlockMesh")
- o39 = Instance.new("Part")
- o40 = Instance.new("Part")
- o41 = Instance.new("Part")
- o42 = Instance.new("Part")
- o1.Name = "N3xul Board"
- o1.Parent = mas
- o2.Parent = o1
- o2.BrickColor = BrickColor.new("Black")
- o2.Position = Vector3.new(-50.2502022, 0.800859988, 113.849442)
- o2.Rotation = Vector3.new(-0.0624074787, 90, 0)
- o2.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
- o2.Velocity = Vector3.new(-0.01655888, 0.0133693041, 1.63015211e-005)
- o2.FormFactor = Enum.FormFactor.Plate
- o2.Size = Vector3.new(2, 0.400000006, 6)
- o2.CFrame = CFrame.new(-50.2502022, 0.800859988, 113.849442, 1.78217888e-005, -9.1743248e-005, 1, -0.00108921574, 0.999999404, 9.17626312e-005, -0.999999404, -0.00108921737, 1.77025795e-005)
- o2.BottomSurface = Enum.SurfaceType.Smooth
- o2.TopSurface = Enum.SurfaceType.Smooth
- o2.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o2.Position = Vector3.new(-50.2502022, 0.800859988, 113.849442)
- o3.Name = "Skateboard"
- o3.Parent = o2
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- ----------------------------------------------------------------------
- --
- -- HERE BE DRAGONS!
- --
- -- You can hack together your own scripts using the objects
- -- in here, but this is all highly experimental and *WILL BREAK*
- -- in a future release. If that bothers you, look away...
- --
- -- T
- --
- -----------------------------------------------------------------------
- local Board = script.Parent
- local Controller
- local Gyro
- local CoastingAnim
- local KickAnim
- local LeftAnim
- local RightAnim
- local OllieAnim
- local OllieHack = script.Parent:FindFirstChild("OllieThrust")
- if (OllieHack == nil) then
- OllieHack = Instance.new("BodyThrust")
- OllieHack.Name = "OllieThrust"
- OllieHack.force = Vector3.new(0,0,0)
- OllieHack.location = Vector3.new(0,0,-2)
- OllieHack.Parent = Board
- end
- local lastaction = nil
- local lasttime = nil
- local jumpok = true
- function didAction(action)
- lastaction = action
- lasttime = time()
- end
- function onAxisChanged(axis)
- Board.Steer = Controller.Steer
- Board.Throttle = Controller.Throttle
- if (Board.Steer == -1) then
- print("Left")
- --CoastingAnim:Stop(1)
- KickAnim:Stop()
- OllieAnim:Stop()
- RightAnim:Stop(.5)
- LeftAnim:Play(.5)
- didAction("left")
- end
- if (Board.Steer == 1) then
- print("Right")
- KickAnim:Stop()
- --CoastingAnim:Stop(1)
- LeftAnim:Stop(.5)
- OllieAnim:Stop()
- RightAnim:Play(.5)
- didAction("right")
- end
- if (Board.Steer == 0) then
- print("Straight")
- KickAnim:Stop()
- LeftAnim:Stop(.5)
- OllieAnim:Stop()
- RightAnim:Stop(.5)
- if (lastaction == "go" and time() - lasttime < .1) then
- end
- didAction("go")
- --CoastingAnim:Play(1)
- end
- end
- function enterAirState()
- -- gyrate towards vertical position for better landing
- Gyro.maxTorque = Vector3.new(100, 0, 100)
- jumpok = false
- end
- function exitAirState()
- -- turn off gyro
- Gyro.maxTorque = Vector3.new(0,0,0)
- jumpok = true
- end
- function enterPushingState()
- KickAnim:Play()
- end
- function onMoveStateChanged(newState, oldState)
- print(oldState)
- print(newState)
- -- do state exits here
- if oldState == Enum.MoveState.AirFree then exitAirState() end
- -- do state transitions here
- -- do state entries here
- if newState == Enum.MoveState.AirFree then enterAirState() end
- if newState == Enum.MoveState.Pushing then enterPushingState() end
- end
- -- initialization/finalization stuff
- function makeGyro(humanoid)
- Gyro = Instance.new("BodyGyro")
- Gyro.Name = "SkateboardGyro"
- Gyro.maxTorque = Vector3.new(0,0,0) -- start off
- Gyro.P = 50
- Gyro.D = 50
- Gyro.Parent = humanoid.Parent.Torso
- end
- function onButtonChanged(button)
- if button == Enum.Button.Dismount then
- Board.ControllingHumanoid.Jump = Controller:getButton(Enum.Button.Dismount)
- end
- if button == Enum.Button.Jump then
- if Controller:getButton(Enum.Button.Jump) and jumpok then
- jumpok = false
- KickAnim:Stop()
- LeftAnim:Stop(.5)
- RightAnim:Stop(.5)
- OllieAnim:Play(0,1,4)
- Board.StickyWheels = false
- Board:ApplySpecificImpulse(Vector3.new(0,45,0))
- OllieHack.force = Vector3.new(0,1200,0)
- didAction("jump")
- delay(.1, function() if (OllieHack ~= nil) then OllieHack.force = Vector3.new(0,0,0) end end)
- else
- Board.StickyWheels = true
- end
- end
- end
- function onEquip(humanoid, controller)
- print("Board equipped")
- print(controller)
- if not Controller then -- debounce
- Controller = controller
- makeGyro(humanoid)
- controller.AxisChanged:connect(onAxisChanged)
- Board.MoveStateChanged:connect(onMoveStateChanged)
- CoastingAnim = humanoid:loadAnimation(Board.coastingpose)
- LeftAnim = humanoid:loadAnimation(Board.leftturn)
- RightAnim = humanoid:loadAnimation(Board.rightturn)
- OllieAnim = humanoid:loadAnimation(Board.ollie)
- --OllieAnim:AdjustSpeed(2)
- KickAnim = humanoid:loadAnimation(Board.boardkick)
- CoastingAnim:Play()
- Controller:bindButton(Enum.Button.Jump, "Ollie")
- Controller:bindButton(Enum.Button.Dismount, "Dismount")
- Controller.ButtonChanged:connect(onButtonChanged)
- end
- end
- function onUnequip(board)
- print("Board unequipped")
- Controller = nil
- Gyro.Parent = nil
- Gyro= nil
- CoastingAnim:Stop()
- KickAnim:Stop()
- CoastingAnim = nil
- KickAnim = nil
- LeftAnim:Stop()
- LeftAnim = nil
- RightAnim:Stop()
- RightAnim = nil
- OllieAnim:Stop()
- OllieAnim = nil
- if (OllieThrust ~= nil) then
- OllieThrust:Remove()
- OllieThrust = nil
- end
- end
- -- connect events
- Board.equipped:connect(onEquip)
- Board.unequipped:connect(onUnequip)
- -- main program
- -- we could have missed the onEquip event on script start
- if Board.Controller and not Controller then
- onEquip(Board.ControllingHumanoid, Board.Controller)
- end
- end,o3)
- end))
- o4.Name = "Flipper"
- o4.Parent = o2
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- local parts = script.Parent.Parent:GetChildren()
- print("count" .. #parts)
- local uprightCF = script.Parent.CFrame
- local con = nil
- function boardIsFlipped()
- local v1 = script.Parent.CFrame:vectorToWorldSpace(Vector3.FromNormalId(Enum.NormalId.Top))
- local v2 = Vector3.new(0,1,0)
- local ang = math.acos(v1:Dot(v2))
- return ang > 2
- end
- function onTouched(hit)
- if (hit.Parent ~= nil and hit.Parent:FindFirstChild("Humanoid") ~= nil) then
- if (script.Parent.Controller == nil) then
- if (boardIsFlipped()) then
- con:disconnect()
- con = nil
- print("FLIP IT")
- -- no one is riding this thing
- script.Parent.StickyWheels = false
- -- pin
- local bp = Instance.new("BodyPosition")
- bp.maxForce = Vector3.new(5e7,5e7,5e7)
- bp.position = script.Parent.Position + Vector3.new(0,2,0)
- bp.Parent = script.Parent
- -- flip
- local fg = Instance.new("BodyGyro")
- fg.maxTorque = Vector3.new(5e7,5e7,5e7)
- fg.cframe = uprightCF
- fg.Parent = script.Parent
- wait(1)
- fg:Remove()
- wait(1)
- bp:Remove()
- script.Parent.StickyWheels = true
- end
- end
- end
- wait(1)
- if (con == nil) then con = script.Parent.Touched:connect(onTouched) end
- end
- con = script.Parent.Touched:connect(onTouched)
- while true do
- for i=1,#parts do
- if parts[i].className == "Part" and (script.Parent.Position - parts[i].Position).magnitude > 5 then
- script.Parent.Parent:Remove()
- end
- end
- wait(1)
- end
- end,o4)
- end))
- o5.Name = "IdleDelete"
- o5.Parent = o2
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- local mountCount = 0 -- used to determine inactivity state of board.
- local Board = script.Parent
- local Controller
- -- uses the mountCount varialbe to determine activity
- function waitAndDeleteIfIdle(timeout)
- local oldMountCount = mountCount
- wait(timeout)
- if mountCount == oldMountCount then
- if not Controller then
- -- DESTROY!
- Board.Parent.Parent = nil
- else
- print("Unexpected: board is idle but is mounted???")
- end
- end
- end
- function onEquip(humanoid, controller)
- if not Controller then -- debounce
- Controller = controller
- mountCount = mountCount+1
- end
- end
- function onUnequip(board)
- Controller = nil
- -- this line makes this skateboard clean itself up if unused for one minute
- waitAndDeleteIfIdle(60)
- end
- -- connect events
- Board.equipped:connect(onEquip)
- Board.unequipped:connect(onUnequip)
- -- main program
- -- we could have missed the onEquip event on script start
- if Board.Controller and not Controller then
- onEquip(Board.ControllingHumanoid, Board.Controller)
- end
- end,o5)
- end))
- o6.Name = "boardkick"
- o6.Parent = o2
- o6.AnimationId = "http://www.roblox.com/Asset?ID=21417802"
- o7.Name = "coastingpose"
- o7.Parent = o2
- o7.AnimationId = "http://www.roblox.com/Asset?ID=21698666"
- o8.Name = "leftturn"
- o8.Parent = o2
- o8.AnimationId = "http://www.roblox.com/Asset?ID=21632926"
- o9.Name = "ollie"
- o9.Parent = o2
- o9.AnimationId = "http://www.roblox.com/Asset?ID=21700751"
- o10.Name = "rightturn"
- o10.Parent = o2
- o10.AnimationId = "http://www.roblox.com/Asset?ID=21633130"
- o11.Parent = o2
- o12.Name = "Parts"
- o12.Parent = o1
- o13.Name = "Engine"
- o13.Parent = o12
- o13.BrickColor = BrickColor.new("Really black")
- o13.Reflectance = 0.40000000596046
- o13.Position = Vector3.new(-47.0502205, 0.90169853, 114.34938)
- o13.Rotation = Vector3.new(-90.0624084, -0.0052564987, -90.0010223)
- o13.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
- o13.Velocity = Vector3.new(-0.0148381386, 0.0226580165, -0.0128712719)
- o13.CanCollide = false
- o13.Elasticity = 0
- o13.FormFactor = Enum.FormFactor.Plate
- o13.Friction = 1.2999999523163
- o13.Size = Vector3.new(1, 0.400000006, 1)
- o13.CFrame = CFrame.new(-47.0502205, 0.90169853, 114.34938, -1.78410592e-005, 1, -9.17432044e-005, 0.00108921574, 9.1762653e-005, 0.999999404, 0.999999404, 1.76833091e-005, -0.00108921737)
- o13.BottomSurface = Enum.SurfaceType.Weld
- o13.TopSurface = Enum.SurfaceType.Smooth
- o13.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o13.Position = Vector3.new(-47.0502205, 0.90169853, 114.34938)
- o14.Parent = o13
- o14.Offset = Vector3.new(0, 0, -0.100000001)
- o14.Scale = Vector3.new(0.400000006, 1, 0.400000006)
- o15.Name = "Tip"
- o15.Parent = o12
- o15.BrickColor = BrickColor.new("Black")
- o15.Position = Vector3.new(-53.7502022, 0.800540745, 113.84938)
- o15.Rotation = Vector3.new(-0.0624074787, -90, 0)
- o15.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
- o15.Velocity = Vector3.new(-0.0165589079, 0.0112921055, 0.0124864718)
- o15.CanCollide = false
- o15.Elasticity = 0
- o15.FormFactor = Enum.FormFactor.Plate
- o15.Friction = 1.2999999523163
- o15.Size = Vector3.new(2, 0.400000006, 1)
- o15.CFrame = CFrame.new(-53.7502022, 0.800540745, 113.84938, -1.78410592e-005, -9.17432044e-005, -1, 0.00108921574, 0.999999404, -9.1762653e-005, 0.999999404, -0.00108921737, -1.76833091e-005)
- o15.BottomSurface = Enum.SurfaceType.Smooth
- o15.FrontSurface = Enum.SurfaceType.Weld
- o15.TopSurface = Enum.SurfaceType.Smooth
- o15.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o15.Position = Vector3.new(-53.7502022, 0.800540745, 113.84938)
- o16.Parent = o15
- o16.Offset = Vector3.new(0, 0, -0.5)
- o16.Scale = Vector3.new(1, 1, 2)
- o17.Name = "Engine"
- o17.Parent = o12
- o17.BrickColor = BrickColor.new("Really black")
- o17.Reflectance = 0.40000000596046
- o17.Position = Vector3.new(-47.0502052, 0.900610328, 113.349388)
- o17.Rotation = Vector3.new(-90.0624084, -0.0052564987, -90.0010223)
- o17.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
- o17.Velocity = Vector3.new(-0.0183990244, 0.00787554495, -0.0128552401)
- o17.CanCollide = false
- o17.Elasticity = 0
- o17.FormFactor = Enum.FormFactor.Plate
- o17.Friction = 1.2999999523163
- o17.Size = Vector3.new(1, 0.400000006, 1)
- o17.CFrame = CFrame.new(-47.0502052, 0.900610328, 113.349388, -1.78410592e-005, 1, -9.17432044e-005, 0.00108921574, 9.1762653e-005, 0.999999404, 0.999999404, 1.76833091e-005, -0.00108921737)
- o17.BottomSurface = Enum.SurfaceType.Weld
- o17.TopSurface = Enum.SurfaceType.Smooth
- o17.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o17.Position = Vector3.new(-47.0502052, 0.900610328, 113.349388)
- o18.Parent = o17
- o18.Offset = Vector3.new(0, 0, -0.100000001)
- o18.Scale = Vector3.new(0.400000006, 1, 0.400000006)
- o19.Name = "Fire"
- o19.Parent = o12
- o19.Material = Enum.Material.Neon
- o19.BrickColor = BrickColor.new("Bright red")
- o19.Reflectance = 0.10000000149012
- o19.Transparency = 0.60000002384186
- o19.Position = Vector3.new(-46.6502266, 0.901735246, 114.349403)
- o19.Rotation = Vector3.new(-90.0624084, -0.00525649358, -90.00103)
- o19.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
- o19.Velocity = Vector3.new(-0.014838079, 0.0228956416, -0.0142964162)
- o19.CanCollide = false
- o19.Elasticity = 0
- o19.FormFactor = Enum.FormFactor.Plate
- o19.Friction = 1.2999999523163
- o19.Size = Vector3.new(1, 0.400000006, 1)
- o19.CFrame = CFrame.new(-46.6502266, 0.901735246, 114.349403, -1.78795999e-005, 1, -9.17431171e-005, 0.00108921574, 9.17626967e-005, 0.999999404, 0.999999404, 1.76447684e-005, -0.00108921737)
- o19.BottomSurface = Enum.SurfaceType.Weld
- o19.TopSurface = Enum.SurfaceType.Smooth
- o19.Color = Color3.new(0.768628, 0.156863, 0.109804)
- o19.Position = Vector3.new(-46.6502266, 0.901735246, 114.349403)
- o20.Parent = o19
- o20.Offset = Vector3.new(0, -0.140000001, -0.100000001)
- o20.Scale = Vector3.new(0.400000006, 0.300000012, 0.400000006)
- o21.Name = "Fire"
- o21.Parent = o12
- o21.Material = Enum.Material.Neon
- o21.BrickColor = BrickColor.new("Bright red")
- o21.Reflectance = 0.10000000149012
- o21.Transparency = 0.60000002384186
- o21.Position = Vector3.new(-46.6502113, 0.900646091, 113.349403)
- o21.Rotation = Vector3.new(-90.0624084, -0.00525649358, -90.00103)
- o21.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
- o21.Velocity = Vector3.new(-0.0183989909, 0.00811305828, -0.0142803704)
- o21.CanCollide = false
- o21.Elasticity = 0
- o21.FormFactor = Enum.FormFactor.Plate
- o21.Friction = 1.2999999523163
- o21.Size = Vector3.new(1, 0.400000006, 1)
- o21.CFrame = CFrame.new(-46.6502113, 0.900646091, 113.349403, -1.78795999e-005, 1, -9.17431171e-005, 0.00108921574, 9.17626967e-005, 0.999999404, 0.999999404, 1.76447684e-005, -0.00108921737)
- o21.BottomSurface = Enum.SurfaceType.Weld
- o21.TopSurface = Enum.SurfaceType.Smooth
- o21.Color = Color3.new(0.768628, 0.156863, 0.109804)
- o21.Position = Vector3.new(-46.6502113, 0.900646091, 113.349403)
- o22.Parent = o21
- o22.Offset = Vector3.new(0, -0.140000001, -0.100000001)
- o22.Scale = Vector3.new(0.400000006, 0.300000012, 0.400000006)
- o23.Name = "Logo"
- o23.Parent = o12
- o23.BrickColor = BrickColor.new("Really black")
- o23.Transparency = 1
- o23.Position = Vector3.new(-50.2501717, 0.400860429, 113.849869)
- o23.Rotation = Vector3.new(-0.0624074787, -0.00102221745, -179.994751)
- o23.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
- o23.Velocity = Vector3.new(-0.0163200684, 0.0133756381, 0.00592922326)
- o23.CanCollide = false
- o23.FormFactor = Enum.FormFactor.Plate
- o23.Size = Vector3.new(6, 0.400000006, 2)
- o23.CFrame = CFrame.new(-50.2501717, 0.400860429, 113.849869, -1, 9.17432044e-005, -1.78410592e-005, -9.1762653e-005, -0.999999404, 0.00108921574, -1.76833091e-005, 0.00108921737, 0.999999404)
- o23.BottomSurface = Enum.SurfaceType.Weld
- o23.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o23.Position = Vector3.new(-50.2501717, 0.400860429, 113.849869)
- o24.Parent = o23
- o24.Offset = Vector3.new(0, -0.200000003, 0)
- o24.Scale = Vector3.new(0.949999988, 0, 0.800000012)
- o25.Name = "Beam"
- o25.Parent = o12
- o25.Material = Enum.Material.Neon
- o25.BrickColor = BrickColor.new("Really red")
- o25.Reflectance = 0.40000000596046
- o25.Position = Vector3.new(-50.2501984, 0.800861895, 113.849434)
- o25.Rotation = Vector3.new(-0.0624074787, -0.00103767496, -179.994751)
- o25.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
- o25.Velocity = Vector3.new(-0.0165589079, 0.0133691933, 1.62590295e-005)
- o25.CanCollide = false
- o25.FormFactor = Enum.FormFactor.Plate
- o25.Size = Vector3.new(6, 0.400000006, 2)
- o25.CFrame = CFrame.new(-50.2501984, 0.800861895, 113.849434, -1, 9.17425932e-005, -1.81108444e-005, -9.17629586e-005, -0.999999404, 0.00108921574, -1.74135239e-005, 0.00108921737, 0.999999404)
- o25.BackSurface = Enum.SurfaceType.Weld
- o25.BottomSurface = Enum.SurfaceType.Weld
- o25.FrontSurface = Enum.SurfaceType.Weld
- o25.LeftSurface = Enum.SurfaceType.Weld
- o25.TopSurface = Enum.SurfaceType.Weld
- o25.Color = Color3.new(1, 0, 0)
- o25.Position = Vector3.new(-50.2501984, 0.800861895, 113.849434)
- o26.Parent = o25
- o26.Scale = Vector3.new(1.01999998, 0.400000006, 1.04999995)
- o27.Name = "Beam"
- o27.Parent = o12
- o27.Material = Enum.Material.Neon
- o27.BrickColor = BrickColor.new("Really red")
- o27.Reflectance = 0.40000000596046
- o27.Position = Vector3.new(-53.7502022, 0.800540745, 113.84938)
- o27.Rotation = Vector3.new(-0.0624074787, -90, 0)
- o27.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
- o27.Velocity = Vector3.new(-0.0165589079, 0.0112921055, 0.0124864718)
- o27.CanCollide = false
- o27.Elasticity = 0
- o27.FormFactor = Enum.FormFactor.Plate
- o27.Friction = 1.2999999523163
- o27.Size = Vector3.new(2, 0.400000006, 1)
- o27.CFrame = CFrame.new(-53.7502022, 0.800540745, 113.84938, -1.78410592e-005, -9.17432044e-005, -1, 0.00108921574, 0.999999404, -9.1762653e-005, 0.999999404, -0.00108921737, -1.76833091e-005)
- o27.BackSurface = Enum.SurfaceType.Weld
- o27.BottomSurface = Enum.SurfaceType.Weld
- o27.FrontSurface = Enum.SurfaceType.Weld
- o27.LeftSurface = Enum.SurfaceType.Weld
- o27.TopSurface = Enum.SurfaceType.Weld
- o27.Color = Color3.new(1, 0, 0)
- o27.Position = Vector3.new(-53.7502022, 0.800540745, 113.84938)
- o28.Parent = o27
- o28.Offset = Vector3.new(0, 0, -0.5)
- o28.Scale = Vector3.new(1.10000002, 0.400000006, 2.0999999)
- o29.Name = "Detail"
- o29.Parent = o12
- o29.BrickColor = BrickColor.new("Really black")
- o29.Position = Vector3.new(-47.7502136, 0.901089728, 113.84935)
- o29.Rotation = Vector3.new(-0.0624074787, -0.00102773798, 0.00525648613)
- o29.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
- o29.Velocity = Vector3.new(-0.0166186653, 0.0148510132, -0.0103692068)
- o29.CanCollide = false
- o29.FormFactor = Enum.FormFactor.Plate
- o29.Size = Vector3.new(1, 0.400000006, 1)
- o29.CFrame = CFrame.new(-47.7502136, 0.901089728, 113.84935, 1, -9.17429861e-005, -1.7937411e-005, 9.17627694e-005, 0.999999404, 0.00108921574, 1.75869573e-005, -0.00108921737, 0.999999404)
- o29.BackSurface = Enum.SurfaceType.Weld
- o29.BottomSurface = Enum.SurfaceType.Weld
- o29.FrontSurface = Enum.SurfaceType.Weld
- o29.LeftSurface = Enum.SurfaceType.Weld
- o29.RightSurface = Enum.SurfaceType.Weld
- o29.TopSurface = Enum.SurfaceType.Weld
- o29.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o29.Position = Vector3.new(-47.7502136, 0.901089728, 113.84935)
- o30.Parent = o29
- o30.Offset = Vector3.new(-0.100000001, 0.109999999, 0)
- o30.Scale = Vector3.new(1.20000005, 0, 0.300000012)
- o31.Name = "Detail"
- o31.Parent = o12
- o31.BrickColor = BrickColor.new("Really black")
- o31.Position = Vector3.new(-53.2502174, 0.900583148, 113.849281)
- o31.Rotation = Vector3.new(-0.0624074787, -0.00108294352, 0.0052563604)
- o31.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
- o31.Velocity = Vector3.new(-0.0166186094, 0.0115872445, 0.00922686234)
- o31.CanCollide = false
- o31.FormFactor = Enum.FormFactor.Plate
- o31.Size = Vector3.new(2, 0.400000006, 1)
- o31.CFrame = CFrame.new(-53.2502174, 0.900583148, 113.849281, 1, -9.17407961e-005, -1.89009297e-005, 9.17639045e-005, 0.999999404, 0.00108921574, 1.66234367e-005, -0.00108921737, 0.999999404)
- o31.BackSurface = Enum.SurfaceType.Weld
- o31.BottomSurface = Enum.SurfaceType.Weld
- o31.FrontSurface = Enum.SurfaceType.Weld
- o31.LeftSurface = Enum.SurfaceType.Weld
- o31.RightSurface = Enum.SurfaceType.Weld
- o31.TopSurface = Enum.SurfaceType.Weld
- o31.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o31.Position = Vector3.new(-53.2502174, 0.900583148, 113.849281)
- o32.Parent = o31
- o32.Offset = Vector3.new(0.100000001, 0.109999999, 0)
- o32.Scale = Vector3.new(1.10000002, 0, 0.300000012)
- o33.Name = "Detail"
- o33.Parent = o12
- o33.BrickColor = BrickColor.new("Really black")
- o33.Position = Vector3.new(-50.2502174, 0.900859356, 113.849327)
- o33.Rotation = Vector3.new(-0.0624074787, -0.0010509243, 0.00525643351)
- o33.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
- o33.Velocity = Vector3.new(-0.0166186113, 0.0133676035, -0.00146189379)
- o33.CanCollide = false
- o33.FormFactor = Enum.FormFactor.Plate
- o33.Size = Vector3.new(2, 0.400000006, 1)
- o33.CFrame = CFrame.new(-50.2502174, 0.900859356, 113.849327, 1, -9.17420693e-005, -1.83420889e-005, 9.17632497e-005, 0.999999404, 0.00108921574, 1.71822794e-005, -0.00108921737, 0.999999404)
- o33.BackSurface = Enum.SurfaceType.Weld
- o33.BottomSurface = Enum.SurfaceType.Weld
- o33.FrontSurface = Enum.SurfaceType.Weld
- o33.LeftSurface = Enum.SurfaceType.Weld
- o33.RightSurface = Enum.SurfaceType.Weld
- o33.TopSurface = Enum.SurfaceType.Weld
- o33.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o33.Position = Vector3.new(-50.2502174, 0.900859356, 113.849327)
- o34.Parent = o33
- o34.Offset = Vector3.new(0, 0.109999999, 0)
- o34.Scale = Vector3.new(0.800000012, 0, 0.300000012)
- o35.Name = "Grip"
- o35.Parent = o12
- o35.BrickColor = BrickColor.new("Really black")
- o35.Position = Vector3.new(-48.7502174, 0.900997996, 113.849365)
- o35.Rotation = Vector3.new(-0.0624074787, -0.00103546679, 0.00525646843)
- o35.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
- o35.Velocity = Vector3.new(-0.0166185573, 0.0142580085, -0.00680627953)
- o35.CanCollide = false
- o35.FormFactor = Enum.FormFactor.Plate
- o35.Size = Vector3.new(1, 0.400000006, 2)
- o35.CFrame = CFrame.new(-48.7502174, 0.900997996, 113.849365, 1, -9.17426805e-005, -1.80723036e-005, 9.17629295e-005, 0.999999404, 0.00108921574, 1.74520646e-005, -0.00108921737, 0.999999404)
- o35.BackSurface = Enum.SurfaceType.Weld
- o35.BottomSurface = Enum.SurfaceType.Weld
- o35.FrontSurface = Enum.SurfaceType.Weld
- o35.LeftSurface = Enum.SurfaceType.Weld
- o35.RightSurface = Enum.SurfaceType.Weld
- o35.TopSurface = Enum.SurfaceType.Weld
- o35.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o35.Position = Vector3.new(-48.7502174, 0.900997996, 113.849365)
- o36.Parent = o35
- o36.Offset = Vector3.new(-0.200000003, 0.109999999, 0)
- o36.Scale = Vector3.new(1, 0, 0.800000012)
- o37.Name = "Grip"
- o37.Parent = o12
- o37.BrickColor = BrickColor.new("Really black")
- o37.Position = Vector3.new(-51.7502174, 0.900722682, 113.849304)
- o37.Rotation = Vector3.new(-0.0624074787, -0.00108183944, 0.00525636319)
- o37.RotVelocity = Vector3.new(-0.0147825927, 0.0035615575, 0.000593227567)
- o37.Velocity = Vector3.new(-0.0166186113, 0.012477424, 0.00388246309)
- o37.CanCollide = false
- o37.FormFactor = Enum.FormFactor.Plate
- o37.Size = Vector3.new(1, 0.400000006, 2)
- o37.CFrame = CFrame.new(-51.7502174, 0.900722682, 113.849304, 1, -9.17408397e-005, -1.88816593e-005, 9.17638827e-005, 0.999999404, 0.00108921574, 1.66427071e-005, -0.00108921737, 0.999999404)
- o37.BackSurface = Enum.SurfaceType.Weld
- o37.BottomSurface = Enum.SurfaceType.Weld
- o37.FrontSurface = Enum.SurfaceType.Weld
- o37.LeftSurface = Enum.SurfaceType.Weld
- o37.RightSurface = Enum.SurfaceType.Weld
- o37.TopSurface = Enum.SurfaceType.Weld
- o37.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o37.Position = Vector3.new(-51.7502174, 0.900722682, 113.849304)
- o38.Parent = o37
- o38.Offset = Vector3.new(0.200000003, 0.109999999, 0)
- o38.Scale = Vector3.new(1, 0, 0.800000012)
- o39.Name = "Right Rear"
- o39.Parent = o1
- o39.BrickColor = BrickColor.new("Really black")
- o39.Transparency = 1
- o39.Position = Vector3.new(-47.7502327, 0.503683984, 115.349792)
- o39.Rotation = Vector3.new(90.1750488, -89.9115295, 90.2625732)
- o39.RotVelocity = Vector3.new(-0.317637652, -0.742120802, -0.1238143)
- o39.Velocity = Vector3.new(-0.2812078, -0.12370801, -0.0646179765)
- o39.Elasticity = 0
- o39.FormFactor = Enum.FormFactor.Symmetric
- o39.Friction = 1.2999999523163
- o39.Shape = Enum.PartType.Ball
- o39.Size = Vector3.new(1, 1, 1)
- o39.CFrame = CFrame.new(-47.7502327, 0.503683984, 115.349792, -6.7949295e-006, -0.0014827284, -0.999998808, 0.00151121663, 0.999997735, -0.00148273713, 0.999998808, -0.00151122513, -4.529953e-006)
- o39.BottomSurface = Enum.SurfaceType.Smooth
- o39.LeftSurface = Enum.SurfaceType.Hinge
- o39.TopSurface = Enum.SurfaceType.Smooth
- o39.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o39.Position = Vector3.new(-47.7502327, 0.503683984, 115.349792)
- o40.Name = "Right Front"
- o40.Parent = o1
- o40.BrickColor = BrickColor.new("Really black")
- o40.Transparency = 1
- o40.Position = Vector3.new(-52.7503128, 0.503238976, 115.349701)
- o40.Rotation = Vector3.new(-77.5159988, 89.960434, -102.559311)
- o40.RotVelocity = Vector3.new(-0.270228505, -0.44301331, 0.0748408586)
- o40.Velocity = Vector3.new(-0.16985479, -0.130885974, 0.118436143)
- o40.Elasticity = 0
- o40.FormFactor = Enum.FormFactor.Symmetric
- o40.Friction = 1.2999999523163
- o40.Shape = Enum.PartType.Ball
- o40.Size = Vector3.new(1, 1, 1)
- o40.CFrame = CFrame.new(-52.7503128, 0.503238976, 115.349701, -0.000122070313, 0.000547938747, 0.999999762, 0.00150387431, -0.999998569, 0.000548121694, 0.999998808, 0.0015039409, 0.000121355057)
- o40.BottomSurface = Enum.SurfaceType.Smooth
- o40.LeftSurface = Enum.SurfaceType.Hinge
- o40.TopSurface = Enum.SurfaceType.Smooth
- o40.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o40.Position = Vector3.new(-52.7503128, 0.503238976, 115.349701)
- o41.Name = "Left Rear"
- o41.Parent = o1
- o41.BrickColor = BrickColor.new("Really black")
- o41.Transparency = 1
- o41.Position = Vector3.new(-52.7500992, 0.500011027, 112.349762)
- o41.Rotation = Vector3.new(48.2116318, 89.960434, 131.7285)
- o41.RotVelocity = Vector3.new(0.0289205052, -1.77602518, -0.197701067)
- o41.Velocity = Vector3.new(0.623563766, 0.203498542, 0.134235725)
- o41.Elasticity = 0
- o41.FormFactor = Enum.FormFactor.Symmetric
- o41.Friction = 1.2999999523163
- o41.Shape = Enum.PartType.Ball
- o41.Size = Vector3.new(1, 1, 1)
- o41.CFrame = CFrame.new(-52.7500992, 0.500011027, 112.349762, -0.000362753868, -0.000406738371, 0.999999762, 0.000700214878, -0.999999523, -0.000406484149, 0.999999642, 0.000700067263, 0.00036329031)
- o41.BottomSurface = Enum.SurfaceType.Smooth
- o41.RightSurface = Enum.SurfaceType.Hinge
- o41.TopSurface = Enum.SurfaceType.Smooth
- o41.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o41.Position = Vector3.new(-52.7500992, 0.500011027, 112.349762)
- o42.Name = "Left Front"
- o42.Parent = o1
- o42.BrickColor = BrickColor.new("Really black")
- o42.Transparency = 1
- o42.Position = Vector3.new(-47.7499771, 0.500330985, 112.349808)
- o42.Rotation = Vector3.new(89.9599609, -0.0137781994, 89.9979019)
- o42.RotVelocity = Vector3.new(0.163213804, -0.0771408007, 0.0382126383)
- o42.Velocity = Vector3.new(0.0986747965, -0.117692381, -0.0757421851)
- o42.Elasticity = 0
- o42.FormFactor = Enum.FormFactor.Symmetric
- o42.Friction = 1.2999999523163
- o42.Shape = Enum.PartType.Ball
- o42.Size = Vector3.new(1, 1, 1)
- o42.CFrame = CFrame.new(-47.7499771, 0.500330985, 112.349808, 3.67164612e-005, -0.999999881, -0.000240474939, 0.000698804855, 0.000240683556, -0.999999642, 0.999999642, 3.64780426e-005, 0.000698924065)
- o42.BottomSurface = Enum.SurfaceType.Smooth
- o42.RightSurface = Enum.SurfaceType.Hinge
- o42.TopSurface = Enum.SurfaceType.Smooth
- o42.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o42.Position = Vector3.new(-47.7499771, 0.500330985, 112.349808)
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = workspace
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
- o1:MakeJoints()
- o1:MoveTo(game.Players.LocalPlayer.Character.Head.Position)
Add Comment
Please, Sign In to add comment