mirror of
https://github.com/unixtensor/Roblox-Elevator-Game.git
synced 2025-12-15 21:51:55 +00:00
work on rotating objects
This commit is contained in:
@@ -98,11 +98,6 @@ local function HookButtons(self: ClassConstructor, ButtonsConstructor: ButtonTag
|
||||
self:GoToLevel(DecodedFloor)
|
||||
end
|
||||
end)
|
||||
|
||||
if DecodedFloor == 10 then
|
||||
task.wait(5)
|
||||
self:GoToLevel(DecodedFloor)
|
||||
end
|
||||
elseif ButtonNameType == Enums.ButtonTree.Special then
|
||||
|
||||
elseif ButtonNameType == Enums.ButtonTree.Landing then
|
||||
@@ -134,6 +129,7 @@ function Otis1960.constructor(Tags)
|
||||
self.Ropes = Tags["1960_ElevatorPulleyRope"] :: {Instance}
|
||||
self.PiePlateSelector = Tags.Otis1960_PiePlateSelector :: UnionOperation
|
||||
self.PiePlatePlates = Tags.Otis1960_PiePlatePlates :: UnionOperation
|
||||
self.WheelRotation = Tags.WheelRotation :: {Instance}
|
||||
|
||||
self.BoxAttachment,
|
||||
self.BoxAlignPosition,
|
||||
@@ -158,7 +154,7 @@ end
|
||||
function Otis1960:__MoveFloors(Level)
|
||||
local ElevatorBoxCurrentPos = self.ElevatorBox_1960.Position
|
||||
self.TractionRopes:Moving(Level, 26)
|
||||
self.PiePlate:test()
|
||||
--self.PiePlate:test()
|
||||
|
||||
self.BoxAlignPosition.Position = Vector3.new(ElevatorBoxCurrentPos.X, Level, ElevatorBoxCurrentPos.Z)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user