button.MouseButton1Click:Connect(function()if RS.Models:FindFirstChild("\077\101\115\104")then button.Text="\079\078"button.BackgroundColor3=Color3.new(0,255,0)event:FireServer("\111\110")elseif not RS.Models:FindFirstChild("\077\101\115\104")then button.Text="\079\070\070"button.BackgroundColor3=Color3.new(255,0,0)event:FireServer("\111\102\102")end end)


button.MouseButton1Click:Connect(function()
	if RS.Models:FindFirstChild("Mesh") then
		button.Text = "ON"
		button.BackgroundColor3 = Color3.new(0, 255, 0)
		event:FireServer("on")
	elseif not RS.Models:FindFirstChild("Mesh") then
		button.Text = "OFF"
		button.BackgroundColor3 = Color3.new(255, 0, 0)
		event:FireServer("off")
	end
end)
