Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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")
- o13 = Instance.new("BodyThrust")
- o14 = Instance.new("Model")
- 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("CylinderMesh")
- o25 = Instance.new("Part")
- o26 = Instance.new("BlockMesh")
- o27 = Instance.new("Decal")
- o28 = Instance.new("Part")
- o29 = Instance.new("BlockMesh")
- o30 = Instance.new("Part")
- o31 = Instance.new("CylinderMesh")
- o32 = Instance.new("Part")
- o33 = Instance.new("BlockMesh")
- o34 = Instance.new("Part")
- o35 = Instance.new("BlockMesh")
- o36 = Instance.new("Part")
- o37 = Instance.new("BlockMesh")
- o38 = Instance.new("Part")
- o39 = Instance.new("BlockMesh")
- o40 = Instance.new("Part")
- o41 = Instance.new("BlockMesh")
- o42 = Instance.new("Part")
- o43 = Instance.new("Part")
- o44 = Instance.new("Part")
- o45 = Instance.new("Part")
- o1.Name = "Board"
- o1.Parent = mas
- o2.Parent = o1
- o2.BrickColor = BrickColor.new("Black")
- o2.Position = Vector3.new(4.65764141, 2.78797436, -59.6390381)
- o2.Rotation = Vector3.new(-179.856201, 78.6911697, 179.868515)
- o2.FormFactor = Enum.FormFactor.Plate
- o2.Size = Vector3.new(2, 0.400000006, 6)
- o2.CFrame = CFrame.new(4.65764141, 2.78797436, -59.6390381, -0.196096867, -0.000450041844, 0.980584443, 0.000165962614, 0.999999881, 0.000492141757, -0.980584502, 0.000259247812, -0.196096778)
- o2.BottomSurface = Enum.SurfaceType.Smooth
- o2.TopSurface = Enum.SurfaceType.Smooth
- o2.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o2.Position = Vector3.new(4.65764141, 2.78797436, -59.6390381)
- 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
- o13.Name = "OllieThrust"
- o13.Parent = o2
- o13.force = Vector3.new(0, 0, 0)
- o13.location = Vector3.new(0, 0, -2)
- o14.Name = "Parts"
- o14.Parent = o1
- o15.Name = "Engine"
- o15.Parent = o14
- o15.BrickColor = BrickColor.new("Bright violet")
- o15.Reflectance = 0.40000000596046
- o15.Position = Vector3.new(7.89351177, 2.88946509, -59.7762299)
- o15.Rotation = Vector3.new(-89.9851456, -0.0257855002, -78.6911926)
- o15.CanCollide = false
- o15.Elasticity = 0
- o15.FormFactor = Enum.FormFactor.Plate
- o15.Friction = 1.2999999523163
- o15.Size = Vector3.new(1, 0.400000006, 1)
- o15.CFrame = CFrame.new(7.89351177, 2.88946509, -59.7762299, 0.196096867, 0.980584443, -0.000450041844, -0.000165962614, 0.000492141757, 0.999999881, 0.980584502, -0.196096778, 0.000259247812)
- o15.BottomSurface = Enum.SurfaceType.Weld
- o15.TopSurface = Enum.SurfaceType.Smooth
- o15.Color = Color3.new(0.419608, 0.196078, 0.486275)
- o15.Position = Vector3.new(7.89351177, 2.88946509, -59.7762299)
- o16.Parent = o15
- o16.Offset = Vector3.new(0, 0, -0.100000001)
- o16.Scale = Vector3.new(0.400000006, 1, 0.400000006)
- o17.Name = "Tip"
- o17.Parent = o14
- o17.BrickColor = BrickColor.new("Black")
- o17.Position = Vector3.new(1.22559595, 2.78625178, -58.9526978)
- o17.Rotation = Vector3.new(0.143794239, -78.6911697, 0.131493449)
- o17.CanCollide = false
- o17.Elasticity = 0
- o17.FormFactor = Enum.FormFactor.Plate
- o17.Friction = 1.2999999523163
- o17.Size = Vector3.new(2, 0.400000006, 1)
- o17.CFrame = CFrame.new(1.22559595, 2.78625178, -58.9526978, 0.196096867, -0.000450041844, -0.980584443, -0.000165962614, 0.999999881, -0.000492141757, 0.980584502, 0.000259247812, 0.196096778)
- o17.BottomSurface = Enum.SurfaceType.Smooth
- o17.FrontSurface = Enum.SurfaceType.Weld
- o17.TopSurface = Enum.SurfaceType.Smooth
- o17.Color = Color3.new(0.105882, 0.164706, 0.207843)
- o17.Position = Vector3.new(1.22559595, 2.78625178, -58.9526978)
- o18.Parent = o17
- o18.Offset = Vector3.new(0, 0, -0.5)
- o18.Scale = Vector3.new(1, 1, 2)
- o19.Name = "Engine"
- o19.Parent = o14
- o19.BrickColor = BrickColor.new("Bright violet")
- o19.Reflectance = 0.40000000596046
- o19.Position = Vector3.new(7.69741535, 2.88963103, -60.756813)
- o19.Rotation = Vector3.new(-89.9851456, -0.0257855002, -78.6911926)
- 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(7.69741535, 2.88963103, -60.756813, 0.196096867, 0.980584443, -0.000450041844, -0.000165962614, 0.000492141757, 0.999999881, 0.980584502, -0.196096778, 0.000259247812)
- o19.BottomSurface = Enum.SurfaceType.Weld
- o19.TopSurface = Enum.SurfaceType.Smooth
- o19.Color = Color3.new(0.419608, 0.196078, 0.486275)
- o19.Position = Vector3.new(7.69741535, 2.88963103, -60.756813)
- o20.Parent = o19
- o20.Offset = Vector3.new(0, 0, -0.100000001)
- o20.Scale = Vector3.new(0.400000006, 1, 0.400000006)
- o21.Name = "Fire"
- o21.Parent = o14
- o21.BrickColor = BrickColor.new("Bright red")
- o21.Reflectance = 0.10000000149012
- o21.Transparency = 0.60000002384186
- o21.Position = Vector3.new(8.2857399, 2.88966203, -59.8546677)
- o21.Rotation = Vector3.new(-89.9851456, -0.0257855002, -78.6911926)
- 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(8.2857399, 2.88966203, -59.8546677, 0.196096867, 0.980584443, -0.000450041844, -0.000165962614, 0.000492141757, 0.999999881, 0.980584502, -0.196096778, 0.000259247812)
- o21.BottomSurface = Enum.SurfaceType.Weld
- o21.TopSurface = Enum.SurfaceType.Smooth
- o21.Color = Color3.new(0.768628, 0.156863, 0.109804)
- o21.Position = Vector3.new(8.2857399, 2.88966203, -59.8546677)
- o22.Parent = o21
- o22.Offset = Vector3.new(0, -0.140000001, -0.100000001)
- o22.Scale = Vector3.new(0.400000006, 0.300000012, 0.400000006)
- o23.Name = "Fire"
- o23.Parent = o14
- o23.BrickColor = BrickColor.new("Bright red")
- o23.Reflectance = 0.10000000149012
- o23.Transparency = 0.60000002384186
- o23.Position = Vector3.new(8.08964348, 2.88982797, -60.8352509)
- o23.Rotation = Vector3.new(-89.9851456, -0.0257855002, -78.6911926)
- o23.CanCollide = false
- o23.Elasticity = 0
- o23.FormFactor = Enum.FormFactor.Plate
- o23.Friction = 1.2999999523163
- o23.Size = Vector3.new(1, 0.400000006, 1)
- o23.CFrame = CFrame.new(8.08964348, 2.88982797, -60.8352509, 0.196096867, 0.980584443, -0.000450041844, -0.000165962614, 0.000492141757, 0.999999881, 0.980584502, -0.196096778, 0.000259247812)
- o23.BottomSurface = Enum.SurfaceType.Weld
- o23.TopSurface = Enum.SurfaceType.Smooth
- o23.Color = Color3.new(0.768628, 0.156863, 0.109804)
- o23.Position = Vector3.new(8.08964348, 2.88982797, -60.8352509)
- o24.Parent = o23
- o24.Offset = Vector3.new(0, -0.140000001, -0.100000001)
- o24.Scale = Vector3.new(0.400000006, 0.300000012, 0.400000006)
- o25.Name = "Logo"
- o25.Parent = o14
- o25.BrickColor = BrickColor.new("Really black")
- o25.Transparency = 1
- o25.Position = Vector3.new(4.65782166, 2.38797331, -59.6391411)
- o25.Rotation = Vector3.new(0.00969723333, 11.3088064, -179.973709)
- o25.CanCollide = false
- o25.FormFactor = Enum.FormFactor.Plate
- o25.Size = Vector3.new(6, 0.400000006, 2)
- o25.CFrame = CFrame.new(4.65782166, 2.38797331, -59.6391411, -0.980584443, 0.000450041844, 0.196096867, -0.000492141757, -0.999999881, -0.000165962614, 0.196096778, -0.000259247812, 0.980584502)
- o25.BottomSurface = Enum.SurfaceType.Weld
- o25.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o25.Position = Vector3.new(4.65782166, 2.38797331, -59.6391411)
- o26.Parent = o25
- o26.Offset = Vector3.new(0, -0.200000003, 0)
- o26.Scale = Vector3.new(0.949999988, 0, 0.800000012)
- o27.Parent = o25
- o27.Texture = "http://www.roblox.com/asset/?id=23049131"
- o27.Face = Enum.NormalId.Top
- o28.Name = "Beam"
- o28.Parent = o14
- o28.BrickColor = BrickColor.new("Bright violet")
- o28.Reflectance = 0.40000000596046
- o28.Position = Vector3.new(4.65764141, 2.78797436, -59.6390381)
- o28.Rotation = Vector3.new(0.00969723333, 11.3088064, -179.973709)
- o28.CanCollide = false
- o28.FormFactor = Enum.FormFactor.Plate
- o28.Size = Vector3.new(6, 0.400000006, 2)
- o28.CFrame = CFrame.new(4.65764141, 2.78797436, -59.6390381, -0.980584443, 0.000450041844, 0.196096867, -0.000492141757, -0.999999881, -0.000165962614, 0.196096778, -0.000259247812, 0.980584502)
- o28.BackSurface = Enum.SurfaceType.Weld
- o28.BottomSurface = Enum.SurfaceType.Weld
- o28.FrontSurface = Enum.SurfaceType.Weld
- o28.LeftSurface = Enum.SurfaceType.Weld
- o28.TopSurface = Enum.SurfaceType.Weld
- o28.Color = Color3.new(0.419608, 0.196078, 0.486275)
- o28.Position = Vector3.new(4.65764141, 2.78797436, -59.6390381)
- o29.Parent = o28
- o29.Scale = Vector3.new(1.01999998, 0.400000006, 1.04999995)
- o30.Name = "Beam"
- o30.Parent = o14
- o30.BrickColor = BrickColor.new("Bright violet")
- o30.Reflectance = 0.40000000596046
- o30.Position = Vector3.new(1.22559595, 2.78625178, -58.9526978)
- o30.Rotation = Vector3.new(0.143794239, -78.6911697, 0.131493449)
- o30.CanCollide = false
- o30.Elasticity = 0
- o30.FormFactor = Enum.FormFactor.Plate
- o30.Friction = 1.2999999523163
- o30.Size = Vector3.new(2, 0.400000006, 1)
- o30.CFrame = CFrame.new(1.22559595, 2.78625178, -58.9526978, 0.196096867, -0.000450041844, -0.980584443, -0.000165962614, 0.999999881, -0.000492141757, 0.980584502, 0.000259247812, 0.196096778)
- o30.BackSurface = Enum.SurfaceType.Weld
- o30.BottomSurface = Enum.SurfaceType.Weld
- o30.FrontSurface = Enum.SurfaceType.Weld
- o30.LeftSurface = Enum.SurfaceType.Weld
- o30.TopSurface = Enum.SurfaceType.Weld
- o30.Color = Color3.new(0.419608, 0.196078, 0.486275)
- o30.Position = Vector3.new(1.22559595, 2.78625178, -58.9526978)
- o31.Parent = o30
- o31.Offset = Vector3.new(0, 0, -0.5)
- o31.Scale = Vector3.new(1.10000002, 0.400000006, 2.0999999)
- o32.Name = "Detail"
- o32.Parent = o14
- o32.BrickColor = BrickColor.new("Really black")
- o32.Position = Vector3.new(7.10905743, 2.88920355, -60.1292534)
- o32.Rotation = Vector3.new(0.00969723333, 11.3088064, 0.0262960494)
- o32.CanCollide = false
- o32.FormFactor = Enum.FormFactor.Plate
- o32.Size = Vector3.new(1, 0.400000006, 1)
- o32.CFrame = CFrame.new(7.10905743, 2.88920355, -60.1292534, 0.980584443, -0.000450041844, 0.196096867, 0.000492141757, 0.999999881, -0.000165962614, -0.196096778, 0.000259247812, 0.980584502)
- o32.BackSurface = Enum.SurfaceType.Weld
- o32.BottomSurface = Enum.SurfaceType.Weld
- o32.FrontSurface = Enum.SurfaceType.Weld
- o32.LeftSurface = Enum.SurfaceType.Weld
- o32.RightSurface = Enum.SurfaceType.Weld
- o32.TopSurface = Enum.SurfaceType.Weld
- o32.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o32.Position = Vector3.new(7.10905743, 2.88920355, -60.1292534)
- o33.Parent = o32
- o33.Offset = Vector3.new(-0.100000001, 0.109999999, 0)
- o33.Scale = Vector3.new(1.20000005, 0, 0.300000012)
- o34.Name = "Detail"
- o34.Parent = o14
- o34.BrickColor = BrickColor.new("Really black")
- o34.Position = Vector3.new(1.71584272, 2.88649702, -59.050724)
- o34.Rotation = Vector3.new(0.00969723333, 11.3088064, 0.0262960494)
- o34.CanCollide = false
- o34.FormFactor = Enum.FormFactor.Plate
- o34.Size = Vector3.new(2, 0.400000006, 1)
- o34.CFrame = CFrame.new(1.71584272, 2.88649702, -59.050724, 0.980584443, -0.000450041844, 0.196096867, 0.000492141757, 0.999999881, -0.000165962614, -0.196096778, 0.000259247812, 0.980584502)
- o34.BackSurface = Enum.SurfaceType.Weld
- o34.BottomSurface = Enum.SurfaceType.Weld
- o34.FrontSurface = Enum.SurfaceType.Weld
- o34.LeftSurface = Enum.SurfaceType.Weld
- o34.RightSurface = Enum.SurfaceType.Weld
- o34.TopSurface = Enum.SurfaceType.Weld
- o34.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o34.Position = Vector3.new(1.71584272, 2.88649702, -59.050724)
- o35.Parent = o34
- o35.Offset = Vector3.new(0.100000001, 0.109999999, 0)
- o35.Scale = Vector3.new(1.10000002, 0, 0.300000012)
- o36.Name = "Detail"
- o36.Parent = o14
- o36.BrickColor = BrickColor.new("Really black")
- o36.Position = Vector3.new(4.65759611, 2.88797331, -59.6390114)
- o36.Rotation = Vector3.new(0.00969723333, 11.3088064, 0.0262960494)
- o36.CanCollide = false
- o36.FormFactor = Enum.FormFactor.Plate
- o36.Size = Vector3.new(2, 0.400000006, 1)
- o36.CFrame = CFrame.new(4.65759611, 2.88797331, -59.6390114, 0.980584443, -0.000450041844, 0.196096867, 0.000492141757, 0.999999881, -0.000165962614, -0.196096778, 0.000259247812, 0.980584502)
- o36.BackSurface = Enum.SurfaceType.Weld
- o36.BottomSurface = Enum.SurfaceType.Weld
- o36.FrontSurface = Enum.SurfaceType.Weld
- o36.LeftSurface = Enum.SurfaceType.Weld
- o36.RightSurface = Enum.SurfaceType.Weld
- o36.TopSurface = Enum.SurfaceType.Weld
- o36.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o36.Position = Vector3.new(4.65759611, 2.88797331, -59.6390114)
- o37.Parent = o36
- o37.Offset = Vector3.new(0, 0.109999999, 0)
- o37.Scale = Vector3.new(0.800000012, 0, 0.300000012)
- o38.Name = "Grip"
- o38.Parent = o14
- o38.BrickColor = BrickColor.new("Really black")
- o38.Position = Vector3.new(6.12847281, 2.88871145, -59.9331551)
- o38.Rotation = Vector3.new(0.00969723333, 11.3088064, 0.0262960494)
- o38.CanCollide = false
- o38.FormFactor = Enum.FormFactor.Plate
- o38.Size = Vector3.new(1, 0.400000006, 2)
- o38.CFrame = CFrame.new(6.12847281, 2.88871145, -59.9331551, 0.980584443, -0.000450041844, 0.196096867, 0.000492141757, 0.999999881, -0.000165962614, -0.196096778, 0.000259247812, 0.980584502)
- o38.BackSurface = Enum.SurfaceType.Weld
- o38.BottomSurface = Enum.SurfaceType.Weld
- o38.FrontSurface = Enum.SurfaceType.Weld
- o38.LeftSurface = Enum.SurfaceType.Weld
- o38.RightSurface = Enum.SurfaceType.Weld
- o38.TopSurface = Enum.SurfaceType.Weld
- o38.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o38.Position = Vector3.new(6.12847281, 2.88871145, -59.9331551)
- o39.Parent = o38
- o39.Offset = Vector3.new(-0.200000003, 0.109999999, 0)
- o39.Scale = Vector3.new(1, 0, 0.800000012)
- o40.Name = "Grip"
- o40.Parent = o14
- o40.BrickColor = BrickColor.new("Really black")
- o40.Position = Vector3.new(3.18671942, 2.88723516, -59.3448677)
- o40.Rotation = Vector3.new(0.00969723333, 11.3088064, 0.0262960494)
- o40.CanCollide = false
- o40.FormFactor = Enum.FormFactor.Plate
- o40.Size = Vector3.new(1, 0.400000006, 2)
- o40.CFrame = CFrame.new(3.18671942, 2.88723516, -59.3448677, 0.980584443, -0.000450041844, 0.196096867, 0.000492141757, 0.999999881, -0.000165962614, -0.196096778, 0.000259247812, 0.980584502)
- o40.BackSurface = Enum.SurfaceType.Weld
- o40.BottomSurface = Enum.SurfaceType.Weld
- o40.FrontSurface = Enum.SurfaceType.Weld
- o40.LeftSurface = Enum.SurfaceType.Weld
- o40.RightSurface = Enum.SurfaceType.Weld
- o40.TopSurface = Enum.SurfaceType.Weld
- o40.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- o40.Position = Vector3.new(3.18671942, 2.88723516, -59.3448677)
- o41.Parent = o40
- o41.Offset = Vector3.new(0.200000003, 0.109999999, 0)
- o41.Scale = Vector3.new(1, 0, 0.800000012)
- o42.Name = "Right Rear"
- o42.Parent = o1
- o42.BrickColor = BrickColor.new("Bright violet")
- o42.Transparency = 1
- o42.Position = Vector3.new(7.40338278, 2.48897576, -58.6584816)
- o42.Rotation = Vector3.new(97.7738647, 34.0415459, 76.3110123)
- 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(7.40338278, 2.48897576, -58.6584816, 0.196096882, -0.805094361, 0.55979389, -0.000162908749, -0.570904493, -0.82101649, 0.980584562, 0.160907581, -0.112083748)
- o42.BottomSurface = Enum.SurfaceType.Smooth
- o42.LeftSurface = Enum.SurfaceType.Hinge
- o42.TopSurface = Enum.SurfaceType.Smooth
- o42.Color = Color3.new(0.419608, 0.196078, 0.486275)
- o42.Position = Vector3.new(7.40338278, 2.48897576, -58.6584816)
- o43.Name = "Right Front"
- o43.Parent = o1
- o43.BrickColor = BrickColor.new("Bright violet")
- o43.Transparency = 1
- o43.Position = Vector3.new(2.50046015, 2.48651528, -57.6779976)
- o43.Rotation = Vector3.new(80.9731979, -38.1454697, 75.5611877)
- o43.Elasticity = 0
- o43.FormFactor = Enum.FormFactor.Symmetric
- o43.Friction = 1.2999999523163
- o43.Shape = Enum.PartType.Ball
- o43.Size = Vector3.new(1, 1, 1)
- o43.CFrame = CFrame.new(2.50046015, 2.48651528, -57.6779976, 0.196096897, -0.761604905, -0.617660165, -0.00016272931, 0.629864454, -0.776705146, 0.980584562, 0.152409956, 0.123390526)
- o43.BottomSurface = Enum.SurfaceType.Smooth
- o43.LeftSurface = Enum.SurfaceType.Hinge
- o43.TopSurface = Enum.SurfaceType.Smooth
- o43.Color = Color3.new(0.419608, 0.196078, 0.486275)
- o43.Position = Vector3.new(2.50046015, 2.48651528, -57.6779976)
- o44.Name = "Left Rear"
- o44.Parent = o1
- o44.BrickColor = BrickColor.new("Bright violet")
- o44.Transparency = 1
- o44.Position = Vector3.new(1.91217017, 2.48701143, -60.619751)
- o44.Rotation = Vector3.new(-90.1105881, 0.601640642, -78.6905594)
- o44.Elasticity = 0
- o44.FormFactor = Enum.FormFactor.Symmetric
- o44.Friction = 1.2999999523163
- o44.Shape = Enum.PartType.Ball
- o44.Size = Vector3.new(1, 1, 1)
- o44.CFrame = CFrame.new(1.91217017, 2.48701143, -60.619751, 0.196096867, 0.980528355, 0.0105004171, -0.000166635858, -0.0106750019, 0.999943018, 0.980584502, -0.19608745, -0.0019299431)
- o44.BottomSurface = Enum.SurfaceType.Smooth
- o44.RightSurface = Enum.SurfaceType.Hinge
- o44.TopSurface = Enum.SurfaceType.Smooth
- o44.Color = Color3.new(0.419608, 0.196078, 0.486275)
- o44.Position = Vector3.new(1.91217017, 2.48701143, -60.619751)
- o45.Name = "Left Front"
- o45.Parent = o1
- o45.BrickColor = BrickColor.new("Bright violet")
- o45.Transparency = 1
- o45.Position = Vector3.new(6.81509256, 2.48948359, -61.600235)
- o45.Rotation = Vector3.new(145.618896, 76.3776169, 33.632782)
- o45.Elasticity = 0
- o45.FormFactor = Enum.FormFactor.Symmetric
- o45.Friction = 1.2999999523163
- o45.Shape = Enum.PartType.Ball
- o45.Size = Vector3.new(1, 1, 1)
- o45.CFrame = CFrame.new(6.81509256, 2.48948359, -61.600235, 0.196096867, -0.130448222, 0.971869051, -0.000165916674, -0.991116285, -0.132998198, 0.980584562, 0.0259192791, -0.194376454)
- o45.BottomSurface = Enum.SurfaceType.Smooth
- o45.RightSurface = Enum.SurfaceType.Hinge
- o45.TopSurface = Enum.SurfaceType.Smooth
- o45.Color = Color3.new(0.419608, 0.196078, 0.486275)
- o45.Position = Vector3.new(6.81509256, 2.48948359, -61.600235)
- 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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement