#SAB Lock Lasers dont work

1 messages · Page 1 of 1 (latest)

ionic onyx
#

i dont know what broke or whatever

CoreScript(Local)
local CoreEvent = game.ReplicatedStorage:WaitForChild("CoreEvent")
local Player = game.Players.LocalPlayer

CoreEvent.OnClientEvent:Connect(function(eventtype, Arg1)
if eventtype == "LockBase" then
local Base = Arg1

    if Base.Owner.Value ~= Player.Name then
        Base.WallLock.CanCollide = true
    end
    
    for i,v in pairs(Base.Lasers:Getchildren()) do
        v.Transparency = 0.5
    end
    
    for i = 60,0,-1 do
        Base.LockBase.LockGUI.LockTextLabel.Text = i.." second(s)"
        
        task.wait(1)
    end
    
    for i,v in pairs(Base.Lasers:Getchildren()) do
        v.Transparency = 1
    end
    
    Base.wallLock.CanCollide = false
    Base.LockBase.LockGUI.LockTextLabel.Text = "LockBase"
end

end)

jolly hedge
#

@ionic onyx does it error what prints in output