local plr = script.Parent.Parent.Parent.Parent.Parent
local Clicked = false
script.Parent.MouseButton1Click:Connect(function()
local Twoplayers = math.random(1,2)
local Threeplayers = math.random(1,3)
local Fourplayers = math.random(1,4)
local TableOfPlayers = game.Players:GetPlayers()
script.Parent.Parent.Parent.Enabled = false
if Clicked == false then
Clicked = true
for i = 0, 5 do
local block = game.Workspace.Blocks:FindFirstChild(plr.Name)
block:Destroy()
Clicked = false
end
end
Error is on line 13

1 comment
Alright will try