how come this wont move straight?
im changing a crushing wall script for my Deathrun 2 map (dont mind the strings Wsly wrote them) and it moves kinds tilted, how do i make it move in 1 direction straight?
02 | Decal = script.Parent.Decal |
03 | Locked = game.Workspace.Data.Images.WaitTimers.Locked.Value |
04 | ClockA = game.Workspace.Data.Images.WaitTimers.ClockA.Value |
05 | ClockB = game.Workspace.Data.Images.WaitTimers.ClockB.Value |
06 | ClockC = game.Workspace.Data.Images.WaitTimers.ClockC.Value |
07 | ClockD = game.Workspace.Data.Images.WaitTimers.ClockD.Value |
09 | Platform = script.Parent.Parent.Parent.Platform |
12 | if script.Parent.BrickColor = = BrickColor.new( "Camo" ) then |
13 | script.Parent.BrickColor = BrickColor.new( "Deep orange" ) |
16 | Platform.CFrame = Platform.CFrame + Vector 3. new(- 1 , 0 , 0 ) |
21 | Platform.CFrame = Platform.CFrame + Vector 3. new( 1 , 0 , 0 ) |
23 | script.Parent.BrickColor = BrickColor.new( "Bright red" ) |
25 | Decal.Texture = ClockA |
27 | Decal.Texture = ClockB |
29 | Decal.Texture = ClockC |
31 | Decal.Texture = ClockD |
35 | script.Parent.BrickColor = BrickColor.new( "Camo" ) |
38 | script.Parent.ClickDetector.MouseClick:connect(Activate) |