okay so what im doing might seem silly so let me explain the backround

im making a game based off a japanese gameshow called the floor pit or death pit where you like answer questions and if you dont answer it right you fall

so i made this script to find a value which the script that sets it works but this script that checks it and moves it wont work. i have this script 3 times but the only difference are for where it chooses the other platforms can someone? sorry if im bad at explaining

    local plr = game:GetService("Players").LocalPlayer
local TweenService = game:GetService("TweenService")
local plat1 = game:GetService("Workspace").Moving.plat1
local tweeningInformation = TweenInfo.new(
    7,   
    Enum.EasingStyle.Linear,
    Enum.EasingDirection.InOut,
    0,
    false,
    0
)

local Move1 = {CFrame = CFrame.new(100.268, 182.064, -185.972)}
local ComeBack1 = {CFrame = CFrame.new(100.268, 182.064, -199.157)}
local tween1move = TweenService:Create(plat1,tweeningInformation,Move1)
local tween1comeback = TweenService:Create(plat1,tweeningInformation,ComeBack1)


game.ReplicatedStorage.Plat.OnServerEvent:Connect(function(player)
    wait(11)
    if game.ReplicatedStorage.Platform.Value == 1 then
        tween1move:Play()
        wait(300)
        tween1comeback:Play()
    end
end)