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)