Untitled

mail@pastecode.io avatar
unknown
lua
25 days ago
398 B
2
Indexable
Never
local button = script.Parent
local ToggleMode = "Comenzar"
button.MouseButton1Click:Connect(function()
	if ToggleMode == "Comenzar" then
		ToggleMode = "Reiniciar"
		button.Text = "Reiniciar"
		script.Parent.Parent.TextLabel.LocalScript.Enabled = true
	
	else
		ToggleMode = "Comenzar"
		button.Text = "Comenzar"
		script.Parent.Parent.TextLabel.LocalScript.Enabled = false

	end
end)
Leave a Comment